/* =================================================================
   FALSCHGETANKT — Landing Page
   Design system: "Signal amber on ink" · Archivo + Instrument Sans + Fraunces
   All theme values live in :root tokens below — swap freely.
   ================================================================= */

/* Self-hosted latin woff2 — same families/axes as the former Google Fonts link */
@font-face{font-family:'Archivo';font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(fonts/archivo-latin.woff2?v=2f7ea45b) format('woff2')}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/fraunces-latin.woff2?v=5d283517) format('woff2')}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/instrument-sans-latin.woff2?v=e35fad09) format('woff2')}

:root {
  /* ---- Color tokens ---- */
  --ink:        #0E0E10;   /* near-black base */
  --ink-soft:   #1A1A1E;   /* raised surfaces on dark */
  --paper:      #FAF8F4;   /* warm off-white */
  --paper-2:    #F1EEE7;   /* alt section bg */
  --line:       #E4DFD5;   /* hairlines on paper */
  --line-dark:  #26262B;   /* hairlines on ink */
  --line-strong:#6E6A62;   /* boundary of an actual control — 5.08:1 on paper (WCAG 1.4.11) */

  --text:       #17171A;   /* body text on paper */
  --text-soft:  #56534C;   /* muted text on paper */
  --text-invert:#FAF8F4;   /* text on ink */
  --text-invert-soft: #A7A39A;

  --accent:     #FFD100;   /* brand yellow (matches logo) */
  --accent-600: #E9BC00;   /* pressed / hover */
  --accent-ink: #17130A;   /* text on yellow */
  --accent-on-paper: #8A6D00; /* dark amber for accent TEXT/ICONS on paper (WCAG AA ~4.6:1) */
  --accent-on-alt:   #644600; /* same, but for the --paper-2 sections (7.5:1) */
  --wa:         #0E7439;   /* WhatsApp green — white-text WCAG AA (5.87:1) */
  --wa-600:     #0B5C2E;   /* pressed / hover */

  /* ---- Type ---- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-heading: "Archivo", "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* ---- Scale / rhythm ---- */
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 14px;
  --radius-sm: 10px;
  --section-y: clamp(64px, 9vw, 120px);

  --shadow-sm: 0 1px 2px rgba(14,14,16,.06), 0 2px 8px rgba(14,14,16,.05);
  --shadow-cta: 0 10px 28px rgba(255,209,0,.30);
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv05";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
/* Headlines in Archivo at normal width — the expanded cut is reserved for the
   logo. Serif (Fraunces) is reserved for accent NUMBERS only via .stat /
   .price-figure / .step-no. */
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.16;
  color: var(--ink);
}
p { margin: 0; text-wrap: pretty; }
.serif { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--text-soft); }
.center { text-align: center; }

/* Keep focused elements clear of the sticky header + sticky mobile call bar */
html { scroll-padding-top: 84px; scroll-padding-bottom: 96px; }

/* ---------------------------------------------------------------- Focus & skip link (a11y) */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 5px;
}
.btn-primary:focus-visible,
.mobile-call:focus-visible { outline-offset: 3px; }
/* On the dark footer / CTA band, a light outline reads better */
.site-footer :focus-visible,
.cta-band :focus-visible { outline-color: var(--accent); }

.skip-link {
  position: absolute; left: 12px; top: 12px; z-index: 100;
  transform: translateY(calc(-100% - 12px));   /* off-canvas by its own height, so it never covers the header at any zoom */
  background: var(--ink); color: var(--text-invert);
  padding: .7em 1.1em; border-radius: 9px; font-weight: 600;
  transition: transform .15s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------------------------------------------------------------- Icons */
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------------------------------------------------------------- Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 1.1rem;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,209,0,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,209,0,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255,209,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,209,0,0); }
}

/* ---------------------------------------------------------------- Buttons */
.btn {
  --pad-y: .8em; --pad-x: 1.15em;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; transition: transform .15s var(--ease), background .2s, box-shadow .2s, border-color .2s;
  text-align: left; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--accent-600); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); }
.btn-dark { background: var(--ink); color: var(--text-invert); }
.btn-dark:hover { background: var(--ink-soft); }

.btn-sm { --pad-y: .55em; --pad-x: .9em; font-size: .92rem; border-radius: 9px; min-height: 48px; min-width: 0; }
.site-header .btn-sm { white-space: nowrap; flex: none; }   /* never wrap the header CTA over the wordmark */
.lbl-short { display: none; }
@media (max-width: 430px) {                                   /* phones up to 430px: shorter label, tighter padding */
  .site-header .btn-sm { --pad-x: .75em; gap: .45em; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
}
@media (max-width: 340px) {                                   /* 320-px phones: icon-less label, smaller wordmark */
  .brand-name { font-size: .82rem; }
  .header-inner { gap: .5rem; }
  .site-header .btn-sm { --pad-x: .7em; }
  .site-header .btn-sm .ico { display: none; }
}
.btn-lg { --pad-y: 1em; --pad-x: 1.5em; font-size: 1.08rem; }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: var(--wa-600); }
.btn-whatsapp .ico { font-size: 1.25em; }

.btn-label { display: block; }
.btn-sub { display: block; font-weight: 500; font-size: .82em; opacity: .85; letter-spacing: .01em; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
/* min-height, not height: at 200% text zoom the row grows instead of clipping
   (WCAG 1.4.4). Otherwise unchanged — the logo stays left of the call button. */
.header-inner { display: flex; flex-wrap: wrap; row-gap: .5rem; align-items: center; justify-content: space-between; min-height: 68px; } /* wraps instead of overlapping at 200 % text zoom */
.brand { display: inline-flex; align-items: center; gap: .5em; }
/* Logo ships on a white background (no alpha), so we present it inside a
   white rounded chip — reads as an intentional app-icon on light OR dark. */
.brand-logo {
  width: 32px; height: 32px; flex: none;
  padding: 3px; border-radius: 10px;
  background: #fff; object-fit: contain;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.045), 0 1px 3px rgba(20,20,15,.10);
}
/* Logotype — Archivo Expanded: wide, modern, branded grotesk with a
   confident presence, a little bold, with a two-tone "24" accent. */
.brand-name {
  font-family: var(--font-heading);
  font-stretch: expanded;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.brand-name b { font-weight: 700; }
.brand-name .tld { color: var(--accent-on-paper); font-weight: 700; margin-left: .06em; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-hint { font-size: .85rem; color: var(--text-soft); }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 82% -10%, rgba(245,165,36,.14), transparent 55%),
    var(--paper);
  padding-block: clamp(36px, 6vw, 96px) var(--section-y);
}
.hero-inner > * { max-width: 640px; }   /* text column; the wrap itself stays on the page grid */
/* Hero and the first section share the paper background, so their two full
   --section-y paddings stacked into a ~270px blank band on desktop. */
.hero:has(+ .section) { padding-bottom: clamp(24px, 3vw, 40px); }
.hero + .section { padding-top: clamp(40px, 5vw, 72px); }
.hero-title {
  font-size: clamp(1.9rem, 5.2vw, 3rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.025em;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  line-height: 1.55;
  color: var(--text-soft); max-width: 54ch; margin-bottom: 1.5rem;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }

/* ---- Safety line (compact, gentle left-accent — keeps the fold short) ---- */
.safety {
  display: flex; gap: .7em; align-items: flex-start;
  border-left: 3px solid var(--accent);
  padding: .1rem 0 .1rem .95rem;
  color: var(--text); font-size: .98rem; line-height: 1.5;
  margin-bottom: 1.75rem; max-width: 52ch;
}
.safety .ico { color: var(--accent-on-paper); font-size: 1.15rem; margin-top: .1em; flex: none; }
.safety strong { font-weight: 700; }

/* ---- Trust line (compact) — call button is the focal point above it ---- */
.trustline { color: var(--text-soft); font-size: .92rem; letter-spacing: .01em; }
.trustline b { color: var(--text); font-weight: 600; }
.rate-inline { white-space: nowrap; }
.rate-inline .s { color: #F0B400; }
.link-trigger {
  background: none; border: 0; margin: 0; padding: 0; font: inherit; cursor: pointer;
  color: var(--text); font-weight: 600;
  text-decoration: underline dotted; text-decoration-color: var(--accent-on-paper);
  text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.link-trigger:hover { text-decoration-style: solid; }

/* ---------------------------------------------------------------- Sections */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 680px; margin: 0 0 clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); }
.section-head .lead { margin-top: .85rem; }
.lead { font-size: 1.08rem; color: var(--text-soft); }
.small { font-size: .88rem; }

/* ---- Steps ---- */
.steps { display: grid; gap: 1.1rem; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.step:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(14,14,16,.07); }
.step-no {
  display: inline-block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  color: var(--accent-on-paper); letter-spacing: .06em; margin-bottom: .9rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--text-soft); font-size: .96rem; }

/* ---- Price card ---- */
.price-card {
  max-width: 720px;
  display: grid; gap: 1.5rem;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.price-eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-soft);
}
.price-figure {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.8rem, 9vw, 4rem); line-height: 1; color: var(--ink);
  margin: .5rem 0 .6rem; letter-spacing: -.02em;
}
.price-from { font-size: .35em; font-weight: 500; color: var(--text-soft); vertical-align: middle; margin-right: .15em; }
.price-cur { font-size: .5em; vertical-align: baseline; }
.price-note { color: var(--text-soft); font-size: .96rem; max-width: 44ch; }
.price-incl { display: grid; gap: .7rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.price-incl li { display: flex; gap: .7rem; align-items: center; font-weight: 500; }
.price-incl .ico { color: var(--accent-on-paper); font-size: 1.15rem; flex: none; }
.price-cta { display: grid; gap: .8rem; justify-items: start; }
.price-cta .btn { width: 100%; max-width: 360px; }

/* ---- Features grid ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem 1.8rem; }
.features li { display: flex; gap: .9rem; align-items: flex-start; }
.features .ico { color: var(--accent-on-paper); margin-top: .1em; font-size: 1.35rem; flex: none; }
.features strong { display: block; margin-bottom: .15rem; }
.features span { color: var(--text-soft); font-size: .95rem; }
.features strong a, .faq p a { color: var(--accent-on-alt); text-decoration: underline; text-underline-offset: 3px; }
.features strong a:hover, .faq p a:hover { text-decoration-thickness: 2px; }
.features strong a { display: inline-block; padding-block: 4px; margin-block: -4px; } /* 28px hit box (WCAG 2.5.8), no layout shift */

/* ---- Trust stat grid ---- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
/* min-width:0 + wrapping so the cells shrink instead of forcing the page wide at 200% text zoom */
.trust-grid li { background: var(--paper); padding: 1.4rem 1.3rem; min-width: 0; overflow-wrap: anywhere; }
.stat { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 600; color: var(--ink); margin-bottom: .35rem; letter-spacing: -.01em; }
.trust-grid span { font-size: .92rem; color: var(--text-soft); }

/* ---- Cities ---- */
.cities { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 820px; margin: 0 0 1.5rem; }
.cities li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: .5em 1em; font-size: .95rem; font-weight: 500;
}
.cities + .muted a { color: var(--accent-on-paper); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Bewertungen / Reviews ---- */
.rating-summary { display: grid; justify-items: start; gap: .45rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.rating-num { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 3.2rem); font-weight: 600; line-height: 1; color: var(--ink); }
.stars { display: inline-flex; gap: 3px; color: #F0B400; }
.stars .ico { width: 1.3em; height: 1.3em; }
.stars-sm .ico { width: 1.02em; height: 1.02em; }
.rating-count { color: var(--text-soft); font-size: 1rem; }
.rating-count strong { color: var(--text); font-weight: 600; }
.rating-link { margin-top: .3rem; color: var(--accent-on-alt); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; font-size: .95rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.review-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem; display: grid; gap: .7rem; box-shadow: var(--shadow-sm); }
.review-card p { color: var(--text); line-height: 1.55; }
.review-author { color: var(--text-soft); font-size: .9rem; font-weight: 500; }

/* Live reviews (Elfsight) click-to-load consent card */
.reviews-live { max-width: 860px; }
.rv-consent {
  display: grid; gap: 1.1rem; justify-items: start;
  background: var(--paper); border: 1px dashed color-mix(in srgb, var(--text-soft) 45%, var(--line));
  border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.4rem);
}
.rv-consent p { color: var(--text-soft); max-width: 56ch; font-size: .96rem; }
.rv-consent strong { color: var(--text); font-weight: 600; }
.rv-consent a { color: var(--accent-on-paper); text-decoration: underline; text-underline-offset: 3px; }

/* ---- FAQ ---- */
.faq { max-width: 760px; display: grid; gap: .75rem; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 1.3rem; transition: border-color .2s; min-width: 0;
}
.faq details[open] { border-color: var(--text); }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem;
  padding: 1.15rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  overflow-wrap: anywhere;   /* question text must shrink, not widen the page */
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-sans); font-weight: 400; font-size: 1.5rem;
  color: var(--accent-on-paper); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 1.2rem; color: var(--text-soft); }

/* ---------------------------------------------------------------- CTA band */
.cta-band { background: var(--ink); color: var(--text-invert); padding-block: var(--section-y); }
.cta-inner { display: grid; gap: 1.2rem; justify-items: start; }
.cta-band h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); max-width: 22ch; color: var(--text-invert); }
.cta-inner p { color: var(--text-invert-soft); max-width: 46ch; margin-bottom: .4rem; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: var(--text-invert-soft); border-top: 1px solid var(--line-dark); }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center;
  padding-block: 2.6rem;
}
.site-footer .brand-name { color: var(--text-invert); }
.footer-brand .muted { color: var(--text-invert-soft); margin-top: .4rem; font-size: .92rem; }
.footer-brand { display: grid; gap: .6rem; }
.footer-contact { display: grid; gap: .9rem; justify-items: start; }
.footer-phone {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
  color: var(--text-invert);
}
.footer-phone .ico { color: var(--accent); font-size: 1.1rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .95rem; }
.footer-nav a { text-decoration: underline; text-underline-offset: 3px; }
.footer-nav a:hover { color: var(--accent); }
/* "24" in the wordmark keeps enough contrast on the dark footer */
.site-footer .brand-name .tld { color: var(--accent); }
.footer-fine {
  border-top: 1px solid var(--line-dark); padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
}
.footer-fine .muted { color: var(--text-invert-soft); font-size: .82rem; }

/* Footer easter-egg (🥨) → opens the "Aus Bayern" modal */
.heart {
  background: none; border: 0; padding: 0 .1em; margin-left: .4em; cursor: pointer;
  font-size: 1.2em; line-height: 1; vertical-align: middle;
  transition: transform .18s var(--ease);
}
.heart:hover, .heart:focus-visible { transform: scale(1.28); }
.sheet-center { text-align: center; }
.sheet-close-abs { position: absolute; top: 14px; right: 14px; }
.by-emoji { font-size: 2.7rem; line-height: 1; margin-bottom: .4rem; }
.by-text { color: var(--text-soft); max-width: 42ch; margin: .6rem auto 1.5rem; line-height: 1.6; }

/* ---------------------------------------------------------------- Sticky mobile bar */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; z-index: 60;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: none; gap: 8px;
}
.mobile-call {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.2em; border-radius: 13px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 1rem;
  box-shadow: 0 8px 26px rgba(14,14,16,.22), 0 0 0 1px rgba(14,14,16,.05);
}
.mobile-call .ico { font-size: 1.05rem; }
.mobile-wa {
  flex: none; width: 54px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 13px; background: var(--wa); color: #fff;
  box-shadow: 0 8px 26px rgba(18,138,69,.28);
}
.mobile-wa .ico { font-size: 1.5rem; }
.mobile-bar a:active { transform: translateY(1px); }

/* ---------------------------------------------------------------- Hero CTA (call primary + WhatsApp secondary) */
/* Matched pair: equal width, stacked on mobile; side-by-side & equal height on wider screens. */
.hero-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.hero-cta .btn { flex: 1 1 100%; }
/* Phone: call + WhatsApp share one row; WhatsApp is icon-only so the call
   button keeps the width. `.btn` is in the selector to outrank the rule above. */
@media (max-width: 559px) {
  .hero-cta { flex-wrap: nowrap; align-items: stretch; }
  .hero-cta .btn.js-call { flex: 1 1 auto; min-width: 0; }
  .hero-cta .btn.js-wa { flex: 0 0 64px; width: 64px; padding-inline: 0; gap: 0; justify-content: center; }
  .hero-cta .btn.js-wa > span { display: none; }   /* empty wrapper would offset the icon via the flex gap */
  .hero-cta .btn.js-wa .btn-label, .hero-cta .btn.js-wa .btn-sub { display: none; }
}
@media (min-width: 560px) {
  .hero-cta { flex-wrap: nowrap; align-items: stretch; }
  .hero-cta .js-call { flex: 2 1 0; }
  .hero-cta .btn-whatsapp { flex: 1 1 0; }
}

/* Clickable Festpreis chip → opens the price sheet */
.chip-trigger {
  display: inline-flex; align-items: center; gap: .45em;
  background: none; border: 0; margin: 0; padding: 0; font: inherit; color: var(--text); cursor: pointer;
  text-decoration: underline dotted; text-decoration-color: var(--accent-on-paper);
  text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.chip-trigger .ico { color: var(--accent-on-paper); text-decoration: none; }
.chip-trigger:hover { text-decoration-style: solid; }

/* ---------------------------------------------------------------- Price breakdown cards */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 760px; margin: 0 0 1.2rem; }
.pc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); }
.pc-dark { background: var(--ink); border-color: var(--ink); color: var(--text-invert); }
.pc-label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: .5rem; }
.pc-dark .pc-label { color: var(--text-invert-soft); }
.pc-figure { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 6vw, 2.7rem); line-height: 1; letter-spacing: -.01em; margin-bottom: .55rem; }
.pc-from { font-size: .4em; font-weight: 500; color: var(--text-soft); vertical-align: middle; margin-right: .12em; }
.pc-dark .pc-from { color: var(--text-invert-soft); }
.pc-note { font-size: .95rem; color: var(--text-soft); }
.pc-dark .pc-note { color: var(--text-invert-soft); }
.price-hint { max-width: 760px; margin: 0 0 1.6rem; background: var(--paper-2); border-radius: var(--radius-sm); padding: 1rem 1.2rem; color: var(--text-soft); font-size: .96rem; }
.price-hint strong { color: var(--text); font-weight: 600; }

/* Final CTA band: matched pair (equal width, equal height on desktop) */
.cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 460px; }
.cta-actions .btn { flex: 1 1 100%; }
@media (min-width: 560px) {
  .cta-actions { flex-wrap: nowrap; align-items: stretch; max-width: 560px; }
  .cta-actions .js-call { flex: 2 1 0; }
  .cta-actions .btn-whatsapp { flex: 1 1 0; }
}

/* Footer WhatsApp link */
.footer-wa { display: inline-flex; align-items: center; gap: .5em; color: var(--text-invert); font-weight: 600; }
.footer-wa .ico { color: #37c46b; font-size: 1.1rem; }
.footer-wa:hover { color: #fff; }

/* ---------------------------------------------------------------- Price sheet / modal */
body.sheet-open { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(14,14,16,.5); opacity: 0; transition: opacity .3s var(--ease); }
.sheet-panel {
  position: relative; z-index: 1; width: 100%; max-width: 560px;
  background: var(--paper); border-radius: 22px 22px 0 0;
  padding: clamp(1.4rem, 5vw, 2rem); padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  box-shadow: 0 -12px 44px rgba(14,14,16,.28); max-height: 92vh; overflow: auto;
  transform: translateY(100%); transition: transform .32s var(--ease-out);
}
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet.is-open .sheet-panel { transform: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .3rem; }
.sheet-head h2 { font-size: 1.5rem; }
.sheet-close { background: var(--paper-2); border: 0; width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); flex: none; }
.sheet-sub { color: var(--text-soft); margin-bottom: 1.4rem; }
.sheet .price-grid { margin-bottom: 1.2rem; }
.sheet .price-hint { margin-bottom: 1.2rem; }
.sheet .btn { width: 100%; }
@media (min-width: 640px) {
  .sheet { align-items: center; }
  .sheet-panel { border-radius: 20px; transform: translateY(16px) scale(.98); }
  .sheet.is-open .sheet-panel { transform: none; }
}

/* ---------------------------------------------------------------- Cookie consent banner */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 100;
  max-width: 560px; margin-inline: auto;
  background: var(--paper); color: var(--text);
  /* The banner sits on a --paper page, so its edge needs real contrast */
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(14,14,16,.24);
  padding: .5rem .7rem; display: grid; gap: .4rem;
}
.consent[hidden] { display: none; }
/* Subtle slide-up when the banner appears (2s after load). Transform + opacity
   only, so it costs no layout and cannot shift the page. The global
   prefers-reduced-motion rule switches it off. */
@keyframes consent-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.consent:not([hidden]) { animation: consent-in .38s var(--ease-out) both; }
.consent-title { font-size: .8rem; font-weight: 600; margin-bottom: .05rem; }
.consent-text p { font-size: .78rem; color: var(--text-soft); line-height: 1.4; }
.consent-text a { color: var(--accent-on-paper); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: nowrap; gap: .4rem; }
.consent-actions .btn { flex: 1 1 auto; padding: .4em .7em; font-size: .82rem; min-height: 44px; }
/* Reject stays a full one-tap button (no dark pattern) but is visually subordinate to Accept */
.consent-actions .js-consent-deny { flex: 0 1 auto; color: var(--text-soft); font-weight: 500; }
@media (min-width: 640px) {
  .consent { grid-template-columns: 1fr auto; align-items: center; gap: 1rem; }
  .consent-actions .btn { flex: 0 0 auto; }
}
.footer-nav .js-consent-reopen {
  background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.footer-nav .js-consent-reopen:hover { color: var(--accent); }
/* The banner sits above the sticky call bar rather than replacing it, so the
   call button stays tappable while the consent question is on screen. */
@media (max-width: 620px) { body.bar-visible .consent { bottom: calc(104px + env(safe-area-inset-bottom, 0px)); } }   /* the bar only exists ≤620px */

/* ---------------------------------------------------------------- 404 page */
.err-code {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4.5rem, 24vw, 10rem);
  line-height: .82;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: .15em 0 .35rem;
}
.err-links {
  display: flex; flex-wrap: wrap; gap: .3rem 1.4rem;
  margin: 1.6rem 0 0; padding: 0; list-style: none;
}
.err-links a {
  color: var(--accent-on-paper); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; min-height: 44px;
  display: inline-flex; align-items: center;
}
.err-links a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- Case links
   Cross-links between the case pages. Deliberately in the page body, not a
   header menu: the header belongs to the call button. */
/* Same 680px content column as .section-head / .lp-list, so the cards line up
   with the heading instead of starting further left. */
.case-links { display: grid; gap: .7rem; max-width: 680px; }
@media (min-width: 640px) { .case-links { grid-template-columns: 1fr 1fr; } }
.case-links a {
  display: flex; flex-direction: column; gap: .1rem;
  min-height: 56px; padding: .85rem 2.6rem .85rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); position: relative;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.case-links a::after {
  /* "" = empty alt text, so screen readers do not announce the arrow */
  content: "→" / ""; position: absolute; right: 1.1rem; top: 50%; translate: 0 -50%;
  color: var(--accent-on-paper); font-weight: 600;
}
.case-links strong { font-weight: 600; color: var(--ink); }
.case-links span { font-size: .9rem; color: var(--text-soft); }
.case-links a:hover { border-color: var(--ink); background: var(--paper-2); }
@media (prefers-reduced-motion: reduce) { .case-links a { transition: none; } }

/* ---------------------------------------------------------------- Legal pages */
.legal > * { max-width: 760px; }   /* on the wrap, it would centre a narrower column off the grid */
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; }
.legal h2 {
  font-size: 1.3rem; font-weight: 500; margin: 2.4rem 0 .6rem;
  padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal p { color: var(--text-soft); margin-bottom: 1rem; line-height: 1.7; }
.legal ul { color: var(--text-soft); margin: 0 0 1rem; padding-left: 1.2rem; list-style: disc; display: grid; gap: .35rem; }
.legal a { color: var(--accent-on-paper); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal .toc { columns: 2; column-gap: 2rem; font-size: .95rem; }
@media (max-width: 620px) { .legal .toc { columns: 1; } }

/* ---------------------------------------------------------------- Entrance animations */
/* Elements start hidden only when JS is active (html.js) — no-JS shows everything. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .8s var(--ease-out),
    transform .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
/* Subtle blur-in variant for headlines */
.js [data-reveal="soft"] { transform: translateY(14px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); }
.js [data-reveal="soft"].is-in { filter: blur(0); }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 980px) {
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .reviews { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .steps-3 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .header-hint { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }                       /* rem, so the user's font-size setting still applies (WCAG 1.4.4) */
  .site-footer { padding-bottom: 84px; }          /* room for the sticky call bar, kept dark instead of a light strip */
  .brand-name { font-size: .92rem; }              /* keep the wide wordmark within the header */
  .steps-4, .features { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid li { display: flex; align-items: baseline; gap: .7rem; text-align: left; }
  .stat { margin-bottom: 0; }

  /* No-JS fallback: bar visible. With JS it slides in only after the hero
     CTA scrolls out of view, so two big buttons never show at once. */
  .mobile-bar { display: flex; }
  .js .mobile-bar {
    transform: translateY(140%); opacity: 0; pointer-events: none;
    transition: transform .35s var(--ease), opacity .3s var(--ease);
  }
  .js .mobile-bar.is-visible { transform: none; opacity: 1; pointer-events: auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ================= Landing pages (additive — homepage unaffected) ================= */
.hero-price { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.7rem, 13vw, 4.2rem); line-height: 1; letter-spacing: -.02em; margin: .1rem 0 1.1rem; color: var(--ink); }
.hero-price .from { font-size: .3em; font-weight: 500; color: var(--text-soft); vertical-align: middle; margin-right: .12em; }
.hero-price .cur { font-size: .5em; }
.pc-accent { border-color: #8A6D00; box-shadow: inset 0 0 0 2px var(--accent); }
.pc-figure.warn { color: #B23A2E; }
.lp-list { display: grid; gap: 1rem; max-width: 680px; }
.lp-list li { display: flex; gap: .8rem; align-items: flex-start; }
/* The text block is a flex child: without min-width:0 its longest word ("Motor-
   kontrollleuchte") sets a floor and widens the page at 200% text zoom. */
.lp-list li > div { min-width: 0; overflow-wrap: anywhere; }
.lp-list .ico { color: var(--accent-on-paper); flex: none; margin-top: .1em; font-size: 1.25rem; }
.lp-list strong { display: block; }
.lp-list p { color: var(--text-soft); font-size: .96rem; margin-top: .15rem; line-height: 1.55; }
.lp-lead { max-width: 680px; margin: 0 0 1.4rem; }

/* Every content block sits on the .wrap's left edge — one grid line for the
   whole page. Blocks keep a max-width for line length but are never centred,
   and no text is centre-aligned. */
.lp .lead { max-width: 680px; }
