/* =@font-face {
  font-family: 'Lexend';
  src: url('lexend.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}


   stubser.de — Farbwelt „Taube & Sand"
   Nachtblau-Basis, Stubs-Punkt in warmem Sand. Struktur nach idlewise-Vorbild,
   Typo Lexend. Statisch, self-contained, kein Tracking.
   ========================================================================== */


:root {
  --bg: #121820;
  --bg-alt: #0d1218;
  --surface: #1a2330;
  --surface-high: #232e3d;
  --outline: #2b3848;
  --text: #e7e6df;
  --muted: #93a0ad;
  --accent: #8fa8c4;
  --accent-deep: #4e6580;
  --on-accent: #0e141a;
  --spark: #cba87f;           /* der Stubs: warmer Sand-Punkt */
  --spark-deep: #7e6547;
  --radius: 20px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .55);
}
:root[data-palette="salbei"] { --accent: #8fbcab; --accent-deep: #4e7d6c; --on-accent: #0e1a16; }
:root[data-palette="sand"]   { --accent: #cba87f; --accent-deep: #7e6547; --on-accent: #1a140c; --spark: #8fa8c4; --spark-deep: #4e6580; }
:root[data-palette="heide"]  { --accent: #b79bb4; --accent-deep: #7a5d77; --on-accent: #180f17; }

@media (prefers-color-scheme: light) {
  :root,
  :root[data-palette="salbei"],
  :root[data-palette="sand"],
  :root[data-palette="heide"] {
    --accent: var(--accent-deep);
    --spark: var(--spark-deep);
  }
  :root {
    --bg: #f3f2ee;
    --bg-alt: #eae8e2;
    --surface: #ffffff;
    --surface-high: #eef1f5;
    --outline: #dcdfe4;
    --text: #26313c;
    --muted: #66737f;
    --shadow: 0 24px 60px -24px rgba(38, 49, 60, .25);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Lexend', system-ui, sans-serif;
  line-height: 1.65;
  font-size: 16.5px;
  transition: background-color .4s ease;
}
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 84px; }

/* ---------- Nav ---------- */
header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--outline);
}
header .wrap { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 650; font-size: 19px;
}
.wordmark svg circle { fill: var(--accent); transition: fill .4s ease; }
header nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
header nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
header nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute; inset: -80px -30vw 0 -30vw;
  background: radial-gradient(560px 400px at 74% 40%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%);
  pointer-events: none;
  transition: background .4s ease;
}
.hero > * { position: relative; }
.eyebrow {
  display: block;
  font-size: 12.5px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  transition: color .4s ease;
}
.hero h1 {
  font-family: 'Lexend', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(29px, 4.2vw, 44px);
  line-height: 1.2;
  max-width: 560px;
}
.hero h1 em { font-style: normal; color: var(--accent); transition: color .4s ease; }
.hero p.sub { margin-top: 18px; color: var(--muted); max-width: 480px; font-size: 17.5px; }
.badge-row { margin-top: 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.badge-row img { height: 56px; width: auto; display: block; }
.badge-note { color: var(--muted); font-size: 14.5px; }
.badge-note b { color: var(--text); }
.checks { margin-top: 20px; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; }
.checks span::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Der lebende Kreis: Ruhe in Taube, der Stubs kreist in Sand. */
.presence { display: flex; justify-content: center; }
.presence .stage { position: relative; width: min(300px, 66vw); aspect-ratio: 1; }
.ring, .core {
  position: absolute; border-radius: 50%;
  top: 50%; left: 50%; translate: -50% -50%;
  transition: background-color .4s ease;
}
.ring { width: 88%; height: 88%; background: color-mix(in srgb, var(--accent) 12%, transparent); animation: breath 4.5s ease-in-out infinite; }
.core { width: 56%; height: 56%; background: color-mix(in srgb, var(--accent) 86%, transparent); animation: breath 4.5s ease-in-out infinite; }
.orbit { position: absolute; inset: 0; animation: orbit 14s linear infinite; }
.orbit .dot {
  position: absolute; top: 0; left: 50%; translate: -50% -50%;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--spark);
  box-shadow: 0 0 18px color-mix(in srgb, var(--spark) 65%, transparent);
  transition: background-color .4s ease;
}
@keyframes breath { 0%,100% { scale: .96; } 50% { scale: 1.05; } }
@keyframes orbit  { to { rotate: 360deg; } }

/* ---------- Sektionsköpfe (idlewise-Muster) ---------- */
.sec { padding: 72px 0; }
.sec.alt { background: var(--bg-alt); transition: background-color .4s ease; }
.sec-eyebrow {
  font-size: 12.5px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
  transition: color .4s ease;
}
.sec h2 {
  font-family: 'Lexend', system-ui, sans-serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600; line-height: 1.25;
  max-width: 640px;
}
.sec .lead { color: var(--muted); margin-top: 10px; max-width: 560px; }

/* ---------- Schritte: nummerierte Karten mit Screenshot ---------- */
.cards {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.card .shot {
  background: var(--bg-alt);
  padding: 16px;
  display: flex; justify-content: center;
}
.card .shot img {
  display: block; width: 100%; max-width: 200px;
  border-radius: 12px;
  border: 1px solid var(--outline);
}
.card .body { padding: 18px 20px 22px; }
.num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  font-size: 13.5px; font-weight: 700;
  margin-bottom: 10px;
  transition: background-color .4s ease, color .4s ease;
}
.card b { display: block; font-size: 16.5px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- Fokus-Sektion: Wenn-Dann ---------- */
.focus {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: 48px; align-items: center;
}
.focus .phone {
  justify-self: center;
  width: min(250px, 64vw);
  border-radius: 28px;
  border: 1px solid var(--outline);
  background: var(--bg-alt);
  padding: 11px;
  box-shadow: var(--shadow);
}
.focus .phone img { display: block; width: 100%; border-radius: 28px; }
.focus p.big {
  font-family: 'Lexend', system-ui, sans-serif;
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.45; margin-top: 16px;
}
.focus p.big strong { color: var(--accent); transition: color .4s ease; }
.focus .rest { color: var(--muted); margin-top: 14px; max-width: 480px; }

/* ---------- Prinzipien 2x2 ---------- */
.principles {
  margin-top: 32px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.principle {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid; grid-template-columns: 34px 1fr; gap: 14px;
}
.principle .glyph {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  transition: background-color .4s ease, color .4s ease;
}
.principle b { display: block; font-size: 16px; margin-bottom: 4px; }
.principle p { color: var(--muted); font-size: 14.5px; }

/* ---------- Farbwelten ---------- */
.palettes-inner { text-align: center; }
.palettes-inner h2 { margin-left: auto; margin-right: auto; }
.palettes-inner .lead { margin-left: auto; margin-right: auto; }
.swatches { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.swatch {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--outline);
  border-radius: 999px; padding: 10px 20px;
  font-size: 15px; font-weight: 600; font-family: inherit;
  cursor: pointer;
  transition: border-color .3s ease, transform .2s ease;
}
.swatch:hover { transform: translateY(-2px); }
.swatch i { width: 15px; height: 15px; border-radius: 50%; }
.swatch[data-palette="taube"]  { --chip: #8fa8c4; }
.swatch[data-palette="salbei"] { --chip: #8fbcab; }
.swatch[data-palette="sand"]   { --chip: #cba87f; }
.swatch[data-palette="heide"]  { --chip: #b79bb4; }
.swatch {
  background: color-mix(in srgb, var(--chip) 13%, var(--surface));
  border-color: color-mix(in srgb, var(--chip) 42%, transparent);
}
.swatch i { background: var(--chip); }
.swatch[aria-pressed="true"] {
  background: color-mix(in srgb, var(--chip) 26%, var(--surface));
  border-color: var(--chip);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--chip) 22%, transparent);
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 30px; display: grid; gap: 12px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 14px;
  padding: 0 20px;
}
.faq-list summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; font-weight: 600; font-size: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; color: var(--accent);
  font-size: 21px; font-weight: 400; line-height: 1;
  transition: rotate .25s ease, color .4s ease;
}
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list details p { color: var(--muted); padding: 0 0 18px; font-size: 15px; }

/* ---------- Disclaimer + Footer ---------- */
.disclaimer {
  margin: 0 0 8px; padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 14px;
  color: var(--muted); font-size: 14px;
}
footer {
  border-top: 1px solid var(--outline);
  padding: 26px 0 44px; color: var(--muted); font-size: 14.5px;
}
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer nav { margin-left: auto; display: flex; gap: 16px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ---------- Legal (Unterseiten) ---------- */
.legal h1 { font-family: 'Lexend', system-ui, sans-serif; font-size: 32px; margin: 24px 0 4px; }
.legal .stand { color: var(--muted); margin-bottom: 28px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 8px 0 8px 22px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--accent); }
main.legal { padding: 24px 0 48px; }

/* ---------- Reveals ---------- */
.reveal { opacity: 0; translate: 0 20px; transition: opacity .6s ease, translate .6s ease; }
.reveal.visible { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .presence { order: -1; }
  .presence .stage { width: min(200px, 56vw); }
  .focus { grid-template-columns: 1fr; gap: 28px; }
  .principles { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring, .core, .orbit { animation: none; }
  .reveal { opacity: 1; translate: none; transition: none; }
}

/* ---------- Fokus ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
