/* =========================================================
   Unschlagbar Schlager – Stylesheet
   Farben aus dem Logo: Türkis #56BDC2 · Orange #E9530D · Bildschirm-Blau #0E4B60
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 600 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --tq: #56BDC2;          /* Logo-Hintergrund – Header & Footer */
  --tq-deep: #3AA6AC;
  --tq-ink: #17777D;      /* Türkis für Text auf Weiß (Kontrast AA) */
  --tq-50: #EDF8F8;
  --tq-100: #D6EFF0;
  --orange: #E9530D;
  --orange-hover: #CC4608;
  --orange-soft: #FDEBE2;
  --ink: #0E4B60;         /* Bildschirmblau aus dem Logo */
  --text: #29444F;
  --muted: #5A7580;
  --white: #fff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(14,75,96,.06), 0 12px 32px -12px rgba(14,75,96,.22);
  --shadow-lg: 0 2px 4px rgba(14,75,96,.06), 0 30px 60px -20px rgba(14,75,96,.35);
  --font-display: "Archivo", "Arial Narrow", "Arial Black", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tq-ink); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
/* Überschriften im Stil der Logo-Schrift: fett, leicht schmal, Versalien */
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.05; margin: 0 0 .5em; font-stretch: 88%; letter-spacing: .005em; }
h1, h2 { text-transform: uppercase; font-weight: 900; }
h1 { font-size: clamp(2rem, 4.1vw, 3.4rem); line-height: 1.02; font-stretch: 85%; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 800; font-stretch: 92%; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn .ico, .btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-orange { --btn-bg: var(--orange); box-shadow: 0 10px 24px -10px rgba(233,83,13,.8); }
.btn-orange:hover { --btn-bg: var(--orange-hover); }
.btn-ghost { background: rgba(255,255,255,.22); border-color: rgba(14,75,96,.35); color: var(--ink); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: .65rem 1.2rem; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--tq);
  padding-top: env(safe-area-inset-top, 0px);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(14,75,96,.45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
/* Logo mit Antennen: ragt etwas über den Header hinaus, TV liegt wie gehabt */
.brand { position: relative; display: block; height: 100%; width: calc(var(--header-h) * 1.15); }
.brand img { position: absolute; left: -6px; bottom: -4px; height: calc(var(--header-h) + 14px); width: auto; max-width: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .35rem; }
.main-nav a:not(.btn) {
  display: block; padding: .55rem .9rem; border-radius: 999px;
  color: var(--ink); font-weight: 700; text-decoration: none; font-size: .98rem;
  transition: background-color .2s ease;
}
.main-nav a:not(.btn):hover, .main-nav a.is-active { background: rgba(255,255,255,.35); color: var(--ink); }
.main-nav .btn { margin-left: .5rem; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .nav-toggle {
    display: grid; place-content: center; gap: 5px;
    width: 46px; height: 46px; border-radius: 12px; border: 0; cursor: pointer;
    background: rgba(255,255,255,.3);
  }
  .nav-toggle span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--tq); padding: .5rem 1.25rem 1.5rem;
    box-shadow: 0 20px 30px -20px rgba(14,75,96,.5);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .main-nav a:not(.btn) { padding: .85rem 1rem; font-size: 1.1rem; }
  .main-nav .btn { margin: .6rem 0 0; }
}

/* ---------- Hero ---------- */
/* Hintergrund: Konzertbild (türkis getönt) + Verläufe für Lesbarkeit und weichen Übergang zum Header */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(5rem, 9vw, 7.5rem);
  background:
    linear-gradient(180deg, var(--tq) 0%, rgba(86,189,194,0) 22%),
    linear-gradient(90deg, rgba(8,46,60,.88) 0%, rgba(8,46,60,.6) 42%, rgba(8,46,60,.1) 100%),
    url("../img/hero-bg.jpg") center 40% / cover no-repeat,
    var(--ink);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--orange); }
.hero h1 { color: #fff; text-shadow: 0 3px 18px rgba(0,0,0,.25); }
.hero .mark {
  color: #9FE3E6; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(transparent 72%, var(--orange) 72%, var(--orange) 92%, transparent 92%);
  padding: 0 .05em;
}
.hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255,255,255,.9); max-width: 36em; }
.hero .lead strong { color: #fff; }
.hero .btn-ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); }
.hero .social-row a { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.hero .social-row a:hover { background: var(--orange); box-shadow: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.8rem; }
.hero-visual { position: relative; margin-right: -2vw; }
.hero-visual img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); animation: tv-in 1s cubic-bezier(.2,.8,.2,1) both; }
.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); }
@keyframes tv-in { from { opacity: 0; transform: translateY(24px) rotate(-3deg) scale(.96); } to { opacity: 1; transform: none; } }

.social-row { list-style: none; display: flex; gap: .6rem; margin: 0; padding: 0; }
.social-row a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; transition: transform .2s ease, background-color .2s ease;
}
.social-row a:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }
.social-row svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin: -.5rem -1.25rem 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tint { background: var(--tq-50); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; }

/* ---------- Galerie ---------- */
.gallery-section { padding-top: 0; margin-top: clamp(-2.5rem, -3vw, -1rem); position: relative; }
.gallery { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: repeat(2, clamp(170px, 19vw, 260px)); gap: 1rem; }
.g-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--tq-100); }
.g-big { grid-row: span 2; }
.g-item:nth-child(4) { grid-column: 2 / span 2; }
.g-item:nth-child(4) img { object-position: center 30%; }
.g-btn { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.g-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption {
  position: absolute; left: .8rem; bottom: .8rem; pointer-events: none;
  background: rgba(255,255,255,.94); color: var(--ink);
  font-weight: 700; font-size: .9rem; padding: .35rem .8rem; border-radius: 999px;
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .g-item { aspect-ratio: 3 / 2; }
  .g-big { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; }
  .g-item:nth-child(4) { grid-column: span 2; aspect-ratio: 3 / 2; }
  .g-item figcaption { font-size: .8rem; left: .5rem; bottom: .5rem; }
}

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature {
  position: relative; background: #fff; border: 1px solid var(--tq-100); border-radius: var(--radius);
  padding: 2rem 1.8rem 1.6rem; box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature::after { content: ""; position: absolute; left: 1.8rem; right: 1.8rem; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--tq); }
.feature-icon {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px;
  background: var(--orange-soft); color: var(--orange); margin-bottom: 1.3rem;
  transform: rotate(-4deg);
}
.feature-icon svg { width: 34px; height: 34px; }
.feature p { color: var(--muted); font-size: 1rem; margin: 0; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr; max-width: 40rem; } }

/* ---------- Embeds (2-Klick-Lösung) ---------- */
.embed { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--ink); }
.embed-video { aspect-ratio: 16 / 9; }
.embed-audio { height: 380px; }
.embed > img { width: 100%; height: 100%; object-fit: cover; }
.embed-audio > img { filter: blur(2px) saturate(1.1); transform: scale(1.05); opacity: .9; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
  padding: 1.2rem; text-align: center; color: #fff;
  background: linear-gradient(180deg, rgba(14,75,96,.15) 0%, rgba(14,75,96,.78) 100%);
}
.embed-play {
  display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--orange); color: #fff; box-shadow: 0 0 0 10px rgba(233,83,13,.25), 0 14px 30px -8px rgba(0,0,0,.5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.embed-play svg { width: 32px; height: 32px; margin-left: 4px; }
.embed-play:hover { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(233,83,13,.22), 0 14px 30px -8px rgba(0,0,0,.5); }
.embed-play.is-text { width: auto; height: auto; border-radius: 999px; padding: .85rem 1.4rem; font: 700 1rem var(--font-body); gap: .5rem; display: inline-flex; align-items: center; }
.embed-play.is-text svg { width: 18px; height: 18px; margin: 0; }
.embed-note { font-size: .78rem; line-height: 1.45; max-width: 30em; opacity: .95; margin: 0; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.embed-note a { color: #fff; }
.embed-remember { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; cursor: pointer; }
.embed-remember input { accent-color: var(--orange); width: 16px; height: 16px; }
.video-featured .embed-note { font-size: .85rem; }
@media (max-width: 560px) { .video-card:not(.video-featured) .embed-note, .video-card:not(.video-featured) .embed-remember { display: none; } .embed-play { width: 62px; height: 62px; } }

/* ---------- Mediathek ---------- */
.videos { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: auto auto; gap: 1.5rem; }
.video-featured { grid-row: span 2; }
.video-card { background: #fff; border-radius: var(--radius); padding: .8rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.video-featured .embed { flex: 1; min-height: 0; }
.video-meta { padding: 1rem .6rem .4rem; }
.video-meta h3 { margin: .45rem 0 0; font-size: 1.12rem; }
.video-featured .video-meta h3 { font-size: 1.45rem; }
/* weniger als 3 Videos auf der Startseite */
.videos-1 { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.videos-1 .video-featured, .videos-2 .video-featured { grid-row: auto; }
.videos-2 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
.videos-2 .video-featured .embed, .videos-1 .video-featured .embed { flex: none; }

/* Archiv „Weitere Sendungen“ */
.archive { margin-top: 2rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.archive summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.5rem; font-family: var(--font-display); font-weight: 800; font-stretch: 92%; font-size: 1.2rem; color: var(--ink);
  border-radius: var(--radius); transition: background-color .2s;
}
.archive summary::-webkit-details-marker { display: none; }
.archive summary:hover { background: var(--tq-50); }
.archive-count { display: inline-grid; place-items: center; min-width: 1.8em; height: 1.8em; margin-left: .5rem; padding: 0 .45em; border-radius: 999px; background: var(--orange); color: #fff; font-size: .8rem; font-family: var(--font-body); font-weight: 700; vertical-align: middle; }
.archive-chevron { width: 26px; height: 26px; flex: none; color: var(--orange); transition: transform .25s ease; }
.archive[open] .archive-chevron { transform: rotate(180deg); }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; padding: .4rem 1.5rem 1.5rem; }
.archive-grid .video-card { box-shadow: none; border: 1px solid var(--tq-100); }
.archive-grid .embed-note, .archive-grid .embed-remember { display: none; }
@media (max-width: 900px) { .archive-grid, .videos-2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .archive-grid, .videos-2 { grid-template-columns: 1fr; } .archive-grid { padding: .4rem 1rem 1rem; } }

.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tq-ink); background: var(--tq-50); border: 1px solid var(--tq-100); padding: .25rem .65rem; border-radius: 999px; }
@media (max-width: 900px) { .videos { grid-template-columns: 1fr; } .video-featured { grid-row: auto; } .video-featured .embed { flex: none; } }

/* ---------- Musik & Social ---------- */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.media-card { background: #fff; border: 1px solid var(--tq-100); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.media-card-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; flex: 1; }
.media-card-head h3 { margin-bottom: .35rem; font-size: 1.2rem; }
.media-card-head p { margin: 0; color: var(--muted); font-size: .96rem; }
.media-badge { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; }
.media-badge svg { width: 26px; height: 26px; }
.badge-spotify { background: var(--tq-50); color: #1DB954; --icon-cut: var(--tq-50); }
.badge-facebook { background: #1877F2; }
@media (max-width: 1020px) { .media-grid { grid-template-columns: 1fr 1fr; } .media-card:last-child { grid-column: span 2; } }
@media (max-width: 680px) { .media-grid { grid-template-columns: 1fr; } .media-card:last-child { grid-column: auto; } }

.follow-band {
  margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding: 1.3rem 1.6rem; border-radius: var(--radius); background: var(--orange-soft);
}
.follow-band p { margin: 0; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.follow-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.follow-list a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 0 2px 6px rgba(14,75,96,.08);
  transition: background-color .2s, color .2s, transform .2s;
}
.follow-list a:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.follow-list svg { width: 18px; height: 18px; }

/* ---------- Countdown ---------- */
.countdown-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.18) 0 120px, transparent 121px),
    radial-gradient(circle at 92% 85%, rgba(255,255,255,.14) 0 180px, transparent 181px),
    var(--tq);
  text-align: center; position: relative; overflow: hidden;
}
.section-head-light { margin-inline: auto; }
.section-head-light .eyebrow { color: var(--ink); }
.countdown-date { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: #fff !important; margin: 0; text-shadow: 0 2px 0 rgba(14,75,96,.2); }
.countdown { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(.8rem, 2.5vw, 1.8rem); }
.cd-tv {
  position: relative; width: clamp(130px, 18vw, 190px);
  background: var(--orange); border-radius: 26px 26px 22px 22px; padding: 14px 14px 12px;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.12), 0 18px 30px -14px rgba(14,75,96,.55);
  transform: rotate(-2deg);
}
.cd-tv:nth-child(even) { transform: rotate(2deg); }
.cd-tv::before, .cd-tv::after { /* Antenne */
  content: ""; position: absolute; top: -18px; width: 4px; height: 24px; background: #fff; border-radius: 3px;
}
.cd-tv::before { left: 42%; transform: rotate(-24deg); }
.cd-tv::after { left: 54%; transform: rotate(24deg); }
.cd-screen {
  aspect-ratio: 4 / 3; border-radius: 16px; display: grid; place-items: center;
  background: radial-gradient(ellipse at 35% 25%, #2F566B 0%, var(--ink) 70%);
  border: 5px solid #D8370E;
}
.cd-screen span { font-family: var(--font-display); font-weight: 900; font-stretch: 88%; font-size: clamp(2.6rem, 5.5vw, 4rem); color: #fff; font-variant-numeric: tabular-nums; }
.cd-label { display: block; margin-top: .55rem; color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.countdown-note { margin: 2rem auto 0; max-width: 38rem; color: var(--ink); font-weight: 500; background: rgba(255,255,255,.85); padding: 1rem 1.3rem; border-radius: var(--radius-sm); }

/* ---------- Kontakt ---------- */
.contact-panel {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  background: var(--tq-50); border-radius: 28px; padding: clamp(1.6rem, 4vw, 3.5rem);
}
.contact-intro p { color: var(--muted); font-size: 1.1rem; max-width: 32em; }
.contact-intro .btn { margin-top: .6rem; }
.contact-cards { display: grid; gap: .9rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 16px; background: #fff;
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s ease; min-width: 0;
}
a.contact-card:hover { transform: translateX(4px); color: var(--ink); }
.contact-card small { display: block; color: var(--muted); font-size: .82rem; font-weight: 500; }
.contact-card strong { display: block; font-size: 1.05rem; overflow-wrap: anywhere; }
.cc-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--orange); color: #fff; }
.cc-icon svg { width: 22px; height: 22px; }
@media (max-width: 860px) { .contact-panel { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--tq); color: var(--ink); padding: clamp(2.5rem, 5vw, 4rem) 0 calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer-brand img { width: 170px; margin-top: -1.2rem; }
.footer-title { font-size: 1rem; font-weight: 900; margin-bottom: .8rem; letter-spacing: .06em; }
.site-footer address { font-style: normal; line-height: 1.75; }
.site-footer a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 2; }
.social-row-footer a { background: #fff; color: var(--ink); }
.social-row-footer a:hover { background: var(--orange); color: #fff; text-decoration: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem;
  margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(14,75,96,.2); font-size: .92rem;
}
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- Modal: Kontaktformular ---------- */
.modal {
  width: min(640px, 100% - 1.5rem); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 26px;
  background: #fff; color: var(--text); box-shadow: 0 40px 80px -20px rgba(14,75,96,.6); overflow: auto;
}
.modal::backdrop { background: rgba(14,75,96,.55); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .35s cubic-bezier(.2,.8,.2,1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-head { position: sticky; top: 0; z-index: 1; background: var(--tq); padding: 1.3rem 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.modal-head h2 { margin: 0; font-size: 1.6rem; }
.modal-close { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); color: var(--ink); cursor: pointer; }
.modal-close:hover { background: #fff; }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .92rem; color: var(--ink); margin-bottom: .35rem; }
.field label .req { color: var(--orange); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 2px solid var(--tq-100); border-radius: 12px; background: var(--tq-50);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--tq); background: #fff; box-shadow: 0 0 0 4px rgba(86,189,194,.25); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--orange); background: #fff; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { flex: none; width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--orange); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.3rem; }
.form-actions small { color: var(--muted); }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px; font-weight: 500; }
.form-status.is-error { background: var(--orange-soft); color: #9A3408; }
.form-success { text-align: center; padding: 1.5rem .5rem 1rem; }
.form-success .ok-badge { width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--tq); color: #fff; }
.form-success .ok-badge svg { width: 38px; height: 38px; }
.btn[disabled] { opacity: .65; pointer-events: none; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .modal-body { padding: 1.2rem; } }

/* ---------- Lightbox ---------- */
.lightbox { width: min(1200px, 100% - 1.5rem); padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(8,40,52,.9); }
.lightbox img { max-height: 82dvh; width: auto; margin: 0 auto; border-radius: 16px; }
.lightbox p { text-align: center; color: #fff; font-weight: 700; margin: .9rem 0 0; }
.lightbox .modal-close { position: absolute; top: -52px; right: 0; background: #fff; }

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.page-hero { background: var(--tq); padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(4rem, 7vw, 5.5rem); position: relative; }
.page-hero h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero .eyebrow { color: var(--ink); }
.legal { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.legal .container { max-width: 820px; }
.legal h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 2.4rem 0 .8rem; padding-top: 1.4rem; border-top: 2px solid var(--tq-100); }
.legal h3 { font-size: 1.1rem; margin: 1.6rem 0 .4rem; color: var(--tq-ink); }
.legal p { overflow-wrap: anywhere; }
.legal .legal-card { background: var(--tq-50); border-radius: var(--radius); padding: 1.5rem 1.7rem; margin-bottom: 1rem; }
.legal .legal-card p:last-child { margin: 0; }
.legal .legal-card h3:first-child { margin-top: 0; }
.legal-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.legal .note { font-size: .9rem; color: var(--muted); }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 404-Seite ---------- */
/* ohne Welle: Hero geht nahtlos in den türkisen Footer über */
.fehler-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 3rem); }
.fehler-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.fehler-tv { position: relative; max-width: 420px; justify-self: center; }
.fehler-tv img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(14,75,96,.25)); }
.fehler-text h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.fehler-text p:not(.eyebrow) { font-size: 1.1rem; max-width: 34rem; color: var(--ink); }
.fehler-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
@media (max-width: 760px) {
  .fehler-inner { grid-template-columns: 1fr; text-align: center; }
  .fehler-tv { max-width: 240px; }
  .fehler-text .eyebrow, .fehler-buttons { justify-content: center; }
  .fehler-text p:not(.eyebrow) { margin-inline: auto; }
}
