@import url('fonts/fonts.css');

:root {
  --primary: #5B9EC9;
  --primary-dark: #3D7FA8;
  --primary-light: #EBF5FB;
  --secondary: #48B09A;
  --secondary-dark: #319580;
  --secondary-light: #E8F7F3;
  --green: #6DB88A;
  --green-light: #EEF8F2;
  --red: #DC6B6B;
  --red-light: #FDEAEA;
  --yellow: #F0CC6E;
  --yellow-light: #FDF8E8;
  --purple: #9B80C4;
  --purple-light: #F0EBF9;
  --bg: #F4F8FB;
  --white: #ffffff;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-400: #BDBDBD;
  --gray-600: #757575;
  --text: #2C3E50;
  --text-light: #6C757D;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.25s ease;
  --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Nunito', sans-serif;
  line-height: 1.3;
  font-weight: 800;
  color: var(--text);
}

a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--secondary-dark); }

img { max-width: 100%; display: block; }

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

/* ===================== HEADER ===================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.footer-logo-img-wrap {
  background: white;
  border-radius: 10px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

nav { display: flex; align-items: center; }

.nav-menu {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-menu a {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover { background: var(--primary-light); color: var(--primary); }
.nav-menu a.active { background: var(--primary); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
  padding: 8px;
  border-radius: var(--radius-sm);
}

/* ===================== SECTIONS ===================== */
.section { display: none; }
.section.active { display: block; }

/* ===================== HERO ===================== */
.hero {
  background: linear-gradient(135deg, #EBF5FB 0%, #E8F7F3 50%, #F0EBF9 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(91,158,201,0.10) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(72,176,154,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-emoji-row {
  font-size: 40px;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
}

.hero h1 span { color: var(--primary); }

.hero p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(91,158,201,0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91,158,201,0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--secondary);
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* ===================== QUICK INFO BAR ===================== */
.quick-info {
  background: var(--primary);
  color: white;
  padding: 20px 24px;
}

.quick-info-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}

.info-item .icon {
  font-size: 20px;
  opacity: 0.9;
}

.info-item .label { font-size: 12px; opacity: 0.8; display: block; }
.info-item .value { font-size: 14px; font-weight: 700; }

/* ===================== SECTION HEADERS ===================== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-light);
  font-size: 17px;
  max-width: 550px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===================== HOME CONTENT ===================== */
.home-content { padding: 64px 24px; }

.home-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* ===================== CARDS ===================== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body { padding: 20px; }

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.card-date {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 600;
}

.card-category {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}

.cat-neuigkeit { background: var(--primary-light); color: var(--primary); }
.cat-veranstaltung { background: var(--secondary-light); color: var(--secondary); }
.cat-ausflug { background: var(--purple-light); color: var(--purple); }
.cat-allgemein { background: var(--gray-100); color: var(--gray-600); }

.card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-excerpt {
  font-size: 14px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ===================== NEWS SECTION ===================== */
.news-section { padding: 64px 24px; }
.news-section .container { max-width: 1200px; }

/* ===================== SIDEBAR EVENTS ===================== */
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.sidebar-title {
  padding: 20px;
  border-bottom: 1px solid var(--gray-200);
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-list { padding: 8px 0; }

.event-item {
  padding: 12px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: var(--transition);
}

.event-item:last-child { border-bottom: none; }
.event-item:hover { background: var(--gray-50); }

.event-date-box {
  min-width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  flex-shrink: 0;
}

.event-date-box .day {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.event-date-box .month {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.8;
}

.type-ferien { background: var(--green-light); color: var(--green); }
.type-schliesszeit { background: var(--red-light); color: var(--red); }
.type-veranstaltung { background: var(--secondary-light); color: var(--secondary); }
.type-ausflug { background: var(--purple-light); color: var(--purple); }
.type-sonstiges { background: var(--gray-100); color: var(--gray-600); }
.type-feiertag { background: var(--yellow-light); color: #B7860B; }

.event-info { flex: 1; min-width: 0; }
.event-title { font-weight: 700; font-size: 14px; line-height: 1.3; }
.event-desc { font-size: 12px; color: var(--text-light); margin-top: 2px; }

.no-content {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-light);
}
.no-content .icon { font-size: 48px; margin-bottom: 16px; }

/* ===================== GROUPS SECTION ===================== */
.groups-section { padding: 64px 24px; }

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.group-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.group-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.group-emoji { font-size: 64px; margin-bottom: 16px; }

.group-name {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--text);
}

.group-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.group-info-list {
  list-style: none;
  text-align: left;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
  margin-top: 16px;
}

.group-info-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
}

.group-info-list li:last-child { border-bottom: none; }
.group-info-list .li-label { color: var(--text-light); }
.group-info-list .li-value { font-weight: 700; }

/* ===================== TEAM SECTION ===================== */
.team-section { padding: 40px 24px; background: var(--gray-50); }

/* Leitung – prominente zentrierte Karte */
.team-leadership-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}
.team-groups-grid--4col { grid-template-columns: repeat(4, 1fr); }

.team-leader-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  min-width: 180px;
}

.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 900;
  font-family: 'Nunito', sans-serif;
  color: white;
}

.team-name {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--text-light);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Gruppen – 2×2-Grid */
.team-groups-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-groups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 860px;
  margin-top: 20px;
}

.team-group-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}

.team-group-card:hover { box-shadow: var(--shadow); }

.team-group-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}

.team-group-emoji {
  font-size: 36px;
  flex-shrink: 0;
}

.team-group-name {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 900;
}

.team-group-sub {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

.team-group-members {
  padding: 8px 0;
}

.team-member-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-top: 1px solid var(--gray-100);
}

.team-avatar-sm {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  font-family: 'Nunito', sans-serif;
  color: white;
  overflow: hidden;
}

.team-avatar-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-member-name {
  font-size: 14px;
  font-weight: 700;
}

.team-member-role {
  font-size: 12px;
  color: var(--text-light);
}

.team-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0 auto 48px;
  opacity: 0.3;
}

/* ===================== JAHRGAENGE SECTION ===================== */
.jahrgang-section { padding: 64px 24px; background: var(--white); }

.jahrgang-block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  margin-top: 48px;
}
.jahrgang-block-title:first-child { margin-top: 0; }
.jahrgang-block-title h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 900;
  margin: 0;
}
.jahrgang-block-title .jb-count {
  background: var(--gray-100);
  color: var(--text-light);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 700;
}

.jahrgang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.jahrgang-grid.ehemalig {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.jahrgang-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: var(--transition);
  cursor: default;
}
.jahrgang-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.jahrgang-photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.jahrgang-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jahrgang-photo-placeholder {
  font-size: 48px;
  opacity: 0.3;
}
.jahrgang-grid.ehemalig .jahrgang-photo { aspect-ratio: 4/3; }

.jahrgang-info {
  padding: 14px 16px 16px;
}
.jahrgang-year {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}
.jahrgang-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 3px;
  color: var(--text);
}
.jahrgang-grid.ehemalig .jahrgang-title { font-size: 14px; }
.jahrgang-group {
  font-size: 12px;
  color: var(--text-light);
}
.jahrgang-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.5;
}

.jahrgang-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-light);
}
.jahrgang-empty .icon { font-size: 48px; margin-bottom: 12px; }

/* ===================== CONCEPT SECTION ===================== */
.concept-section { padding: 64px 24px; }

.concept-content {
  max-width: 900px;
  margin: 0 auto;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.concept-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.concept-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.concept-icon { font-size: 40px; margin-bottom: 16px; }
.concept-title { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.concept-text { font-size: 14px; color: var(--text-light); line-height: 1.6; }

.concept-intro {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 16px;
  border-left: 4px solid var(--primary);
}

.concept-intro p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

/* ===================== CALENDAR SECTION ===================== */
.calendar-section { padding: 64px 24px; }

.calendar-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.calendar-widget {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.cal-header {
  background: var(--primary);
  color: white;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cal-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: white;
}

.cal-nav-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cal-nav-btn:hover { background: rgba(255,255,255,0.35); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-day-label {
  padding: 12px 4px;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  background: var(--gray-50);
  text-transform: uppercase;
}

.cal-day {
  min-height: 52px;
  padding: 6px 4px;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.cal-day:hover { background: var(--primary-light); }
.cal-day.other-month { opacity: 0.35; pointer-events: none; }
.cal-day.today .day-num { background: var(--primary); color: white; }
.cal-day.has-event { background: rgba(59,155,218,0.04); }

.day-num {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.day-dots {
  display: flex;
  gap: 2px;
  margin-top: 2px;
  flex-wrap: wrap;
  justify-content: center;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.event-list-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.legend {
  padding: 16px 20px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ===================== REGISTRATION SECTION ===================== */
.registration-section { padding: 64px 24px; background: var(--gray-50); }

.registration-content {
  max-width: 800px;
  margin: 0 auto;
}

.info-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: 24px;
}

.info-box h3 {
  font-size: 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.steps-list {
  list-style: none;
  counter-reset: steps;
}

.steps-list li {
  counter-increment: steps;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}

.steps-list li:last-child { border-bottom: none; }

.steps-list li::before {
  content: counter(steps);
  min-width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}

.highlight-box {
  background: linear-gradient(135deg, var(--primary-light), var(--yellow-light));
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center;
  font-size: 16px;
  color: var(--text);
}

.highlight-box strong { color: var(--primary); }

/* ===================== CONTACT SECTION ===================== */
.contact-section { padding: 64px 24px; }

.contact-layout {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.contact-info h3 { font-size: 20px; margin-bottom: 24px; }

.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}
.contact-row:last-child { border-bottom: none; }

.contact-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label { font-size: 12px; color: var(--text-light); font-weight: 600; }
.contact-value { font-weight: 600; font-size: 15px; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.contact-form h3 { font-size: 20px; margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91,158,201,0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ===================== MAP PLACEHOLDER ===================== */
.map-placeholder {
  background: linear-gradient(135deg, var(--secondary-light), var(--primary-light));
  border-radius: var(--radius);
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--secondary);
  margin-top: 16px;
  border: 2px dashed var(--gray-400);
}

.map-placeholder p { font-size: 14px; color: var(--text-light); margin-top: 8px; }

/* ===================== MODAL ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  padding: 16px;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-box { transform: translateY(0); }

.modal-img {
  width: 100%;
  height: auto;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.modal-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===================== POST SLIDER ===================== */
.post-slider-wrap { display: block; width: 100%; }
.post-slider {
  position: relative;
  background: #000;
  overflow: hidden;
}
.post-slider.single img { background: #000; }
.slider-track { display: block; }
.slider-slide { display: none; }
.slider-slide.active { display: block; }
.slider-slide img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
}
.slider-main-img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
  padding: 0;
}
.slider-btn:hover { background: rgba(0,0,0,0.75); }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
.slider-counter {
  position: absolute;
  bottom: 8px;
  right: 12px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
}
.slider-thumbs {
  display: flex;
  gap: 6px;
  padding: 10px 48px;
  background: #f0f0f0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.slider-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: opacity .15s, border-color .15s;
}
.slider-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-thumb.active { border-color: var(--primary); opacity: 1; }
.slider-thumb:hover { opacity: 0.9; }

.modal-body { padding: 28px 48px 36px; }

.modal-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.modal-title {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 16px;
}

.modal-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.35);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.modal-img-wrapper { position: relative; }
.modal-close:hover { background: rgba(0,0,0,0.6); }

/* ===================== FOOTER ===================== */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.85);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  font-weight: 900;
}

.footer-logo-text {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: white;
}

.footer-desc { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }

.footer-heading {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-contact-item .fci { font-size: 16px; margin-top: 1px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-admin-link {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}
.footer-admin-link:hover { color: var(--primary); }

/* ===================== TOAST ===================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success { border-left: 4px solid var(--green); }
.toast.error { border-left: 4px solid var(--red); }

/* ===================== NOTICE BANNER ===================== */
#noticeBanner {
  padding: 14px 24px;
  font-size: 15px;
  line-height: 1.5;
  position: relative;
}
#noticeBanner.notice-info    { background: #E3F2FD; border-bottom: 3px solid #3B9BDA; color: #1A5276; }
#noticeBanner.notice-warning { background: #FFF9E6; border-bottom: 3px solid #F0CC6E; color: #7D5A00; }
#noticeBanner.notice-urgent  { background: #FDEAEA; border-bottom: 3px solid #DC6B6B; color: #8B2020; }
.notice-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.notice-title { font-weight: 800; font-family: 'Nunito', sans-serif; }
.notice-close {
  margin-left: auto; background: none; border: none; cursor: pointer;
  font-size: 18px; color: inherit; opacity: 0.6; padding: 0 4px;
  flex-shrink: 0;
}
.notice-close:hover { opacity: 1; }

/* ===================== DOWNLOADS SECTION ===================== */
.downloads-section { padding: 64px 24px; }

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.download-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
}
.download-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.download-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  background: var(--primary-light);
}
.download-icon.pdf   { background: #FDEAEA; }
.download-icon.word  { background: #E3F2FD; }
.download-icon.image { background: #EEF8F2; }
.download-icon.zip   { background: #FFF9E6; }

.download-name { font-weight: 700; font-size: 15px; line-height: 1.3; margin-bottom: 3px; }
.download-meta { font-size: 12px; color: var(--text-light); }
.download-badge {
  margin-left: auto; flex-shrink: 0;
  background: var(--primary-light); color: var(--primary);
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 20px;
}

/* ===================== SPEISEPLAN WIDGET ===================== */
.menu-row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 16px; border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
}
.menu-row:last-child { border-bottom: none; }
.menu-day { font-weight: 700; min-width: 80px; color: var(--text-light); font-size: 12px; text-transform: uppercase; }
.menu-meal { color: var(--text); }
.menu-sides { color: var(--text-light); font-size: 12px; }
.menu-valid { padding: 8px 16px; font-size: 12px; color: var(--text-light); border-top: 1px solid var(--gray-100); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .home-grid { grid-template-columns: 1fr; }
  .calendar-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
    box-shadow: var(--shadow);
    z-index: 999;
  }

  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 16px; border-radius: var(--radius-sm); }

  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero { padding: 48px 20px; }
  .hero-emoji-row { font-size: 28px; gap: 10px; }

  .quick-info-inner { gap: 16px; }

  .modal-body { padding: 20px 24px; }
  .slider-thumbs { padding: 8px 24px; }
  .modal-title { font-size: 20px; }
}

@media (max-width: 480px) {
  .logo-name { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .groups-grid { grid-template-columns: 1fr; }
  .team-groups-grid { grid-template-columns: 1fr; }
  .team-groups-grid--4col { grid-template-columns: repeat(2, 1fr); }
}
