/* ==========================================================================
   Schongau Triathlon – statische Webseite
   Farben angelehnt an die bisherige Seite (dunkle Leiste, Logo-Blau, Hellblau)
   ========================================================================== */

:root {
  --c-dark: #2e2e2e;        /* Navigationsleiste (alt: #313131) */
  --c-darker: #232323;      /* Footer */
  --c-blue: #3963a6;        /* Blau aus dem Logo */
  --c-blue-dark: #2c4f86;
  --c-sky: #8ed1fc;         /* Hellblau der alten Seite ("Sportliches") */
  --c-sky-soft: #eaf6fe;
  --c-text: #2f3033;
  --c-muted: #62666d;
  --c-line: #e3e6ea;
  --c-bg: #ffffff;
  --c-bg-alt: #f5f7fa;

  --f-head: Georgia, "Times New Roman", serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --w-max: 1140px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 10px;
  --header-h: 64px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-blue); text-underline-offset: 2px; }
a:hover { color: var(--c-blue-dark); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 400; line-height: 1.2; color: #303133; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--w-max); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: #fff; color: var(--c-dark); padding: 8px 14px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--c-sky); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-dark);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 2px 10px rgba(0,0,0,.25);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: #fff; text-decoration: none;
  font-family: var(--f-head); font-size: 1.35rem; white-space: nowrap;
}
.brand:hover { color: #fff; }
.brand__logo {
  width: 42px; height: 42px; padding: 3px;
  background: #fff; border-radius: 8px;
}

/* ---------- Hauptnavigation ---------- */
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.has-sub { position: relative; }
.main-nav__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 0; border-radius: 6px; cursor: pointer;
  background: transparent; color: #e9e9e9;
  font: inherit; font-size: .95rem; letter-spacing: .02em;
}
.main-nav__toggle svg { width: 16px; height: 16px; transition: transform .2s; }
.main-nav__toggle:hover, .main-nav__toggle.is-current, .main-nav__toggle[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.08); }
.main-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.main-nav__sub {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px;
  list-style: none; margin: 0; padding: 6px;
  background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.main-nav__sub::before { /* Hover-Brücke zwischen Button und Menü */
  content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
}
.main-nav__toggle[aria-expanded="true"] + .main-nav__sub,
.no-js .has-sub:focus-within .main-nav__sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 801px) {
  .has-sub:hover .main-nav__sub { opacity: 1; visibility: visible; transform: none; }
}
.main-nav__sub a {
  display: block; padding: 10px 12px; border-radius: 6px;
  color: var(--c-text); text-decoration: none; font-size: .95rem;
}
.main-nav__sub a.is-external { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.main-nav__sub a.is-external svg { width: 14px; height: 14px; flex: none; opacity: .6; }
.main-nav__sub a:hover { background: var(--c-sky-soft); color: var(--c-blue-dark); }
.main-nav__sub a[aria-current="page"] { color: var(--c-blue); font-weight: 600; }

/* Hamburger-Schalter (nur auf schmalen Bildschirmen sichtbar) */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; flex: none;
  border: 0; border-radius: 8px; cursor: pointer;
  background: transparent; color: #fff;
}
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: rgba(255,255,255,.1); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Downloads ---------- */
.download-title { margin-top: 0; }
.download-title a { text-decoration: none; }
.download-title a:hover { text-decoration: underline; }
.download-card {
  display: inline-block; max-width: 360px; margin-top: 8px;
  border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.download-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 14px 32px rgba(0,0,0,.1); }
.download-card__label {
  display: block; padding: 12px 16px; background: var(--c-blue); color: #fff;
  font-weight: 600; font-size: .9rem; text-align: center;
}

/* ---------- Hero / Slider ---------- */
.hero {
  position: relative;
  height: clamp(380px, 46vw, 580px);
  overflow: hidden;
  background: #555;
  color: #fff;
}
.hero__slides { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20,22,26,.72) 0%, rgba(20,22,26,.35) 55%, rgba(20,22,26,.1) 100%),
    linear-gradient(0deg, rgba(20,22,26,.45) 0%, rgba(20,22,26,0) 40%);
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.hero__logo {
  width: clamp(72px, 9vw, 104px); height: auto; padding: 6px;
  background: #fff; border-radius: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.25);
  margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: .25em; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.hero__badge {
  display: inline-block; margin-bottom: 10px;
  background: var(--c-sky); color: #0d2a44;
  font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
}
.hero__lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin: 0 0 1.2em; max-width: 34ch; }
.hero__lead strong { color: var(--c-sky); font-weight: 600; }

.hero__ctrl {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.35); color: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s;
}
.hero__ctrl:hover { background: rgba(0,0,0,.6); }
.hero__ctrl--prev { left: 12px; }
.hero__ctrl--next { right: 12px; }
.hero__ctrl svg { width: 20px; height: 20px; }
.hero__dots {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 16px;
  display: flex; justify-content: center; gap: 8px;
}
.hero__dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.5); cursor: pointer;
}
.hero__dots button[aria-current="true"] { background: #fff; transform: scale(1.2); }
.no-js .hero__ctrl, .no-js .hero__dots { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: 2px solid transparent;
  background: var(--c-blue); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--c-blue-dark); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--c-dark); }
.btn--outline { background: transparent; border-color: var(--c-blue); color: var(--c-blue); }
.btn--outline:hover { background: var(--c-blue); color: #fff; }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(48px, 8vw, 88px); }
.section--alt { background: var(--c-bg-alt); }
.section__head { text-align: center; margin-bottom: clamp(28px, 5vw, 48px); }
.section__head h2 { margin-bottom: .2em; }
.section__head h2::after {
  content: ""; display: block; width: 56px; height: 4px; margin: 14px auto 0;
  background: var(--c-sky); border-radius: 2px;
}
.section__head p { color: var(--c-muted); margin: 14px auto 0; max-width: 60ch; }

/* ---------- News ---------- */
.news { display: grid; gap: 28px; }
.news-card {
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.news-card__media { background: #0f1b2b; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: clamp(20px, 3.5vw, 36px); }
.news-card__meta {
  font-size: .85rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 8px;
}
.news-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.news-card--featured { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.news-card--featured .news-card__media img { max-height: 520px; object-fit: contain; }
.note {
  margin-top: 1.2em; padding: 14px 16px;
  background: var(--c-sky-soft); border-left: 4px solid var(--c-sky); border-radius: 6px;
  font-size: .98rem;
}
.note p:last-child { margin-bottom: 0; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.page-head { background: var(--c-bg-alt); padding-block: clamp(36px, 6vw, 64px); border-bottom: 1px solid var(--c-line); }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.2em; }

/* ---------- Tabellen (Trainingszeiten) ---------- */
.table-wrap { overflow-x: auto; margin: 1em 0 1.8em; border: 1px solid var(--c-line); border-radius: var(--radius); }
.schedule { width: 100%; border-collapse: collapse; font-size: .97rem; }
.schedule th, .schedule td { padding: 11px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.schedule thead th { background: var(--c-bg-alt); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--c-muted); }
.schedule tbody tr:last-child td { border-bottom: 0; }
.schedule tbody td:first-child { font-weight: 600; white-space: nowrap; }
.schedule tbody tr:hover { background: var(--c-sky-soft); }
@media (max-width: 560px) {
  .schedule thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .schedule, .schedule tbody, .schedule tr, .schedule td { display: block; width: 100%; }
  .schedule tr { padding: 10px 0; border-bottom: 1px solid var(--c-line); }
  .schedule tbody tr:last-child { border-bottom: 0; }
  .schedule td { display: flex; gap: 12px; padding: 3px 16px; border: 0; }
  .schedule tbody td:first-child { white-space: normal; }
  .schedule td::before { content: attr(data-label); flex: 0 0 5.5rem; color: var(--c-muted); font-size: .85rem; padding-top: 2px; }
}

/* ---------- Ergebnisliste ---------- */
.results { list-style: none; margin: 0; padding: 0; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.results__item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px; border-bottom: 1px solid var(--c-line);
}
.results__item:last-child { border-bottom: 0; }
.results__item:not(.results__item--files):hover { background: var(--c-sky-soft); }
.results__title { font-weight: 600; }
.results__year { margin-left: 6px; color: var(--c-muted); font-weight: 400; }
.results__link {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  text-decoration: none; font-weight: 600; font-size: .95rem;
}
.results__link:hover { text-decoration: underline; }
.results__link svg { width: 16px; height: 16px; }
.results__item--files { align-items: flex-start; background: var(--c-bg-alt); }
.results__item--files + .results__item--files { border-top: 0; }
.results__files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; flex: 1 1 0; max-width: 60%; }
.results__files li { margin: 0; }
.results__files a::after {
  content: "PDF"; margin-left: 8px; padding: 1px 6px; border-radius: 4px;
  background: #fff; border: 1px solid var(--c-line); color: var(--c-muted);
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; vertical-align: 1px;
}
@media (max-width: 560px) {
  .results__item { padding: 12px 16px; }
  .results__item--files { flex-direction: column; gap: 8px; }
  .results__files { max-width: none; width: 100%; }
}

/* ---------- Ausschreibung ---------- */
.doc-logo, .doc-seal, .doc-map { margin: 0 0 1.5em; text-align: center; }
.doc-logo img { width: 191px; margin-inline: auto; }
.doc-seal img { width: 100%; border-radius: var(--radius); }
.doc-map img { margin-inline: auto; border: 1px solid var(--c-line); border-radius: var(--radius); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2em; }
.toc a {
  padding: 6px 14px; border: 1px solid var(--c-line); border-radius: 999px;
  background: #fff; color: var(--c-text); text-decoration: none; font-size: .9rem;
}
.toc a:hover { border-color: var(--c-blue); color: var(--c-blue); }
.events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 1.8em; }
.event { padding: 18px 20px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-bg-alt); }
.event h2 { margin: 0 0 .5em; font-size: 1.25rem; }
.event p { margin: 0 0 .3em; }
.event p span { display: block; font-size: .85rem; color: var(--c-muted); font-style: italic; }
.event p:last-child { margin-bottom: 0; }
.facts { margin: 0 0 1em; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.facts > div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--c-line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
.callout { padding: 14px 16px; background: var(--c-sky-soft); border-left: 4px solid var(--c-sky); border-radius: 6px; }
.callout--alert { background: #fdecec; border-left-color: #cf2e2e; color: #8f1d1d; }
.table-note { margin-top: -.8em; font-size: .85rem; color: var(--c-muted); }
.schedule--prices td:not(:first-child), .schedule--prices th:not(:first-child) { text-align: right; white-space: nowrap; }
.schedule--prices tbody td:first-child { white-space: normal; }
.schedule--times tbody td:first-child { width: 11rem; }
.schedule tr.is-start td:last-child { font-weight: 700; }
.schedule tr.is-alert td { color: #b42318; }
@media (max-width: 560px) {
  .events { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; padding: 10px 16px; }
  .schedule--prices td:not(:first-child) { text-align: left; }
  .schedule--times tbody td:first-child { width: 100%; }
  .schedule--prices td::before { flex-basis: 7.5rem; }
  .schedule--prices tbody td:first-child::before { display: none; }
  .schedule--prices tbody td:first-child { padding-bottom: 6px; }
}

/* ---------- Kinder-Triathlon ---------- */
.doc-photo { margin: 0 0 1.5em; text-align: center; }
.doc-photo img { width: 100%; height: auto; border-radius: var(--radius); }
.doc-photo figcaption { margin-top: 8px; font-size: .85rem; color: var(--c-muted); }
.doc-clip { max-width: 760px; margin-inline: auto; }
.doc-clip img { border: 1px solid var(--c-line); }
.lead-title { margin-top: 0; }
.schedule--classes td:not(:first-child), .schedule--classes th:not(:first-child) { white-space: nowrap; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prose--wide { max-width: none; }
.res-note { margin: 0 0 1.5em; font-size: .9rem; color: var(--c-muted); }
.res-note__swipe { display: none; }
.year-block + .year-block { margin-top: 3.5rem; padding-top: 1rem; border-top: 1px solid var(--c-line); }
.year-block > h2 { margin-top: 0; }
.res-class { margin: 1.8em 0 .6em; padding-left: 12px; border-left: 4px solid var(--c-sky); }
.ranking-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
.ranking { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.ranking caption { text-align: left; padding: 10px 14px; font-weight: 700; background: var(--c-bg-alt); border-bottom: 1px solid var(--c-line); }
.ranking th, .ranking td { padding: 8px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--c-line); font-weight: 400; vertical-align: top; }
.ranking thead th { background: var(--c-bg-alt); color: var(--c-muted); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; vertical-align: bottom; }
.ranking tbody tr { background: #fff; }
.ranking tbody tr:nth-child(even) { background: #fafbfc; }
.ranking tbody tr:hover { background: var(--c-sky-soft); }
.ranking tbody tr:last-child > * { border-bottom: 0; }
.ranking .who, .ranking thead th:first-child { text-align: left; }
.ranking .who { display: table-cell; background: inherit; white-space: normal; min-width: 15rem; position: sticky; left: 0; z-index: 1; }
.ranking thead th:first-child { position: sticky; left: 0; z-index: 2; }
.ranking .who .rng { display: inline-block; width: 1.8rem; color: var(--c-muted); font-weight: 600; }
.ranking .who .nm { display: inline-block; vertical-align: top; max-width: calc(100% - 2rem); }
.ranking .who strong { display: block; font-weight: 600; }
.ranking .who small { display: block; color: var(--c-muted); font-size: .82rem; line-height: 1.3; }
.ranking .rk { color: var(--c-muted); font-size: .75rem; margin-left: 2px; }
.ranking .fin { font-weight: 700; }
@media (max-width: 800px) {
  .res-note__swipe { display: inline; }
}
@media (max-width: 560px) {
  .ranking .who { min-width: 10.5rem; max-width: 11rem; box-shadow: 1px 0 0 var(--c-line); }
  .ranking th, .ranking td { padding: 8px 10px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--c-darker); color: #c9c9c9; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--c-sky); }
.footer__grid {
  display: grid; grid-template-columns: 3fr 1fr; gap: 32px; /* vorher 2fr 1fr 1fr mit Spalte „Videos“ */
  padding-block: 48px 36px;
}
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__brand img { width: 56px; height: 56px; padding: 4px; background: #fff; border-radius: 10px; flex: none; }
.footer__brand strong { display: block; font-family: var(--f-head); font-weight: 400; font-size: 1.3rem; color: #fff; }
.site-footer h2 { font-family: var(--f-body); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #8b8b8b; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 6px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 18px; font-size: .85rem; color: #8b8b8b; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .news-card--featured { grid-template-columns: 1fr; }
  .news-card--featured .news-card__media img { max-height: 420px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 56px; }
  .brand { font-size: 1.1rem; gap: 10px; }
  .brand__logo { width: 36px; height: 36px; }
  .hero__ctrl { display: none; }
  .hero::after { background: linear-gradient(0deg, rgba(20,22,26,.75) 0%, rgba(20,22,26,.35) 100%); }
}
@media (max-width: 800px) {
  /* Menü als ausklappbares Panel, Untermenüs als Akkordeon */
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; overscroll-behavior: contain;
    background: var(--c-darker); border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 14px 24px rgba(0,0,0,.35);
  }
  .site-header.nav-open .main-nav { display: block; }
  .main-nav > ul { display: block; max-width: var(--w-max); margin-inline: auto; padding: 4px calc(var(--gutter) - 6px) 14px; }
  .has-sub { border-bottom: 1px solid rgba(255,255,255,.08); }
  .has-sub:last-child { border-bottom: 0; }
  .main-nav__toggle { width: 100%; justify-content: space-between; padding: 15px 6px; font-size: 1.05rem; border-radius: 6px; }
  .main-nav__toggle svg { width: 18px; height: 18px; }
  .main-nav__sub {
    display: none; position: static; min-width: 0; padding: 0 0 12px 10px;
    background: transparent; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .main-nav__sub::before { display: none; }
  .main-nav__toggle[aria-expanded="true"] + .main-nav__sub { display: block; }
  .main-nav__sub a { padding: 12px 12px; font-size: 1rem; color: #d6d9de; }
  .main-nav__sub a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .main-nav__sub a[aria-current="page"] { color: var(--c-sky); }
  .main-nav__sub a.is-external svg { opacity: .8; }

  /* Ohne JavaScript: Menü bleibt offen unter der Kopfzeile */
  .no-js .nav-toggle { display: none; }
  .no-js .site-header .container { flex-wrap: wrap; padding-block: 8px; }
  .no-js .main-nav { display: block; position: static; flex: 1 0 100%; max-height: none; box-shadow: none; border-top: 0; background: transparent; }
  .no-js .main-nav__sub { display: block; }
  .no-js .main-nav__toggle svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide { transition: none; }
}

/* Ausschreibung: Tabelle mit längerem Text in der ersten Spalte (Zusatzkosten) */
.schedule--options tbody td:first-child { white-space: normal; width: 40%; }
@media (max-width: 560px) { .schedule--options tbody td:first-child { width: 100%; } }
.doc-title { text-align: center; margin: .4em 0 1em; }
.news-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
