/* ==========================================================================
   Rapid Resilience — Stylesheet
   Eine Datei, keine Frameworks, keine Build-Tools.
   Gliederung:
     1. Design-Tokens
     2. Reset & Basis
     3. Layout-Helfer
     4. Typografie
     5. Buttons & Pills
     6. Header / Navigation / Sprachwahl
     7. Hero
     8. Auszeichnungen
     9. Feature-Blöcke
    10. Vorher / Nachher
    11. Schritte
    12. Zielgruppen
    13. FAQ
    14. Team
    15. Kontakt
    16. Footer
    17. Rechtsseiten
    18. Animationen & Barrierefreiheit
   ========================================================================== */

/* 1. Design-Tokens ======================================================== */
:root {
  /* Markenfarben, abgeleitet aus dem Logo (#435660 Slate, #76A2EB Blau) */
  --ink:        #13222a;
  --slate:      #435660;
  --body:       #556a77;
  --muted:      #7f929d;

  --blue:       #2d6ccf;   /* Aktionsfarbe, kontraststark auf Weiß */
  --blue-dark:  #22559f;
  --blue-soft:  #76a2eb;   /* Logoblau, dekorativ */
  --blue-tint:  #edf3fd;
  --blue-line:  #cfe0f8;

  /* Farben der Maßnahmentypen – identisch mit der Darstellung in der
     Anwendung. Werden nur in der Legende verwendet; wenn sich die Farben
     in der Software ändern, reicht eine Änderung hier. */
  --m-basin:    #d21a55;   /* Auffangbecken        */
  --m-ditch:    #121212;   /* Gräben               */
  --m-dam:      #803c14;   /* Dämme                */
  --m-infilt:   #43a646;   /* Versickerungsflächen */

  --bg:         #f7f9fb;
  --surface:    #ffffff;
  --surface-2:  #f1f5f9;
  --line:       #e3eaf0;
  --line-soft:  #eef2f6;

  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-pill: 999px;

  --shadow-sm:  0 1px 2px rgba(19, 34, 42, .05);
  --shadow:     0 4px 16px -4px rgba(19, 34, 42, .08), 0 2px 6px -2px rgba(19, 34, 42, .05);
  --shadow-lg:  0 24px 60px -18px rgba(19, 34, 42, .22), 0 8px 24px -12px rgba(19, 34, 42, .12);

  --container:  1180px;
  --gutter:     24px;
  --section-y:  clamp(72px, 9vw, 128px);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* 2. Reset & Basis ======================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* fixe Kopfzeile bei Ankersprüngen */
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--blue-soft); color: #fff; }

/* 3. Layout-Helfer ======================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--surface); }
.section--line { border-top: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Für Raster mit wenigen Karten: schmaler und mittig, damit die Karten
   nicht über die volle Breite auseinandergezogen werden. */
.grid--narrow { max-width: 920px; margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--ink); color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: top .15s ease;
}
.skip-link:focus { top: 16px; color: #fff; }

/* 4. Typografie =========================================================== */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); font-weight: 700; letter-spacing: -.015em; }
h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--body);
}

.text-sm { font-size: .94rem; }
.text-xs { font-size: .84rem; }

strong, b { color: var(--ink); font-weight: 650; }

/* 5. Buttons ============================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease,
              border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(45, 108, 207, .55);
}
.btn--primary:hover { color: #fff; box-shadow: 0 12px 26px -8px rgba(45, 108, 207, .6); }

.btn--ghost {
  background: var(--surface);
  color: var(--blue);
  border-color: var(--blue);
}
.btn--ghost:hover { background: var(--blue-tint); color: var(--blue-dark); }

.btn--light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5);
}
.btn--light:hover { background: var(--blue-tint); color: var(--blue-dark); }

.btn--sm { padding: 10px 20px; font-size: .94rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Textlink mit Pfeil */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  color: var(--blue);
}
.arrow-link svg { transition: transform .18s ease; }
.arrow-link:hover svg { transform: translateX(4px); }

/* 6. Header =============================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(19, 34, 42, .05);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 750;
  font-size: 1.06rem;
  letter-spacing: -.02em;
  margin-right: auto;
}
.brand:hover { color: var(--ink); }
.brand img {
  width: 38px; height: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.brand span { white-space: nowrap; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  color: var(--body);
  font-size: .96rem;
  font-weight: 550;
  transition: background-color .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Sprachwahl */
.lang { position: relative; }
.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  color: var(--slate);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.lang__toggle:hover { background: var(--surface-2); border-color: var(--blue-line); }
.lang__toggle svg:last-child { transition: transform .18s ease; }
.lang__toggle[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  padding: 6px;
  margin: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang__menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  background: none;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: .94rem;
  color: var(--body);
  text-align: left;
  cursor: pointer;
}
.lang__menu button:hover { background: var(--surface-2); color: var(--ink); }
.lang__menu button[aria-current="true"] { color: var(--blue); font-weight: 650; }
.lang__menu button[aria-current="true"]::after { content: "✓"; font-size: .9rem; }

/* Mobile-Umschalter */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span + span { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 7. Hero ================================================================= */
.hero {
  position: relative;
  padding-top: clamp(118px, 13vw, 168px);
  padding-bottom: clamp(60px, 8vw, 104px);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 620px; height: 620px;
  top: -280px; right: -160px;
  background: rgba(118, 162, 235, .28);
}
.hero::after {
  width: 460px; height: 460px;
  bottom: -260px; left: -180px;
  background: rgba(118, 162, 235, .16);
}

.hero .container { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 8px;
  margin-bottom: 26px;
  background: var(--surface);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 600;
  color: var(--slate);
  box-shadow: var(--shadow-sm);
}
.hero__badge b {
  padding: 3px 10px;
  background: var(--blue-tint);
  border-radius: var(--radius-pill);
  color: var(--blue-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.hero__lead { max-width: 33em; margin-top: 4px; margin-bottom: 32px; }

.hero__note {
  margin-top: 22px;
  font-size: .9rem;
  color: var(--muted);
}

/* Produktbild im Hero */
.shot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.shot img { width: 100%; }

.shot__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}
.shot__bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.shot__bar em {
  margin-left: 10px;
  font-style: normal;
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .01em;
}

.hero__shot { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }

/* Detailaufnahmen sind klein aufgenommen und werden darum nie hochskaliert */
.shot--detail { max-width: 503px; margin-inline: auto; }

/* Schwebende Kennzahl am Hero-Bild */
.shot__chip {
  position: absolute;
  left: -14px; bottom: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 18px 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.shot__chip-dot {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--blue-tint);
  border-radius: 10px;
  color: var(--blue);
  flex: none;
}
.shot__chip-k { display: block; font-size: .72rem; color: var(--muted); line-height: 1.35; }
.shot__chip-v { display: block; font-size: .95rem; font-weight: 700; color: var(--ink); line-height: 1.35; }

/* 8. Auszeichnungen ======================================================= */
.awards {
  padding-block: clamp(36px, 4.5vw, 56px);
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.awards__label {
  margin-bottom: 26px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.awards__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 52px);
  list-style: none;
  margin: 0; padding: 0;
}
.awards__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--slate);
}
.awards__item--logo img { height: 44px; width: auto; border-radius: 6px; }
.awards__item svg { color: var(--blue-soft); flex: none; }
.awards__item b { display: block; font-size: .97rem; font-weight: 700; color: var(--ink); }
.awards__item span { font-size: .83rem; color: var(--muted); }

/* 9. Feature-Blöcke ======================================================= */
.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.feature + .feature { margin-top: clamp(64px, 8vw, 104px); }
.feature--flip .feature__media { order: -1; }

.feature__body { max-width: 34em; }

.feature__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 22px;
  background: var(--blue-tint);
  border-radius: 13px;
  color: var(--blue);
}

.checklist { list-style: none; margin: 24px 0 0; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: .99rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .34em;
  width: 19px; height: 19px;
  background: var(--blue-tint);
  border-radius: 50%;
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 6px; top: .62em;
  width: 7px; height: 4px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

/* Legende der Maßnahmentypen ---------------------------------------------- */
.legend__title {
  margin: 30px 0 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 11px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .95rem;
  color: var(--slate);
}

/* Flächen erscheinen als umrandetes Rechteck, Linien als Strich –
   so wie die Maßnahmen auch auf der Karte aussehen. */
.legend__key {
  flex: none;
  width: 22px;
  height: 15px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--key-color) 22%, transparent);
  border: 2px solid var(--key-color);
}
.legend__key--line {
  height: 0;
  border: 0;
  border-top: 3px solid var(--key-color);
  border-radius: 999px;
  background: none;
}

.legend__key--basin  { --key-color: var(--m-basin); }
.legend__key--infilt { --key-color: var(--m-infilt); }
.legend__key--ditch  { --key-color: var(--m-ditch); height: 0; border: 0; border-top: 3px solid var(--m-ditch); background: none; }
.legend__key--dam    { --key-color: var(--m-dam);   height: 0; border: 0; border-top: 3px solid var(--m-dam);   background: none; }

/* Browser ohne color-mix bekommen eine schlichte Füllung */
@supports not (background: color-mix(in srgb, red 20%, transparent)) {
  .legend__key--basin  { background: #f7dae4; }
  .legend__key--infilt { background: #dcf0de; }
}

/* 10. Vorher / Nachher ==================================================== */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}
.compare__item { margin: 0; }
.compare__item .shot { position: relative; }

.compare__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: var(--shadow);
}
.compare__tag--before { background: var(--slate); }
.compare__tag--after  { background: var(--m-basin); }

.compare__item figcaption {
  margin-top: 14px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}

.compare__note {
  max-width: 48em;
  margin: clamp(24px, 3vw, 36px) auto 0;
  color: var(--muted);
  text-align: center;
}

/* 11. Schritte ============================================================ */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding: 30px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--blue-line);
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 16px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--blue-soft);
}
.step h3 { margin-bottom: .45em; }
.step p { font-size: .97rem; }

.steps__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: clamp(36px, 4vw, 52px);
}
.steps__media figure { margin: 0; }
.steps__media figcaption {
  margin-top: 14px;
  font-size: .88rem;
  color: var(--muted);
}

/* 12. Zielgruppen ========================================================= */
.audience {
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.audience:hover {
  transform: translateY(-3px);
  border-color: var(--blue-line);
  box-shadow: var(--shadow);
}
.audience__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 20px;
  background: var(--blue-tint);
  border-radius: 12px;
  color: var(--blue);
}
.audience h3 { margin-bottom: .5em; }
.audience p { font-size: .97rem; }
.audience__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 0;      /* schiebt die Schlagworte an den unteren Kartenrand */
  padding: 22px 0 0;
  list-style: none;
}
.audience__tags li {
  padding: 5px 12px;
  background: var(--surface-2);
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 550;
  color: var(--slate);
}

/* 13. FAQ ================================================================= */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq__item[open] { border-color: var(--blue-line); box-shadow: var(--shadow); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -.012em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__item summary:hover { color: var(--blue-dark); }

.faq__body { padding: 0 26px 24px; font-size: 1rem; }

/* 14. Team ================================================================ */
.team { display: flex; flex-wrap: wrap; gap: clamp(20px, 2.5vw, 32px); }
.person {
  flex: 1 1 280px;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.person img {
  width: 92px; height: 92px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}
.person h3 { margin-bottom: .2em; font-size: 1.1rem; }
.person__role {
  display: block;
  margin-bottom: 8px;
  font-size: .87rem;
  color: var(--muted);
}
.person a { font-size: .93rem; font-weight: 550; word-break: break-word; }

/* 15. Kontakt ============================================================= */
.contact {
  position: relative;
  padding: clamp(44px, 6vw, 80px) clamp(28px, 5vw, 72px);
  background: linear-gradient(135deg, var(--slate) 0%, #2b3b45 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  overflow: hidden;
}
.contact::after {
  content: "";
  position: absolute;
  width: 440px; height: 440px;
  top: -210px; right: -130px;
  background: rgba(118, 162, 235, .3);
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.contact__inner { position: relative; z-index: 1; }
.contact h2 { color: #fff; max-width: 15em; }
.contact p { color: rgba(255, 255, 255, .78); max-width: 42em; }

.contact__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.contact__card {
  display: block;
  padding: 22px 24px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  color: #fff;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.contact__card:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .3);
  transform: translateY(-2px);
  color: #fff;
}
.contact__card-k {
  display: block;
  margin-bottom: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-soft);
}
.contact__card-v { font-size: 1rem; font-weight: 650; word-break: break-word; }

/* 16. Footer ============================================================== */
.site-footer {
  padding-block: clamp(44px, 5vw, 64px) 32px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 36px;
}
.footer__brand { max-width: 320px; }
.footer__brand p { margin-top: 16px; font-size: .92rem; color: var(--muted); }

.footer__cols { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 72px); }
.footer__col h4 {
  margin-bottom: 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li + li { margin-top: 9px; }
.footer__col a, .footer__col span {
  font-size: .94rem;
  color: var(--body);
}
.footer__col a:hover { color: var(--blue); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: .87rem;
  color: var(--muted);
}

/* 17. Rechtsseiten ======================================================== */
.legal {
  padding-top: clamp(112px, 12vw, 152px);
  padding-bottom: var(--section-y);
}
.legal__inner {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.legal__inner h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .6em; }
.legal__inner h2 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  margin-top: 2.2em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line-soft);
}
.legal__inner h2:first-of-type { border-top: 0; padding-top: 0; }
.legal__inner h3 { margin-top: 1.8em; font-size: 1.05rem; }
.legal__inner ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.legal__inner li { margin-bottom: .4em; }
.legal__inner address { font-style: normal; line-height: 1.8; }

.legal__note {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  margin-bottom: 32px;
  background: var(--blue-tint);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--slate);
}
.legal__note svg { flex: none; color: var(--blue); margin-top: 2px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: .93rem;
  font-weight: 600;
}

/* 18. Animationen & Barrierefreiheit ====================================== */
/* Inhalte werden nur versteckt, wenn die Klasse js-anim am <html> hängt.
   Das kleine Skript im <head> setzt sie und entfernt sie nach fünf Sekunden
   wieder – so bleibt die Seite auch dann lesbar, wenn JavaScript scheitert. */
.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.2, .7, .3, 1),
              transform .6s cubic-bezier(.2, .7, .3, 1);
}
.js-anim [data-reveal].is-visible { opacity: 1; transform: none; }

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

/* Responsiv ================================================================ */
@media (max-width: 1040px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 9px 11px; font-size: .92rem; }
  .brand span { display: none; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__shot { transform: none; }
  .feature { grid-template-columns: 1fr; }
  /* In den Produktblöcken rutscht das Bild über den Text – im Hero bleibt
     die Überschrift oben, deshalb ist die Regel auf .feature beschränkt. */
  .feature .feature__media { order: -1; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .brand span { display: inline; }

  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .site-header.is-open .nav-links {
    opacity: 1; visibility: visible; transform: none;
  }
  .nav-links a { padding: 13px 16px; font-size: 1rem; }
  .nav-actions .btn--primary { display: none; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .steps__media, .compare { grid-template-columns: 1fr; }
  .shot__chip { left: 12px; bottom: 12px; padding: 10px 14px 10px 11px; }
  .shot__chip-v { font-size: .88rem; }
  .person { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer__top { flex-direction: column; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .js-anim [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .lang { display: none !important; }
  body { background: #fff; }
  .legal__inner { border: 0; box-shadow: none; padding: 0; }
}
