/* Complete redesign for church community website with modern, warm aesthetic */

/* CSS-Variablen werden von PHP dynamisch gesetzt - keine Standard-Werte hier */

/* === Reset and Base Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #2c2c2c;
  background-color: #ffffff;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Crimson Text", serif;
  margin-bottom: 1rem;
  color: #1a1a1a;
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
h3 {
  font-size: 1.75rem;
}
p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 16px 40px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
}

.btn-primary:hover {
  background-color: var(--accent-color-dark);
  border-color: var(--accent-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* === Navigation === */
.navbar {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo h2 {
  color: #1a1a1a;
  margin: 0;
  font-size: 1.3rem;
  font-family: "Crimson Text", serif;
  font-weight: 600;
}

.nav-logo i {
  color: var(--accent-color);
  margin-right: 8px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #2c2c2c;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 2px;
  background-color: #2c2c2c;
  margin: 4px 0;
  transition: 0.3s;
}

/* === Hero Section - Church Style === */
.hero-church {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.hero-church-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-church-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.hero-church-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  width: 100%;
}

.hero-church-content h1 {
  color: #ffffff;
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Welcome Section === */
.welcome-section {
  padding: 100px 0;
  background-color: #f9f7f4;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.welcome-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.welcome-content h2 {
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.welcome-content p {
  color: #4a4a4a;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.welcome-cta {
  background: var(--accent-color);
  color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.welcome-cta h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.welcome-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.cta-phone-link {
  display: inline-block;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  font-family: "Crimson Text", serif;
}

.cta-phone-link:hover {
  text-decoration: underline;
}

/* === News Section - Church Style === */
.news-section-church {
  padding: 100px 0;
  background-color: #ffffff;
}

.news-section-church h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.news-grid-church {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.news-item-church {
  background: #f9f7f4;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.news-item-church:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.news-item-church.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.news-item-image {
  height: 250px;
  overflow: hidden;
}

.news-item-church.featured .news-item-image {
  height: 100%;
}

.news-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-item-church:hover .news-item-image img {
  transform: scale(1.05);
}

.news-item-content {
  padding: 2rem;
}

.news-date-badge {
  display: inline-block;
  background: var(--accent-color);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.news-item-content h3 {
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.news-item-content p {
  color: #4a4a4a;
  line-height: 1.7;
}

/* === Services - Church Style === */
.services-church {
  padding: 100px 0;
  background-color: #f9f7f4;
}

.services-church h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  font-size: 1.15rem;
  color: #4a4a4a;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.services-list-church {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.service-item-church {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-item-church.reverse {
  direction: rtl;
}

.service-item-church.reverse > * {
  direction: ltr;
}

.service-item-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-item-content h3 {
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.service-item-content p {
  color: #4a4a4a;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-info {
  display: inline-block;
  background: var(--accent-color);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
}

/* === Team - Church Style === */
.team-church {
  padding: 100px 0;
  background-color: #ffffff;
}

.team-church h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.team-grid-church {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.team-member-church {
  background: #f9f7f4;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.team-member-church:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.member-photo-container {
  height: 300px;
  overflow: hidden;
}

.member-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f9f7f4 0%, #ede9e4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 4rem;
}

.member-info {
  padding: 2rem;
  text-align: center;
}

.member-info h3 {
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.member-position {
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.member-bio {
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.6;
}

.member-specialty {
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* === Schedule/Opening Hours - Church Style === */
.schedule-church {
  padding: 100px 0;
  background-color: #f9f7f4;
}

.schedule-church h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.schedule-day {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--accent-color);
}

.schedule-day:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.schedule-day.weekend {
  border-top-color: var(--accent-color-dark);
}

.schedule-day.closed {
  opacity: 0.6;
  border-top-color: #ccc;
}

.schedule-day-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-family: "Crimson Text", serif;
}

.schedule-times {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Verbesserte Veranstaltungs-Styles mit Text-Overflow-Handling */
.event-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.event-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.event-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1rem;
}

.event-name strong {
  word-break: break-word;
  overflow-wrap: break-word;
}

.event-description {
  color: #4a4a4a;
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: break-word;
  max-height: 4.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.time-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.closed-badge {
  color: #999;
  font-weight: 600;
}

/* === Calendar Event Cards (for main page) === */
.calendar-month-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2.5rem 0 1.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-color), #d97634);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.125rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.calendar-month-header i {
  font-size: 1.25rem;
}

.calendar-event-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.calendar-event-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.calendar-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-color-light));
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.calendar-day {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  font-family: "Crimson Text", serif;
}

.calendar-weekday {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.calendar-event-details {
  flex: 1;
  min-width: 0;
}

.calendar-event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.calendar-event-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  font-family: "Crimson Text", serif;
}

.calendar-event-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-color);
  white-space: nowrap;
}

.calendar-event-time i {
  font-size: 0.9rem;
}

.calendar-event-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.calendar-event-meta i {
  color: var(--accent-color);
  width: 16px;
  text-align: center;
}

.calendar-event-description {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

.no-events {
  text-align: center;
  padding: 3rem 1rem;
  color: #9ca3af;
}

.no-events i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-events p {
  margin: 0.5rem 0;
  font-size: 1.125rem;
}

/* === ChurchDesk Widget Styles === */
.churchdesk-calendar-wrapper {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Style the ChurchDesk widget to match website design */
.churchdesk-calendar-wrapper [class*="churchdesk"] {
  font-family: "Inter", Arial, sans-serif !important;
}

/* Date range inputs */
.churchdesk-calendar-wrapper input[type="text"],
.churchdesk-calendar-wrapper input[type="date"] {
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.95rem !important;
  transition: all 0.2s ease !important;
}

.churchdesk-calendar-wrapper input[type="text"]:focus,
.churchdesk-calendar-wrapper input[type="date"]:focus {
  outline: none !important;
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
}

/* Event cards in the widget */
.churchdesk-calendar-wrapper [class*="event-item"],
.churchdesk-calendar-wrapper [class*="event-card"] {
  background: #f9f7f4 !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
  margin-bottom: 1rem !important;
  border-left: 4px solid var(--accent-color) !important;
  transition: all 0.3s ease !important;
}

.churchdesk-calendar-wrapper [class*="event-item"]:hover,
.churchdesk-calendar-wrapper [class*="event-card"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Date badge styling */
.churchdesk-calendar-wrapper [class*="date-badge"],
.churchdesk-calendar-wrapper [class*="event-date"] {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-color-dark)) !important;
  color: white !important;
  border-radius: 10px !important;
  padding: 0.75rem !important;
  text-align: center !important;
  font-family: "Crimson Text", serif !important;
}

/* Event titles */
.churchdesk-calendar-wrapper [class*="event-title"],
.churchdesk-calendar-wrapper h3,
.churchdesk-calendar-wrapper h4 {
  color: #1a1a1a !important;
  font-family: "Crimson Text", serif !important;
  font-weight: 600 !important;
}

/* Event meta info (time, location, contact) */
.churchdesk-calendar-wrapper [class*="event-time"],
.churchdesk-calendar-wrapper [class*="event-location"],
.churchdesk-calendar-wrapper [class*="event-contact"] {
  color: #4a4a4a !important;
  font-size: 0.9rem !important;
}

.churchdesk-calendar-wrapper [class*="event-time"] i,
.churchdesk-calendar-wrapper [class*="event-location"] i,
.churchdesk-calendar-wrapper [class*="event-contact"] i {
  color: var(--accent-color) !important;
}

/* Links in the widget */
.churchdesk-calendar-wrapper a {
  color: var(--accent-color) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.churchdesk-calendar-wrapper a:hover {
  color: var(--accent-color-dark) !important;
  text-decoration: underline !important;
}

/* Buttons in the widget */
.churchdesk-calendar-wrapper button,
.churchdesk-calendar-wrapper [class*="btn"] {
  background: var(--accent-color) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.churchdesk-calendar-wrapper button:hover,
.churchdesk-calendar-wrapper [class*="btn"]:hover {
  background: var(--accent-color-dark) !important;
  transform: translateY(-2px) !important;
}

/* Pagination */
.churchdesk-calendar-wrapper [class*="pagination"] {
  display: flex !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  margin-top: 2rem !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .churchdesk-calendar-wrapper {
    padding: 1rem;
    border-radius: 8px;
  }
}

/* Add week calendar styles */
.week-calendar {
  max-width: 1400px;
  margin: 0 auto;
}

.week-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.week-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.week-nav-btn:hover {
  background: var(--accent-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.week-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.week-label {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
}

.btn-today {
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  color: #4b5563;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-today:hover {
  background: #e5e7eb;
  color: #1f2937;
}

.week-grid,
.week-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.week-day {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.week-day.is-today {
  border: 2px solid var(--accent-color);
  box-shadow: 0 4px 16px rgba(var(--accent-color-rgb), 0.2);
}

.week-day-header {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-color-light));
  color: white;
  padding: 1rem;
  text-align: center;
}

.week-day.is-today .week-day-header {
  background: linear-gradient(135deg, var(--accent-color-dark), var(--accent-color));
}

.week-day-name,
.day-name {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.week-day-date,
.day-date {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Crimson Text", serif;
}

.week-day-events,
.week-day-content {
  padding: 1rem;
  min-height: 150px;
}

.no-events-day,
.no-events-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0.5rem;
  color: #9ca3af;
  font-size: 0.875rem;
  text-align: center;
}

.no-events-day i {
  font-size: 2rem;
  opacity: 0.5;
}

/* Event Entry Styles */
.event-entry {
  background: #f9f7f4;
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--accent-color);
  transition: all 0.2s ease;
}

.event-entry:hover {
  background: #f3f4f6;
  transform: translateX(2px);
}

.event-entry:last-child {
  margin-bottom: 0;
}

.event-entry .event-time {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.event-entry .event-title {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.event-entry .event-location {
  font-size: 0.8rem;
  color: #6b7280;
}

.event-entry .event-location i {
  color: var(--accent-color);
  margin-right: 0.25rem;
}

/* Calendar Divider */
.calendar-divider {
  display: flex;
  align-items: center;
  margin: 3rem 0;
  text-align: center;
}

.calendar-divider::before,
.calendar-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent-color),
    transparent
  );
}

.calendar-divider span {
  padding: 0 1.5rem;
  font-family: "Crimson Text", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-color);
}

.week-event {
  background: #f9f7f4;
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 3px solid var(--accent-color);
}

.week-event:hover {
  background: #f3f4f6;
  transform: translateX(2px);
}

.week-event.active {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.week-event-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.week-event-time i {
  font-size: 0.75rem;
}

.week-event-title {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.week-event-details {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
}

.week-event-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.week-event-meta i {
  color: var(--accent-color);
  width: 14px;
}

.week-event-description {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #4b5563;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .week-grid,
  .week-days {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .week-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .week-nav-btn {
    width: 100%;
    justify-content: center;
  }

  .week-nav-btn span {
    display: inline;
  }

  .week-grid,
  .week-days {
    grid-template-columns: 1fr;
  }

  .week-day-events,
  .week-day-content {
    min-height: auto;
  }

  .calendar-divider {
    margin: 2rem 0;
  }
}

/* === Links Section === */
.links-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.links-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.link-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: #f9f7f4;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--accent-color);
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  background: #ffffff;
}

.link-card-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.link-card:hover .link-card-icon {
  background: var(--accent-color-dark);
  transform: scale(1.1);
}

.link-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.link-card-content h3 {
  color: #1a1a1a;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.link-card:hover .link-card-content h3 {
  color: var(--accent-color);
}

.link-card-content p {
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.link-url {
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 600;
  word-break: break-all;
}

/* Neue Sektion für Gemeindekreise hinzugefügt */
/* === Circles Section === */
.circles-section {
  padding: 100px 0;
  background-color: #f9f7f4;
}

.circles-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.circles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.circle-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--accent-color);
}

.circle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.circle-card-image {
  height: 200px;
  overflow: hidden;
}

.circle-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.circle-card:hover .circle-card-image img {
  transform: scale(1.05);
}

.circle-card-content {
  padding: 2rem;
}

.circle-card-content h3 {
  color: #1a1a1a;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.circle-description {
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.circle-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.circle-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.6;
}

.circle-info i {
  color: var(--accent-color);
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
}

.circle-info-content {
  flex: 1;
}

.circle-info-content strong {
  color: #1a1a1a;
  display: block;
  margin-bottom: 0.25rem;
}

.circle-info-content span,
.circle-info-content a {
  color: #4a4a4a;
}

.circle-info-content a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
}

.circle-info-content a:hover {
  text-decoration: underline;
}

.leader-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leader-list li {
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1rem;
}

.leader-list li::before {
  content: "•";
  color: var(--accent-color);
  position: absolute;
  left: 0;
}

/* === Contact - Church Style === */
.contact-church {
  padding: 100px 0;
  background-color: #ffffff;
}

.contact-grid-church {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

.contact-info-church h2 {
  margin-bottom: 1.5rem;
}

.contact-info-church > p {
  color: #4a4a4a;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-detail-item i {
  color: var(--accent-color);
  font-size: 1.5rem;
  min-width: 30px;
}

.contact-detail-item h4 {
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-detail-item p {
  color: #4a4a4a;
  margin: 0;
}

.contact-detail-item a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

.contact-detail-item a:hover {
  text-decoration: underline;
}

.info-box-church {
  background: var(--accent-color);
  color: #ffffff;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.info-box-church h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.info-box-church p {
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.info-box-church i {
  margin-top: 2px;
  flex-shrink: 0;
}

/* === Footer - Church Style === */
.footer-church {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 60px 0 30px;
}

.footer-church-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-church-main h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.footer-church-main p {
  color: #ccc;
  line-height: 1.7;
}

.footer-church-main i {
  margin-right: 8px;
}

.footer-church-links h4,
.footer-church-legal h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--accent-color);
}

.admin-link-footer {
  color: var(--accent-color) !important;
  font-weight: 600;
}

.footer-church-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  text-align: center;
}

.footer-church-bottom p {
  color: #999;
  font-size: 0.9rem;
}

/* === Responsive Design === */
@media (max-width: 968px) {
  .welcome-grid,
  .service-item-church,
  .contact-grid-church,
  .footer-church-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-item-church.reverse {
    direction: ltr;
  }

  .news-item-church.featured {
    grid-template-columns: 1fr;
  }

  .news-item-church.featured .news-item-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-container {
    padding: 0.75rem 16px;
  }

  .nav-logo h2 {
    font-size: 1.1rem;
    line-height: 1.3;
    max-width: calc(100vw - 100px);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    transition: 0.4s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }
  .nav-menu a {
    padding: 1rem;
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .hero-church {
    height: auto;
    min-height: auto;
    margin-top: 90px;
    padding: 3rem 0;
  }
  .hero-church-content h1 {
    font-size: 2.25rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }

  .team-grid-church {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .calendar-event-card {
    flex-direction: column;
    gap: 1.25rem;
  }

  .calendar-event-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .calendar-date-badge {
    width: 100%;
    min-width: auto;
    flex-direction: row;
    height: auto;
    padding: 1rem;
    justify-content: center;
    gap: 1rem;
  }

  .calendar-day {
    font-size: 1.75rem;
  }

  .calendar-weekday {
    margin-top: 0;
  }

  .calendar-month-header {
    font-size: 1rem;
    padding: 0.875rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-church {
    margin-top: 100px;
    padding: 2rem 0;
  }
  .hero-church-content h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
  }
  .btn {
    width: 100%;
    max-width: 300px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }

  .welcome-section,
  .news-section-church,
  .services-church,
  .team-church,
  .schedule-church,
  .contact-church {
    padding: 60px 0;
  }
}

/* Utility Classes */
.text-gold {
  color: var(--accent-color);
}

.bg-gold {
  background-color: var(--accent-color);
}

.border-gold {
  border-color: var(--accent-color);
}

.shadow-soft {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.shadow-strong {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.rounded {
  border-radius: 0;
}

/* === Utility Classes === */
.text-center {
  text-align: center;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.p-1 {
  padding: 0.5rem;
}
.p-2 {
  padding: 1rem;
}
.p-3 {
  padding: 1.5rem;
}
.p-4 {
  padding: 2rem;
}

.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.5rem;
}
.gap-2 {
  gap: 1rem;
}
.gap-3 {
  gap: 1.5rem;
}
.gap-4 {
  gap: 2rem;
}

.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Success/Error Messages */
.message {
  padding: 1.25rem;
  border-radius: 0;
  margin: 1.25rem 0;
  font-weight: 500;
  border-left: 4px solid;
}

.message.success {
  background-color: #edf7ed;
  color: #1e4620;
  border-color: #5a7856;
}

.message.error {
  background-color: #fdecea;
  color: #5a2218;
  border-color: #a64b3a;
}
