:root {
  --navy: #002030;
  --navy-dark: #001827;
  --orange: #f09800;
  --text: #071a2f;
  --muted: #b9c2cb;
  --white: #ffffff;
}

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

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fafb 0%, #eef1f4 100%);
  padding-top: 220px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 145px;
  z-index: 1000;
  background: radial-gradient(circle at top, #083b57, var(--navy-dark));
  color: var(--white);
  padding: 24px 42px;
}

.brand { display: flex; align-items: center; gap: 28px; }
.logo { width: 150px; height: auto; display: block; }
.brand-text h1 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: .5px; font-weight: 700; }
.brand-text p { margin-top: 12px; font-size: clamp(1rem, 2vw, 1.45rem); color: var(--muted); }

.main-nav {
  position: fixed;
  top: 145px;
  left: 0;
  width: 100%;
  z-index: 999;
  background: var(--orange);
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

.menu { list-style: none; display: flex; justify-content: flex-end; gap: 18px; padding: 0 42px; }
.menu > li { position: relative; }
.menu button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 25px 28px;
  cursor: pointer;
  border-radius: 10px;
  transition: background .2s ease, transform .2s ease;
}
.menu button:hover,
.menu button:focus {
  background: rgba(255,255,255,.18);
  outline: none;
}
.dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 245px;
  background: rgba(255,255,255,.97); border-radius: 4px; box-shadow: 0 14px 25px rgba(0,0,0,.22);
  overflow: hidden; padding: 8px 0;
}
.menu li:hover .dropdown, .menu li:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 16px 20px; color: var(--text); text-decoration: none; font-size: 1.05rem; }
.dropdown a:hover { background: #f1f4f7; }

.page-content { padding: 55px 24px; min-height: calc(100vh - 320px); }
.content-frame {
  position: relative; max-width: 1180px; min-height: 410px; margin: 0 auto; padding: 88px 76px;
  background: rgba(255,255,255,.94); border-radius: 10px; box-shadow: 0 18px 38px rgba(0,0,0,.12);
  overflow: hidden;
}
.frame-text { max-width: 560px; position: relative; z-index: 2; }
.content-frame h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--text); margin-bottom: 22px; }
.accent { width: 86px; height: 5px; background: var(--orange); margin-bottom: 30px; }
.content-frame p { font-size: 1.22rem; line-height: 1.7; }
.watermark { position: absolute; right: 52px; top: 58px; width: 410px; opacity: .34; filter: grayscale(1); }
.contact-form { display: flex; flex-direction: column; gap: 14px; max-width: 540px; margin-top: 24px; }
.contact-form input, .contact-form textarea { padding: 13px 15px; border: 1px solid #d1d5db; border-radius: 7px; font-size: 1rem; font-family: inherit; }
.contact-form button { width: fit-content; border: 0; border-radius: 7px; padding: 13px 24px; background: var(--orange); color: var(--text); font-weight: 700; cursor: pointer; }

.site-footer { background: radial-gradient(circle at top, #083b57, var(--navy-dark)); color: var(--white); text-align: center; padding: 28px 16px; }
.footer-links { display: flex; justify-content: center; align-items: center; gap: 28px; margin-bottom: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--white); text-transform: uppercase; text-decoration: none; font-size: 1.05rem; }
.footer-links a:hover { color: var(--orange); }
.footer-links span { display: block; width: 2px; height: 24px; background: var(--orange); }
.site-footer p { color: var(--muted); }

@media (max-width: 900px) {
  body { padding-top: 250px; }
  .site-header { height: 155px; padding: 18px 20px; }
  .logo { width: 118px; }
  .brand { gap: 16px; }
  .main-nav { top: 155px; }
  .menu { justify-content: center; padding: 0 10px; gap: 4px; }
  .menu button { padding: 22px 10px; font-size: .95rem; }
  .dropdown { left: 50%; transform: translateX(-50%); }
  .content-frame { padding: 54px 32px; }
  .watermark { width: 300px; right: 10px; top: 95px; opacity: .16; }
}

@media (max-width: 620px) {
  body { padding-top: 295px; }
  .site-header { height: 180px; text-align: center; }
  .brand { flex-direction: column; gap: 8px; }
  .logo { width: 95px; }
  .brand-text p { margin-top: 6px; }
  .main-nav { top: 180px; }
  .menu { flex-direction: column; align-items: stretch; }
  .menu button { width: 100%; padding: 12px; }
  .dropdown { position: static; transform: none; width: 100%; box-shadow: none; }
  .page-content { padding: 30px 14px; }
  .content-frame { min-height: 360px; padding: 36px 22px; }
  .content-frame p { font-size: 1rem; }
  .footer-links { flex-direction: column; gap: 12px; }
  .footer-links span { display: none; }
}


/* Blockpläne */
.frame-text.wide {
  max-width: 100%;
}
.blockplan-intro {
  max-width: 760px;
  margin-bottom: 28px;
}
.blockplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.blockplan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 155px;
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
  border: 1px solid #dbe3ea;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.blockplan-card:hover,
.blockplan-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,.14);
  border-color: var(--orange);
  outline: none;
}
.blockplan-card strong {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.blockplan-card small {
  color: #4b6478;
  line-height: 1.45;
}
.blockplan-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.pdf-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--text);
  font-weight: 700;
  font-size: .9rem;
}
.pdf-pill::before {
  content: "PDF";
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,.55);
  font-size: .72rem;
}
@media (max-width: 620px) {
  .blockplan-grid { grid-template-columns: 1fr; }
  .blockplan-card { min-height: auto; }
}

/* Startseite: Sommerferien-Hinweis */
.info-box {
  max-width: 900px;
  margin: auto;
  padding: 35px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  position: relative;
  z-index: 2;
}

.info-header {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 20px;
}

.info-box h2 {
  color: var(--text);
  margin-bottom: 25px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.info-box p {
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.warning {
  background: #c0392b;
  color: #fff;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  margin: 30px 0;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.45;
}

.notice {
  background: #fff8dc;
  border-left: 6px solid var(--orange);
  padding: 20px;
  margin: 25px 0;
  border-radius: 10px;
  font-size: 1.08rem;
  line-height: 1.6;
}

.mailbox {
  background: #eef5ff;
  border-left: 6px solid var(--navy);
  padding: 20px;
  margin: 25px 0;
  border-radius: 10px;
  font-size: 1.08rem;
  line-height: 1.6;
}

.mailbox a {
  color: #0056b3;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.mailbox a:hover {
  text-decoration: underline;
}

.holiday {
  text-align: center;
  margin-top: 40px;
  color: var(--text);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

@media (max-width: 768px) {
  .info-box { padding: 20px; }
  .info-box p { font-size: 17px; }
  .warning { font-size: 20px; }
}

/* Aktuelles: Einschulungstermine */
.news-hero {
  max-width: 920px;
  margin-bottom: 28px;
}
.news-kicker {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 18px;
}
.lead {
  max-width: 850px;
  font-size: 1.18rem;
  line-height: 1.65;
}
.stand {
  color: #c0392b;
  font-weight: 700;
  margin-top: 8px;
}
.download-btn {
  display: inline-block;
  padding: 14px 24px;
  margin: 20px 0 14px;
  background: var(--orange);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.download-btn:hover,
.download-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 13px 25px rgba(0,0,0,.18);
  outline: none;
}
.enrollment-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.day-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  border: 1px solid #dbe3ea;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
}
.day-card.highlight {
  border-top: 6px solid var(--orange);
}
.day-card h3 {
  color: var(--navy);
  font-size: 1.45rem;
  margin-bottom: 16px;
}
.schedule-list {
  display: grid;
  gap: 12px;
}
.schedule-list div {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border-left: 5px solid var(--orange);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.schedule-list strong {
  display: block;
  color: #0b75b7;
  margin-bottom: 5px;
}
.schedule-list span {
  display: block;
  color: #c0392b;
  font-weight: 700;
  margin-bottom: 5px;
}
.schedule-list em {
  display: block;
  color: var(--text);
  font-style: normal;
  line-height: 1.4;
}
.enrollment-note {
  margin-top: 32px;
}
@media (max-width: 620px) {
  .enrollment-days { grid-template-columns: 1fr; }
  .day-card { padding: 18px; }
  .day-card h3 { font-size: 1.25rem; }
}


.pdf-link{
color:#0f2d46;
font-weight:700;
text-decoration:none;
border-bottom:2px solid #f39c12;
transition:.2s;
}
.pdf-link:hover{
color:#f39c12;
border-color:#0f2d46;
}

/* Portal 2.0: Hamburger-Menü und mobile Navigation */
.hamburger {
  display: none;
  position: fixed;
  top: 162px;
  right: 22px;
  z-index: 1205;
  width: 52px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--orange);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--navy-dark);
  transition: transform .22s ease, opacity .22s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.menu button.active,
.menu a.active {
  color: #fff;
  background: rgba(0,0,0,.14);
}

.blockplan-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 24px 0 6px;
}
.blockplan-search {
  width: min(100%, 430px);
  padding: 14px 16px;
  border: 1px solid #cbd5df;
  border-radius: 12px;
  font: inherit;
  box-shadow: 0 5px 14px rgba(0,0,0,.06);
}
.blockplan-count {
  color: #4b6478;
  font-weight: 700;
}
.blockplan-card.is-hidden { display: none; }

@media (max-width: 992px) {
  body { padding-top: 205px; }
  .site-header { height: 145px; padding: 18px 22px; }
  .logo { width: 108px; }
  .brand-text h1 { font-size: clamp(1.45rem, 4.5vw, 2.4rem); }
  .brand-text p { font-size: 1rem; margin-top: 8px; }

  .hamburger { display: flex; }

  .main-nav {
    top: 145px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
  }
  .main-nav.open {
    max-height: calc(100vh - 145px);
    overflow-y: auto;
  }
  .menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 70px 18px 18px;
  }
  .menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.28);
  }
  .menu button {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 17px 8px;
    text-align: left;
  }
  .dropdown {
    position: static;
    display: none;
    transform: none;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    border-radius: 12px;
    margin: 0 0 12px;
  }
  .menu li:hover .dropdown,
  .menu li:focus-within .dropdown { display: none; }
  .menu li.mobile-open .dropdown { display: block; }
  .dropdown a { padding: 14px 16px; }
}

@media (max-width: 620px) {
  body { padding-top: 205px; }
  .site-header { height: 145px; text-align: left; }
  .brand { flex-direction: row; gap: 14px; }
  .logo { width: 82px; }
  .brand-text h1 { font-size: 1.25rem; }
  .brand-text p { font-size: .88rem; }
  .hamburger { top: 156px; right: 16px; width: 48px; height: 43px; }
  .main-nav { top: 145px; }
  .main-nav.open { max-height: calc(100vh - 145px); }
  .menu { padding-top: 64px; }
  .content-frame { padding: 30px 18px; border-radius: 14px; }
  .blockplan-search { width: 100%; }
}

/* Version 2.1: grafische Schnellzugriffe im Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.header-quick-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 122px;
  padding: 12px 15px;
  border-radius: 16px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.quick-link:hover,
.quick-link:focus {
  background: var(--orange);
  color: var(--navy-dark);
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 15px 28px rgba(0,0,0,.24);
  outline: none;
}

.quick-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,.18);
  flex: 0 0 auto;
}

.quick-link:hover .quick-icon,
.quick-link:focus .quick-icon {
  background: rgba(255,255,255,.55);
}

.quick-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.mobile-quick-links {
  display: none;
}

@media (max-width: 1120px) {
  .quick-link {
    min-width: auto;
    padding: 11px 13px;
  }
  .quick-link span:last-child {
    display: none;
  }
}

@media (max-width: 992px) {
  .site-header {
    justify-content: flex-start;
  }

  .header-quick-links {
    display: none;
  }

  .mobile-quick-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0 0 16px;
    border-bottom: 1px solid rgba(255,255,255,.18);
    margin-bottom: 8px;
  }

  .mobile-quick-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 10px 8px;
    border-radius: 14px;
    color: var(--navy-dark);
    background: var(--orange);
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
  }

  .mobile-icon {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 9px;
    background: rgba(255,255,255,.55);
    font-size: .82rem;
    font-weight: 900;
  }
}

@media (max-width: 520px) {
  .mobile-quick-links {
    grid-template-columns: 1fr;
  }

  .mobile-quick-links a {
    justify-content: flex-start;
    padding-left: 14px;
  }
}


/* Anfahrt */
.route-hero {
  margin-bottom: 24px;
}

.map-privacy-card,
.map-card {
  overflow: hidden;
  border-radius: 24px;
  min-height: 420px;
  border: 1px solid rgba(15, 45, 70, .12);
  box-shadow: 0 18px 40px rgba(15, 45, 70, .16);
  background: linear-gradient(135deg, rgba(15, 45, 70, .92), rgba(15, 45, 70, .76)), #eef3f7;
}

.map-privacy-card {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 46px 28px;
  color: #fff;
}

.map-placeholder-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(232, 154, 26, .95);
  color: var(--navy-dark);
  font-size: 2.35rem;
  margin-bottom: 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.map-privacy-card h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.map-privacy-card p {
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .88);
}

.map-card iframe {
  width: 100%;
  height: 460px;
  display: block;
  border: 0;
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 24px 0 0;
}

.route-actions.compact {
  margin-top: 10px;
}

.route-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: var(--navy-dark);
  background: #fff;
  border: 1px solid rgba(15, 45, 70, .16);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  font: inherit;
}

.route-button.primary {
  background: var(--orange);
  color: var(--navy-dark);
  border-color: var(--orange);
}

.route-button:hover,
.route-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, .24);
  outline: none;
}

@media (max-width: 720px) {
  .map-privacy-card,
  .map-card,
  .map-card iframe {
    min-height: 330px;
    height: auto;
  }

  .map-card iframe {
    height: 330px;
  }

  .route-actions {
    flex-direction: column;
  }

  .route-button {
    width: 100%;
  }
}


/* Version 2.6 LTS: Corporate Design & mobile Navigation */
:root {
  --navy: #002030;
  --navy-dark: #001827;
  --orange: #f09800;
  --orange-dark: #d78400;
  --surface: #ffffff;
  --soft-border: #dbe3ea;
  --shadow-soft: 0 16px 34px rgba(0, 32, 48, .12);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(240, 152, 0, .13), transparent 32%),
    linear-gradient(180deg, #fbfcfd 0%, #eef2f5 100%);
}

.site-header {
  height: 132px;
  padding: 20px 42px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 70%, #07334a 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.logo {
  width: 132px;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.brand-text h1 {
  letter-spacing: .04em;
  line-height: 1.05;
}
.brand-text p {
  color: rgba(255,255,255,.76);
}

.main-nav {
  top: 132px;
  background: linear-gradient(180deg, var(--orange) 0%, #e89100 100%);
  box-shadow: 0 10px 24px rgba(0, 32, 48, .20);
}
.menu button {
  letter-spacing: .025em;
  border-radius: 0;
}
.menu button:hover,
.menu button:focus,
.menu button.active,
.menu a.active {
  background: rgba(0, 32, 48, .18);
}
.dropdown {
  border: 1px solid rgba(0,32,48,.08);
  border-radius: 0 0 16px 16px;
}
.dropdown a:hover,
.dropdown a:focus {
  background: rgba(240,152,0,.13);
  color: var(--navy-dark);
  outline: none;
}

body { padding-top: 206px; }
.content-frame,
.info-box,
.day-card,
.blockplan-card {
  border: 1px solid rgba(0,32,48,.07);
  box-shadow: var(--shadow-soft);
}
.content-frame {
  border-radius: 22px;
}
.info-header,
.news-kicker,
.download-btn,
.pdf-pill,
.route-button.primary {
  background: var(--orange);
}
.download-btn,
.pdf-pill,
.route-button.primary {
  color: var(--navy-dark);
}
.accent {
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  border-radius: 999px;
}
.quick-link {
  border-radius: 18px;
  background: rgba(255,255,255,.10);
}
.quick-link:hover,
.quick-link:focus {
  background: var(--orange);
  color: var(--navy-dark);
}
.quick-icon {
  border-radius: 13px;
}

/* bessere Smartphone- und Tablet-Navigation */
@media (max-width: 992px) {
  body { padding-top: 132px; }
  body.mobile-nav-open { overflow: hidden; }
  .site-header {
    height: 132px;
    padding: 16px 76px 16px 18px;
  }
  .logo { width: 92px; border-radius: 14px; }
  .brand { gap: 14px; }
  .brand-text h1 { font-size: clamp(1.25rem, 5vw, 2rem); }
  .brand-text p { font-size: .95rem; margin-top: 6px; }

  .hamburger {
    display: flex;
    top: 43px;
    right: 18px;
    width: 50px;
    height: 46px;
    z-index: 1400;
    background: var(--orange);
    border: 1px solid rgba(255,255,255,.35);
  }

  .main-nav {
    top: 132px;
    left: auto;
    right: 0;
    width: min(420px, 100%);
    height: calc(100vh - 132px);
    max-height: none;
    transform: translateX(105%);
    transition: transform .28s ease;
    overflow-y: auto;
    border-left: 1px solid rgba(0,32,48,.14);
    box-shadow: -16px 0 32px rgba(0,32,48,.23);
  }
  .main-nav.open {
    transform: translateX(0);
    max-height: none;
  }
  .menu {
    padding: 18px;
    min-height: 100%;
  }
  .menu > li {
    border-bottom: 1px solid rgba(0,32,48,.16);
  }
  .menu button {
    min-height: 56px;
    padding: 17px 14px;
    border-radius: 14px;
    color: #fff;
  }
  .dropdown {
    margin: 2px 0 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.98);
  }
  .dropdown a {
    font-size: 1rem;
    padding: 1px 16px;
  }

  .mobile-quick-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 0 16px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0,32,48,.17);
  }
  .mobile-quick-links a {
    justify-content: flex-start;
    min-height: 58px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff;
    color: var(--navy-dark);
    border: 1px solid rgba(0,32,48,.12);
  }
  .mobile-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(240,152,0,.16);
    color: var(--orange-dark);
  }
  .mobile-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  body.mobile-nav-open::before {
    content: "";
    position: fixed;
    inset: 132px 0 0 0;
    background: rgba(0,24,39,.45);
    z-index: 998;
  }
  .page-content { padding-top: 36px; }
}

@media (max-width: 520px) {
  .site-header { padding-right: 70px; }
  .logo { width: 74px; }
  .brand-text h1 { font-size: 1.12rem; }
  .brand-text p { font-size: .82rem; }
  .main-nav { width: 100%; }
  .content-frame { padding: 24px 16px; }
  .page-content { padding-left: 12px; padding-right: 12px; }
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 54px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy-dark);
  font-size: 1.45rem;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0,32,48,.24);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 1300;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover,
.back-to-top:focus {
  background: var(--orange-dark);
  outline: none;
}

/* Header Feinschliff: kompaktere Schrift und ruhigere Ausrichtung */
.site-header {
  min-height: 118px;
  height: 118px;
  padding: 14px 42px;
  align-items: center;
}

.brand {
  align-items: center;
  gap: 22px;
}

.logo {
  width: 128px;
}

.brand-text h1 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.08;
  margin: 0;
  letter-spacing: .035em;
}

.brand-text p {
  font-size: clamp(.82rem, 1.15vw, .98rem);
  line-height: 1.15;
  margin-top: 2px;
}

.header-quick-links {
  align-items: center;
}

.main-nav {
  top: 118px;
}

body {
  padding-top: 192px;
}

@media (max-width: 992px) {
  body {
    padding-top: 118px;
  }

  .site-header {
    min-height: 118px;
    height: 118px;
    padding: 14px 76px 14px 18px;
  }

  .logo {
    width: 86px;
  }

  .brand {
    gap: 13px;
  }

  .brand-text h1 {
    font-size: clamp(1.18rem, 4.6vw, 1.85rem);
  }

  .brand-text p {
    font-size: .86rem;
    margin-top: 2px;
  }

  .hamburger {
    top: 36px;
  }

  .main-nav {
    top: 118px;
    height: calc(100vh - 118px);
  }

  body.mobile-nav-open::before {
    inset: 118px 0 0 0;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 104px;
    height: 104px;
    padding: 12px 68px 12px 14px;
  }

  .logo {
    width: 70px;
  }

  .brand-text h1 {
    font-size: 1.02rem;
  }

  .brand-text p {
    font-size: .72rem;
  }

  .hamburger {
    top: 30px;
    right: 14px;
    width: 46px;
    height: 42px;
  }

  body {
    padding-top: 104px;
  }

  .main-nav {
    top: 104px;
    height: calc(100vh - 104px);
  }

  body.mobile-nav-open::before {
    inset: 104px 0 0 0;
  }
}

/* ==========================================================
   Layout-Feinschliff: Content näher an die Navigation rücken
   Ergänzung: nur Logo optisch nach unten setzen, Text bleibt unverändert
========================================================== */

.logo {
  transform: translateY(12px);
}

.page-content {
  padding: 20px 24px 40px;
}

.content-frame {
  margin: 8px auto 0;
  padding: 55px 70px 70px;
}

.accent {
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .page-content {
    padding: 18px 18px 36px;
  }

  .content-frame {
    margin: 6px auto 0;
    padding: 42px 28px 48px;
  }
}

@media (max-width: 620px) {
  .page-content {
    padding: 14px 12px 30px;
  }

  .content-frame {
    margin: 4px auto 0;
    padding: 30px 18px 36px;
  }

  .accent {
    margin-bottom: 14px;
  }
}

/* ==========================================================
   Version 2.7: Sommerferien/Startseite ohne doppelte weiße Box
   Die äußere .content-frame bleibt die einzige Hauptkarte.
   .info-box dient nur noch als Inhaltscontainer.
========================================================== */

.info-box,
.content-frame .info-box {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
}

.info-box h2 {
  margin-bottom: 20px;
}

.info-box p {
  max-width: 920px;
}

.info-header {
  margin-bottom: 20px;
}

.warning {
  box-shadow: 0 10px 24px rgba(192, 57, 43, .18);
}

.notice,
.mailbox {
  box-shadow: 0 8px 20px rgba(0, 32, 48, .07);
}

.holiday {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .info-box,
  .content-frame .info-box {
    padding: 0;
  }

  .info-header {
    font-size: 17px;
    padding: 8px 16px;
  }

  .warning,
  .notice,
  .mailbox {
    margin-left: 0;
    margin-right: 0;
  }
}


/* Header-Link: Logo und Schriftzug führen zurück zur Startseite */
.brand {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.brand:hover {
  opacity: .97;
}

.brand:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 6px;
  border-radius: 14px;
}

/* Rechtliche Seiten: Impressum, Datenschutz, Kontakt */
.legal-page {
  max-width: 100%;
}

.legal-hero {
  max-width: 920px;
  margin-bottom: 28px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 28px 0 34px;
}

.legal-card,
.legal-text-card,
.legal-generator-note {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  border: 1px solid rgba(0, 32, 48, .10);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(0, 32, 48, .10);
}

.legal-card-wide {
  grid-column: 1 / -1;
}

.legal-card h3,
.legal-text-card h3 {
  color: var(--navy);
  font-size: 1.22rem;
  margin-bottom: 14px;
}

.legal-card p,
.legal-text-card p,
.legal-generator-note {
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-card a,
.legal-text-card a {
  color: #005b96;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(240, 152, 0, .55);
  overflow-wrap: anywhere;
}

.legal-card a:hover,
.legal-card a:focus,
.legal-text-card a:hover,
.legal-text-card a:focus {
  color: var(--orange-dark, #d78400);
  border-bottom-color: var(--navy);
  outline: none;
}

.legal-sections {
  display: grid;
  gap: 18px;
}

.legal-text-card {
  border-left: 6px solid var(--orange);
}

.legal-generator-note {
  background: #fff8dc;
  border-left: 6px solid var(--orange);
  margin-top: 4px;
}

@media (max-width: 620px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .legal-card,
  .legal-text-card,
  .legal-generator-note {
    padding: 18px;
    border-radius: 14px;
  }

  .legal-card p,
  .legal-text-card p,
  .legal-generator-note {
    font-size: .98rem;
  }
}


/* Version 2.7 Stable: Navigation ohne separaten Menüpunkt "Links"
   Externe Systeme bleiben ausschließlich als Schnellzugriffe im Header und im mobilen Menü.
   Desktop-Navigation ist rechtsbündig ausgerichtet. */
@media (min-width: 993px) {
  .menu {
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    padding-left: 42px;
    padding-right: 42px;
  }

  .menu > li:not(.mobile-quick-links) {
    min-width: 190px;
    text-align: center;
  }

  .menu button {
    width: 100%;
    justify-content: center;
    padding-left: 34px;
    padding-right: 34px;
  }

  .dropdown {
    left: 50%;
    transform: translateX(-50%);
    min-width: 300px;
  }
}

@media (max-width: 992px) {
  .menu > li:not(.mobile-quick-links) {
    width: 100%;
  }

  .dropdown {
    min-width: 0;
  }
}


/* Kalender im Sekretariat */
.calendar-card {
  width: 100%;
  min-height: 620px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(0, 32, 48, .10);
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 32, 48, .12);
}

.calendar-card iframe {
  display: block;
  width: 100%;
  height: 680px;
  border: 0;
  background: #fff;
}

@media (max-width: 720px) {
  .calendar-card {
    min-height: 520px;
    border-radius: 16px;
  }

  .calendar-card iframe {
    height: 620px;
  }
}


/* Blockpläne: Gruppierung ohne Suchfeld */
.blockplan-section {
  margin-top: 34px;
}

.blockplan-section:first-of-type {
  margin-top: 24px;
}

.blockplan-section h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(240, 152, 0, .14);
  color: var(--navy-dark);
  font-size: 1.08rem;
  font-weight: 800;
}

.blockplan-section h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(240, 152, 0, .18);
}

.blockplan-toolbar {
  display: none;
}

/* Kontaktseite ohne Formular */
.contact-grid {
  align-items: stretch;
}

.contact-card {
  min-height: 150px;
}

.contact-card p {
  font-size: 1.08rem;
}

.contact-card a[href^="tel:"],
.contact-card a[href^="mailto:"] {
  word-break: break-word;
}

/* Weitere Downloads */
.downloads-page .news-hero {
  margin-bottom: 26px;
}

.downloads-section {
  margin-top: 34px;
}

.downloads-section h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 4px solid var(--orange);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 102px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  border: 1px solid rgba(0, 32, 48, .10);
  box-shadow: 0 10px 24px rgba(0, 32, 48, .10);
  color: var(--text);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.download-card:hover,
.download-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 32, 48, .16);
  border-color: var(--orange);
  outline: none;
}

.download-card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--orange);
  color: var(--navy-dark);
  font-weight: 900;
  letter-spacing: .04em;
  flex: 0 0 auto;
  box-shadow: 0 8px 18px rgba(240, 152, 0, .25);
}

.download-card-text strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 6px;
}

.download-card-text small {
  display: block;
  color: #4b6478;
  line-height: 1.35;
}

@media (max-width: 620px) {
  .downloads-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    min-height: auto;
    align-items: flex-start;
  }
}


/* Barrierefreiheit */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--navy-dark);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform .2s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.accessibility-toggle {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 1350;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0,32,48,.24);
}
.accessibility-toggle:hover,
.accessibility-toggle:focus {
  background: var(--orange);
  color: var(--navy-dark);
  outline: none;
}

.accessibility-panel {
  position: fixed;
  left: 18px;
  bottom: 82px;
  z-index: 1350;
  width: min(430px, calc(100vw - 36px));
}
.accessibility-panel-inner {
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(0,32,48,.14);
  box-shadow: 0 18px 40px rgba(0,32,48,.22);
}
.accessibility-panel h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.35rem;
}
.accessibility-panel p {
  margin: 0 0 16px;
  color: #4b6478;
}
.accessibility-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.accessibility-actions button {
  min-height: 44px;
  border: 1px solid rgba(0,32,48,.15);
  border-radius: 12px;
  background: #f7f9fb;
  color: var(--navy-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.accessibility-actions button:hover,
.accessibility-actions button:focus,
.accessibility-actions button.is-active {
  background: var(--orange);
  border-color: var(--orange);
  outline: none;
}

body.a11y-font-large { font-size: 112.5%; }
body.a11y-font-xlarge { font-size: 125%; }
body.a11y-readable { font-family: Verdana, Arial, Helvetica, sans-serif; }
body.a11y-spacing .content-frame,
body.a11y-spacing .download-card,
body.a11y-spacing .blockplan-card,
body.a11y-spacing .day-card,
body.a11y-spacing .notice,
body.a11y-spacing .mailbox {
  line-height: 1.9;
  letter-spacing: .02em;
}
body.a11y-contrast {
  --navy: #000000;
  --navy-dark: #000000;
  --orange: #ffd400;
  --orange-dark: #ffbf00;
  --text: #000000;
  --muted: #ffffff;
  background: #ffffff !important;
  color: #000000;
}
body.a11y-contrast .site-header,
body.a11y-contrast .site-footer {
  background: #000000 !important;
}
body.a11y-contrast .main-nav,
body.a11y-contrast .accessibility-toggle,
body.a11y-contrast .download-btn,
body.a11y-contrast .pdf-pill,
body.a11y-contrast .route-button.primary,
body.a11y-contrast .info-header,
body.a11y-contrast .news-kicker {
  background: #ffd400 !important;
  color: #000000 !important;
}
body.a11y-contrast a {
  color: #0033cc;
  text-decoration-thickness: 2px;
}
body.a11y-contrast .content-frame,
body.a11y-contrast .info-box,
body.a11y-contrast .download-card,
body.a11y-contrast .blockplan-card,
body.a11y-contrast .day-card,
body.a11y-contrast .accessibility-panel-inner {
  background: #ffffff !important;
  border: 2px solid #000000 !important;
  box-shadow: none !important;
}
body.a11y-reduce-motion *,
body.a11y-reduce-motion *::before,
body.a11y-reduce-motion *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: .01ms !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .accessibility-toggle {
    right: 12px;
    bottom: 14px;
    padding: 11px 14px;
    font-size: .9rem;
  }
  .accessibility-panel {
    left: 12px;
    bottom: 68px;
    width: calc(100vw - 24px);
  }
  .accessibility-actions {
    grid-template-columns: 1fr;
  }
}

/* Datenschutzseite */
.privacy-page .legal-text-card p + p {
  margin-top: 12px;
}
.privacy-list {
  margin: 12px 0 18px 22px;
  line-height: 1.7;
}
.privacy-list li {
  margin-bottom: 6px;
}

/* Ansprechpartner-Seite */
.contacts-page .lead {
  max-width: 860px;
  margin-bottom: 26px;
}
.contact-accordion {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.contact-section {
  border: 1px solid rgba(0, 32, 48, .10);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 32, 48, .08);
  overflow: hidden;
}
.contact-section summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 18px 22px;
  color: var(--navy-dark);
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
}
.contact-section summary::-webkit-details-marker {
  display: none;
}
.contact-section summary::after {
  content: "+";
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(240, 152, 0, .18);
  color: var(--orange-dark);
  font-size: 1.4rem;
  line-height: 1;
}
.contact-section[open] summary::after {
  content: "–";
}
.contact-section-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--orange);
  color: var(--navy-dark);
  box-shadow: 0 8px 18px rgba(0, 32, 48, .14);
}
.contact-section-body {
  padding: 0 22px 22px;
}
.section-description,
.section-contact {
  margin: 10px 0 18px;
  padding: 16px 18px;
  border-left: 5px solid var(--orange);
  border-radius: 12px;
  background: #fff8dc;
  line-height: 1.65;
}
.section-contact a {
  color: var(--navy-dark);
  font-weight: 800;
  text-decoration: none;
}
.section-contact a:hover,
.section-contact a:focus {
  color: var(--orange-dark);
  text-decoration: underline;
}
.person-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 14px;
}
.person-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid #dbe3ea;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
  box-shadow: 0 8px 18px rgba(0, 32, 48, .07);
}
.person-card h4 {
  margin: 0 0 7px;
  color: var(--navy-dark);
  font-size: 1.12rem;
}
.person-role {
  margin: 0 0 12px;
  color: #4b6478;
  line-height: 1.45;
  font-weight: 650;
}
.person-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: auto;
}
.person-links a,
.person-links span {
  color: var(--navy-dark);
  font-weight: 750;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.person-links a:hover,
.person-links a:focus {
  color: var(--orange-dark);
  text-decoration: underline;
}

@media (max-width: 620px) {
  .contact-section summary {
    padding: 15px 14px;
    font-size: 1rem;
  }
  .contact-section-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
  .contact-section-body {
    padding: 0 14px 16px;
  }
  .person-grid {
    grid-template-columns: 1fr;
  }
}


/* Weitere Downloads: Hinweise für noch nicht verfügbare Dokumente */
.downloads-section-note {
  margin: -6px 0 16px;
  color: #4b6478;
  line-height: 1.55;
}
.download-placeholder {
  margin: 0;
  font-weight: 700;
}
