/* =========================================================
   Wunschlist – Website-Styles (2026)
   Keine externen Ressourcen: keine Google Fonts, kein CDN.
   Schrift: Systemschrift (SF Pro / Segoe / Roboto). Optional Outfit und
   Plus Jakarta Sans selbst hosten: woff2 nach /fonts/ legen und hier
   @font-face-Regeln ergänzen – sie stehen bereits vorne in den Stacks.
   ========================================================= */


:root {
  --ground: #FFF8F6;
  --card: #FFFFFF;
  --line: #F6E3E3;
  --ink: #2B1B2E;
  --ink-2: #5B4660;
  --ink-3: #7A6680;
  --accent: #E2448A;
  --accent-text: #C2306F;
  --accent-dark: #A3245C;
  --pink-soft: #FFE4EC;
  --lilac-soft: #F1E8FB;
  --lilac-ink: #6E2F91;
  --grad: linear-gradient(135deg, #FF6F91 0%, #E2448A 50%, #8E3FA8 100%);
  --display: "Outfit", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-text); }
a:hover { color: #8E1F52; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #8E3FA8; outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.section-lead { color: var(--ink-2); font-size: 1.12rem; margin-bottom: 36px; max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block;
  font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badges img { height: 54px; width: auto; }

/* ---------- HERO (Gradient) ---------- */
.hero { background: var(--grad); color: #fff; overflow: hidden; }
.nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px;
  padding-top: 20px; padding-bottom: 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px; margin-right: auto;
  color: #fff; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px;
}
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.brand:hover { color: #fff; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 26px; font-weight: 600; }
.nav-links a { color: #fff; text-decoration: none; opacity: .92; }
.nav-links a:hover { opacity: 1; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.nav-cta {
  background: #fff; color: #B8236D; text-decoration: none; font-weight: 700;
  padding: 11px 22px; border-radius: 14px;
}
.nav-cta:hover { color: #7A1748; }

.hero-text { max-width: 1000px; margin: 0 auto; padding: 56px 24px 0; text-align: center; }
.pill-light {
  display: inline-block; margin-bottom: 22px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4);
  font-weight: 700; font-size: 15px; padding: 7px 16px; border-radius: 999px; color: #fff; text-decoration: none;
}
.pill-light:hover { color: #fff; background: rgba(255,255,255,.26); }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: .98; font-weight: 900; letter-spacing: -.03em;
  margin-bottom: 22px;
}
.hero-lead { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 620px; margin: 0 auto 34px; color: #FFEAF2; }
.hero .store-badges { justify-content: center; }
.hero-phones {
  max-width: 1100px; margin: 64px auto 0; padding: 0 24px;
  display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 2vw, 28px);
}
.hero-phone {
  border: 8px solid #1E0F24; border-bottom: 0; border-radius: 36px 36px 0 0;
  overflow: hidden; background: #fff;
}
.hero-phone.side { flex: 0 1 220px; height: 300px; }
.hero-phone.side.left { transform: rotate(-6deg) translateY(30px); }
.hero-phone.side.right { transform: rotate(6deg) translateY(30px); }
.hero-phone.main { flex: 0 1 260px; height: 400px; border-radius: 40px 40px 0 0; position: relative; z-index: 1; }
.hero-phone img { width: 100%; }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 22px 24px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line); background: #fff; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { flex: none; }

/* ---------- Karten / Raster ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.card h3 { font-size: 1.12rem; margin: 14px 0 6px; }
.card p { color: var(--ink-2); }
.step-num {
  width: 44px; height: 44px; border-radius: 14px; background: var(--pink-soft); color: var(--accent-dark);
  font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.step-num + h3 { margin-top: 16px; }

/* ---------- Telefon-Rahmen ---------- */
.phone {
  border: 7px solid var(--ink); border-radius: 36px; overflow: hidden; background: #fff;
  box-shadow: 0 24px 50px rgba(162,36,92,.18);
}
.phone img { width: 100%; }

/* ---------- Wichteln ---------- */
.wichtel {
  background: var(--lilac-soft); border-radius: 36px; padding: clamp(28px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
}
.wichtel-text { flex: 1 1 420px; min-width: 0; }
.wichtel .eyebrow { color: var(--lilac-ink); }
.wichtel h2 { font-family: var(--display); font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.015em; margin-bottom: 14px; }
.wichtel-claim { font-size: 1.25rem; font-weight: 700; color: var(--lilac-ink); margin-bottom: 12px; }
.wichtel-text > p { color: #4A3A55; font-size: 1.1rem; margin-bottom: 28px; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; margin-top: 2px; }
.wichtel-phones { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; align-items: flex-start; gap: 20px; padding-bottom: 32px; }
.wichtel-phones .phone { width: 220px; box-shadow: 0 24px 50px rgba(110,47,145,.2); }
.wichtel-phones .phone:last-child { transform: translateY(32px); }

/* ---------- Geteilte Liste ---------- */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.split > * { min-width: 0; }
.split-text { flex: 1 1 360px; }
.split-text .section-lead { margin-bottom: 24px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none;
  color: var(--accent-text); border: 2px solid #F3C6D7; padding: 12px 20px; border-radius: 999px;
}
.btn-outline:hover { border-color: var(--accent); }
.browser { flex: 1 1 520px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px rgba(43,27,46,.08); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #FBF1F1; font-size: 12px; color: var(--ink-3); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #F3C6D7; }
.browser-bar span { margin-left: 10px; }
.browser-body { padding: 24px; }
.browser-body .owner { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.browser-body h3 { font-size: 1.4rem; margin: 2px 0 18px; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.mini { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mini .ph { height: 90px; }
.mini div:last-child { padding: 12px; font-size: 14px; }
.mini strong { display: block; margin-bottom: 2px; }
.mini .price { color: var(--accent-text); font-weight: 700; }
.mini .always { color: var(--ink-3); font-weight: 600; font-size: 13px; }

/* ---------- Vergleich ---------- */
.table-box { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 22px; text-align: left; }
.compare thead th { padding-top: 18px; padding-bottom: 18px; color: var(--ink-3); font-weight: 600; }
.compare thead th.us { color: var(--accent-dark); font-weight: 800; }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 600; }
.compare td.them { color: var(--ink-3); }
.compare td.us { font-weight: 600; }
.compare-foot { text-align: center; margin-top: 22px; color: var(--ink-2); font-weight: 600; }

/* ---------- Geschichte ---------- */
.story {
  max-width: 1000px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 32px;
  padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 36px;
}
.story-head { flex: 1 1 260px; min-width: 0; }
.story-head .eyebrow { color: var(--accent-dark); }
.story-head h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; }
.story-body { flex: 2 1 420px; min-width: 0; color: #4A3A55; font-size: 1.05rem; }
.story-body p { margin-bottom: 14px; }
.story-body details { margin: 4px 0 22px; }
.story-body summary { cursor: pointer; font-weight: 700; color: var(--accent-text); }
.story-body details p { margin-top: 12px; }
.btn-dark {
  display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff;
  text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 999px;
}
.btn-dark:hover { color: #fff; background: #4A2F50; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-2); }

/* ---------- CTA + Footer ---------- */
.cta {
  background: var(--accent); color: #fff; border-radius: 36px; padding: clamp(32px, 6vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; line-height: 1.1; margin-bottom: 8px; }
.cta p { color: #FFE9F1; font-size: 1.1rem; }
.cta > div:first-child { flex: 1 1 380px; min-width: 0; }

.footer { border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: 14px; color: var(--ink-2); }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-cols > div { flex: 1 1 220px; }
.footer-cols h4 { margin: 0 0 6px; font-size: 14px; color: var(--ink); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 17px; margin-bottom: 8px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }
.footer-links { display: grid; gap: 4px; }
.impressum { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.impressum h4 { margin: 0 0 6px; color: var(--ink-2); font-size: 13px; }
.copy { margin-top: 20px; font-size: 13px; color: var(--ink-3); }

/* ---------- Unterseiten (Detail, Hilfe, Rechtliches) ---------- */
.hero.small .hero-text { padding: 24px 24px 56px; }
.hero.small h1 { font-size: clamp(1.9rem, 5vw, 3.6rem); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.prose { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 5vw, 52px); }
.prose h2 { font-family: var(--display); font-size: 1.6rem; margin: 32px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 22px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; color: #4A3A55; }
.prose img { border-radius: 18px; margin: 18px auto; }


/* ---------- Unterseiten: Feature-Zeilen ---------- */
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; opacity: 1; }
.feature { padding: 48px 0; }
.feature-row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.feature.flip .feature-row { flex-direction: row-reverse; }
.feature-text { flex: 1 1 420px; min-width: 0; }
.feature-text p { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 14px; }
.feature-text .btn-outline { margin-top: 6px; }
.feature-media { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.feature-media > .phone { width: 260px; }
.feature-media img { width: 100%; }
.phone-pair { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.phone-pair .phone { width: 220px; box-shadow: 0 24px 50px rgba(110,47,145,.2); }
.phone-pair .phone:last-child { margin-top: 36px; }
.steps-list { margin: 0 0 16px; padding-left: 1.3em; color: var(--ink-2); font-size: 1.08rem; display: grid; gap: 10px; }

/* ---------- Rechtstexte ---------- */
.legal h2 { padding-top: 8px; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 6px; }
.legal .info-box { background: var(--pink-soft); border-radius: 18px; padding: 20px 24px; margin: 0 0 24px; }
.legal .info-box p:last-child { margin-bottom: 0; }
.legal .info-box h2 { margin-top: 0; }
.legal .highlight { font-weight: 700; color: var(--accent-dark); }
.legal a { word-break: break-word; }

/* ---------- Handy ---------- */
@media (max-width: 720px) {
  .section { padding: 48px 0; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 4px 18px; font-size: 15px; }
  .hero-text { padding-top: 32px; }
  .hero-phone.side { display: none; }
  .hero-phone.main { flex-basis: 240px; height: 340px; }
  .hero-phones { margin-top: 44px; }
  .wichtel-phones .phone { width: 46%; }
  .store-badges img { height: 48px; }
  .feature.flip .feature-row { flex-direction: row; }
  .phone-pair .phone { width: 46%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq summary::after { transition: none; }
}

/* =========================================================
   Ergänzungen 11/2026: Deutsch/Englisch, Mockups, Download-Leiste
   ========================================================= */

/* ---------- Mobile Download-Leiste (nur iOS/Android, per Klasse am <html>) ---------- */
.dlbar { display: none; }
html.dl .dlbar {
  display: flex; position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: calc(64px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 16px 0;
  align-items: center; gap: 12px;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(43,27,46,.10);
}
html.dl body { padding-top: calc(64px + env(safe-area-inset-top)); }
html.dl { scroll-padding-top: 84px; }
.dlbar img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.dlbar-text { flex: 1; min-width: 0; line-height: 1.25; }
.dlbar-text strong { display: block; font-family: var(--display); font-size: 16px; color: var(--ink); }
.dlbar-text span { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlbar-btn {
  flex: none; background: var(--accent); color: #fff; text-decoration: none; font-weight: 800;
  padding: 0 22px; min-height: 44px; border-radius: 999px; align-items: center;
}
.dlbar-btn:hover { color: #fff; background: var(--accent-dark); }
.dlbar .only-ios, .dlbar .only-android { display: none; }
html.dl-ios .dlbar-text .only-ios, html.dl-android .dlbar-text .only-android { display: block; }
html.dl-ios .dlbar-btn.only-ios, html.dl-android .dlbar-btn.only-android { display: inline-flex; }

/* ---------- Sprachschalter ---------- */
.lang-switch { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 15px; }
.lang-switch a, .lang-switch span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 40px; padding: 0 6px; border-radius: 10px; color: #fff; text-decoration: none;
}
.lang-switch a { opacity: .85; }
.lang-switch a:hover { opacity: 1; color: #fff; background: rgba(255,255,255,.15); }
.lang-switch span { background: rgba(255,255,255,.22); }
.lang-switch i { font-style: normal; opacity: .55; }
.lang-switch.dark a, .lang-switch.dark span { color: var(--ink-2); }
.lang-switch.dark a:hover { color: var(--ink); background: var(--pink-soft); }
.lang-switch.dark span { background: var(--pink-soft); color: var(--accent-dark); }

/* ---------- Store-Knöpfe (eigene Gestaltung) ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px;
  background: #1E0F24; color: #fff; text-decoration: none;
  padding: 8px 20px 8px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.28);
}
.badge:hover { color: #fff; background: #3A1D44; }
.badge span { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--display); font-weight: 800; font-size: 19px; }
.badge small { font-family: var(--body); font-weight: 600; font-size: 11px; opacity: .85; letter-spacing: .02em; }
.badge svg { flex: none; }

/* ---------- Mockups (Bilder mit Rahmen, ohne Text) ---------- */
.hero-phone { border: 0; border-radius: 0; background: none; overflow: hidden; }
.hero-phone picture, .hero-phone img, .mock picture, .mock img { display: block; width: 100%; height: auto; }
.hero-phone.side { flex: 0 1 230px; height: 330px; }
.hero-phone.main { flex: 0 1 280px; height: 430px; border-radius: 0; }
.mock img { filter: drop-shadow(0 22px 34px rgba(110,47,145,.22)); }
.phone-pair .mock { width: 230px; min-width: 0; }
.phone-pair .mock:last-child { margin-top: 40px; }
.single-mock { display: flex; justify-content: center; }
.single-mock .mock { width: 270px; }
.wichtel .phone-pair { flex: 1 1 380px; min-width: 0; padding-bottom: 8px; }
.split > .phone-pair, .split > .single-mock { flex: 1 1 360px; }
.split.reverse { flex-direction: row-reverse; }

/* 9 Funktionskarten: drei pro Reihe */
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* ---------- Footer ---------- */
.footer-h { margin: 0 0 6px; font-family: var(--body); font-size: 14px; color: var(--ink); }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-bottom .copy { margin: 0; }

/* ---------- Handy ---------- */
@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero-phone.main { flex-basis: 250px; height: 360px; }
  .phone-pair .mock { width: 46%; }
  .phone-pair .mock:last-child { margin-top: 28px; }
  .single-mock .mock { width: 62%; max-width: 270px; }
  .split.reverse { flex-direction: row; }
  .badge { min-height: 52px; padding: 6px 16px 6px 12px; }
  .badge span { font-size: 17px; }
}
@media (max-width: 480px) {
  html.dl .nav-cta { display: none; }   /* Download steht schon in der Leiste oben */
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .nav { column-gap: 10px; }
  .lang-switch a, .lang-switch span { min-width: 36px; padding: 0 4px; }
  .store-badges { justify-content: center; }
  .cta .store-badges { justify-content: flex-start; }
}
