/* Schrittit – Landingpage
   Farben aus dem Logo (identisch mit demo/app/globals.css). Keine externen
   Schriften: Systemschrift, damit keine Daten an Dritte gehen. */

:root {
  --petrol-950: #00384c;
  --petrol-900: #004d66;
  --petrol-800: #0b6076;
  --turquoise-600: #007d74;
  --turquoise-500: #18bca9;
  --green-400: #72d69a;
  --green-100: #e1f6ea;
  --red-700: #98251f;
  --red-100: #fbe9e7;
  --ink: #15313c;
  --muted: #49616a;
  --line: #ccdadd;
  /* Rahmen von Eingabefeldern: mindestens 3:1 zu Weiß (WCAG 1.4.11) */
  --line-strong: #7d9499;
  --surface: #ffffff;
  --background: #f7fbfa;
  --tint: #eef5f3;
  --gradient: linear-gradient(135deg, var(--turquoise-500), var(--green-400));
  --shadow: 0 20px 48px rgba(0, 56, 76, 0.1);
  --shadow-card: 0 4px 16px rgba(0, 56, 76, 0.035);
  --radius: 1.15rem;
  --radius-lg: 1.6rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
}

main { flex: 1; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--turquoise-600); text-underline-offset: 0.18em; }
a:hover { color: var(--petrol-900); }
/* Fokusrahmen mit ausreichendem Kontrast: dunkel auf hellem Grund, grün auf
   dunklem Grund; das weiße Formular im dunklen Kontaktbereich wieder dunkel. */
:focus-visible { outline: 3px solid var(--petrol-900); outline-offset: 3px; border-radius: 0.3rem; }
.section-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--green-400); }
.section-dark .contact-form :focus-visible { outline-color: var(--petrol-900); }

h1, h2, h3 { color: var(--petrol-950); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.6em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); max-width: 26ch; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { width: min(820px, 100%); }
li, .demo-cta > *, .hero-actions > *, .container > *, .hero-grid > *, .cards > *, .two-col > *, .contact-grid > *, .stats > * { min-width: 0; }
.muted { color: var(--muted); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--petrol-950); color: #fff; padding: 0.75rem 1rem; border-radius: 0.6rem;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Kopf */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; /* deckend, damit beim Scrollen nichts durchscheint */
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { flex: none; display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--petrol-950); font-weight: 800; font-size: 1.35rem; }
.brand img { width: 44px; height: 44px; }
.main-nav { display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a {
  text-decoration: none; color: var(--petrol-900); font-weight: 600; font-size: 1rem;
  padding: 0.55rem 0.8rem; border-radius: 0.7rem; min-height: 44px; display: inline-flex; align-items: center;
}
.main-nav a:hover { background: var(--tint); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }
.main-nav .nav-cta { background: var(--petrol-900); color: #fff; }
.main-nav .nav-cta:hover { background: var(--petrol-950); color: #fff; }
/* Das Menü wird erst eingeklappt, wenn sein Skript erfolgreich geladen ist. */
.menu-toggle { display: none; }
.menu-icon { width: 1.1rem; height: 0.8rem; border-block: 2px solid currentColor; position: relative; }
.menu-icon::before { content: ""; position: absolute; inset: 50% 0 auto; border-top: 2px solid currentColor; transform: translateY(-50%); }
@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: 0.65rem; }
  .main-nav { flex-basis: 100%; justify-content: flex-start; padding-top: 0.65rem; gap: 0.4rem; }
  .nav-ready .header-inner { min-height: var(--header-h); padding-block: 0; flex-wrap: nowrap; }
  .nav-ready .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
    min-height: 44px; padding: 0.6rem 0.85rem; border: 1px solid var(--line-strong);
    border-radius: 0.65rem; background: #fff; color: var(--petrol-950);
    font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; touch-action: manipulation;
  }
  .nav-ready .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    padding: 0.75rem var(--gutter) 1rem; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(0, 56, 76, 0.1);
    max-height: calc(100vh - var(--header-h)); max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .menu-open .main-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .menu-open .main-nav a { min-height: 48px; border-radius: 0.6rem; background: var(--tint); }
  .menu-open .main-nav .nav-cta { background: var(--petrol-900); }
  .menu-open .menu-icon { border: 0; }
  .menu-open .menu-icon::before, .menu-open .menu-icon::after {
    content: ""; position: absolute; top: 50%; left: 0; right: 0; border-top: 2px solid currentColor; transform: rotate(45deg);
  }
  .menu-open .menu-icon::after { transform: rotate(-45deg); }
}

/* Schaltflächen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  max-width: 100%; min-height: 3.4rem; padding: 0.8rem 1.35rem; border-radius: 0.85rem;
  text-align: center;
  font: inherit; line-height: 1.4; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; touch-action: manipulation;
}
.btn-label { min-width: 0; overflow-wrap: anywhere; }
.btn > [aria-hidden="true"] { flex: none; }
.btn-primary { background: var(--petrol-900); color: #fff; box-shadow: 0 6px 16px rgba(0, 77, 102, 0.14); }
.btn-primary:hover { background: var(--petrol-950); color: #fff; }
.btn-primary[disabled] { opacity: 0.6; cursor: wait; }
.btn-ghost { background: transparent; color: var(--petrol-900); border-color: var(--petrol-900); }
.btn-ghost:hover { background: var(--petrol-900); color: #fff; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 20%, rgba(114, 214, 154, 0.2), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(24, 188, 169, 0.07), transparent 50%),
    var(--background);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 span { display: block; color: var(--petrol-800); margin-top: 0.12em; }
.concept-status { margin-bottom: 1.5rem; }
.concept-status .status-pill { margin-bottom: 0.5rem; }
.status-note { font-size: 0.95rem; color: var(--muted); margin: 0; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.25rem); color: var(--muted); max-width: 38em; }
.status-pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--surface); border: 1px solid var(--line); color: var(--petrol-900);
  padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.95rem; font-weight: 600;
}
.status-pill span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--gradient); flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0 1.2rem; }
.hero-note { font-size: 0.95rem; color: var(--muted); }
.hero-visual { margin: 0; justify-self: center; width: min(270px, 100%); }
.hero-visual figcaption { text-align: center; font-size: 0.9rem; color: var(--muted); margin-top: 1rem; }

.phone {
  border-radius: 2.2rem; padding: 0.55rem; background: var(--petrol-950);
  box-shadow: var(--shadow);
}
.phone img { border-radius: 1.75rem; width: 100%; }

@media (min-width: 701px) and (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr); gap: 2rem; }
  .hero h1 { font-size: 2.35rem; }
}
@media (max-width: 700px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero-visual { width: min(248px, 85%); }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 1.4rem; }
  .hero-actions .btn { width: 100%; }
  .hero-note { margin-bottom: 0; }
}

/* Abschnitte */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--petrol-950); color: #e6f2f0; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--green-400); }
.section-dark a { color: var(--green-400); }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; font-weight: 800;
  color: var(--turquoise-600); margin-bottom: 0.8rem;
}
.section-lead { font-size: 1.2rem; color: var(--muted); max-width: 44em; margin-bottom: 2.2rem; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 2.2rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-card); }
.stat-value {
  font-size: clamp(1.6rem, 2.7vw, 2.25rem); font-weight: 800; margin-bottom: 0.3rem;
  color: var(--petrol-900); font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 1rem; color: var(--muted); margin: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
@media (max-width: 700px) {
  .stats, .two-col { grid-template-columns: 1fr; }
  .stats { gap: 0.75rem; }
  .stat { padding: 1.25rem; }
  .two-col { gap: 0.5rem; }
}

.quote {
  margin: 1.5rem 0; padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface); border-radius: var(--radius-lg);
  border-left: 6px solid var(--turquoise-500); box-shadow: var(--shadow-card);
}
.quote p { font-size: clamp(1.2rem, 2.4vw, 1.5rem); color: var(--petrol-950); font-weight: 600; line-height: 1.45; }
.quote footer { font-size: 0.95rem; color: var(--turquoise-600); font-weight: 700; }

/* Karten */
.cards { display: grid; gap: 1.2rem; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 701px) and (max-width: 960px) {
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-card);
}
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 3rem; height: 3rem; border-radius: 0.9rem; background: var(--gradient);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card-icon svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--petrol-950); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.press-points {
  margin-top: 2.5rem; padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg); background: var(--green-100);
}
.press-list { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: grid; gap: 1rem; }
.press-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; background: var(--surface); border-radius: var(--radius); padding: 1.2rem; }
.press-list p { margin: 0.2rem 0 0; color: var(--muted); }
.press-num {
  flex: none; width: 2.8rem; height: 2.8rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem;
  background: var(--red-700); color: #fff;
}

.check-list, .cross-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.check-list li, .cross-list li { padding-left: 2rem; position: relative; }
.check-list li::before, .cross-list li::before {
  position: absolute; left: 0; top: 0.1em; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.85rem; font-weight: 800; color: #fff;
}
.check-list li::before { content: "✓"; background: var(--turquoise-600); }
.cross-list li::before { content: "×"; background: var(--red-700); }
.card-no { border-color: #e9c6c2; }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.steps li { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 1.4rem; }
.steps p { margin: 0; color: #cfe3e0; font-size: 1rem; }
.step-num {
  display: inline-block; font-weight: 800; font-size: 1.5rem; margin-bottom: 0.4rem;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.dark-note { border-left: 4px solid var(--green-400); padding: 0.4rem 0 0.4rem 1rem; color: #cfe3e0; font-size: 1rem; }

/* Einblick */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin: 0 auto; }
.shot { margin: 0; min-width: 0; background: var(--tint); padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.shot .phone { max-width: 248px; margin-inline: auto; box-shadow: 0 10px 24px rgba(0, 56, 76, 0.1); }
.shot figcaption { text-align: center; color: var(--muted); font-size: 1rem; margin-bottom: 1.5rem; min-height: 5rem; }
.shot figcaption strong { display: block; color: var(--petrol-950); font-size: 1.3rem; margin-bottom: 0.3rem; }
.shot figcaption span { display: block; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr; gap: 1.5rem; }
  .shot { padding: 1.5rem; }
  .shot figcaption { min-height: 0; }
}
.portal-shot { margin: 3rem auto 0; max-width: 1000px; }
.portal-shot img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.portal-shot figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; font-size: 1rem; color: var(--muted); margin-top: 1.25rem; }
.portal-shot figcaption strong { display: block; font-size: 1.3rem; color: var(--petrol-950); }
.portal-shot figcaption span { display: block; }
.image-expand { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.55rem 0.8rem; border: 1px solid var(--line-strong); border-radius: 0.6rem; text-decoration: none; font-weight: 600; }

/* Evaluation */
.timeline { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; counter-reset: stufe; }
.timeline li {
  display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0 1.5rem; align-items: baseline;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem;
}
.timeline h3 { margin: 0 0 0.2rem; }
.timeline p { grid-column: 2; margin: 0; color: var(--muted); }
.tl-step { grid-row: span 2; font-weight: 800; color: var(--turquoise-600); }
@media (max-width: 560px) {
  .timeline li { grid-template-columns: 1fr; }
  .timeline p { grid-column: 1; }
  .tl-step { grid-row: auto; }
}

/* Team */
.person > div:last-child { min-width: 0; }
.person { display: flex; gap: 1.2rem; align-items: flex-start; }
.avatar {
  flex: none; width: 4rem; height: 4rem; border-radius: 50%; background: var(--gradient);
  color: var(--petrol-950); font-weight: 800; font-size: 1.25rem; display: grid; place-items: center;
}
.role { color: var(--turquoise-600); font-weight: 700; margin-bottom: 0.4rem; }

.notice {
  background: var(--surface); border: 2px solid var(--turquoise-500); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.2rem);
}
.notice h2 { font-size: 1.6rem; }
.notice p:last-child { margin: 0; }

/* Kontakt: kurzer Bereich auf der Startseite, Formular auf /kontakt/ */
.contact-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.contact-teaser > div { max-width: 44em; }
.contact-teaser p:last-child { margin-bottom: 0; }
.contact-page h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: min-content 1fr; gap: 2rem clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-intro { grid-column: 1; }
.contact-patient-note { grid-column: 1; grid-row: 2; margin: 0; }
.contact-page .contact-form { grid-column: 2; grid-row: 1 / span 2; }
.contact-form h2 { font-size: 1.5rem; color: var(--petrol-950); }
.form-intro { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .contact-intro, .contact-patient-note, .contact-page .contact-form { grid-column: auto; grid-row: auto; }
  .contact-patient-note { margin-top: 0.5rem; }
}
.contact-form {
  background: var(--surface); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 4vw, 2.2rem); box-shadow: var(--shadow);
}
.contact-form a { color: var(--turquoise-600); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; color: var(--petrol-950); margin-bottom: 0.35rem; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
  background: #fff; border: 2px solid var(--line-strong); border-radius: 0.85rem;
  padding: 0.8rem 1rem; min-height: 3.4rem;
}
.field select { text-overflow: ellipsis; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--petrol-900); outline: none; box-shadow: 0 0 0 2px var(--petrol-900); }
.field [aria-invalid="true"] { border-color: var(--red-700); }
.field-check { display: flex; gap: 0.8rem; align-items: flex-start; }
.field-check input { width: 1.5rem; height: 1.5rem; margin-top: 0.2rem; flex: none; accent-color: var(--petrol-900); }
.field-check label { font-weight: 400; font-size: 1rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--petrol-900); background: var(--green-100); padding: 0.9rem 1rem; border-radius: 0.8rem; }
.form-status.is-error { color: var(--red-700); background: var(--red-100); padding: 0.9rem 1rem; border-radius: 0.8rem; }
.form-hint { font-size: 0.9rem; color: var(--muted); margin: 0.8rem 0 0; }

/* Fuß */
.site-footer { background: #002a3a; color: #bcd3d0; padding: 3rem 0 2rem; font-size: 1rem; }
.site-footer a { color: #e6f2f0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; color: #fff; font-size: 1.2rem; }
.footer-brand img { background: #fff; border-radius: 50%; padding: 2px; }
/* Oben Logo und Navigation, darunter der Hinweis über die volle Breite */
.footer-disclaimer { margin: 0; flex-basis: 100%; }
.footer-nav { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.footer-nav a { padding: 0.6rem 0.8rem; min-height: 44px; display: inline-flex; align-items: center; }
.copyright { margin: 0; color: #8fb0ab; }

/* Quellen: aufklappbarer Block am Ende der Startseite */
.section-sources { padding-top: 0; }
.sources { border-top: 1px solid var(--line); padding-top: 1rem; font-size: 0.95rem; color: var(--muted); }
.sources summary {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px;
  font-weight: 700; color: var(--petrol-900); cursor: pointer; list-style: none;
}
.sources summary::-webkit-details-marker { display: none; }
.sources summary::after {
  content: ""; width: 0.5rem; height: 0.5rem; margin-top: -0.25rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 0.2s;
}
.sources[open] summary::after { margin-top: 0.25rem; transform: rotate(-135deg); }
.sources ol { padding-left: 1.2rem; margin: 0.6rem 0 0; display: grid; gap: 0.5rem; }
.sources a { word-break: break-word; }

/* Rechtliche Seiten */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.legal h1 { font-size: clamp(1.7rem, 7vw, 2.8rem); }
.legal h2 { max-width: none; font-size: 1.35rem; margin-top: 2rem; text-wrap: initial; }
.legal p, .legal li { overflow-wrap: anywhere; }
.legal .back { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; margin-bottom: 1rem; }

/* Demo-Einstiege */
.main-nav .nav-demo { color: var(--turquoise-600); }
.press-points .btn { margin-top: 0.5rem; }
.section-lead-dark { font-size: 1.2rem; color: #cfe3e0; max-width: 44em; margin-bottom: 2rem; }
.demo-ways { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.demo-ways li { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 1.4rem; }
.demo-ways p { margin: 0; color: #cfe3e0; font-size: 1rem; }
.way-num {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--gradient); color: var(--petrol-950); font-weight: 800; margin-bottom: 0.8rem;
}
@media (max-width: 860px) { .demo-ways { grid-template-columns: 1fr; } }
.demo-cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; justify-items: start; }
/* Mit .section-dark davor, weil ".section-dark a" sonst die Schriftfarbe
   auf Grün setzt und der Text auf dem grünen Knopf verschwindet. */
.btn-light,
.section-dark .btn-light { background: var(--green-400); color: var(--petrol-950); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); }
.btn-light:hover,
.section-dark .btn-light:hover { background: #fff; color: var(--petrol-950); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
  padding-top: 1.2rem;
}
.footer-bottom a { color: #e6f2f0; }

/* Schmale Bildschirme bis 320 px (WCAG 1.4.10): lange deutsche Wörter
   trennen statt überlaufen, verschachtelte Abstände verkleinern. Die
   Silbentrennung greift nur bei Wörtern ab 12 Zeichen. */
@media (max-width: 480px) {
  h1, h2, h3, p, li, figcaption, label {
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 12 5 5;
  }
  .press-points { padding: 1.25rem 1rem; }
  .press-list li { padding: 1rem; gap: 0.75rem; }
  .press-num { width: 2.3rem; height: 2.3rem; font-size: 1.05rem; }
  .person { flex-direction: column; gap: 0.8rem; }
  .avatar { width: 3.25rem; height: 3.25rem; font-size: 1.05rem; }
}
@media (max-width: 360px) {
  .brand { font-size: 1.15rem; gap: 0.45rem; }
  .brand img { width: 36px; height: 36px; }
  .main-nav a { padding: 0.5rem 0.6rem; }
}

/* Kleine Breiten: volle Aktionsflächen, ruhiger Fußbereich und kein Randbeschnitt. */
@media (max-width: 700px) {
  .press-points .btn, .demo-cta, .demo-cta .btn, .contact-teaser > .btn { width: 100%; }
  .footer-inner { align-items: flex-start; gap: 1.25rem; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 0.25rem 0.5rem; }
  .footer-nav a { padding-left: 0; }
}
@media (max-width: 380px) {
  .press-list li { grid-template-columns: 1fr; }
}
@media (max-height: 500px) and (max-width: 960px) {
  .site-header { position: relative; }
}
