/* ==========================================================================
   Energypoint – Neuroathletik Training
   Statisches Stylesheet (kein Framework). Farben & Abstände über Variablen.
   ========================================================================== */

:root {
  --petrol-950: #041c21;
  --petrol-900: #062a31;
  --petrol-800: #0b3c46;
  --petrol-700: #12505c;
  --petrol-600: #1b6672;
  --teal: #35c9c1;
  --teal-soft: #a7ece7;
  --red: #e5463d;
  --red-dark: #c4352d;
  --sand: #f3f0ea;
  --white: #ffffff;
  --ink: #0d1b1e;
  --muted: #5b6b6e;
  --line: rgba(13, 27, 30, .12);
  --line-light: rgba(255, 255, 255, .16);

  --font-head: "Bahnschrift", "DIN Alternate", "Barlow Condensed", "Oswald", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(4, 28, 33, .45);
  --container: 1200px;
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::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(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-stretch: condensed;
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 700; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; text-transform: uppercase; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--teal); color: var(--petrol-950); padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section--dark { background: var(--petrol-900); color: var(--white); }
.section--deep { background: var(--petrol-950); color: var(--white); }
.section--sand { background: var(--sand); }
.section--dark .muted, .section--deep .muted { color: rgba(255, 255, 255, .72); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-stretch: condensed;
  font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  color: var(--petrol-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); border-radius: 2px; }
.section--dark .eyebrow, .section--deep .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--teal); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.accent { color: var(--teal); }
.accent-red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font-family: var(--font-head); font-stretch: condensed; font-weight: 600; font-size: 1.05rem;
  letter-spacing: .06em; text-transform: uppercase;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); background: var(--red-dark); box-shadow: 0 12px 30px -12px rgba(229, 70, 61, .7); }
.btn svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--teal { --bg: var(--teal); --fg: var(--petrol-950); }
.btn--teal:hover { background: #5fdad3; box-shadow: 0 12px 30px -12px rgba(53, 201, 193, .7); }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: none; }
.section--sand .btn--ghost:hover, .section:not(.section--dark):not(.section--deep) .btn--ghost:hover { background: rgba(11, 60, 70, .06); }
.btn--sm { padding: .6rem 1.1rem; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.center .btn-row, .btn-row.center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none;
  color: var(--petrol-700); border-bottom: 2px solid var(--teal); padding-bottom: 2px;
}
.section--dark .link-arrow, .section--deep .link-arrow { color: var(--teal-soft); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  color: var(--white);
  transition: background-color .35s, height .35s var(--ease), box-shadow .35s;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(6, 42, 49, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6);
}
.site-header.is-scrolled { --header-h: 64px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 10px; transition: width .35s, height .35s; }
.is-scrolled .brand img { width: 38px; height: 38px; }
.brand-name { font-family: var(--font-head); font-stretch: condensed; font-size: 1.45rem; font-weight: 600; letter-spacing: .02em; }
.brand-name small { display: block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 500; margin-top: -2px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; align-items: center; }
.main-nav a {
  display: block; padding: .5rem .85rem; text-decoration: none; border-radius: 999px;
  font-family: var(--font-head); font-stretch: condensed; font-weight: 500; font-size: 1.08rem; letter-spacing: .04em;
  position: relative; transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.lang-switch {
  font-family: var(--font-head); font-stretch: condensed; font-weight: 600; letter-spacing: .08em; text-decoration: none;
  border: 1px solid var(--line-light); border-radius: 999px; padding: .35rem .75rem; font-size: .9rem;
}
.lang-switch:hover { border-color: var(--teal); color: var(--teal); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-light);
  background: transparent; color: inherit; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; content: ""; transition: transform .3s var(--ease), top .3s, opacity .2s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -7px; left: 0; right: 0; }
.nav-toggle span::after { top: 7px; left: 0; right: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.main-nav a, .header-actions .btn { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; background: var(--petrol-950);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .main-nav ul { flex-direction: column; gap: .6rem; text-align: center; }
  .main-nav a { font-size: 2rem; text-transform: uppercase; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .main-nav .nav-cta { display: block; margin-top: 1.5rem; }
}
@media (min-width: 1181px) { .main-nav .nav-cta { display: none; } }
@media (max-width: 640px) { .header-actions .btn { display: none; } }

/* ---------- Hero (Startseite mit Video) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; background: var(--petrol-950);
  padding: calc(var(--header-h) + 3rem) 0 clamp(3rem, 8vh, 6rem);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transform-origin: 30% 50%;
  filter: grayscale(1) contrast(1.1);
}
.hero-media video { opacity: 0; transition: opacity 1.2s ease; }
.hero-media video.is-playing { opacity: 1; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 28, 33, .55) 0%, rgba(4, 28, 33, .15) 35%, rgba(4, 28, 33, .85) 85%, var(--petrol-950) 100%),
    linear-gradient(90deg, rgba(11, 60, 70, .85) 0%, rgba(11, 60, 70, .2) 70%);
  mix-blend-mode: normal;
}
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .15s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .3s; }
.hero .lead { color: rgba(255, 255, 255, .88); animation: fade-up 1s .45s var(--ease) both; }
.hero .btn-row { animation: fade-up 1s .6s var(--ease) both; }
.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.6rem; padding: 0; list-style: none; animation: fade-up 1s var(--ease) both; }
.badges li {
  border: 1px solid rgba(53, 201, 193, .55); color: var(--teal-soft);
  padding: .35rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  background: rgba(4, 28, 33, .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.scroll-hint {
  position: absolute; right: clamp(1.25rem, 4vw, 3rem); bottom: 2.5rem; z-index: 1;
  writing-mode: vertical-rl; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
  display: flex; align-items: center; gap: .8rem; text-decoration: none;
}
.scroll-hint::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--teal), transparent); animation: scroll-line 2s infinite; }
@media (max-width: 700px) { .scroll-hint { display: none; } }

/* ---------- Unterseiten-Hero ---------- */
.page-hero {
  position: relative; color: var(--white); background: var(--petrol-900); overflow: hidden;
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 7vw, 5.5rem);
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .35; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--petrol-900) 25%, rgba(6, 42, 49, .55)); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 16ch; }
.page-hero .lead { color: rgba(255, 255, 255, .85); }

/* ---------- Laufband ---------- */
.ticker { background: var(--teal); color: var(--petrol-950); overflow: hidden; padding: .9rem 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker ul { display: flex; gap: 2.5rem; margin: 0; padding: 0 1.25rem; list-style: none; }
.ticker li {
  font-family: var(--font-head); font-stretch: condensed; font-weight: 700; font-size: 1.35rem;
  text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; display: flex; align-items: center; gap: 2.5rem;
}
.ticker li::after { content: "✦"; font-size: .9rem; color: var(--petrol-700); }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { border-left: 3px solid var(--teal); padding: .3rem 0 .3rem 1.2rem; }
.stat-num { font-family: var(--font-head); font-stretch: condensed; font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--white); }
.stat-num .plus { color: var(--teal); }
.stat-label { font-size: .95rem; color: rgba(255, 255, 255, .72); margin-top: .4rem; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Grids & Karten ---------- */
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--teal), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-top: .9rem; }
.card p { color: var(--muted); }
.card .tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.card .tags li { font-size: .8rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; background: var(--sand); color: var(--petrol-700); }
.section--dark .card, .section--deep .card { background: rgba(255, 255, 255, .04); border-color: var(--line-light); color: var(--white); }
.section--dark .card p, .section--deep .card p { color: rgba(255, 255, 255, .72); }
.section--dark .card .tags li, .section--deep .card .tags li { background: rgba(53, 201, 193, .14); color: var(--teal-soft); }
.section--sand .card { border-color: transparent; }

.icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--petrol-700), var(--petrol-900)); color: var(--teal);
}
.icon svg { width: 28px; height: 28px; }
.section--dark .icon, .section--deep .icon { background: rgba(53, 201, 193, .12); }

.card-num {
  position: absolute; right: 1.4rem; top: 1rem;
  font-family: var(--font-head); font-stretch: condensed; font-weight: 700; font-size: 3.5rem; line-height: 1;
  color: rgba(11, 60, 70, .08);
}
.section--dark .card-num, .section--deep .card-num { color: rgba(255, 255, 255, .07); }

/* ---------- Leistungs-Kacheln mit Bild ---------- */
.skill-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 1100px) { .skill-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .skill-grid { grid-template-columns: repeat(2, 1fr); } }
.skill {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; color: var(--white);
  text-decoration: none; isolation: isolate;
}
.skill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .8s var(--ease), filter .5s; z-index: -2; }
/* Die Bilder tragen ihren Titel bereits im Motiv – Überschrift nur für Screenreader, Text erscheint beim Hover */
.skill::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 60, 70, 0); transition: background .45s; }
.skill:hover img, .skill:focus-visible img { transform: scale(1.08); }
.skill:hover::after, .skill:focus-visible::after { background: rgba(11, 60, 70, .88); }
.skill-body { position: absolute; inset: 0; display: flex; align-items: center; padding: 1.4rem; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .45s var(--ease); }
.skill:hover .skill-body, .skill:focus-visible .skill-body { opacity: 1; transform: none; }
.skill h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skill p { font-size: 1.05rem; line-height: 1.5; margin: 0; color: var(--white); font-weight: 500; }
.skill p::before { content: ""; display: block; width: 28px; height: 3px; background: var(--teal); margin-bottom: .8rem; }

/* ---------- Split (Bild + Text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse .split-media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split-media { order: 0; } }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media--wide img { aspect-ratio: 4 / 3; }
.split-media::before {
  content: ""; position: absolute; inset: auto -16px -16px auto; width: 60%; height: 60%;
  border: 2px solid var(--teal); border-radius: var(--radius); z-index: -1;
}
.split-media .float-badge {
  position: absolute; left: -1rem; bottom: 2rem; background: var(--red); color: var(--white);
  padding: 1rem 1.3rem; border-radius: 14px; box-shadow: var(--shadow); max-width: 220px;
  font-family: var(--font-head); font-stretch: condensed; font-size: 1.15rem; line-height: 1.2; font-weight: 600;
}
.float-badge strong { display: block; font-size: 2.2rem; line-height: 1; }
@media (max-width: 860px) { .split-media .float-badge { left: 1rem; } }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: 0 0 24px; height: 24px; margin-top: .1rem; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23041c21' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Zitat-Band ---------- */
.quote-band { text-align: center; }
.quote-band blockquote {
  margin: 0 auto; max-width: 900px;
  font-family: var(--font-head); font-stretch: condensed; font-weight: 600; text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.05;
}
.quote-band blockquote span { color: var(--teal); }

/* ---------- Teaser Teams & Verbände ---------- */
.teaser {
  display: grid; grid-template-columns: 1.1fr .9fr; border-radius: calc(var(--radius) + 8px); overflow: hidden;
  background: var(--petrol-800); color: var(--white); box-shadow: var(--shadow);
}
.teaser-body { padding: clamp(2rem, 5vw, 4rem); }
.teaser-media { position: relative; min-height: 320px; }
.teaser-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.teaser-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--petrol-800), rgba(11, 60, 70, 0) 45%); }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; } .teaser-media { order: -1; min-height: 240px; } .teaser-media::after { background: linear-gradient(0deg, var(--petrol-800), rgba(11, 60, 70, 0) 50%); } }
.logo-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.logo-row li { border: 1px solid var(--line-light); border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; color: var(--teal-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--teal); box-shadow: 0 12px 30px -20px rgba(4, 28, 33, .4); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 3.5rem 1.2rem 1.4rem; position: relative;
  font-weight: 650; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.3rem; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3c46' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .35s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--teal); }
.faq .faq-body { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- Instagram-Kacheln ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
@media (max-width: 900px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
.insta-grid a { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; display: block; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.insta-grid a::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: rgba(11, 60, 70, .65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='white'/%3E%3C/svg%3E") center / 34px no-repeat;
}
.insta-grid a:hover::after, .insta-grid a:focus-visible::after { opacity: 1; }
.insta-grid a:hover img { transform: scale(1.08); }
.insta-pillars { margin-bottom: 2.5rem; }
.insta-pillars h3 { color: var(--teal); text-transform: uppercase; font-size: 1.25rem; }

/* ---------- CTA-Band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: var(--white); text-align: center;
  background: radial-gradient(circle at 20% 20%, var(--petrol-600), transparent 55%), radial-gradient(circle at 85% 80%, rgba(229, 70, 61, .45), transparent 50%), var(--petrol-900);
}
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; color: rgba(255, 255, 255, .85); }
.pill-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.pill-list li { padding: .35rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 600; font-size: .92rem; }

/* ---------- Zeitleiste (Ablauf) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; position: relative; counter-reset: step; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--red)); transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform 1.6s var(--ease);
}
.timeline.is-visible::before { --progress: 1; }
.timeline li { position: relative; counter-increment: step; }
.timeline li::before {
  content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--petrol-900); color: var(--teal); border: 2px solid var(--teal); position: relative; z-index: 1;
  font-family: var(--font-head); font-stretch: condensed; font-weight: 700; font-size: 1.3rem; margin-bottom: 1.1rem;
}
.section--dark .timeline li::before { background: var(--petrol-950); }
.timeline h3 { text-transform: uppercase; }
.timeline p { color: var(--muted); font-size: .98rem; }
.section--dark .timeline p { color: rgba(255, 255, 255, .72); }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: scaleY(var(--progress, 0)); transform-origin: top; }
  .timeline li { padding-left: 80px; padding-bottom: 1.8rem; }
  .timeline li::before { position: absolute; left: 0; top: 0; }
}

/* ---------- Kundenstimmen-Slider ---------- */
.slider { position: relative; }
.slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 560px); gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem;
}
.slider-track::-webkit-scrollbar { display: none; }
.testimonial {
  scroll-snap-align: start; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column;
}
.testimonial::before { content: "“"; font-family: Georgia, serif; font-size: 5rem; line-height: .6; color: var(--teal); }
.testimonial blockquote { margin: 1rem 0 1.5rem; color: rgba(255, 255, 255, .88); flex: 1; }
.testimonial footer { display: flex; align-items: center; gap: .9rem; }
.testimonial footer img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial cite { font-style: normal; font-weight: 700; display: block; }
.testimonial footer span { font-size: .9rem; color: var(--teal-soft); }
.testimonial--feature { max-width: 920px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem); background: rgba(53, 201, 193, .06); }
.testimonial--feature blockquote { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.6; }
.cta-band .muted { color: rgba(255, 255, 255, .65); margin-top: 1.5rem; font-size: .92rem; }
.slider-nav { display: flex; gap: .6rem; margin-top: 1.5rem; }
.slider-nav button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light); background: transparent; color: var(--white); cursor: pointer;
  display: grid; place-items: center; transition: background-color .25s, border-color .25s;
}
.slider-nav button:hover { background: var(--teal); border-color: var(--teal); color: var(--petrol-950); }
.slider-nav svg { width: 20px; height: 20px; }

/* ---------- Profil ---------- */
.profile-card { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; }
.profile-card img { width: 220px; height: 300px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 640px) { .profile-card { grid-template-columns: 1fr; } }
.role-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.role-list li { background: rgba(53, 201, 193, .15); color: var(--teal-soft); padding: .35rem .9rem; border-radius: 999px; font-weight: 600; font-size: .9rem; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 1000px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card .news-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.news-card .news-img--contain img { object-fit: contain; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; gap: .8rem; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }
.news-tag { background: var(--teal); color: var(--petrol-950); font-weight: 700; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.news-tag--red { background: var(--red); color: var(--white); }
.news-body h3 { font-size: 1.5rem; }
.news-body p { color: var(--muted); margin: 0; }
.news-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.news-card--featured .news-img { aspect-ratio: auto; min-height: 340px; }
.news-card--featured .news-body { padding: clamp(1.8rem, 4vw, 3rem); justify-content: center; }
.news-card--featured h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
@media (max-width: 860px) { .news-card--featured { grid-template-columns: 1fr; } .news-card--featured .news-img { min-height: 240px; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fbfaf8; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(53, 201, 193, .2); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm); background: rgba(53, 201, 193, .15); color: var(--petrol-800); font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-item {
  display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.contact-item:hover { transform: translateX(6px); border-color: var(--teal); box-shadow: 0 10px 30px -20px rgba(4, 28, 33, .5); }
.contact-item .icon { flex: 0 0 48px; width: 48px; height: 48px; }
.contact-item strong { display: block; }
.contact-item span { color: var(--muted); font-size: .92rem; }
.hint-box svg { width: 1.15em; height: 1.15em; vertical-align: -.2em; color: var(--red); }
.hint-box { border-left: 4px solid var(--red); background: var(--white); padding: 1rem 1.2rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-top: 1.5rem; font-size: .95rem; }

/* ---------- Rechtstexte ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.9rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose a { color: var(--petrol-700); }
.todo { background: #fff3cd; border: 1px dashed #d39e00; padding: .1rem .4rem; border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-950); color: rgba(255, 255, 255, .75); padding: 4.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); text-transform: uppercase; font-size: 1.1rem; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.footer-brand p { margin-top: 1rem; max-width: 34ch; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: background-color .25s, border-color .25s; }
.socials a:hover { background: var(--teal); border-color: var(--teal); color: var(--petrol-950); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid var(--line-light); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; }

/* ---------- Scroll-Animationen ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .4s; }
.js .reveal-stagger.is-visible > *:nth-child(n+7) { transition-delay: .48s; }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes scroll-line { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
