/* ==========================================================================
   TapAlive — Stylesheet
   Ein stilles, digitales Sicherheitsnetz.
   Reines CSS3, Mobile-First, Hell-/Dunkelmodus.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design-Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Marke */
  --green-50:  #edfaf3;
  --green-100: #d3f2e2;
  --green-200: #a8e5c6;
  --green-300: #71d1a4;
  --green-400: #3fb782;
  --green-500: #219a68;
  --green-600: #157c54;
  --green-700: #126245;
  --green-800: #114e38;
  --green-900: #0e3f2f;

  /* Neutral */
  --n-0:   #ffffff;
  --n-25:  #fbfcfb;
  --n-50:  #f5f7f6;
  --n-100: #eceff0;
  --n-200: #dde2e2;
  --n-300: #c2caca;
  --n-400: #97a2a2;
  --n-500: #6c7877;
  --n-600: #4d5857;
  --n-700: #384140;
  --n-800: #232a29;
  --n-900: #141918;
  --n-950: #0b0f0e;

  /* Signal */
  --amber:   #b8781a;
  --amber-bg:#fdf5e6;
  --alert:   #c0392b;
  --alert-bg:#fdefed;

  /* Semantische Rollen (Hell) */
  --bg:            var(--n-25);
  --bg-alt:        var(--n-50);
  --surface:       var(--n-0);
  --surface-soft:  var(--green-50);
  --text:          var(--n-900);
  --text-soft:     var(--n-600);
  --text-mute:     var(--n-500);
  --line:          var(--n-200);
  --line-soft:     var(--n-100);
  --accent:        var(--green-600);
  --accent-hover:  var(--green-700);
  --accent-soft:   var(--green-100);
  --accent-text:   var(--green-700);
  --on-accent:     #ffffff;
  --focus:         var(--green-500);

  --shadow-xs: 0 1px 2px rgba(11, 15, 14, .05);
  --shadow-sm: 0 1px 3px rgba(11, 15, 14, .06), 0 1px 2px rgba(11, 15, 14, .04);
  --shadow-md: 0 4px 16px rgba(11, 15, 14, .07), 0 1px 3px rgba(11, 15, 14, .04);
  --shadow-lg: 0 12px 40px rgba(11, 15, 14, .10), 0 2px 8px rgba(11, 15, 14, .04);

  /* Form */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Raster */
  --wrap: 1140px;
  --wrap-narrow: 760px;
  --gutter: 20px;

  /* Typografie */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          "Inter", Arial, "Noto Sans", sans-serif;
  --fs-xs:   0.8125rem;  /* 13px – nur für Meta-Angaben */
  --fs-sm:   0.9375rem;  /* 15px */
  --fs-base: 1rem;       /* 16px – Mindestgröße Fließtext */
  --fs-md:   1.0625rem;  /* 17px */
  --fs-lg:   1.1875rem;  /* 19px */
  --fs-xl:   1.4375rem;  /* 23px */
  --fs-2xl:  1.75rem;    /* 28px */
  --fs-3xl:  2.125rem;   /* 34px */
  --fs-4xl:  2.75rem;    /* 44px */

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Dunkelmodus – Systemeinstellung */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:           var(--n-950);
    --bg-alt:       #101514;
    --surface:      var(--n-900);
    --surface-soft: #10201a;
    --text:         #eef2f1;
    --text-soft:    #b4bfbd;
    --text-mute:    #8d9997;
    --line:         #263130;
    --line-soft:    #1b2322;
    --accent:       var(--green-300);
    --accent-hover: var(--green-200);
    --accent-soft:  #122b22;
    --accent-text:  var(--green-300);
    --on-accent:    #07130e;
    --focus:        var(--green-300);
    --amber:        #e0a93f;
    --amber-bg:     #241d0e;
    --alert:        #f08b7d;
    --alert-bg:     #2a1512;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .45);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .5);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .55);
  }
}

/* Dunkelmodus – manuelle Wahl */
:root[data-theme="dark"] {
  --bg:           var(--n-950);
  --bg-alt:       #101514;
  --surface:      var(--n-900);
  --surface-soft: #10201a;
  --text:         #eef2f1;
  --text-soft:    #b4bfbd;
  --text-mute:    #8d9997;
  --line:         #263130;
  --line-soft:    #1b2322;
  --accent:       var(--green-300);
  --accent-hover: var(--green-200);
  --accent-soft:  #122b22;
  --accent-text:  var(--green-300);
  --on-accent:    #07130e;
  --focus:        var(--green-300);
  --amber:        #e0a93f;
  --amber-bg:     #241d0e;
  --alert:        #f08b7d;
  --alert-bg:     #2a1512;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .45);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .5);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .55);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.22;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

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

a {
  color: var(--accent-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .18s var(--ease);
}
a:hover { color: var(--accent-hover); }

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

ul, ol { margin: 0 0 1.15em; padding-left: 1.35em; }
li { margin-bottom: .4em; }
li:last-child { margin-bottom: 0; }

strong { font-weight: 650; color: var(--text); }
small  { font-size: var(--fs-sm); }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .9em;
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: .1em .4em;
}

/* Fokus – überall gut sichtbar */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--accent-soft); color: var(--text); }

/* Skip-Link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 999;
  background: var(--accent);
  color: var(--on-accent);
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--on-accent); }

.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;
}

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

.section { padding-block: 56px; }
.section--tight { padding-block: 40px; }
.section--alt { background: var(--bg-alt); }
.section--soft { background: var(--surface-soft); }

.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-soft); font-size: var(--fs-md); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: .6em;
}

.lead {
  font-size: var(--fs-lg);
  color: var(--text-soft);
  line-height: 1.6;
}

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font: inherit;
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              transform .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-text); }

.btn--quiet {
  background: transparent;
  color: var(--accent-text);
  padding-inline: 8px;
}
.btn--quiet:hover { color: var(--accent-hover); text-decoration: underline; }

.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: var(--fs-base); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-row--center { justify-content: center; }

/* Store-Buttons (Platzhalter) */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 22px 10px 18px;
  background: var(--n-900);
  color: #fff;
  border: 1px solid var(--n-900);
  border-radius: var(--r-md);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.store-btn:hover { color: #fff; background: var(--n-800); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.store-btn svg { flex: none; width: 26px; height: 26px; fill: currentColor; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn__small { font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase; opacity: .82; }
.store-btn__big { font-size: 1.0625rem; font-weight: 650; }

:root[data-theme="dark"] .store-btn,
:root[data-theme="dark"] .store-btn:hover { background: var(--surface); border-color: var(--line); color: var(--text); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .store-btn,
  :root:not([data-theme="light"]) .store-btn:hover { background: var(--surface); border-color: var(--line); color: var(--text); }
}

.store-note {
  margin-top: 14px;
  font-size: var(--fs-sm);
  color: var(--text-mute);
}

/* --------------------------------------------------------------------------
   5. Kopfzeile & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  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 var(--line-soft);
}
@supports not (backdrop-filter: blur(1px)) {
  .site-header { background: var(--bg); }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -.02em;
  color: var(--text);
  text-decoration: none;
  padding-block: 6px;
}
.brand:hover { color: var(--text); }
.brand__mark {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 11px;
  background: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.brand__mark svg { width: 20px; height: 20px; }

.header-tools { display: flex; align-items: center; gap: 6px; }

.icon-btn {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  color: var(--text-soft);
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.icon-btn:hover { background: var(--bg-alt); color: var(--text); }
.icon-btn svg { width: 22px; height: 22px; }

.theme-btn .icon-moon { display: none; }
:root[data-theme="dark"] .theme-btn .icon-moon { display: block; }
:root[data-theme="dark"] .theme-btn .icon-sun  { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .icon-moon { display: block; }
  :root:not([data-theme="light"]) .theme-btn .icon-sun  { display: none; }
}

/* Navigation – mobil als Panel */
.nav-toggle { display: grid; }

.site-nav {
  position: fixed;
  inset: 68px 0 auto 0;
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 12px var(--gutter) 22px;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
}
.site-nav[data-open="true"] { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-nav li { margin: 0; }

.site-nav a {
  display: block;
  padding: 13px 12px;
  min-height: 48px;
  border-radius: var(--r-sm);
  color: var(--text-soft);
  font-weight: 550;
  text-decoration: none;
}
.site-nav a:hover { background: var(--bg-alt); color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--accent-text); background: var(--accent-soft); font-weight: 650; }

/* Der CTA im Menü ist ein Button, kein Navigationslink –
   Farben von .btn müssen die generische Link-Regel oben schlagen. */
.site-nav .nav-cta { margin-top: 12px; }
.site-nav .nav-cta .btn { width: 100%; }
.site-nav .nav-cta .btn--primary,
.site-nav .nav-cta .btn--primary:hover { color: var(--on-accent); background: var(--accent); }
.site-nav .nav-cta .btn--primary:hover { background: var(--accent-hover); }

/* --------------------------------------------------------------------------
   6. Karten & Raster
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--text-soft); margin-bottom: 0; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }

.card__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-text);
  margin-bottom: 16px;
}
.card__icon svg { width: 24px; height: 24px; }

/* Schritt-Karten */
.steps { counter-reset: step; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: var(--fs-md);
  margin-bottom: 16px;
}
.step h3 { font-size: var(--fs-lg); margin-bottom: .3em; }
.step p { color: var(--text-soft); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: 52px 60px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px; left: 50%;
  width: 780px; height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
              color-mix(in srgb, var(--accent) 16%, transparent) 0%,
              transparent 66%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero__inner { max-width: 720px; margin-inline: auto; text-align: center; }
.hero h1 { font-size: var(--fs-3xl); margin-bottom: .45em; }
.hero__sub {
  font-size: var(--fs-lg);
  color: var(--text-soft);
  margin-bottom: 30px;
  max-width: 34em;
  margin-inline: auto;
}
.hero .btn-row { justify-content: center; }

.trust-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  color: var(--text-soft);
  box-shadow: var(--shadow-xs);
  text-align: left;
}
.trust-line svg { flex: none; width: 18px; height: 18px; color: var(--accent-text); }

/* Puls-Grafik */
.pulse {
  position: relative;
  width: 168px; height: 168px;
  margin: 40px auto 0;
  display: grid;
  place-items: center;
}
.pulse__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: pulse-out 3.6s var(--ease) infinite;
}
.pulse__ring:nth-child(2) { animation-delay: 1.2s; }
.pulse__ring:nth-child(3) { animation-delay: 2.4s; }
.pulse__core {
  position: relative;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: var(--fs-md);
  box-shadow: var(--shadow-lg);
}
@keyframes pulse-out {
  0%   { transform: scale(.58); opacity: .55; }
  70%  { opacity: .08; }
  100% { transform: scale(1); opacity: 0; }
}

/* --------------------------------------------------------------------------
   8. Hinweis-Boxen
   -------------------------------------------------------------------------- */
.notice {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: var(--fs-md);
}
.notice svg { flex: none; width: 24px; height: 24px; margin-top: 2px; }
.notice p { margin-bottom: 0; }
.notice strong { display: block; margin-bottom: .2em; }

.notice--safety {
  background: var(--alert-bg);
  border-color: color-mix(in srgb, var(--alert) 32%, transparent);
  color: var(--text);
}
.notice--safety svg { color: var(--alert); }
.notice--safety strong { color: var(--alert); }

.notice--info {
  background: var(--surface-soft);
  border-color: var(--accent-soft);
}
.notice--info svg { color: var(--accent-text); }

.notice--hint {
  background: var(--amber-bg);
  border-color: color-mix(in srgb, var(--amber) 34%, transparent);
}
.notice--hint svg { color: var(--amber); }

/* --------------------------------------------------------------------------
   9. Preise
   -------------------------------------------------------------------------- */
.plans { display: grid; gap: 20px; align-items: start; }

.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.plan--featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
}
.plan__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--on-accent);
  font-size: var(--fs-sm);
  font-weight: 650;
  padding: 5px 16px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.plan__name { font-size: var(--fs-lg); margin-bottom: .2em; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 12px 0 4px;
}
.plan__amount { font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -.03em; }
.plan__period { color: var(--text-mute); font-size: var(--fs-sm); }
.plan__desc { color: var(--text-soft); font-size: var(--fs-sm); margin-bottom: 20px; }

.plan__list { list-style: none; padding: 0; margin: 0 0 26px; }
.plan__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  color: var(--text-soft);
  font-size: var(--fs-base);
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .38em;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23157c54' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.plan__foot { margin-top: auto; }

/* --------------------------------------------------------------------------
   10. Tabellen
   -------------------------------------------------------------------------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  margin-bottom: 1.5rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  min-width: 520px;
}
caption {
  text-align: left;
  padding: 14px 18px 0;
  font-size: var(--fs-sm);
  color: var(--text-mute);
}
th, td {
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
th {
  font-weight: 650;
  color: var(--text);
  background: var(--bg-alt);
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
td { color: var(--text-soft); }

/* --------------------------------------------------------------------------
   11. FAQ / Accordion
   -------------------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item[open] { border-color: var(--accent-soft); box-shadow: var(--shadow-sm); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 20px;
  font-size: var(--fs-md);
  font-weight: 620;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: background-color .18s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg-alt); }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  background: currentColor;
  color: var(--accent-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .22s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(180deg); }

.faq-item__body {
  padding: 0 20px 20px;
  color: var(--text-soft);
  font-size: var(--fs-base);
}
.faq-item__body > :last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   12. Formulare
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }

.field { display: grid; gap: 7px; }
.field label { font-weight: 620; font-size: var(--fs-sm); }
.field__hint { font-size: var(--fs-sm); color: var(--text-mute); }

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: var(--fs-base);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
textarea { min-height: 150px; resize: vertical; line-height: 1.6; }

input:hover, textarea:hover { border-color: var(--n-300); }
input:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
  outline: none;
}
::placeholder { color: var(--text-mute); opacity: 1; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: 1.55;
  cursor: pointer;
}
.checkbox input[type="checkbox"] {
  flex: none;
  width: 22px; height: 22px;
  margin: 1px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-status {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  background: var(--surface-soft);
  border: 1px solid var(--accent-soft);
  color: var(--text);
}
.form-status[hidden] { display: none; }

/* --------------------------------------------------------------------------
   13. Platzhalter-Bilder
   -------------------------------------------------------------------------- */
.figure {
  margin: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.figure__ph {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(135deg, var(--surface-soft) 0%, var(--bg-alt) 100%);
  color: var(--text-mute);
  font-size: var(--fs-sm);
}
.figure__ph svg { width: 34px; height: 34px; opacity: .5; }
.figure figcaption {
  padding: 13px 18px;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-sm);
  color: var(--text-mute);
}

/* Countdown-Streifen (SOS-Erklärung) */
.countdown {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 20px 0 10px;
}
.countdown span {
  height: 46px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-weight: 650;
  font-size: var(--fs-sm);
  color: #10241c;
  background: var(--green-300);
}
.countdown span:nth-child(2) { background: #a9d97e; }
.countdown span:nth-child(3) { background: #e8cf6e; }
.countdown span:nth-child(4) { background: #e8a45e; color: #2a1a0c; }
.countdown span:nth-child(5) { background: #e07a6b; color: #2a1010; }

/* --------------------------------------------------------------------------
   14. Rechtsseiten
   -------------------------------------------------------------------------- */
.legal { padding-block: 40px 64px; }
.legal h1 { font-size: var(--fs-2xl); margin-bottom: .3em; }
.legal h2 {
  font-size: var(--fs-xl);
  margin-top: 2.2em;
  padding-top: 1.1em;
  border-top: 1px solid var(--line-soft);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal h3 { font-size: var(--fs-md); margin-top: 1.7em; }
.legal p, .legal li { color: var(--text-soft); }
.legal ul, .legal ol { padding-left: 1.25em; }

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 26px;
  font-size: var(--fs-sm);
  color: var(--text-mute);
}
.legal-meta span {
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-full);
  padding: 4px 12px;
}

.legal-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  margin-bottom: 1.5rem;
}
.legal-box p:last-child { margin-bottom: 0; }

.address { font-style: normal; line-height: 1.75; color: var(--text-soft); }
.address strong { color: var(--text); }

/* Inhaltsverzeichnis */
.toc {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin-bottom: 34px;
}
.toc h2 {
  font-size: var(--fs-base);
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-mute);
}
.toc ol {
  margin: 0;
  padding-left: 1.35em;
  columns: 1;
  font-size: var(--fs-sm);
}
.toc li { margin-bottom: .35em; }

/* Englische Kurzfassung */
.summary-en {
  margin-top: 56px;
  padding: 26px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.summary-en h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  font-size: var(--fs-lg);
}
.summary-en p, .summary-en li { font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   15. CTA-Band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--surface-soft);
  border-top: 1px solid var(--accent-soft);
  border-bottom: 1px solid var(--accent-soft);
  padding-block: 52px;
  text-align: center;
}
.cta-band h2 { margin-bottom: .4em; }
.cta-band p { color: var(--text-soft); max-width: 34em; margin-inline: auto; margin-bottom: 26px; }

/* --------------------------------------------------------------------------
   16. Fußzeile
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-block: 46px 30px;
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 34px;
}
.footer-col h3 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 2px; }
/* Nur die Linklisten – Wortmarke und Store-Buttons behalten ihre eigenen Farben. */
.footer-col ul a {
  display: inline-block;
  padding: 10px 0;
  min-height: 44px;
  color: var(--text-soft);
  text-decoration: none;
  line-height: 1.5;
}
.footer-col ul a:hover { color: var(--accent-text); text-decoration: underline; }
.footer-col p { color: var(--text-soft); }

.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { max-width: 34em; }

.footer-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.footer-stores .store-btn { min-height: 50px; padding: 8px 18px 8px 14px; }
.footer-stores .store-btn svg { width: 22px; height: 22px; }
.footer-stores .store-btn__big { font-size: .9375rem; }

.footer-safety {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  background: var(--alert-bg);
  border: 1px solid color-mix(in srgb, var(--alert) 30%, transparent);
  border-radius: var(--r-md);
  margin-bottom: 28px;
  color: var(--text);
  line-height: 1.55;
}
.footer-safety svg { flex: none; width: 20px; height: 20px; color: var(--alert); margin-top: 2px; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-mute);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-legal a { color: var(--text-mute); text-decoration: none; padding-block: 6px; }
.footer-legal a:hover { color: var(--accent-text); text-decoration: underline; }

/* --------------------------------------------------------------------------
   17. Cookie-Banner
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 200;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px 22px 20px;
  max-width: 560px;
  margin-inline: auto;
  animation: banner-in .32s var(--ease) both;
}
.cookie-banner[hidden] { display: none; }
@keyframes banner-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.cookie-banner h2 { font-size: var(--fs-md); margin-bottom: .4em; }
.cookie-banner p { font-size: var(--fs-sm); color: var(--text-soft); margin-bottom: 16px; }
.cookie-banner .btn-row { gap: 10px; }
.cookie-banner .btn { flex: 1 1 auto; min-width: 150px; }
.cookie-banner__links { margin-top: 14px; font-size: var(--fs-xs); color: var(--text-mute); }
.cookie-banner__links a { color: var(--text-mute); }

/* --------------------------------------------------------------------------
   18. Scroll-Animation (dezent)
   -------------------------------------------------------------------------- */
/* Wie bei den .reveal-*-Varianten in ui.css: Der versteckte Grundzustand gilt
   nur, wenn JavaScript aktiv ist (.js wird synchron im <head> gesetzt). */
.reveal {
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal-armed .reveal { opacity: 0; transform: translateY(14px); }
.reveal-armed .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   19. Breakpoints
   -------------------------------------------------------------------------- */
@media (min-width: 600px) {
  :root { --gutter: 26px; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cookie-banner { padding: 26px; }
  .toc ol { columns: 2; column-gap: 32px; }
}

@media (min-width: 760px) {
  :root {
    --fs-3xl: 2.5rem;
    --fs-2xl: 2rem;
  }
  .section { padding-block: 76px; }
  .section--tight { padding-block: 52px; }
  .hero { padding-block: 76px 84px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .legal { padding-block: 56px 88px; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 960px) {
  :root { --fs-3xl: 3rem; --gutter: 32px; }
  .hero h1 { font-size: var(--fs-4xl); }

  /* Desktop-Navigation */
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: block;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    max-height: none;
    overflow: visible;
    flex: 1;
  }
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    flex-wrap: wrap;
  }
  .site-nav a {
    padding: 9px 13px;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: var(--fs-sm);
    border-radius: var(--r-full);
  }
  .site-nav .nav-cta { margin: 0 0 0 10px; }
  .site-nav .nav-cta .btn { width: auto; min-height: 44px; padding: 9px 20px; font-size: var(--fs-sm); }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
  .plan--featured { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   20. Bewegungsreduktion & Druck
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal-armed .reveal, .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cookie-banner, .cta-band, .btn-row, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .legal h2 { break-after: avoid; }
  a { color: #000; text-decoration: underline; }
  .wrap { max-width: none; padding: 0; }
}

/* --------------------------------------------------------------------------
   21. Sprachumschalter (DE / EN)
   -------------------------------------------------------------------------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  color: var(--text-soft);
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent-text); }
.lang-switch svg { flex: none; width: 17px; height: 17px; }

/* Hinweis auf die jeweils andere Sprachfassung in den Rechtstexten */
.lang-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--text-soft);
}
.lang-note svg { flex: none; width: 18px; height: 18px; color: var(--accent-text); }
.lang-note p { margin: 0; }

@media (max-width: 400px) {
  .lang-switch { padding: 0 10px; }
  .lang-switch .lang-switch__label { display: none; }
}
