/* ============================================================
   TheDayAds — Relaunch 2026 · Design System
   CI (Web, aus Live-Elementor-Kit 07/2026): Ink #181818 · Soft Blue #B9CEFF
   · Akzent-Blau #A4BDF8 · Warm Orange #FFBC7D · Forest Green nur im Logo
   Fonts: DM Sans (Headlines) · Inter (Body) — self-hosted, variabel
   ============================================================ */

/* ---------- Fonts (self-hosted, DSGVO-sauber) ---------- */
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-var.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Live-CI thedayads.de (Elementor-Kit, 07/2026): Ink #181818 als Primär-,
     Text- UND Button-Farbe · Soft Blue #B9CEFF als Flächen-Farbe ·
     #A4BDF8 Akzent · Orange sparsam. Forest Green #244A29 lebt NUR im Logo. */
  --ink:         #181818;
  --ink-deep:    #101010;
  --ink-hover:   #2E2E2E;
  --ink-60:      rgba(24, 24, 24, 0.64);
  --ink-40:      rgba(24, 24, 24, 0.44);
  --blue-soft:   #B9CEFF;
  --blue:        #A4BDF8;
  --blue-tint:   #E9EFFF;
  --orange:      #FFBC7D;
  --orange-deep: #E89A52;
  --paper:       #FFFFFF;
  --paper-warm:  #F2F5FE;
  --line:        rgba(24, 24, 24, 0.12);
  --line-soft:   rgba(24, 24, 24, 0.07);
  --cream:       #F4EFE7;

  --font-head: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;

  --w-max: 1180px;
  --pad-x: clamp(20px, 4.5vw, 48px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --shadow-card: 0 1px 2px rgba(24, 24, 24, 0.05), 0 14px 36px -14px rgba(78, 98, 158, 0.22);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.06;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 400; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 2.4vw, 24px); letter-spacing: -0.015em; line-height: 1.25; }
p  { margin: 0 0 1em; max-width: 65ch; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}
.kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--orange);
  flex: none;
}

.muted { color: var(--ink-60); }

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
section { padding-block: clamp(72px, 10vw, 130px); }
section + section { border-top: 1px solid var(--line-soft); }
section.flush { border-top: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 17px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-hover); }
.btn-accent { background: var(--orange); color: var(--ink); }
.btn-accent:hover { background: var(--orange-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.on-dark .btn-ghost:hover { border-color: #fff; }
.btn .arr { transition: transform 200ms var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-60);
  transition: color 150ms ease;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 12px 22px; font-size: 15px; }
.nav-links-cta { display: none; }

.nav-burger {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  margin-right: -10px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 150ms ease;
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .site-header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0;
    top: 74px;
    gap: 0;
    background: #fff;
    padding: 10px var(--pad-x) 26px;
    border-bottom: 1px solid var(--line);
  }
  .site-header.menu-open .nav-links a {
    padding: 15px 0;
    font-size: 17px;
    color: var(--ink);
    border-bottom: 1px solid var(--line-soft);
  }
  .site-header.menu-open .nav-links .nav-links-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 20px;
    padding: 15px 22px;
    border-bottom: none;
    color: var(--ink);
  }
  .site-header.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero (Soft-Blue-Fläche wie Live-Site) ---------- */
.hero {
  background: var(--blue-soft);
  padding-block: clamp(56px, 8vw, 104px) 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: end;
}
.hero-copy { padding-bottom: clamp(56px, 8vw, 104px); }
.hero h1 em { font-style: normal; }
.hero .lede {
  font-size: clamp(17px, 1.6vw, 19px);
  color: rgba(24, 24, 24, 0.74);
  margin: 26px 0 34px;
  max-width: 54ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .btn-ghost { border-color: rgba(24, 24, 24, 0.35); }
.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(24, 24, 24, 0.55);
}

/* Foto-Karte rechts — läuft bündig auf die Unterkante des Hero */
.hero-photo {
  border-radius: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 0 0;
  overflow: hidden;
  align-self: end;
  box-shadow: 0 24px 60px -24px rgba(24, 24, 24, 0.35);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 3.6;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-copy { padding-bottom: 0; }
  .hero-photo { max-width: 560px; margin-top: 44px; }
  .hero-photo img { aspect-ratio: 4 / 4.4; }
}

/* ---------- Stats-Band (dunkel, unter dem Hero) ---------- */
.stats-band {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(40px, 5vw, 64px);
}
.stats-band .sb-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 26px;
}
.sb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
}
.sb-stat { border-left: 1px solid rgba(255, 255, 255, 0.18); padding-left: clamp(16px, 2vw, 28px); }
.sb-num {
  font-family: var(--font-head);
  font-size: clamp(36px, 3.8vw, 50px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.sb-num .unit { font-size: 0.6em; font-weight: 400; }
.sb-desc { font-size: 14px; color: rgba(255, 255, 255, 0.72); margin-top: 10px; line-height: 1.55; }
@media (max-width: 860px) {
  .sb-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Trust-Bar ---------- */
.trust-bar {
  border-top: 1px solid var(--line-soft);
  padding-block: 26px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 44px;
  font-size: 14px;
  color: var(--ink-40);
}
.trust-row strong { color: var(--ink-60); font-weight: 600; }
.client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px clamp(28px, 4vw, 56px);
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.client-logos img {
  width: auto;
  height: 36px;
  filter: grayscale(1) contrast(0.85);
  opacity: 0.55;
  transition: filter 200ms ease, opacity 200ms ease;
}
.client-logos img[alt^='DIRO'] { height: 72px; }
.client-logos img[alt^='Galanulis'] { height: 46px; }
.client-logos img[alt^='Naturnah'] { height: 26px; }
.client-logos img[alt^='Brasilheroe'] { height: 30px; }
@media (hover: hover) and (pointer: fine) {
  .client-logos img:hover { filter: none; opacity: 1; }
}

/* ---------- Problem / Lösung ---------- */
.pl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.pl-list { list-style: none; margin: 28px 0 0; padding: 0; }
.pl-list li {
  position: relative;
  padding: 18px 0 18px 38px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-60);
}
.pl-list li strong { color: var(--ink); font-weight: 600; }
.pl-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 26px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px;
}
.pl-problem li::before {
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%23B0713A' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.pl-solution li::before {
  background-color: var(--blue-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.5l2.4 2.4L9.5 3.5' stroke='%23181818' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (max-width: 860px) {
  .pl-grid { grid-template-columns: 1fr; }
}

/* ---------- Leistungen (nummerierte Zeilen, kein Card-Grid) ---------- */
.svc-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px 60px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.svc-head p { margin: 0; color: var(--ink-60); }
@media (max-width: 860px) { .svc-head { grid-template-columns: 1fr; } }

.svc-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 4fr) minmax(0, 6fr) auto;
  gap: 18px 34px;
  align-items: start;
  padding: clamp(26px, 3vw, 38px) 0;
  border-top: 1px solid var(--line);
  transition: background-color 200ms ease;
}
.svc-row:last-of-type { border-bottom: 1px solid var(--line); }
.svc-num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-40);
  padding-top: 6px;
}
.svc-row h3 { margin: 0; }
.svc-row .svc-tag {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 8px;
}
.svc-row p { margin: 0; color: var(--ink-60); font-size: 15.5px; }
.svc-row .svc-pill {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-60);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
  margin-top: 4px;
}
@media (max-width: 860px) {
  .svc-row { grid-template-columns: 1fr; gap: 10px; }
  .svc-num { padding-top: 0; }
  .svc-row .svc-pill { justify-self: start; }
}

/* ---------- Prozess ---------- */
.process { background: var(--paper-warm); }
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  margin-top: clamp(36px, 5vw, 60px);
}
.step {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 28px 26px 26px;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--blue-tint);
  border-radius: 999px;
  padding: 6px 13px;
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-60); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Ergebnisse / Social Proof ---------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(36px, 5vw, 56px);
}
.result {
  padding: clamp(28px, 3.5vw, 44px) clamp(20px, 2.5vw, 36px);
}
.result + .result { border-left: 1px solid var(--line-soft); }
.result .r-num {
  font-family: var(--font-head);
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}
.result .r-num .unit { font-size: 0.55em; }
.result .r-what { font-weight: 600; margin: 14px 0 4px; }
.result .r-who { font-size: 14px; color: var(--ink-40); }
@media (max-width: 860px) {
  .results-grid { grid-template-columns: 1fr; }
  .result + .result { border-left: none; border-top: 1px solid var(--line-soft); }
}
.diro-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 36px;
  padding: 22px 26px;
  background: var(--paper-warm);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--ink-60);
  max-width: 760px;
}
.diro-note strong { color: var(--ink); }

/* ---------- Check-Teaser (dunkles Band) ---------- */
.check-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 76px) clamp(26px, 5vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.check-band h2 { color: #fff; }
.check-band .lede { color: rgba(255, 255, 255, 0.75); font-size: 17px; }
.check-band .cb-points { list-style: none; margin: 0; padding: 0; }
.check-band .cb-points li {
  padding: 12px 0 12px 32px;
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.check-band .cb-points li:first-child { border-top: 0; }
.check-band .cb-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.5l2.4 2.4L9.5 3.5' stroke='%23181818' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px;
}
@media (max-width: 960px) {
  .check-band { grid-template-columns: 1fr; }
}

/* ---------- Über mich ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.about-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 440px;
}
.about-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; }
.about-facts li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
}
.about-facts .k { color: var(--ink-40); flex: none; }
.about-facts .v { font-weight: 500; text-align: right; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 100%; }
  .about-photo img { aspect-ratio: 4/3; object-position: center 20%; }
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--font-head);
  font-size: clamp(17px, 1.8vw, 19px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 2.5v9M2.5 7h9' stroke='%23181818' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 13px;
  transition: transform 220ms var(--ease-out), background-color 180ms ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--blue-tint);
}
.faq-item .faq-a {
  padding: 0 44px 24px 0;
  color: var(--ink-60);
  font-size: 15.5px;
}
.faq-item .faq-a p { margin-bottom: 0.7em; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Kontakt ---------- */
.contact { background: var(--paper-warm); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.contact-meta { list-style: none; margin: 30px 0 0; padding: 0; }
.contact-meta li {
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
}
.contact-meta .k {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 4px;
}
.contact-meta a { font-weight: 500; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Formulare ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-card);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
}
.field label .opt { font-weight: 400; color: var(--ink-40); }
.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(164, 189, 248, 0.45);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .err-msg {
  display: none;
  font-size: 13px;
  color: #A33B1F;
  margin-top: 6px;
}
.field.invalid input,
.field.invalid textarea { border-color: #C4562F; }
.field.invalid .err-msg { display: block; }

.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-60);
}
.consent-row input[type='checkbox'] {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--ink);
  flex: none;
}
/* Honeypot: visuell + für Screenreader raus, für Bots da */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-status {
  display: none;
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: 14.5px;
  margin-top: 16px;
}
.form-status.ok { display: block; background: var(--blue-tint); color: var(--ink); }
.form-status.fail { display: block; background: #FBEDE6; color: #8C3418; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(48px, 6vw, 80px) 34px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.3fr));
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .f-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer .f-col ul { list-style: none; margin: 0; padding: 0; }
.site-footer .f-col li { margin-bottom: 11px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: #fff; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.44);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Cookie-Consent ---------- */
.consent-banner {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: 460px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 18px 48px -12px rgba(24, 24, 24, 0.28);
  padding: 22px 24px;
  font-size: 14px;
  color: var(--ink-60);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 250ms ease, transform 300ms var(--ease-out);
}
@media (min-width: 720px) { .consent-banner { inset-inline: auto 24px; bottom: 24px; } }
.consent-banner[hidden] { display: none; }
.consent-banner.leaving { opacity: 0; transform: translateY(10px); }
.consent-banner h4 { font-size: 15.5px; margin-bottom: 6px; }
.consent-banner p { margin: 0 0 16px; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions .btn { padding: 11px 18px; font-size: 14px; }

/* ---------- Sub-Styles neue Bänder ---------- */
.sb-title {
  font-family: var(--font-head);
  font-size: clamp(19px, 1.9vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: #fff;
  margin: 0;
}
.result .r-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
  background: var(--blue-tint);
  border-radius: 999px;
  padding: 6px 13px;
  margin: 0 0 16px;
}
.result .r-what {
  font-family: var(--font-head);
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.result .r-who { font-size: 14.5px; color: var(--ink-60); line-height: 1.6; }

/* ============================================================
   MOTION-LAYER — zurückhaltend, Kanzlei-tauglich, GPU-only
   ============================================================ */

/* --- Hero-Intro: gestaffelte Load-Sequenz (endet IMMER sichtbar) --- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes lineUp {
  from { transform: translateY(105%); }
  to   { transform: none; }
}
@keyframes photoIn {
  from { opacity: 0; transform: scale(1.035) translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.hero h1 .hl { display: block; overflow: hidden; }
.hero h1 .hl-inner { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy .kicker,
  .hero-copy .lede,
  .hero-ctas,
  .hero-note {
    opacity: 0;
    animation: riseIn 650ms var(--ease-out) forwards;
  }
  .hero-copy .kicker { animation-delay: 60ms; }
  .hero h1 .hl-inner {
    transform: translateY(105%);
    animation: lineUp 750ms var(--ease-out) forwards;
  }
  .hero h1 .hl:nth-child(1) .hl-inner { animation-delay: 140ms; }
  .hero h1 .hl:nth-child(2) .hl-inner { animation-delay: 240ms; }
  .hero-copy .lede { animation-delay: 340ms; }
  .hero-ctas { animation-delay: 430ms; }
  .hero-note { animation-delay: 520ms; }
  .hero-photo {
    opacity: 0;
    /* Entrance auf dem Wrapper — der Parallax auf dem img bleibt unangetastet */
    animation: photoIn 900ms var(--ease-out) 180ms forwards;
  }
}

/* Sicherheitsnetz: JS setzt .hero-settled nach 1,6 s (alle Animationen fertig).
   Falls Animationen nie liefen (Hintergrund-Tab, Energiesparen), erzwingt das den Endzustand. */
html.hero-settled .hero-copy .kicker,
html.hero-settled .hero-copy .lede,
html.hero-settled .hero-ctas,
html.hero-settled .hero-note,
html.hero-settled .hero-photo { opacity: 1 !important; }
html.hero-settled .hero h1 .hl-inner { transform: none !important; }

/* --- Hero-Foto: sanfter Scroll-Parallax (JS setzt --py auf dem img) --- */
.hero-photo img { transform: translateY(var(--py, 0)) scale(1.06); will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .hero-photo img { transform: none; }
}

/* --- Header: kompakter + Schatten nach dem ersten Scroll --- */
.site-header { transition: box-shadow 250ms ease; }
.site-header .nav { transition: height 300ms var(--ease-out); }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px -18px rgba(24, 24, 24, 0.25); }
@media (min-width: 861px) {
  .site-header.scrolled .nav { height: 62px; }
}

/* --- Logo-Marquee (JS dupliziert die Spur; ohne JS: statische Zeile) --- */
.client-logos.marquee {
  flex-wrap: nowrap;
  overflow: hidden;
  gap: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(44px, 6vw, 90px);
  padding-right: clamp(44px, 6vw, 90px);
  flex: none;
  animation: marquee 36s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
.client-logos.marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* --- Fakten-Counter (Trust-Bar): rollende Ziffern, Fallback = statischer Text --- */
.facts-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
  padding-block: 10px;
}
.fact { border-left: 1px solid var(--line); padding-left: clamp(16px, 2vw, 28px); }
.fact-num {
  display: flex;
  align-items: baseline;
  font-family: var(--font-head);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.roll .roll-stack span { text-align: center; }
.fact-suffix { color: var(--orange-deep); }
.fact-label { font-size: 14px; color: var(--ink-60); margin: 10px 0 0; line-height: 1.5; max-width: 30ch; }
.roll { display: inline-flex; }
.roll .roll-col { display: block; height: 1em; overflow: hidden; }
.roll .roll-stack {
  display: block;
  line-height: 1;
  transform: translateY(0);
  transition: transform 1300ms cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: var(--cd, 0ms);
}
.roll .roll-stack span { display: block; height: 1em; }
.fact.shown .roll-stack { transform: translateY(calc(var(--d) * -1em)); }
@media (max-width: 860px) {
  .facts-row { grid-template-columns: 1fr; gap: 22px; }
}

/* --- Leistungs-Ticker (laufende Textzeile) --- */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding-block: clamp(18px, 2.4vw, 30px);
  display: flex;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.5vw, 56px);
  padding-right: clamp(28px, 3.5vw, 56px);
  flex: none;
  animation: marquee 28s linear infinite;
}
.ticker-track span {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.ticker-track em { font-style: normal; color: var(--orange-deep); font-size: 0.7em; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker { -webkit-mask-image: none; mask-image: none; }
}

/* --- Button: Text-Swap-Hover (JS baut Maske + zwei Ebenen) --- */
.btn.swap .swap-mask {
  position: relative;
  display: block;
  overflow: hidden;
}
.btn.swap .lbl {
  display: block;
  transition: transform 320ms var(--ease-out);
}
.btn.swap .lbl.ghost {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  text-align: center;
}
@media (hover: hover) and (pointer: fine) {
  .btn.swap:hover .lbl { transform: translateY(-100%); }
}

/* --- Praxis-Karten: Hover-Lift --- */
.result {
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease, background-color 200ms ease;
  border-radius: var(--r-md);
}
@media (hover: hover) and (pointer: fine) {
  .result:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: var(--shadow-card);
  }
}

/* --- Leistungs-Zeilen: Hover-Leben --- */
.svc-row { position: relative; }
.svc-row::before {
  content: '';
  position: absolute;
  inset: 0 calc(-1 * clamp(12px, 1.5vw, 24px));
  background: var(--blue-tint);
  border-radius: var(--r-md);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}
.svc-row > * { position: relative; }
.svc-num { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .svc-row:hover::before { opacity: 1; }
  .svc-row:hover .svc-num { color: var(--orange-deep); }
}

/* --- FAQ: weiches Auf-/Zuklappen (modernes CSS, degradiert zu instant) --- */
html { interpolate-size: allow-keywords; }
.faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 320ms var(--ease-out), content-visibility 320ms allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }

/* --- Foto-Karten: sanfter Zoom im Bild --- */
.about-photo { overflow: hidden; }
.about-photo img { transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .about-photo:hover img { transform: scale(1.03); }
}

/* ---------- Reveal on scroll (Sicherheitsnetz: ohne JS alles sichtbar) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
html.js .reveal.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Skip-Link (A11y) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ============================================================
   Marketing-Check (Funnel)
   ============================================================ */
.check-page { background: var(--paper-warm); min-height: 100dvh; }
.check-shell {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 64px) var(--pad-x) clamp(60px, 8vw, 100px);
}
.check-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.check-top .back {
  font-size: 14px;
  color: var(--ink-40);
  font-weight: 500;
}

.check-progress {
  height: 5px;
  background: var(--line-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.check-progress .bar {
  height: 100%;
  width: 0%;
  background: var(--ink);
  border-radius: inherit;
  transition: width 400ms var(--ease-in-out);
}

.check-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(26px, 4vw, 48px);
}
.q-step { display: none; }
.q-step.active { display: block; animation: qIn 340ms var(--ease-out); }
@keyframes qIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .q-step.active { animation: none; }
}
.q-count {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.q-step h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.q-step .q-sub { color: var(--ink-60); font-size: 15px; margin-bottom: 26px; }

.q-options { display: grid; gap: 12px; }
.q-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 17px 18px;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, transform 160ms var(--ease-out);
}
.q-opt:hover { border-color: var(--ink); }
.q-opt:active { transform: scale(0.98); }
.q-opt:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.q-opt .dot {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}
.q-opt[aria-pressed='true'] {
  border-color: var(--ink);
  background: var(--blue-tint);
}
.q-opt[aria-pressed='true'] .dot {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: inset 0 0 0 3.5px var(--blue-tint);
}

.q-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}
.q-nav .q-back {
  background: none;
  border: 0;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-40);
  cursor: pointer;
  padding: 10px 0;
}
.q-nav .q-back:hover { color: var(--ink); }

/* Gate + Ergebnis */
.gate-benefits { list-style: none; margin: 0 0 26px; padding: 0; }
.gate-benefits li {
  position: relative;
  padding: 8px 0 8px 30px;
  font-size: 15px;
  color: var(--ink-60);
}
.gate-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--blue-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.5l2.4 2.4L9.5 3.5' stroke='%23181818' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px;
}

.score-hero {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 26px;
}
.score-ring {
  --p: 0;
  flex: none;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(closest-side, #fff 82%, transparent 83% 100%),
    conic-gradient(var(--ink) calc(var(--p) * 1%), var(--line-soft) 0);
}
.score-ring .val {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.score-ring .val .of { font-size: 14px; color: var(--ink-40); font-weight: 400; }
.score-hero h2 { margin-bottom: 6px; font-size: clamp(21px, 2.6vw, 26px); }
.score-hero p { margin: 0; color: var(--ink-60); font-size: 15px; }

.eval-block h3 {
  font-size: 16.5px;
  margin: 24px 0 10px;
}
.eval-list { list-style: none; margin: 0; padding: 0; }
.eval-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 15px;
  color: var(--ink-60);
  border-top: 1px solid var(--line-soft);
}
.eval-list li strong { color: var(--ink); }
.eval-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px;
}
.eval-list li.good::before {
  background-color: var(--blue-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.5l2.4 2.4L9.5 3.5' stroke='%23181818' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.eval-list li.risk::before {
  background-color: #FBF3E8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.6v4.2M6 9.4v.1' stroke='%23B0713A' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.result-cta {
  margin-top: 30px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  padding: 26px 28px;
}
.result-cta h3 { color: #fff; margin-bottom: 6px; font-size: 19px; }
.result-cta p { color: rgba(255,255,255,0.75); font-size: 14.5px; margin-bottom: 18px; }
.result-cta .btn-accent { width: auto; }

.check-legal {
  font-size: 12.5px;
  color: var(--ink-40);
  margin-top: 18px;
  text-align: center;
}

/* ---------- Legal / Prosa-Seiten ---------- */
.prose-page { max-width: 780px; margin-inline: auto; padding: clamp(40px, 6vw, 80px) var(--pad-x) 100px; }
.prose-page h1 { font-size: clamp(32px, 4.5vw, 46px); margin-bottom: 30px; }
.prose-page h2 { font-size: 24px; margin-top: 44px; }
.prose-page h3 { font-size: 18px; margin-top: 28px; }
.prose-page p, .prose-page li { color: var(--ink-60); font-size: 15.5px; }
.prose-page strong { color: var(--ink); }

/* ---------- Danke / 404 ---------- */
.hero-min {
  min-height: 62dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px var(--pad-x);
}
.hero-min .inner { max-width: 620px; }
.hero-min p { margin-inline: auto; color: var(--ink-60); }
.hero-min .btn { margin-top: 26px; }
