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

: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 */

  --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) */

  /* ---- Type ---- */
  --font-display: "Fraunces", Georgia, "Times New Roman", 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; }
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; }
/* Clean sans headlines — calm, professional. Serif (Fraunces) is reserved
   for accent NUMBERS only via .stat / .price-figure / .step-no. */
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-sans);
  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: -60px; z-index: 100;
  background: var(--ink); color: var(--text-invert);
  padding: .7em 1.1em; border-radius: 9px; font-weight: 600;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- 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); }
.btn-ghost:hover { border-color: var(--text); }

.btn-sm { --pad-y: .55em; --pad-x: .9em; font-size: .92rem; border-radius: 9px; }
.btn-lg { --pad-y: 1em; --pad-x: 1.5em; font-size: 1.08rem; }

.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);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.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: "Archivo", var(--font-sans);
  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(56px, 8vw, 104px) var(--section-y);
}
.hero-inner { max-width: 720px; }
.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; }

/* ---- Alert (safety instruction) ---- */
.alert {
  display: flex; gap: .8rem; align-items: flex-start;
  background: color-mix(in srgb, var(--accent) 14%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm); padding: .95rem 1.1rem; margin-bottom: 1.75rem;
  max-width: 56ch;
}
.alert .ico { color: var(--accent-on-paper); font-size: 1.25rem; margin-top: .05em; }
.alert p { font-size: .98rem; line-height: 1.5; color: var(--text); }
.alert strong { font-weight: 700; }

/* ---- Chips (at-a-glance trust) ---- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem .55rem; }
.chips li {
  display: inline-flex; align-items: center; gap: .45em;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: .5em .9em;
  font-size: .9rem; font-weight: 500; color: var(--text);
}
.chips .ico { font-size: 1.05rem; color: var(--accent-on-paper); }

/* ---------------------------------------------------------------- Sections */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 680px; margin: 0 auto clamp(2rem, 4vw, 3.25rem); text-align: center; }
.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; margin-inline: auto;
  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-head { text-align: center; }
.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; margin-inline: auto; }
.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: center; text-align: center; }
.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; }

/* ---- 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; }
.trust-grid li { background: var(--paper); padding: 1.4rem 1.3rem; text-align: center; }
.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; justify-content: center; gap: .6rem; max-width: 820px; margin: 0 auto 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: center; gap: .45rem; margin-bottom: clamp(2rem, 4vw, 3rem); text-align: center; }
.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-paper); 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; margin-inline: auto; }
.rv-consent {
  display: grid; gap: 1.1rem; justify-items: center; text-align: center;
  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; margin-inline: auto; 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;
}
.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;
}
.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 { text-align: center; display: grid; gap: 1.2rem; justify-items: center; }
.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; gap: 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; }

/* ---------------------------------------------------------------- Sticky mobile call */
.mobile-call {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: none; 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-call:active { transform: translateY(1px); }

/* ---------------------------------------------------------------- Legal pages */
.legal { max-width: 760px; }
.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; }
}
@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: 16px; padding-bottom: 84px; } /* room for sticky call bar */
  .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-call { display: flex; }
  .js .mobile-call {
    transform: translateY(140%); opacity: 0; pointer-events: none;
    transition: transform .35s var(--ease), opacity .3s var(--ease);
  }
  .js .mobile-call.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; }
}
