/* Herzvia – Website. Bewusst ohne externe Schriften oder CDNs
   (DSGVO: keine Datenübertragung an Dritte beim Seitenaufruf). */

:root {
  --coral: #E8402A;
  --coral-dark: #C4301C;
  --coral-soft: #FFEDE8;
  --coral-tint: #FFF6F3;
  --ink: #1E1916;
  --ink-2: #4A413C;
  --muted: #7A6E68;
  --line: #EFE4DF;
  --paper: #FFFBF9;
  --white: #FFFFFF;
  --green: #2E7D32;
  --green-soft: #E7F3E8;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(60, 30, 20, .05), 0 12px 32px -12px rgba(60, 30, 20, .14);
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--coral-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 14px; z-index: 99; }

/* ── Header ─────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 251, 249, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.brand .via { color: var(--coral); }
.brand-mark { width: 38px; height: 38px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 16px; font-weight: 600; }
.nav a:hover { color: var(--coral-dark); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 0;
  font: 700 17px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: var(--white); box-shadow: 0 8px 20px -8px rgba(232, 64, 42, .55); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--coral); }
.top .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ── Hero ───────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 64px 0 88px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, #FFD9CF, rgba(255, 217, 207, 0));
  z-index: -1;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--coral-soft); color: var(--coral-dark);
  font-size: 15px; font-weight: 700;
}
.hero h1 { font-size: clamp(42px, 6.2vw, 72px); margin: 20px 0 20px; font-weight: 850; }
.hero h1 em { font-style: normal; color: var(--coral); }
.lead { font-size: clamp(19px, 2vw, 22px); color: var(--ink-2); max-width: 34ch; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 8px 22px 8px 16px;
  background: var(--ink); color: var(--white); text-decoration: none;
  border-radius: 16px; transition: transform .15s ease, opacity .15s;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 28px; height: 28px; fill: currentColor; }
.store small { display: block; font-size: 12px; opacity: .75; line-height: 1.2; }
.store strong { display: block; font-size: 19px; line-height: 1.2; }
.store.soon { background: var(--white); color: var(--ink); border: 1.5px dashed #D8C9C2; cursor: default; }
.store.soon:hover { transform: none; }
.hero-note { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* Phone illustration */
.phone {
  position: relative; margin-inline: auto;
  width: min(340px, 100%); aspect-ratio: 9 / 18.5;
  background: var(--ink); border-radius: 48px; padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(60, 30, 20, .45);
  transform: rotate(2.5deg);
}
.screen { height: 100%; border-radius: 38px; background: #FAF7F5; overflow: hidden; padding: 22px 16px; display: flex; flex-direction: column; gap: 12px; }
.screen-head { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 19px; }
.screen-head .via { color: var(--coral); }
.sos { font-size: 12px; font-weight: 800; color: var(--coral); background: var(--coral-soft); padding: 5px 10px; border-radius: 10px; }
.screen-hero { background: linear-gradient(135deg, #FF6B4F, var(--coral)); color: var(--white); border-radius: 20px; padding: 16px; }
.screen-hero b { font-size: 16px; display: block; }
.screen-hero span { font-size: 12.5px; opacity: .9; display: block; margin-top: 4px; line-height: 1.4; }
.screen-hero .pill { display: inline-block; margin-top: 12px; background: var(--white); color: var(--coral-dark); font-size: 12px; font-weight: 800; padding: 7px 12px; border-radius: 10px; }
.mini {
  background: var(--white); border-radius: 16px; padding: 12px;
  display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.mini i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 19px; }
.mini b { font-size: 13.5px; display: block; line-height: 1.25; }
.mini span { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.tick { color: var(--green); font-weight: 800; }
.float-badge {
  position: absolute; left: -28px; bottom: 90px;
  background: var(--white); border-radius: 18px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; transform: rotate(-2.5deg);
}
.float-badge .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 18px; }

/* ── Sections ───────────────────────────────────── */
section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { color: var(--coral-dark); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); margin: 10px 0 16px; font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 19px; }

.mission { background: var(--white); border-block: 1px solid var(--line); }
.mission .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.mission blockquote { margin: 0; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.3; font-weight: 750; letter-spacing: -0.02em; }
.mission blockquote em { font-style: normal; color: var(--coral); }
.mission .text p + p { margin-top: 18px; }
.mission .text p { color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--coral); color: var(--white); font-weight: 800; font-size: 20px; margin-bottom: 20px;
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 17px; }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.cat i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-style: normal; font-size: 24px; }
.cat b { font-size: 18px; line-height: 1.25; }
.cat span { font-size: 15px; color: var(--muted); line-height: 1.45; }

.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aud { border-radius: 28px; padding: 36px; }
.aud h3 { font-size: 28px; margin-bottom: 12px; }
.aud ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.aud li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.aud li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; margin-top: 1px; }
.aud-need { background: var(--coral-soft); }
.aud-need li::before { background: var(--white); color: var(--coral-dark); }
.aud-help { background: var(--ink); color: var(--white); }
.aud-help p { color: #D9CFCA; }
.aud-help li::before { background: var(--coral); color: var(--white); }

.safety { background: var(--white); border-block: 1px solid var(--line); }
.safety-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.safe { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.safe i { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-style: normal; font-size: 26px; background: var(--white); border: 1px solid var(--line); }
.safe h3 { font-size: 20px; margin-bottom: 6px; }
.safe p { color: var(--ink-2); font-size: 16.5px; }

.a11y { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.a11y-demo { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 28px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 16px; background: var(--paper); }
.a11y-row b { font-size: 17px; }
.a11y-row span { font-size: 14px; color: var(--muted); display: block; font-weight: 400; }
.sizes { display: flex; gap: 6px; }
.sizes em { font-style: normal; font-weight: 800; border-radius: 10px; padding: 6px 10px; background: var(--white); border: 1px solid var(--line); }
.sizes em.on { background: var(--coral); color: var(--white); border-color: var(--coral); }
.switch { width: 52px; height: 30px; border-radius: 999px; background: var(--green); position: relative; flex: none; }
.switch::after { content: ""; position: absolute; right: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 700; font-size: 19px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 28px; line-height: .8; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--ink-2); }

.cta { padding: 0 0 96px; }
.cta-box {
  background: linear-gradient(135deg, #FF6B4F 0%, var(--coral) 55%, var(--coral-dark) 100%);
  color: var(--white); border-radius: 36px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-box h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; }
.cta-box p { font-size: 20px; opacity: .92; margin: 14px auto 0; max-width: 40ch; }
.cta-box .stores { justify-content: center; }
.cta-box .store { background: var(--white); color: var(--ink); }
.cta-box .store.soon { background: rgba(255,255,255,.14); color: var(--white); border-color: rgba(255,255,255,.5); }

/* ── Footer ─────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 16px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--coral-dark); }

/* ── Legal / simple pages ───────────────────────── */
.page { padding: 56px 0 96px; }
.page .wrap { max-width: 800px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 12px; font-weight: 800; }
.page .sub { color: var(--muted); margin-bottom: 36px; }
.page h2 { font-size: 24px; margin: 40px 0 12px; }
.page h3 { font-size: 19px; margin: 24px 0 8px; }
.page p, .page li { color: var(--ink-2); }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; }
.ph { background: #FFF3C4; color: #6B4E00; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.notice { background: #FFF8E1; border: 1px solid #F3D98A; color: #5C4600; padding: 16px 20px; border-radius: 16px; margin-bottom: 28px; font-size: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card + .card { margin-top: 16px; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 960px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero { padding: 40px 0 64px; }
  .hero .wrap, .mission .wrap, .a11y { grid-template-columns: 1fr; gap: 48px; }
  .phone { width: min(300px, 86%); }
  .float-badge { left: 0; }
  .steps { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .audience, .safety-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .cats { grid-template-columns: 1fr; }
  .aud { padding: 28px 22px; }
  .cta-box { padding: 48px 22px; border-radius: 28px; }
  .store { width: 100%; }
  .top .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
