/* =================================================================
   eckn — Website Design System
   Inspiriert vom UI/UX der eckn-App (Nunito Sans, Bier-Orange →
   Happy-Hour-Pink, Routen-Türkis, warmes Cream, dunkles Ink).
   ================================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand colours (1:1 aus der App, lib/theme/app_tokens.dart) */
  --orange: #ff8a00;       /* Bier-Orange   (primary) */
  --pink: #e91e63;         /* Happy-Hour-Pink (secondary) */
  --turquoise: #00bfa5;    /* Routen-Türkis (tertiary) */
  --blue: #00b0ff;
  --yellow: #ffc107;       /* Akzent-Gelb */
  --purple: #7c4dff;

  /* Neutrals */
  --ink: #141416;          /* App-Splash / Icon-Hintergrund */
  --ink-soft: #1d1d21;
  --cream: #fff8f2;        /* sheetBackground */
  --surface-alt: #fff3e6;  /* surfaceAlt */
  --white: #ffffff;

  /* Text */
  --text: #16161a;
  --text-strong: #0b0b0d;
  --text-secondary: #616161;
  --text-muted: #8a8a8f;
  --text-on-dark: rgba(255, 255, 255, 0.92);
  --text-on-dark-dim: rgba(255, 255, 255, 0.66);

  /* Gradients */
  --grad-sunset: linear-gradient(135deg, #ff8a00 0%, #e91e63 100%);
  --grad-fresh: linear-gradient(135deg, #00bfa5 0%, #00b0ff 100%);
  --grad-night: linear-gradient(135deg, #7c4dff 0%, #00bfa5 100%);
  --grad-warm: linear-gradient(135deg, #e91e63 0%, #ffc107 100%);

  /* Radii (AppRadius) */
  --r-sm: 10px;
  --r-md: 14px;
  --r-field: 15px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-pill: 999px;

  /* Spacing (AppSpacing-Skala) */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 32px;
  --s-2xl: 48px;
  --s-3xl: 72px;
  --s-4xl: 112px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20, 20, 22, 0.06), 0 2px 8px rgba(20, 20, 22, 0.05);
  --shadow-md: 0 8px 24px rgba(20, 20, 22, 0.08);
  --shadow-lg: 0 20px 48px rgba(20, 20, 22, 0.12);
  --shadow-glow: 0 18px 40px rgba(233, 30, 99, 0.28);

  /* Layout */
  --maxw: 1160px;
  --maxw-narrow: 760px;
  --nav-h: 72px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 140ms;
  --t-normal: 240ms;
}

/* ---------- 2. Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
picture {
  max-width: 100%;
  display: block;
}

a {
  color: var(--pink);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
a:hover {
  color: var(--orange);
}

ul,
ol {
  padding-left: 1.25rem;
}

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

/* ---------- 3. Typography ---------- */
h1,
h2,
h3,
h4 {
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.05rem, 5.4vw, 4.25rem);
  font-weight: 900;
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.85rem);
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -0.01em;
}
h4 {
  font-size: 1.1rem;
  letter-spacing: 0;
}

p {
  color: var(--text-secondary);
}

.gradient-text {
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
}

/* ---------- 4. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container--narrow {
  max-width: var(--maxw-narrow);
}

.section {
  padding-block: clamp(3.5rem, 8vw, var(--s-4xl));
}

.section--tight {
  padding-block: clamp(2.5rem, 6vw, var(--s-3xl));
}

.section-head {
  max-width: 660px;
  margin-bottom: var(--s-2xl);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head p {
  margin-top: var(--s-md);
  font-size: 1.15rem;
}

.text-center {
  text-align: center;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border: 0;
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
    box-shadow var(--t-normal) var(--ease), filter var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn--primary {
  background: var(--grad-sunset);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn--ghost {
  background: rgba(20, 20, 22, 0.04);
  color: var(--text-strong);
}
.btn--ghost:hover {
  background: rgba(20, 20, 22, 0.08);
  color: var(--text-strong);
}

.btn--light {
  background: #fff;
  color: var(--pink);
  box-shadow: var(--shadow-md);
}
.btn--light:hover {
  color: var(--pink);
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
}

/* App-Store-Badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #fff;
  transition: transform var(--t-fast) var(--ease),
    box-shadow var(--t-normal) var(--ease);
  box-shadow: var(--shadow-sm);
}
.store-badge:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.store-badge svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.store-badge .small {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-on-dark-dim);
  line-height: 1.2;
}
.store-badge .big {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

/* ---------- 6. Header / Navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 248, 242, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-normal) var(--ease),
    background var(--t-normal) var(--ease);
}
.site-header.scrolled {
  border-bottom-color: rgba(20, 20, 22, 0.08);
  background: rgba(255, 248, 242, 0.88);
}
.nav {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 900;
}
.brand img {
  height: 30px;
  width: auto;
}

/* Text-Wordmark – crisp, skaliert perfekt, identisch zum Logo-Verlauf */
.wordmark {
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.045em;
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.wordmark--lg {
  font-size: 2rem;
  display: inline-block;
  margin-bottom: var(--s-md);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  color: var(--text);
  font-weight: 700;
  font-size: 0.98rem;
}
.nav-links a:hover {
  color: var(--pink);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 22, 0.05);
  border: 0;
  border-radius: var(--r-md);
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-strong);
  border-radius: 2px;
  transition: transform var(--t-normal) var(--ease),
    opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5.5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
/* min-width:0 verhindert, dass Grid-Items breiter als die Spalte werden
   (sonst überläuft der Hero-Text horizontal statt umzubrechen). */
.hero-grid > * {
  min-width: 0;
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.hero h1 {
  margin-block: 1rem 1.25rem;
}
.hero-sub {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 34ch;
}
.hero-actions {
  margin-top: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}
.hero-meta {
  margin-top: var(--s-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.4rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 700;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* weiche Gradient-Blobs im Hintergrund */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.blob--1 {
  width: 460px;
  height: 460px;
  background: var(--orange);
  top: -120px;
  right: -80px;
  opacity: 0.35;
}
.blob--2 {
  width: 380px;
  height: 380px;
  background: var(--pink);
  top: 120px;
  right: 180px;
  opacity: 0.28;
}
.blob--3 {
  width: 360px;
  height: 360px;
  background: var(--turquoise);
  bottom: -140px;
  left: -100px;
  opacity: 0.22;
}

/* ---------- 8. Phone-Mockup (CSS, kein Bild nötig) ---------- */
.phone-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  perspective: 1600px;
}
.phone {
  position: relative;
  width: min(310px, 78vw);
  aspect-ratio: 9 / 19.5;
  background: var(--ink);
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(20, 20, 22, 0.04);
  transform: rotate(-3deg);
  transition: transform var(--t-normal) var(--ease);
}
.phone:hover {
  transform: rotate(0deg) translateY(-6px);
}
.phone::before {
  /* Notch */
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: var(--ink);
  border-radius: var(--r-pill);
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 33px;
  overflow: hidden;
  background: #e9eef0;
}
/* stilisiertes Kartenraster */
.map-bg {
  position: absolute;
  inset: 0;
  background: #eef2f4;
  background-image: linear-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
}
.map-road {
  position: absolute;
  background: #dfe6ea;
  border-radius: 4px;
}
.map-road--1 {
  top: 26%;
  left: -5%;
  width: 110%;
  height: 16px;
  transform: rotate(-9deg);
}
.map-road--2 {
  top: 64%;
  left: -5%;
  width: 110%;
  height: 14px;
  transform: rotate(6deg);
}
.map-road--3 {
  top: -5%;
  left: 58%;
  width: 14px;
  height: 110%;
  transform: rotate(8deg);
}
.map-route {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.pin {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 6px 14px rgba(20, 20, 22, 0.28);
  z-index: 2;
  display: grid;
  place-items: center;
}
.pin::after {
  content: "";
  width: 11px;
  height: 11px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  transform: rotate(45deg);
}
.pin--pink {
  background: var(--grad-sunset);
  animation: pulse 2.4s var(--ease) infinite;
}
.pin--orange {
  background: linear-gradient(135deg, #ffe53b, #ffc107);
}
.pin--grey {
  background: linear-gradient(135deg, #90a4ae, #607d8b);
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 6px 14px rgba(233, 30, 99, 0.4),
      0 0 0 0 rgba(233, 30, 99, 0.35);
  }
  50% {
    box-shadow: 0 6px 14px rgba(233, 30, 99, 0.4),
      0 0 0 12px rgba(233, 30, 99, 0);
  }
}
/* App-Sheet unten im Mockup */
.phone-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  background: var(--cream);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 14px 16px 18px;
  box-shadow: 0 -10px 30px rgba(20, 20, 22, 0.12);
}
.phone-sheet .grab {
  width: 40px;
  height: 5px;
  background: rgba(20, 20, 22, 0.15);
  border-radius: var(--r-pill);
  margin: 0 auto 12px;
}
.phone-sheet .ps-title {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--text-strong);
}
.phone-sheet .ps-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 800;
}
.chip--live {
  background: rgba(233, 30, 99, 0.12);
  color: var(--pink);
}
.chip--turq {
  background: rgba(0, 191, 165, 0.14);
  color: #00897b;
}
.phone-sheet .ps-btn {
  margin-top: 12px;
  width: 100%;
  text-align: center;
  background: var(--grad-fresh);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 11px;
  border-radius: var(--r-md);
}
/* Echter Screenshot füllt den Phone-Screen */
.phone-screen picture {
  display: block;
  width: 100%;
  height: 100%;
}
.phone-shot,
.phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 8b. Screenshot-Galerie ---------- */
.showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-lg);
  margin-top: var(--s-xl);
  align-items: start;
}
.shot {
  margin: 0;
  text-align: center;
}
.phone--sm {
  width: 100%;
  border-radius: 30px;
  padding: 8px;
  transform: rotate(0deg);
}
.phone--sm::before {
  top: 13px;
  width: 78px;
  height: 18px;
}
.phone--sm .phone-screen {
  border-radius: 23px;
}
.phone--sm:hover {
  transform: translateY(-6px);
}
.shot figcaption {
  margin-top: var(--s-md);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-strong);
}

/* ---------- 9. Logo-/Stat-Strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-md);
}
.stat {
  text-align: center;
  padding: var(--s-md);
}
.stat .num {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .lbl {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ---------- 10. Feature cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-lg);
}
.card {
  background: var(--white);
  border: 1px solid rgba(20, 20, 22, 0.05);
  border-radius: var(--r-xl);
  padding: var(--s-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-normal) var(--ease),
    box-shadow var(--t-normal) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card h3 {
  margin-block: var(--s-md) var(--s-sm);
}
.card p {
  font-size: 1rem;
}
.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.icon-badge svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
}
.bg-sunset {
  background: var(--grad-sunset);
}
.bg-fresh {
  background: var(--grad-fresh);
}
.bg-night {
  background: var(--grad-night);
}
.bg-warm {
  background: var(--grad-warm);
}

/* ---------- 11. Color-Code legend ---------- */
.legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-md);
  margin-top: var(--s-xl);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--s-md);
  box-shadow: var(--shadow-sm);
}
.dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--pink {
  background: var(--grad-sunset);
}
.dot--yellow {
  background: linear-gradient(135deg, #ffe53b, #ffc107);
}
.dot--grey {
  background: linear-gradient(135deg, #90a4ae, #607d8b);
}
.legend-item b {
  color: var(--text-strong);
}
.legend-item span {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ---------- 12. How it works (Steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface-alt);
  border-radius: var(--r-xl);
  padding: var(--s-xl) var(--s-lg) var(--s-lg);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: calc(-1 * var(--s-md));
  left: var(--s-lg);
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.25rem;
  color: #fff;
  background: var(--grad-sunset);
  box-shadow: var(--shadow-glow);
}
.step h3 {
  margin-block: var(--s-md) var(--s-sm);
}

/* ---------- 13. Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-lg);
}
.quote {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--s-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}
.quote .stars {
  color: var(--orange);
  letter-spacing: 2px;
  font-size: 1.05rem;
}
.quote p {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
}
.quote .who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  flex-shrink: 0;
}
.who b {
  display: block;
  color: var(--text-strong);
  font-size: 0.98rem;
}
.who small {
  color: var(--text-muted);
}

/* ---------- 14. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--r-2xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  color: #fff;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  color: var(--text-on-dark-dim);
  max-width: 48ch;
  margin: var(--s-md) auto var(--s-xl);
  font-size: 1.15rem;
}
.cta-band .store-badges {
  justify-content: center;
}
.cta-band .store-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.cta-band .blob {
  opacity: 0.5;
}
.cta-band .blob--1 {
  top: -160px;
  right: -120px;
}
.cta-band .blob--3 {
  bottom: -200px;
  left: -120px;
  background: var(--purple);
}

/* ---------- 15. FAQ accordion ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  max-width: 820px;
  margin-inline: auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid rgba(20, 20, 22, 0.06);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: var(--s-md) var(--s-lg);
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-strong);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
  border-radius: 50%;
  background: var(--surface-alt);
  transition: background var(--t-fast) var(--ease);
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2.5px;
  background: var(--orange);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--t-normal) var(--ease);
}
.faq-q .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item[open] .faq-q .plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-a {
  padding: 0 var(--s-lg) var(--s-md);
  color: var(--text-secondary);
}
/* <details>-Variante */
details.faq-item summary {
  list-style: none;
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}

/* ---------- 16. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark);
  padding-block: clamp(3rem, 6vw, 4.5rem) var(--s-xl);
  margin-top: var(--s-2xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s-xl);
}
.footer-brand img {
  height: 32px;
  margin-bottom: var(--s-md);
}
.footer-brand p {
  color: var(--text-on-dark-dim);
  max-width: 34ch;
  font-size: 0.98rem;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--s-md);
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.footer-social a:hover {
  background: var(--grad-sunset);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 20px;
  height: 20px;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: var(--s-md);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-col a {
  color: var(--text-on-dark-dim);
  font-weight: 600;
  font-size: 0.98rem;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  margin-top: var(--s-2xl);
  padding-top: var(--s-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-md);
  color: var(--text-on-dark-dim);
  font-size: 0.9rem;
}

/* ---------- 17. Legal / content pages ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  background: var(--surface-alt);
  border-bottom: 1px solid rgba(20, 20, 22, 0.05);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}
.page-hero p {
  margin-top: var(--s-md);
  font-size: 1.1rem;
  max-width: 60ch;
}
.page-hero .updated {
  display: inline-block;
  margin-top: var(--s-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.legal {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.toc h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s-sm);
}
.toc ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-left: 2px solid rgba(20, 20, 22, 0.08);
}
.toc a {
  display: block;
  padding: 0.35rem 0.9rem;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.92rem;
  border-left: 2px solid transparent;
  margin-left: -2px;
}
.toc a:hover {
  color: var(--pink);
}

.legal-body {
  max-width: 760px;
}
.legal-card {
  background: var(--white);
  border: 1px solid rgba(20, 20, 22, 0.05);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--s-md);
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.legal-card h2 {
  font-size: 1.35rem;
  margin-bottom: var(--s-sm);
}
.legal-card h3 {
  font-size: 1.1rem;
  margin-block: var(--s-md) var(--s-xs);
}
.legal-card p,
.legal-card li {
  color: var(--text-secondary);
  font-size: 1rem;
}
.legal-card p + p {
  margin-top: var(--s-sm);
}
.legal-card ul,
.legal-card ol {
  margin-top: var(--s-sm);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.legal-card strong {
  color: var(--text-strong);
}
.callout {
  display: flex;
  gap: var(--s-md);
  background: var(--surface-alt);
  border-radius: var(--r-md);
  padding: var(--s-md);
  margin-top: var(--s-md);
}
.callout .icon-badge {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.callout .icon-badge svg {
  width: 20px;
  height: 20px;
}
.callout p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- 18. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid rgba(20, 20, 22, 0.05);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}
.field {
  margin-bottom: var(--s-md);
}
.field label {
  display: block;
  font-weight: 800;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--text-strong);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(20, 20, 22, 0.04);
  border: 1.5px solid transparent;
  border-radius: var(--r-field);
  padding: 0.85rem 1rem;
  transition: border-color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.field .hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.checkbox-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.checkbox-row input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--pink);
  flex-shrink: 0;
}
.contact-side {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}
.contact-method {
  display: flex;
  gap: var(--s-md);
  align-items: flex-start;
  background: var(--surface-alt);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
}
.contact-method .icon-badge {
  flex-shrink: 0;
}
.contact-method b {
  color: var(--text-strong);
  display: block;
  font-size: 1.05rem;
}
.contact-method p {
  margin-top: 0.2rem;
  font-size: 0.95rem;
}
.form-success {
  display: none;
  background: rgba(0, 191, 165, 0.12);
  color: #00796b;
  border-radius: var(--r-md);
  padding: var(--s-md);
  font-weight: 700;
  margin-bottom: var(--s-md);
}
.form-success.show {
  display: block;
}
.form-error {
  display: none;
  background: rgba(233, 30, 99, 0.1);
  color: #c2185b;
  border-radius: var(--r-md);
  padding: var(--s-md);
  font-weight: 700;
  margin-bottom: var(--s-md);
}
.form-error a {
  color: inherit;
  text-decoration: underline;
}
.form-error.show {
  display: block;
}

/* ---------- 19. Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: clamp(12px, 3vw, 28px);
  transform: translate(-50%, 140%);
  width: min(680px, calc(100% - 32px));
  background: var(--white);
  border: 1px solid rgba(20, 20, 22, 0.08);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-md);
  transition: transform var(--t-normal) var(--ease),
    opacity var(--t-normal) var(--ease);
  opacity: 0;
}
.cookie-banner.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
.cookie-banner .cb-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.cookie-banner .cb-text {
  flex: 1 1 280px;
}
.cookie-banner .cb-text b {
  color: var(--text-strong);
  font-size: 1.05rem;
}
.cookie-banner .cb-text p {
  margin-top: 0.2rem;
  font-size: 0.9rem;
}
.cookie-banner .cb-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.cookie-banner .btn {
  padding: 0.7rem 1.2rem;
  font-size: 0.92rem;
}

/* ---------- 20. Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub {
    margin-inline: auto;
  }
  .hero-actions {
    align-items: center;
  }
  .store-badges,
  .hero-meta {
    justify-content: center;
  }
  .phone-wrap {
    order: -1;
    margin-bottom: var(--s-lg);
  }
  .legal {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-xl) var(--s-lg);
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav .nav-cta .btn {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  /* Mobile-Menü (eingeblendet) */
  .site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(20, 20, 22, 0.08);
    padding: var(--s-sm) clamp(1.25rem, 4vw, 2.5rem) var(--s-md);
    box-shadow: var(--shadow-md);
  }
  .site-header.open .nav-links a {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(20, 20, 22, 0.06);
    font-size: 1.05rem;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: var(--s-xl);
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-sm);
  }
  .cta-band .store-badges {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--s-lg);
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner .cb-actions {
    width: 100%;
  }
  .cookie-banner .cb-actions .btn {
    flex: 1;
  }
}

/* ---------- 22. Motion / a11y preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Print: Rechtstexte sauber ausdruckbar */
@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .toc,
  .page-hero .updated {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .legal {
    grid-template-columns: 1fr;
  }
  .legal-card {
    box-shadow: none;
    border-color: #ddd;
    break-inside: avoid;
  }
}
