/* ==========================================================================
   Physiotherapie Siemensstadt — Design System
   Marke: #016080 (Tiefes Petrol) + #3DD9BC (Mint) — aus dem Praxislogo
   Schrift: Figtree (Headlines) + Noto Sans (Fließtext), lokal gehostet
   ========================================================================== */

/* ---------- Fonts (selbst gehostet, DSGVO-konform, kein Google-CDN) ------- */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/notosans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/notosans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ------------------------------------------------------- */
:root {
  color-scheme: light dark;

  /* Marke */
  --brand-900: #01313F;
  --brand-800: #014D66;
  --brand-700: #016080;
  --brand-500: #0E8CAE;
  --mint-700: #077A64;
  --mint-500: #17B695;
  --mint-400: #3DD9BC;
  --mint-100: #E2FAF3;

  /* Semantische Rollen — Light */
  --bg: #ffffff;
  --bg-soft: #F3FAFB;
  --surface: #ffffff;
  --surface-2: #EEF7F9;
  --ink: #0B242E;
  --ink-soft: #47626D;
  --line: #DBE9EE;
  --line-strong: #BFDAE3;

  --primary: #016080;
  --primary-hover: #014D66;
  --on-primary: #ffffff;
  --primary-soft: #E5F2F6;

  --accent: #077A64;
  --accent-bright: #3DD9BC;
  --accent-soft: #E2FAF3;

  --attention-bg: #FFF7E8;
  --attention-line: #EDC77C;
  --attention-ink: #6E4700;

  --logo-a: #016080;
  --logo-b: #3DD9BC;

  --focus: #016080;
  --shadow-color: 197 45% 25%;
  --shadow-sm: 0 1px 2px hsl(var(--shadow-color) / .07), 0 2px 6px hsl(var(--shadow-color) / .05);
  --shadow-md: 0 2px 4px hsl(var(--shadow-color) / .06), 0 10px 26px hsl(var(--shadow-color) / .09);
  --shadow-lg: 0 4px 10px hsl(var(--shadow-color) / .07), 0 26px 60px hsl(var(--shadow-color) / .13);

  /* Abstände (4/8-Raster) */
  --s-1: .25rem; --s-2: .5rem;  --s-3: .75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem;   --s-7: 3rem;   --s-8: 4rem;
  --s-9: 6rem;
  --section: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* Radien */
  --r-xs: 8px; --r-sm: 12px; --r-md: 18px; --r-lg: 28px; --r-full: 999px;

  /* Typo-Skala */
  --t-display: clamp(2.15rem, 1.35rem + 3.4vw, 3.75rem);
  --t-h2: clamp(1.7rem, 1.25rem + 1.9vw, 2.6rem);
  --t-h3: clamp(1.2rem, 1.08rem + .5vw, 1.45rem);
  --t-lead: clamp(1.06rem, 1rem + .45vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: .9375rem;
  --t-eyebrow: .8125rem;

  --wrap: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 220ms;

  --z-header: 100;
  --z-nav: 200;
  --z-top: 300;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #061A21;
    --bg-soft: #08222B;
    --surface: #0C2A35;
    --surface-2: #10333F;
    --ink: #E7F3F6;
    --ink-soft: #A5C2CD;
    --line: #1B4150;
    --line-strong: #2B586A;

    --primary: #52C9E7;
    --primary-hover: #83DBF0;
    --on-primary: #04222C;
    --primary-soft: #0E3441;

    --accent: #3DD9BC;
    --accent-bright: #3DD9BC;
    --accent-soft: #0C3A39;

    --attention-bg: #2C2311;
    --attention-line: #7A5E22;
    --attention-ink: #F6DCA4;

    --logo-a: #52C9E7;
    --logo-b: #3DD9BC;

    --focus: #7BD8EF;
    --shadow-color: 200 60% 3%;
    --shadow-sm: 0 1px 2px hsl(var(--shadow-color) / .5), 0 2px 6px hsl(var(--shadow-color) / .4);
    --shadow-md: 0 2px 4px hsl(var(--shadow-color) / .45), 0 10px 26px hsl(var(--shadow-color) / .5);
    --shadow-lg: 0 4px 10px hsl(var(--shadow-color) / .5), 0 26px 60px hsl(var(--shadow-color) / .6);
  }
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Figtree', system-ui, sans-serif;
  line-height: 1.14;
  letter-spacing: -.018em;
  text-wrap: balance;
  color: var(--ink);
  font-weight: 700;
}
p, li { text-wrap: pretty; }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--primary-hover); }

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: var(--accent-bright); color: #04222C; }

/* ---------- Layout-Helfer ------------------------------------------------ */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 780px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.stack > * + * { margin-top: var(--s-4); }

.skip-link {
  position: absolute; left: var(--s-4); top: var(--s-4);
  transform: translateY(-200%);
  z-index: var(--z-top);
  background: var(--primary); color: var(--on-primary);
  padding: .7rem 1.1rem; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); color: var(--on-primary); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Figtree', sans-serif;
  font-size: var(--t-eyebrow); font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-3);
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px;
  background: var(--accent-bright); flex: none;
}

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.25rem); }
.section-head p { color: var(--ink-soft); font-size: var(--t-lead); margin-top: var(--s-4); max-width: 58ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
.lead { font-size: var(--t-lead); color: var(--ink-soft); line-height: 1.65; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--t-small); }


.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.5rem;
  font-family: 'Figtree', sans-serif; font-weight: 700; font-size: 1rem;
  letter-spacing: -.005em;
  border-radius: var(--r-full); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); transform: translateY(-2px); }
.btn--light { background: var(--bg); color: var(--brand-700); }
.btn--light:hover { background: var(--bg); color: var(--brand-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-light { border-color: rgba(255,255,255,.62); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: 'Figtree', sans-serif; font-weight: 700;
  text-decoration: none; min-height: 44px;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / Navigation ----------------------------------------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex; align-items: center; gap: var(--s-4);
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 38px; height: 35px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.08; }
.brand__name {
  font-family: 'Figtree', sans-serif; font-weight: 800;
  font-size: 1.02rem; letter-spacing: -.01em; color: var(--ink);
}
.brand__sub {
  font-family: 'Figtree', sans-serif; font-weight: 600;
  font-size: .68rem; letter-spacing: .19em; text-transform: uppercase;
  color: var(--accent);
}

.header__nav { display: flex; align-items: center; gap: var(--s-4); }
.nav { display: flex; align-items: center; gap: var(--s-2); }
.nav__link {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: .4rem .8rem;
  font-family: 'Figtree', sans-serif; font-weight: 600; font-size: .96rem;
  color: var(--ink); text-decoration: none; border-radius: var(--r-full);
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__link:hover { background: var(--surface-2); color: var(--primary); }
.nav__link[aria-current="page"] { color: var(--primary); background: var(--primary-soft); }

.header__cta { display: inline-flex; flex: none; }
.header__cta .btn { white-space: nowrap; }
.nav-toggle, .header__call { display: none; }

@media (max-width: 1080px) {
  .header__inner { min-height: 68px; }
  .header__call {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-left: auto; flex: none;
    background: var(--primary); color: var(--on-primary);
    border-radius: var(--r-full); box-shadow: var(--shadow-sm);
    transition: background-color var(--dur) var(--ease);
  }
  .header__call:hover { background: var(--primary-hover); color: var(--on-primary); }
  .header__call svg { width: 21px; height: 21px; }

  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; flex: none;
    background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm);
    cursor: pointer;
  }
  .nav-toggle__bars { position: relative; width: 20px; height: 14px; }
  .nav-toggle__bars span {
    position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
    background: var(--ink);
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  }
  .nav-toggle__bars span:nth-child(1) { top: 0; }
  .nav-toggle__bars span:nth-child(2) { top: 6px; }
  .nav-toggle__bars span:nth-child(3) { top: 12px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .header__nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: var(--z-nav);
    display: block;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: var(--s-4) 1.25rem calc(var(--s-5) + env(safe-area-inset-bottom));
    max-height: 78dvh; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  }
  .header__nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav { flex-direction: column; align-items: stretch; gap: var(--s-1); }
  .nav__link { min-height: 52px; padding: .5rem .9rem; font-size: 1.05rem; border-radius: var(--r-sm); }
  .header__cta { margin-top: var(--s-4); }
  .header__cta .btn { width: 100%; }
}

/* ---------- Hinweis-Banner ---------------------------------------------- */
.notice {
  display: flex; gap: var(--s-4); align-items: flex-start;
  padding: var(--s-4) var(--s-5);
  background: var(--attention-bg);
  border: 1px solid var(--attention-line);
  border-radius: var(--r-md);
  color: var(--attention-ink);
}
.notice svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.notice strong { font-family: 'Figtree', sans-serif; display: block; font-size: 1.05rem; }
.notice p { color: inherit; font-size: var(--t-small); margin-top: .15rem; }

/* ---------- Hero --------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(2rem, 1.25rem + 2vw, 3rem); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; z-index: -1;
  width: 46rem; height: 46rem; border-radius: 50%;
  top: -22rem; right: -16rem;
  background: radial-gradient(circle at 50% 50%, var(--accent-soft), transparent 68%);
  pointer-events: none;
}
.hero__grid {
  display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { margin-bottom: var(--s-5); }
.hero h1 em {
  display: block; font-style: normal; color: var(--primary);
  font-size: .56em; font-weight: 600; letter-spacing: -.012em;
  margin-top: .3em; line-height: 1.2;
}
.hero__lead { font-size: var(--t-lead); color: var(--ink-soft); max-width: 46ch; margin-bottom: var(--s-6); }
.hero__cta { margin-bottom: var(--s-5); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--t-small); color: var(--ink-soft); }
.hero__meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__meta svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute; left: -.5rem; bottom: -1.25rem;
  display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1.25rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-md);
  max-width: 17rem;
}
.hero__badge svg { width: 34px; height: 34px; color: var(--accent); flex: none; }
.hero__badge b { font-family: 'Figtree', sans-serif; display: block; font-size: .98rem; line-height: 1.25; }
.hero__badge span { font-size: .84rem; color: var(--ink-soft); line-height: 1.35; }
@media (max-width: 560px) { .hero__badge { position: static; margin-top: var(--s-4); max-width: none; } }

/* ---------- Page-Header (Unterseiten) ------------------------------------ */
.pagehead { position: relative; padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(2rem, 1rem + 3vw, 3.5rem); overflow: hidden; }
.pagehead::before {
  content: ''; position: absolute; z-index: -1;
  width: 40rem; height: 40rem; border-radius: 50%; top: -24rem; right: -14rem;
  background: radial-gradient(circle at 50% 50%, var(--accent-soft), transparent 68%);
}
.pagehead h1 { max-width: 20ch; margin-bottom: var(--s-5); }
.pagehead p { max-width: 60ch; }

.breadcrumb { font-size: var(--t-small); color: var(--ink-soft); margin-bottom: var(--s-4); }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: '/'; margin-right: .4rem; color: var(--line-strong); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Trust-Leiste ------------------------------------------------- */
.trust {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  padding: var(--s-5); border-radius: var(--r-lg);
  background: var(--surface-2); border: 1px solid var(--line);
}
.trust__item { display: flex; gap: var(--s-3); align-items: flex-start; }
.trust__item svg { width: 26px; height: 26px; color: var(--accent); flex: none; margin-top: 1px; }
.trust__item b { font-family: 'Figtree', sans-serif; display: block; font-size: .98rem; }
.trust__item span { font-size: .89rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Split (Text + Bild) ----------------------------------------- */
.split { display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4.5rem); align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } }
.split--reverse > :first-child { order: 2; }
@media (max-width: 879px) { .split--reverse > :first-child { order: 0; } }
.split__media img {
  width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; object-fit: cover;
}

/* ---------- Karten-Raster ------------------------------------------------ */
.cards { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.card {
  padding: var(--s-5);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: var(--s-4);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: var(--s-3); }
.card p { color: var(--ink-soft); font-size: var(--t-small); }
.card__note {
  display: block; margin-top: var(--s-3); padding-top: var(--s-3);
  border-top: 1px dashed var(--line-strong);
  font-size: .86rem; color: var(--attention-ink);
}

/* ---------- Schritte ----------------------------------------------------- */
.steps { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); counter-reset: step; }
.step { position: relative; padding-top: var(--s-5); border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -.9rem; left: 0;
  font-family: 'Figtree', sans-serif; font-weight: 800; font-size: .8rem;
  letter-spacing: .1em; color: var(--accent);
  background: var(--bg-soft); padding-right: .7rem;
}
.section:not(.section--soft) .step::before { background: var(--bg); }
.step h3 { margin-bottom: var(--s-3); }
.step p { color: var(--ink-soft); font-size: var(--t-small); }

/* ---------- Listen ------------------------------------------------------- */
.rules {
  list-style: none; padding: 0; display: grid; gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
}
.rules li {
  display: flex; gap: var(--s-4); align-items: flex-start;
  padding: var(--s-5);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
}
.rules li > svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }
.rules b { font-family: 'Figtree', sans-serif; display: block; margin-bottom: .2rem; }
.rules p { color: var(--ink-soft); font-size: var(--t-small); }

.checklist { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.checklist li { display: flex; gap: var(--s-3); align-items: flex-start; }
.checklist svg { width: 21px; height: 21px; color: var(--accent); flex: none; margin-top: 4px; }

.benefits {
  list-style: none; padding: 0; display: grid;
  gap: var(--s-6) var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.benefit { display: flex; gap: var(--s-4); align-items: flex-start; }
.benefit svg { width: 26px; height: 26px; color: var(--accent); flex: none; margin-top: 2px; }
.benefit b { font-family: 'Figtree', sans-serif; display: block; }
.benefit span { font-size: var(--t-small); color: var(--ink-soft); }

/* ---------- Highlight-Box ------------------------------------------------ */
.callout {
  padding: var(--s-5) var(--s-6);
  border-radius: var(--r-md);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}
.callout h3 { margin-bottom: var(--s-3); }
.callout p + p { margin-top: var(--s-3); }

/* ---------- CTA-Band ----------------------------------------------------- */
.band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-700) 55%, var(--brand-500) 130%);
  border-radius: var(--r-lg);
  padding: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  color: #fff;
}
.band::after {
  content: ''; position: absolute; right: -6rem; top: -8rem;
  width: 26rem; height: 26rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,217,188,.34), transparent 65%);
  pointer-events: none;
}
.band > * { position: relative; z-index: 1; }
.band h2 { color: #fff; max-width: 22ch; }
.band p { color: rgba(255,255,255,.86); max-width: 56ch; margin-top: var(--s-4); font-size: var(--t-lead); }
.band .btn-row { margin-top: var(--s-6); }
.band .eyebrow { color: #9BEEDF; }
.band .eyebrow::before { background: var(--accent-bright); }

/* ---------- Kontakt ------------------------------------------------------ */
.contact-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.contact-card {
  padding: var(--s-5);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.contact-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--primary-soft); color: var(--primary);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card a { font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card address { font-style: normal; color: var(--ink-soft); }
.contact-card p { color: var(--ink-soft); font-size: var(--t-small); }

/* ---------- Rechtstexte -------------------------------------------------- */
.legal { max-width: 76ch; }
.legal h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); margin-top: var(--s-8); margin-bottom: var(--s-4); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: var(--s-6); margin-bottom: var(--s-3); }
.legal p { color: var(--ink-soft); margin-bottom: var(--s-4); }
.legal ul { color: var(--ink-soft); margin: 0 0 var(--s-4); padding-left: 1.25rem; }
.legal li { margin-bottom: .4rem; }
.legal dl { display: grid; gap: var(--s-2) var(--s-5); margin-bottom: var(--s-5); }
@media (min-width: 640px) { .legal dl { grid-template-columns: minmax(9rem, auto) 1fr; } }
.legal dt { font-family: 'Figtree', sans-serif; font-weight: 700; color: var(--ink); }
.legal dd { margin: 0; color: var(--ink-soft); }
.legal a { word-break: break-word; }
.legal .toc {
  list-style: none; padding: var(--s-5); margin-bottom: var(--s-7);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md);
  display: grid; gap: .35rem;
}
.legal .toc a { text-decoration: none; font-weight: 600; }
.legal .toc a:hover { text-decoration: underline; }

/* ---------- Footer ------------------------------------------------------- */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding-block: var(--s-8) var(--s-5);
}
.footer__grid { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.footer h2 { font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: var(--s-4); }
.footer ul { list-style: none; padding: 0; display: grid; gap: .2rem; }
.footer a { text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; min-height: 40px; }
.footer a:hover { color: var(--primary); text-decoration: underline; }
.footer address { font-style: normal; color: var(--ink-soft); font-size: var(--t-small); line-height: 1.8; }
.footer .brand { margin-right: 0; margin-bottom: var(--s-4); }
.footer__bottom {
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
  align-items: center; justify-content: space-between;
  font-size: .875rem; color: var(--ink-soft);
}
.footer__bottom p { color: var(--ink-soft); }

/* ---------- Zurück-nach-oben --------------------------------------------- */
.to-top {
  position: fixed; right: 1.25rem; z-index: var(--z-header);
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--primary);
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Scroll-Reveal ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 520ms var(--ease), transform 520ms var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Print -------------------------------------------------------- */
@media print {
  .header, .footer, .to-top, .band, .hero__media { display: none; }
  body { color: #000; background: #fff; font-size: 11pt; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 9pt; }
}
