/* =========================================================
   MiMaNex Einkaufsliste – Redesign 2026
   Gemeinsames Stylesheet fuer alle Seiten.
   Keine externen Fonts / Ressourcen (Datenschutz).
   Hell (Standard) und Dunkel in einer Datei: Dunkel-Regeln gelten bei
   <html data-theme="dark">. Gesetzt wird das per Umschalter im Header
   (js/site.js); ohne eigene Wahl folgt die Seite dem Geraetemodus.
   ========================================================= */

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

html { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

:root {
  /* Marke – abgeleitet vom App-Gruen */
  --brand-900: #16301A;
  --brand-800: #1F3F22;
  --brand-700: #2E5A2C;
  --brand-600: #3F7A32;
  --brand-500: #5A9A3A;
  --brand-400: #7DB85A;
  --brand-100: #E6F1DD;
  --brand-50:  #F2F8EC;
  --accent:    #E4572E;   /* Tomate – sparsam einsetzen */
  --sun:       #F4B942;

  /* Flaechen & Text */
  --bg:        #FAF8F3;
  --surface:   #FFFFFF;
  --surface-2: #F3F0E8;
  --text:      #1D2A1D;
  --text-2:    #4A5A4A;
  --text-3:    #6F7D6F;
  --line:      rgba(31, 63, 34, 0.12);
  --line-2:    rgba(31, 63, 34, 0.20);

  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(22,48,26,.06), 0 2px 8px rgba(22,48,26,.05);
  --shadow:    0 2px 4px rgba(22,48,26,.04), 0 12px 32px rgba(22,48,26,.08);
  --shadow-lg: 0 30px 80px -20px rgba(22,48,26,.35);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1160px;
  --header-h: 68px;
}

:root[data-theme="dark"] {
    --brand-100: #22351F;
    --brand-50:  #1A2918;
    --bg:        #0F1710;
    --surface:   #172219;
    --surface-2: #1C291D;
    --text:      #E8EFE5;
    --text-2:    #B8C6B5;
    --text-3:    #8D9C8A;
    --line:      rgba(200, 230, 190, 0.10);
    --line-2:    rgba(200, 230, 190, 0.18);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
    --shadow:    0 12px 32px rgba(0,0,0,.35);
    --shadow-lg: 0 30px 80px -20px rgba(0,0,0,.7);
  }


html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-underline-offset: 3px; }
:root[data-theme="dark"] a { color: var(--brand-400); }

:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.logo img { width: 40px; height: 40px; object-fit: contain; }
.logo-text { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.1; }
.logo-text small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-500); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--text-2); text-decoration: none; font-size: .92rem; font-weight: 550;
  padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a[aria-current="page"] { color: var(--brand-600); }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem !important; font-weight: 650 !important;
  border: 1px solid var(--line-2); padding: 6px 12px !important;
}
.nav .btn { margin-left: 8px; }

.menu-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
  cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand-600); color: #fff !important; box-shadow: 0 6px 20px -6px rgba(63,122,50,.6); }
.btn-primary:hover { background: var(--brand-700); }
.btn-ghost { background: var(--surface); color: var(--text) !important; border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 10px 16px; font-size: .88rem; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Store-Button (eigener Nachbau, ohne externe Grafik) */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0B0F0B; color: #fff !important; text-decoration: none;
  padding: 10px 22px 10px 16px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 28px; height: 28px; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn small { font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.store-btn strong { font-size: 1.15rem; font-weight: 650; letter-spacing: -.01em; }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-600);
}
:root[data-theme="dark"] .eyebrow { color: var(--brand-400); }

h1, h2, h3 { color: var(--text); letter-spacing: -.025em; line-height: 1.12; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.3; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text-2); }
.hl { color: var(--brand-600); }
:root[data-theme="dark"] .hl { color: var(--brand-400); }


/* ---------- Sektionen ---------- */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin: 12px 0 16px; }
.section-head p { color: var(--text-2); font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(125,184,90,.28), transparent 70%);
  z-index: -1; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -15%; bottom: -30%; width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(closest-side, rgba(244,185,66,.16), transparent 70%);
  z-index: -1; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 22px; }
.hero .lead { max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: .88rem; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--brand-500); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line-2);
  padding: 6px 14px 6px 6px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; color: var(--text-2);
  box-shadow: var(--shadow-sm);
}
.pill b { background: var(--brand-600); color: #fff; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(310px, 78vw); aspect-ratio: 1042 / 2316;
  border-radius: 44px; padding: 10px;
  background: linear-gradient(145deg, #2a2f2a, #0c0f0c);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.08);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; }
.hero-visual .phone { transform: rotate(3deg); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow);
  font-size: .85rem; font-weight: 650; color: var(--text); white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 500; color: var(--text-3); font-size: .75rem; }
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-600); }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card.one { left: -6%; top: 16%; }
.float-card.two { right: -8%; bottom: 18%; animation-delay: -3s; }
.float-card.two .ic { background: #FDECE6; color: var(--accent); }
:root[data-theme="dark"] .float-card.two .ic { background: #3a221b; }

@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Trust-Leiste ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.trust li {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 22px 12px; font-weight: 650; font-size: .92rem; color: var(--text-2);
}
.trust li + li { border-left: 1px solid var(--line); }
.trust svg { width: 22px; height: 22px; color: var(--brand-500); flex-shrink: 0; }

/* ---------- Vergleich statisch / dynamisch ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; margin: 0 auto; }
.compare-card { border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line); background: var(--surface); }
.compare-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.compare-card .tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-3); }
.compare-card.good { background: linear-gradient(160deg, var(--brand-700), var(--brand-900)); border-color: transparent; color: #E6F1DD; box-shadow: var(--shadow-lg); }
.compare-card.good h3 { color: #fff; }
.compare-card.good .tag { background: rgba(255,255,255,.14); color: #fff; }
.mock-list { list-style: none; display: grid; gap: 8px; }
.mock-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .95rem;
  background: var(--surface-2);
}
.mock-list .q { min-width: 44px; font-variant-numeric: tabular-nums; color: var(--text-3); font-size: .85rem; }
.compare-card:not(.good) .mock-list li.done { text-decoration: line-through; color: var(--text-3); opacity: .7; }
.compare-card.good .mock-list li { background: rgba(255,255,255,.08); color: #fff; }
.compare-card.good .mock-list .q { color: #BFDDAA; }
.compare-card.good .mock-list li.faded { opacity: .38; transform: scale(.97); }
.compare-card p { margin-top: 18px; font-size: .95rem; color: var(--text-2); }
.compare-card.good p { color: #CFE3C2; }

/* ---------- Feature-Grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.feature .ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand-600); margin-bottom: 20px;
}
:root[data-theme="dark"] .feature .ic { color: var(--brand-400); }

.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: .96rem; }
.feature.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: linear-gradient(135deg, var(--brand-50), var(--surface)); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: .8rem; font-weight: 650; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text-2); }
.units { display: flex; gap: 10px; }
.units span {
  width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
}

/* ---------- Galerie ---------- */
.gallery-section { background: linear-gradient(180deg, var(--bg), var(--surface-2) 30%, var(--surface-2) 70%, var(--bg)); }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 240px; gap: 28px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 20px max(24px, calc((100vw - var(--maxw)) / 2 + 24px)) 40px;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { scroll-snap-align: center; }
.shot { display: block; width: 100%; text-align: center; background: none; border: 0; cursor: zoom-in; font: inherit; color: inherit; }
.shot .phone { display: block; width: 100%; border-radius: 36px; padding: 8px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.shot .phone img { border-radius: 28px; }
.shot:hover .phone { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.shot figcaption { margin-top: 16px; font-weight: 700; font-size: .95rem; }
.shot figcaption small { display: block; font-weight: 500; color: var(--text-3); font-size: .85rem; }
.gallery-ctrl { display: flex; justify-content: center; gap: 10px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center;
  transition: background .15s;
}
.round-btn:hover { background: var(--brand-100); }
.round-btn svg { width: 22px; height: 22px; }

/* ---------- Preise ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; }
.plan .name { font-weight: 700; color: var(--text-2); }
.plan .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 4px; color: var(--text); }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--text-3); letter-spacing: 0; }
.plan .sub { color: var(--text-3); font-size: .92rem; }
.plan ul { list-style: none; display: grid; gap: 12px; margin: 26px 0 30px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--text-2); }
.plan li svg { width: 20px; height: 20px; color: var(--brand-500); flex-shrink: 0; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan.featured { border: 2px solid var(--brand-500); box-shadow: var(--shadow-lg); position: relative; }
.plan.featured::before {
  content: attr(data-badge); position: absolute; top: -14px; left: 36px;
  background: var(--brand-600); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex-shrink: 0;
  border-right: 2.5px solid var(--brand-500); border-bottom: 2.5px solid var(--brand-500);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { padding: 0 0 22px; color: var(--text-2); }

/* ---------- CTA-Band ---------- */
.cta-band {
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(125,184,90,.45), transparent 60%),
    linear-gradient(135deg, var(--brand-700), var(--brand-900));
  color: #E6F1DD; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #CFE3C2; max-width: 560px; }
.cta-band img { width: 140px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.cta-band .actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-band .link-light { color: #fff; font-weight: 600; font-size: .92rem; }

/* ---------- Unterseiten ---------- */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); text-align: center; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: -40% 0 auto; height: 160%;
  background: radial-gradient(600px 300px at 50% 30%, rgba(125,184,90,.22), transparent 70%);
  z-index: -1;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 12px 0 14px; }
.page-hero p { color: var(--text-2); font-size: 1.08rem; }

.prose { max-width: 760px; margin: 0 auto; padding: 0 24px 100px; }
.prose .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px); box-shadow: var(--shadow-sm); }
.prose h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; margin: 26px 0 8px; }
.prose p, .prose ul { color: var(--text-2); margin-bottom: 14px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--brand-500); }
.info-box {
  background: var(--brand-50); border: 1px solid var(--line); border-left: 4px solid var(--brand-500);
  border-radius: 14px; padding: 18px 22px; margin: 16px 0 20px; color: var(--text);
}
.info-box strong { color: var(--text); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.toc a { font-size: .85rem; font-weight: 600; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text-2); }
.toc a:hover { border-color: var(--brand-500); color: var(--brand-600); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; max-width: 1000px; margin: 0 auto; padding: 0 24px 100px; }
.contact-aside { display: grid; gap: 16px; align-content: start; }
.contact-aside .item { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.contact-aside .item .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-600); flex-shrink: 0; }
.contact-aside .item .ic svg { width: 22px; height: 22px; }
.contact-aside .item strong { display: block; }
.contact-aside .item span, .contact-aside .item a { font-size: .92rem; color: var(--text-2); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 650; margin-bottom: 6px; color: var(--text); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 13px 15px;
  transition: border-color .15s, box-shadow .15s, background .15s; outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus { border-color: var(--brand-500); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-500) 18%, transparent); }
.field textarea { min-height: 170px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-card .btn { width: 100%; padding: 16px; font-size: 1rem; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.success-msg { display: none; text-align: center; padding: 32px 12px; }
.success-msg .ic { width: 64px; height: 64px; border-radius: 999px; background: var(--brand-100); color: var(--brand-600); display: grid; place-items: center; margin: 0 auto 18px; }
.success-msg .ic svg { width: 32px; height: 32px; }
.success-msg h2 { font-size: 1.5rem; margin-bottom: 8px; }
.success-msg p { color: var(--text-2); }
.error-msg { display: none; background: rgba(228,87,46,.1); border: 1px solid rgba(228,87,46,.35); border-radius: 12px; padding: 14px; text-align: center; color: #B8401E; font-size: .92rem; margin-top: 14px; }
:root[data-theme="dark"] .error-msg { color: #F59A7E; }

.privacy-note { font-size: .82rem; color: var(--text-3); margin-top: 16px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-900); color: rgba(230,241,221,.7); padding: 64px 0 32px; margin-top: 40px; }
:root[data-theme="dark"] .site-footer { background: #0A100B; border-top: 1px solid var(--line); }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: #fff; }
.site-footer .logo-text small { color: var(--brand-400); }
.site-footer p { font-size: .92rem; margin-top: 14px; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: rgba(230,241,221,.75); text-decoration: none; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(230,241,221,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,18,11,.9); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; gap: 16px; padding: 24px;
}
.lightbox.open { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.lightbox .frame { position: relative; height: min(88vh, 900px); aspect-ratio: 1042 / 2316; max-width: 80vw; }
.lightbox .frame img { width: 100%; height: 100%; object-fit: contain; border-radius: 28px; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.lightbox .round-btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; flex-shrink: 0; }
.lightbox .round-btn:hover { background: rgba(255,255,255,.2); }
.lightbox .close { position: absolute; top: 20px; right: 20px; }
.lightbox .counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 600; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .hero-note { justify-content: center; }
  .features { grid-template-columns: 1fr 1fr; }
  .trust ul { grid-template-columns: repeat(3, 1fr); }
  .trust li:nth-child(4) { border-left: 0; }
  .trust li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 16px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 16px; font-size: 1rem; border-radius: 12px; }
  .nav .lang { align-self: flex-start; margin: 4px 16px; }
  .nav .btn { margin: 8px 0 0; }
  .compare, .pricing { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band p { margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .features { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; grid-template-columns: 1fr; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li { border-left: 0 !important; border-top: 1px solid var(--line); justify-content: flex-start; padding: 16px; font-size: .88rem; }
  .trust li:nth-child(-n+2) { border-top: 0; }
  .trust li:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .trust li:last-child { grid-column: 1 / -1; border-left: 0 !important; }
  .float-card { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .compare-card, .plan { padding: 26px; }
  .gallery { grid-auto-columns: 210px; gap: 20px; }
  .lightbox { padding: 12px; gap: 8px; }
  .lightbox .frame { max-width: 70vw; }
  .lightbox .round-btn:not(.close) { width: 40px; height: 40px; }
  .prose, .contact-grid { padding-inline: 16px; }
}

/* ---------- Hilfe-Seite ---------- */
.toc-bar {
  position: sticky; top: var(--header-h); z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.toc-bar .toc { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0; padding: 12px 0; scrollbar-width: none; }
.toc-bar .toc::-webkit-scrollbar { display: none; }
.toc-bar .toc a { white-space: nowrap; }
.toc-bar .toc a.active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
@media (min-width: 1000px) { .toc-bar .toc { justify-content: center; } }

.help-group { padding: clamp(56px, 8vw, 88px) 0 0; scroll-margin-top: calc(var(--header-h) + 64px); }
.help-group:last-of-type { padding-bottom: 100px; }
.help-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.help-head .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-600); color: #fff; flex-shrink: 0; }
.help-head .ic svg { width: 26px; height: 26px; }
.help-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.help-head p { color: var(--text-2); margin-top: 2px; }

.help-layout { display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: start; }
.help-layout.no-shot { grid-template-columns: 1fr; }
.help-layout .side { position: sticky; top: calc(var(--header-h) + 80px); }
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.help-layout.no-shot .topics { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.topic { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.topic h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.topic h3 svg { width: 22px; height: 22px; color: var(--brand-500); flex-shrink: 0; }
.topic ul { list-style: none; display: grid; gap: 6px; }
.topic li { position: relative; padding-left: 20px; color: var(--text-2); font-size: .95rem; }
.topic li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--brand-400); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; }
.step .num { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-600); font-weight: 800; margin-bottom: 14px; }
:root[data-theme="dark"] .step .num { color: var(--brand-400); }

.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: .95rem; margin-bottom: 18px; }
.step .shot { margin-top: auto; }
.step .shot .phone { max-width: 230px; margin: 0 auto; }
.intro-card { background: var(--brand-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 24px; color: var(--text-2); }
.intro-card p + p { margin-top: 10px; }
.intro-card a { word-break: break-all; font-weight: 600; }

@media (max-width: 900px) {
  .help-layout { grid-template-columns: 1fr; }
  .help-layout .side { position: static; }
  .help-layout .side .shot .phone { max-width: 200px; margin: 0 auto; }
}
@media (max-width: 620px) {
  .topics { grid-template-columns: 1fr; }
  .help-head .ic { width: 44px; height: 44px; }
}
/* Screenshot-Plaetze in der Hilfe: erst sichtbar, wenn das Bild wirklich existiert */
.topic-shot { display: none; margin-top: 18px; }
.topic-shot.ok { display: block; }
.topic-shot .phone { max-width: 200px; margin: 0 auto; }

/* =========================================================
   Vergleich: Zettel (links) vs. dynamische Swipe-Liste (rechts)
   ========================================================= */

/* ---- Links: echter Einkaufszettel ---- */
.notepad {
  position: relative;
  margin: 4px 0 0;
  padding: 10px 20px 14px 64px;
  border-radius: 6px 6px 14px 14px;
  background-color: #FFFDF4;
  background-image:
    linear-gradient(90deg, transparent 44px, rgba(220, 80, 60, .55) 44px, rgba(220, 80, 60, .55) 46px, transparent 46px),
    repeating-linear-gradient(180deg, transparent 0, transparent 37px, rgba(70, 110, 180, .25) 37px, rgba(70, 110, 180, .25) 38px);
  background-position: 0 0, 0 10px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 24px -12px rgba(40, 50, 30, .35);
  transform: rotate(-.8deg);
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", "Chalkboard SE", "Marker Felt", cursive;
  font-size: 1.08rem;
  line-height: 38px;
  color: #23366B;
}
.notepad::before { /* Abrisskante oben */
  content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 8px;
  background: radial-gradient(circle at 6px 0, transparent 4px, #FFFDF4 4.5px) repeat-x;
  background-size: 12px 8px;
}
.notepad ul { list-style: none; }
.notepad li { position: relative; width: fit-content; padding: 0 2px; }
.notepad li:nth-child(even) { margin-left: 6px; }
.notepad li.done { color: rgba(35, 54, 107, .55); }
.notepad li.done::before { /* Haken im Rand */
  content: "✓"; position: absolute; left: -40px; top: 0;
  color: #2E7D32; font-weight: 700; opacity: 0; transform: scale(.4);
  transition: opacity .3s ease, transform .3s ease;
}
.notepad li.done::after { /* handgezogener Strich */
  content: ""; position: absolute; left: -6px; right: -8px; top: 52%; height: 2.5px;
  background: #23366B; border-radius: 3px;
  transform: rotate(-2.5deg) scaleX(0); transform-origin: left center;
  transition: transform .45s cubic-bezier(.6,.1,.3,1);
}
.notepad li.done:nth-child(3)::after { transform: rotate(1.5deg) scaleX(0); }
.paper-card.in .notepad li.done::after { transform: rotate(-2.5deg) scaleX(1); }
.paper-card.in .notepad li.done:nth-child(3)::after { transform: rotate(1.5deg) scaleX(1); }
.paper-card.in .notepad li.done::before { opacity: 1; transform: none; }
.notepad li:nth-child(1)::after, .notepad li:nth-child(1)::before { transition-delay: .3s; }
.notepad li:nth-child(3)::after, .notepad li:nth-child(3)::before { transition-delay: .7s; }
.notepad li:nth-child(4)::after, .notepad li:nth-child(4)::before { transition-delay: 1.1s; }
.notepad li:nth-child(6)::after, .notepad li:nth-child(6)::before { transition-delay: 1.5s; }
.notepad li:nth-child(7)::after, .notepad li:nth-child(7)::before { transition-delay: 1.9s; }

/* ---- Rechts: helle App-Karten mit Swipe-Demo ---- */
.swipe-list { list-style: none; display: grid; gap: 8px; }
.swipe-list .row { position: relative; border-radius: 12px; overflow: hidden; }
.swipe-list .card {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  background: #EEEBE4; color: #1D2A1D;
  font-weight: 650; font-size: .95rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.swipe-list .q { min-width: 48px; font-variant-numeric: tabular-nums; color: #6F7D6F; font-size: .85rem; font-weight: 600; }
.swipe-list .faded .card { opacity: .42; }

.swipe-list .bg {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; gap: 10px; padding: 0 18px;
  color: #fff; font-weight: 750; font-size: .9rem; letter-spacing: .01em;
}
.swipe-list .bg svg { width: 22px; height: 22px; flex-shrink: 0; }
.swipe-list .bg-green { background: linear-gradient(90deg, #3E8E2F, #2F7A24); justify-content: flex-end; }
.swipe-list .bg-red   { background: linear-gradient(90deg, #C9382A, #E0523A); justify-content: flex-start; }

.swipe-list .finger {
  position: absolute; z-index: 2; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 999px; pointer-events: none; opacity: 0;
  background: rgba(255,255,255,.85);
  border: 2px solid rgba(29, 42, 29, .25);
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

/* Ablauf: 8 s Schleife. Erst links-Wisch (gruen), dann rechts-Wisch (rot). */
.swipe-l .card   { animation: swipeCardL 8s infinite; }
.swipe-l .finger { animation: swipeFingerL 8s infinite; }
.swipe-r .card   { animation: swipeCardR 8s infinite; }
.swipe-r .finger { animation: swipeFingerR 8s infinite; }
.compare-card.good:not(.in) .card,
.compare-card.good:not(.in) .finger { animation-play-state: paused; }

@keyframes swipeCardL {
  0%, 10%  { transform: translateX(0); opacity: 1; }
  26%      { transform: translateX(-40%); opacity: 1; }
  32%      { transform: translateX(-108%); opacity: 1; }
  44%      { transform: translateX(-108%); opacity: 1; }
  44.1%    { transform: translateX(0); opacity: 0; }
  50%, 100%{ transform: translateX(0); opacity: 1; }
}
@keyframes swipeFingerL {
  0%, 6%   { left: 74%; opacity: 0; transform: scale(1.3); }
  10%      { left: 74%; opacity: 1; transform: scale(1); }
  26%      { left: 34%; opacity: 1; transform: scale(1); }
  31%, 100%{ left: 8%;  opacity: 0; transform: scale(1); }
}
@keyframes swipeCardR {
  0%, 60%  { transform: translateX(0); opacity: 1; }
  76%      { transform: translateX(40%); opacity: 1; }
  82%      { transform: translateX(108%); opacity: 1; }
  94%      { transform: translateX(108%); opacity: 1; }
  94.1%    { transform: translateX(0); opacity: 0; }
  100%     { transform: translateX(0); opacity: 1; }
}
@keyframes swipeFingerR {
  0%, 56%  { left: 26%; opacity: 0; transform: scale(1.3); }
  60%      { left: 26%; opacity: 1; transform: scale(1); }
  76%      { left: 66%; opacity: 1; transform: scale(1); }
  81%, 100%{ left: 92%; opacity: 0; transform: scale(1); }
}

.swipe-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: .85rem; font-weight: 650; color: #E6F1DD; }
.swipe-legend span { display: inline-flex; align-items: center; gap: 8px; }
.swipe-legend .dot { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }
.swipe-legend .dot.green { background: #6CCB4E; box-shadow: 0 0 0 3px rgba(108,203,78,.25); }
.swipe-legend .dot.red   { background: #F26B54; box-shadow: 0 0 0 3px rgba(242,107,84,.25); }

/* Ohne Animation (Systemeinstellung): Wischrichtung statisch zeigen */
@media (prefers-reduced-motion: reduce) {
  .swipe-l .card, .swipe-r .card, .swipe-l .finger, .swipe-r .finger { animation: none !important; }
  .swipe-l .card { transform: translateX(-34%); }
  .swipe-r .card { transform: translateX(34%); }
  .notepad li.done::after, .notepad li.done::before { transition: none !important; }
  .notepad li.done::after { transform: rotate(-2.5deg) scaleX(1); }
  .notepad li.done::before { opacity: 1; transform: none; }
}
.swipe-hidden {
  margin-top: 10px; padding: 8px 14px; border-radius: 10px;
  border: 1px dashed rgba(230,241,221,.35); color: #BFDDAA;
  font-size: .85rem; font-weight: 600; text-align: center;
}

/* ---------- Hell/Dunkel-Umschalter ---------- */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 999px; flex-shrink: 0;
  display: inline-grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--text-2); border: 0;
  transition: background .15s, color .15s;
}
.theme-toggle:hover { background: var(--surface-2); color: var(--text); }
.theme-toggle svg { width: 18px; height: 18px; grid-area: 1 / 1; }
.theme-toggle .ic-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
@media (max-width: 860px) { .nav .theme-toggle, .nav a.lang { margin: 4px 16px; } .nav .btn-sm { height: auto; } }

/* ---------- Sprachumschalter als Flagge ---------- */
/* gleiche Groesse wie der Hell/Dunkel-Umschalter (38 x 38) */
.nav a.lang {
  width: 38px; height: 38px; padding: 0 !important; flex-shrink: 0;
  display: inline-grid; place-items: center; line-height: 0;
  border-radius: 999px; border: 0;
}
.lang .flag { display: block; width: 22px; height: 11px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.nav .btn-sm { height: 38px; }

/* "App laden" in der Navigation: eigener Hover (die allgemeine .nav a:hover-Regel
   wuerde sonst den gruenen Hintergrund durch einen hellen ersetzen -> weisse Schrift unsichtbar) */
.nav .btn-primary:hover { background: var(--brand-700); color: #fff !important; }

/* ---------- Schutz von Telefon/E-Mail vor Adresssammlern ---------- */
.ob { display: none !important; }
.obf { white-space: nowrap; }

/* ---------- Seite "Testphase beendet" (/tester/) ---------- */
.ended { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 48px 16px 72px; position: relative; overflow: hidden; }
.ended::before {
  content: ""; position: absolute; inset: -10% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 340px at 20% 10%, rgba(125,184,90,.28), transparent 65%),
    radial-gradient(520px 300px at 85% 80%, rgba(244,185,66,.18), transparent 65%);
}
.ended-card {
  width: 100%; max-width: 640px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 56px); box-shadow: var(--shadow-lg);
}
.ended-badge {
  width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 26px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--brand-500), var(--brand-700)); color: #fff;
  box-shadow: 0 16px 36px -12px rgba(63,122,50,.65);
  animation: endedPop .6s cubic-bezier(.2,1.4,.4,1) both;
}
.ended-badge svg { width: 44px; height: 44px; }
@keyframes endedPop { from { transform: scale(.4) rotate(-12deg); opacity: 0; } }
.ended-card h1 { font-size: clamp(1.9rem, 4.6vw, 2.7rem); margin: 10px 0 14px; }
.ended-card .lead { margin: 0 auto; max-width: 500px; }
.ended-thanks { margin: 22px auto 0; max-width: 500px; padding: 14px 18px; border-radius: 14px; background: var(--brand-50); border: 1px solid var(--line); color: var(--text-2); font-size: .95rem; }
.ended-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 30px; }
.ended-redirect { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; color: var(--text-3); font-size: .92rem; }
.ended-ring { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.ended-ring svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.ended-ring circle { fill: none; stroke-width: 4; }
.ended-ring .track { stroke: var(--line-2); }
.ended-ring .bar { stroke: var(--brand-500); stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.ended-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; color: var(--text); font-size: .95rem; }
.ended-stay { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
:root[data-theme="dark"] .ended-stay { color: var(--brand-400); }
.ended-redirect.stopped .ended-ring { display: none; }
@media (prefers-reduced-motion: reduce) { .ended-badge { animation: none; } .ended-ring .bar { transition: none; } }
