/* ============================================================
   STUDIO MATULKE — Webdesign & Individualsoftware
   Editorial-Galerie-Register: warmes Papier, Tinte, Kobalt.
   Newsreader (Display/Italic) · Hanken Grotesk (Body)
   Cookie-frei, self-hosted, statisch.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face { font-family:'Newsreader'; src:url('../fonts/newsreader-v26-latin_latin-ext-regular.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Newsreader'; src:url('../fonts/newsreader-v26-latin_latin-ext-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Newsreader'; src:url('../fonts/newsreader-v26-latin_latin-ext-italic.woff2') format('woff2'); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:'Newsreader'; src:url('../fonts/newsreader-v26-latin_latin-ext-500italic.woff2') format('woff2'); font-weight:500; font-style:italic; font-display:swap; }
@font-face { font-family:'Hanken Grotesk'; src:url('../fonts/hanken-grotesk-400.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Hanken Grotesk'; src:url('../fonts/hanken-grotesk-600.woff2') format('woff2'); font-weight:600; font-display:swap; }

/* ---------- Tokens ---------- */
:root {
  --paper: #F5F2EC;        /* warmes Galerie-Weiß */
  --paper-2: #ECE8DF;      /* Tint-Fläche */
  --card: #FFFFFF;
  --ink: #17140E;          /* warmes Tiefschwarz, 15:1 */
  --muted: #5D5749;        /* 6:1 auf paper */
  --line: rgba(23, 20, 14, .12);
  --line-soft: rgba(23, 20, 14, .07);

  --accent: #2B3BDC;       /* Kobalt — Text-sicher auf Papier (~6.8:1) */
  --accent-soft: rgba(43, 59, 220, .08);
  --on-accent: #FFFFFF;
  --line-input: #8A8170;   /* Formularränder ≥3:1 auf Papier (WCAG 1.4.11) */

  --dark: #14110B;         /* Buchdeckel: CTA + Footer */
  --dark-ink: #F2EFE7;
  --dark-muted: #A8A294;   /* ~6.8:1 auf dark */
  --accent-on-dark: #8E9BFF;

  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;

  --fs-hero: clamp(2.6rem, 1.6rem + 4.4vw, 5.4rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2.2vw, 3.4rem);
  --fs-h3: clamp(1.3rem, 1.2rem + .5vw, 1.6rem);
  --fs-body: clamp(1rem, .958rem + .185vw, 1.125rem);
  --fs-small: .9rem;
  --fs-eyebrow: .78rem;

  --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-xl: 26px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 78px;
  --shadow-frame: 0 30px 80px -30px rgba(23, 20, 14, .35), 0 8px 24px -12px rgba(23, 20, 14, .18);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Anker landen bewusst tiefer: der fixe Header darf einen Teil des großzügigen
   Sektions-Innenabstands überdecken, damit die Überschrift nah am Header steht. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 2rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.no-scroll { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}
/* feines Papierkorn */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 1.1rem;
  hyphens: manual;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
em, .it { font-family: var(--font-display); font-style: italic; }
h1 em, h2 em { color: var(--accent); font-weight: 400; }

p { margin: 0 0 1rem; max-width: 65ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
p, li {
  hyphens: auto; -webkit-hyphens: auto;
  hyphenate-limit-chars: 10 5 4;
  -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 4;
  overflow-wrap: break-word;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }

::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
/* Auf dunklen Flächen braucht der Fokusring ≥3:1 — Kobalt schafft das dort nicht */
.why :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-on-dark); }

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 999;
  padding: .7rem 1.2rem; background: var(--ink); color: var(--paper);
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus-visible { top: 0; }

.container { max-width: 1240px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
section { padding-block: clamp(4.5rem, 6vw + 1.5rem, 8.5rem); position: relative; }
/* Anker-Offset kommt allein aus html { scroll-padding-top } — kein doppelter Versatz */

.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.lead { color: var(--muted); font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem); }

.eyebrow {
  display: flex; align-items: center; gap: .65rem;
  font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--accent); }
.eyebrow b { color: var(--accent); font-weight: 600; }

/* riesige Geister-Nummern */
.gnum {
  position: absolute; top: .2em; right: 2%;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(5rem, 14vw, 12rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(23, 20, 14, .12);
  pointer-events: none; user-select: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .85rem 1.7rem;
  border: 0; border-radius: 999px;
  font-family: var(--font-body); font-size: 1.04rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.98); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr, .btn:focus-visible .arr { transform: translateX(4px); }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -10px rgba(43,59,220,.5); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: #1F2DBE; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn-sm { min-height: 44px; padding: .5rem 1.2rem; font-size: .95rem; }

.microline { font-size: .85rem; color: var(--muted); margin-top: .8rem; letter-spacing: .02em; }

/* ---------- Cursor (Differenz-Punkt) — nur transform animiert ---------- */
@media (hover: hover) and (pointer: fine) {
  .cursor-dot {
    position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
    width: 26px; height: 26px; margin: -13px 0 0 -13px;
    background: #fff; border-radius: 50%;
    mix-blend-mode: difference;
    will-change: transform;
  }
}
.cursor-dot { display: none; }
html.fancy-cursor .cursor-dot { display: block; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(245, 242, 236, .88);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }

.wordmark {
  font-family: var(--font-display); font-weight: 500; font-size: 1.3rem;
  letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.wordmark i { font-style: italic; color: var(--accent); }

.main-nav { display: none; align-items: center; gap: 2.1rem; }
.main-nav a { position: relative; font-size: .98rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.header-cta { display: none; }
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; min-height: 44px; padding: .55rem 1.25rem; font-size: .95rem; }
  .burger { display: none !important; }
}

.burger {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin-block: 2.5px; border-radius: 2px; }

.mobile-menu[hidden] { display: none; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  padding: 1.1rem clamp(1.25rem, 4vw, 2rem) 2rem;
  background: var(--paper); color: var(--ink);
  overflow-y: auto;
}
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.menu-close {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink); cursor: pointer; font-size: 1.2rem;
}
.mobile-nav { display: flex; flex-direction: column; margin-top: 6vh; }
.mobile-nav a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1rem 0;
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 500;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a span { font-size: .8rem; font-family: var(--font-body); font-weight: 600; color: var(--accent); letter-spacing: .1em; }
.mobile-menu-bottom { margin-top: auto; padding-top: 2.5rem; display: flex; flex-direction: column; gap: .8rem; }
.mobile-menu-bottom .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  min-height: clamp(640px, 96svh, 980px);
  display: grid; align-items: center;
  padding-block: calc(var(--header-h) + 2.5rem) 3.5rem;
  overflow: clip;
}
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

.hero h1 { font-size: var(--fs-hero); max-width: 15ch; margin-bottom: 1.4rem; }
.hero .lead { max-width: 52ch; font-size: clamp(1.06rem, 1rem + .3vw, 1.28rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-points {
  margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: .5rem 1.8rem;
  font-size: .92rem; color: var(--muted);
}
.hero-points span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* — Selbstbauender Website-Mock — */
.mock-wrap { position: relative; }
.mock {
  position: relative;
  background: #FBFAF7;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-frame);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  max-width: 560px;
  margin-inline: auto;
}
.mock-bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .6rem .9rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-soft);
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(23,20,14,.18); }
.mock-url {
  margin-inline: auto;
  font-size: .68rem; letter-spacing: .04em; color: var(--muted);
  background: var(--paper); border-radius: 999px; padding: .22rem .9rem;
  border: 1px solid var(--line-soft);
  font-family: var(--font-body);
}
.mock-page { padding: 7% 7.5%; height: 100%; }

/* Bausteine: Grundzustand unsichtbar → .play lässt Skelett einfliegen → .dress färbt ein */
.mb { opacity: 0; transform: translateY(14px); border-radius: 6px; background: #E7E3D9; }
.mock.instant .mb, .mock.play .mb { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), background-color .6s ease; }
.m-nav { display: flex; align-items: center; gap: 4%; height: 7.5%; background: transparent !important; }
.m-logo { width: 12%; height: 60%; border-radius: 4px; background: #E7E3D9; transition: background-color .6s ease; }
.m-link { width: 7%; height: 26%; border-radius: 3px; background: #E7E3D9; transition: background-color .6s ease; }
.m-pill { width: 16%; height: 58%; border-radius: 999px; background: #E7E3D9; margin-left: auto; transition: background-color .6s ease; }
.m-hero {
  margin-top: 4.5%; height: 38%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6%;
  background: transparent !important;
}
.m-copy { display: flex; flex-direction: column; gap: 7%; justify-content: center; }
.m-h { height: 13%; border-radius: 4px; background: #E7E3D9; transition: background-color .6s ease; }
.m-h.w90 { width: 92%; } .m-h.w70 { width: 70%; } .m-h.w45 { width: 45%; height: 11%; }
.m-btn { width: 38%; height: 16%; border-radius: 999px; background: #DDD8CC; margin-top: 4%; transition: background-color .6s ease; }
.m-img { border-radius: 8px; background: #E7E3D9; transition: background .6s ease; }
.m-cards { margin-top: 5%; height: 26%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; background: transparent !important; }
.m-card { border-radius: 8px; background: #E7E3D9; position: relative; transition: background-color .6s ease; }
.m-card::before {
  content: ''; position: absolute; left: 12%; top: 14%;
  width: 22%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(23,20,14,.07); transition: background-color .6s ease;
}
.m-foot { margin-top: 5%; height: 9%; background: #E7E3D9; transition: background-color .6s ease; }

/* Phase 2: „Design drüberlegen“ — Beispiel-Palette (Grünton, wie Studie „Gartenbau“) */
.mock.dress .mock-page { background: #ECE9D6; transition: background-color .8s ease; }
.mock.dress .m-logo { background: #0B230E; }
.mock.dress .m-link { background: #C5C2AE; }
.mock.dress .m-pill { background: #C8F075; }
.mock.dress .m-h { background: #0B230E; }
.mock.dress .m-h.w45 { background: #45803C; }
.mock.dress .m-btn { background: #C8F075; }
.mock.dress .m-img { background: linear-gradient(135deg, #0B230E 0%, #45803C 70%, #C8F075 135%); }
.mock.dress .m-card { background: #FFFFFF; box-shadow: 0 4px 14px -6px rgba(23,20,14,.15); }
.mock.dress .m-card::before { background: #DDEBC9; }
.mock.dress .m-foot { background: #0B230E; }

.mock-replay {
  position: absolute; right: 12px; bottom: 12px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(251, 250, 247, .9); color: var(--ink);
  cursor: pointer; font-size: 1.05rem;
  transition: color .2s ease, border-color .2s ease, transform .3s var(--ease-out);
}
.mock-replay:hover { color: var(--accent); border-color: var(--accent); transform: rotate(-180deg); }

.mock-tag {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%);
  white-space: nowrap;
  font-size: var(--fs-eyebrow); letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  border-radius: 999px; padding: .45rem 1rem;
}
.mock-tag b { color: var(--accent-on-dark); font-weight: 600; }

/* ---------- Marquee (editorial) ---------- */
.marquee-strip { padding-block: 1.4rem; border-block: 1px solid var(--line-soft); overflow: hidden; background: var(--paper); }
.marquee { display: flex; gap: 3.2rem; overflow: hidden; }
.marquee__content {
  flex-shrink: 0; display: flex; align-items: baseline; gap: 3.2rem;
  min-width: 100%; justify-content: space-around;
  animation: mscroll 42s linear infinite;
  font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.6rem);
  color: var(--ink); white-space: nowrap;
}
.marquee__content em { color: var(--accent); }
.marquee__content i { font-style: normal; color: var(--accent); font-size: .5em; }
.marquee:hover .marquee__content { animation-play-state: paused; }
@keyframes mscroll { to { transform: translateX(calc(-100% - 3.2rem)); } }

/* ---------- Referenz ---------- */
.ref { background: var(--paper-2); }
.ref-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 1000px) { .ref-grid { grid-template-columns: 1.05fr .95fr; } }

.browser {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-frame);
  overflow: hidden;
}
.browser .mock-bar { background: #F1EEE6; }
.shot-frame { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; }
.shot-frame img { width: 100%; height: auto; }
/* Auto-Pan: das lange Bild fährt langsam durch den Rahmen.
   Endpunkt = -100% + Rahmenhöhe (JS setzt --shot-end exakt, 420px ist Fallback) */
@media (prefers-reduced-motion: no-preference) {
  .shot-frame img.pan { animation: panShot 26s ease-in-out infinite alternate; }
  @keyframes panShot { from { transform: translateY(0); } to { transform: translateY(var(--shot-end, calc(-100% + 420px))); } }
}
/* Designstudien-Galerie */
.studies-grid { display: grid; gap: 1.4rem; }
@media (min-width: 880px) { .studies-grid { grid-template-columns: repeat(3, 1fr); } }
.study { margin: 0; }
.study .browser img { width: 100%; height: auto; display: block; }
.study figcaption { margin-top: .8rem; font-size: .92rem; color: var(--muted); }
.study figcaption b { color: var(--ink); font-weight: 600; }
@media (hover: hover) {
  .study .browser { transition: transform .25s var(--ease-out), box-shadow .25s ease; }
  .study:hover .browser { transform: translateY(-5px); box-shadow: 0 34px 90px -34px rgba(23, 20, 14, .42); }
}
.studies-more { margin-top: 2rem; }

.ref-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.4rem; }
.ref-meta span {
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; color: var(--muted);
}
.ref-quote {
  margin: 1.8rem 0 0; padding-left: 1.1rem;
  border-left: 2px solid var(--accent);
  font-family: var(--font-display); font-style: italic;
  font-size: 1.18rem; color: var(--ink);
  max-width: 46ch;
}
.ref-next {
  margin-top: clamp(3rem, 6vw, 5rem);
  border: 1.5px dashed var(--line);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: rgba(255, 255, 255, .5);
}
.ref-next h3 { margin: 0; font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); }
.ref-next h3 em { color: var(--accent); }

/* ---------- Leistungen ---------- */
.services-grid { display: grid; gap: 1.4rem; }
@media (min-width: 920px) { .services-grid { grid-template-columns: 1fr 1fr; } }
.service {
  position: relative;
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  transition: transform .25s var(--ease-out), box-shadow .25s ease, border-color .25s ease;
}
@media (hover: hover) {
  .service:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: 0 24px 60px -28px rgba(23, 20, 14, .3); }
}
.service .num { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--accent); }
.service h3 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2.1rem); }
.service p { color: var(--muted); }
.service ul { display: grid; gap: .55rem; margin-top: .3rem; }
.service li { display: flex; gap: .6rem; align-items: baseline; }
.service li::before { content: '→'; color: var(--accent); flex: none; }
.service .foot {
  margin-top: auto; padding-top: 1.3rem; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .9rem; color: var(--muted);
}
.maint-strip {
  margin-top: 1.4rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  padding: 1.3rem clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: var(--paper-2);
  font-size: .98rem; color: var(--muted);
}
.maint-strip b { color: var(--ink); }

/* ---------- Warum so günstig ---------- */
.why { background: var(--dark); color: var(--dark-ink); }
.why .eyebrow { color: var(--dark-muted); }
.why .eyebrow::before { background: var(--accent-on-dark); }
.why h2 { color: var(--dark-ink); }
.why h2 em { color: var(--accent-on-dark); }
.why .lead { color: var(--dark-muted); }
.why-grid { display: grid; gap: 1rem; }
@media (min-width: 880px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  padding: 1.8rem 1.6rem;
  border: 1px solid rgba(242, 239, 231, .12);
  border-radius: var(--r-lg);
  background: rgba(242, 239, 231, .03);
}
.why-card .wnum { font-family: var(--font-display); font-style: italic; font-size: 2.2rem; color: var(--accent-on-dark); line-height: 1; }
.why-card h3 { margin-top: .8rem; font-size: 1.25rem; color: var(--dark-ink); }
.why-card p { color: var(--dark-muted); font-size: .98rem; margin: 0; }
.why-line { margin-top: 2.4rem; font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 1.05rem + .8vw, 1.7rem); color: var(--dark-ink); max-width: 38ch; }
.why-line b { color: var(--accent-on-dark); font-weight: 500; }

/* ---------- Preise ---------- */
.price-grid { display: grid; gap: 1.2rem; }
@media (min-width: 980px) { .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.price {
  display: flex; flex-direction: column; gap: .9rem;
  padding: clamp(1.7rem, 3vw, 2.3rem);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  position: relative;
}
.price.feat { border: 1.5px solid var(--ink); }
.price .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  border-radius: 999px; padding: .3rem .9rem; white-space: nowrap;
}
.price h3 { margin: 0; }
.price .p-for { color: var(--muted); font-size: .92rem; min-height: 2.6em; }
.price .p-tag { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.9rem); line-height: 1; }
.price .p-tag small { font-size: .42em; font-family: var(--font-body); color: var(--muted); font-weight: 400; }
.price ul { display: grid; gap: .5rem; margin-block: .5rem 1.2rem; }
.price li { display: flex; gap: .55rem; align-items: baseline; font-size: .95rem; }
.price li::before { content: '✓'; color: var(--accent); font-weight: 700; flex: none; }
.price .btn { margin-top: auto; }
.price-note { margin-top: 1.6rem; font-size: .85rem; color: var(--muted); max-width: 70ch; }

/* ---------- Ablauf ---------- */
.process-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 920px) { .process-grid { grid-template-columns: .9fr 1.1fr; align-items: start; } .process-sticky { position: sticky; top: calc(var(--header-h) + 2rem); } }
.steps { display: grid; gap: 0; position: relative; }
.step {
  position: relative;
  padding: 1.6rem 0 1.6rem 4.6rem;
  border-bottom: 1px solid var(--line-soft);
  transition: opacity .3s ease;
}
/* Dimmen nur mit JS (sonst dauerhaft) und nur bis .85 (Kontrast bleibt ≥4.5:1) */
html.js .step { opacity: .85; }
.step:first-child { border-top: 1px solid var(--line-soft); }
html.js .step.active { opacity: 1; }
html.js .step.active .snum { transform: scale(1.18); }
.step .snum { transition: transform .3s var(--ease-out); transform-origin: left center; }
.step .snum {
  position: absolute; left: 0; top: 1.45rem;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.9rem; color: var(--accent); line-height: 1;
}
.step h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }
.step .meta { display: block; margin-top: .5rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Über mich ---------- */
.about-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 920px) { .about-grid { grid-template-columns: .85fr 1.15fr; } }
.about-figure { position: relative; max-width: 400px; }
.about-figure img { width: 100%; height: auto; border-radius: var(--r-xl); filter: saturate(.97) contrast(1.03); }
.about-figure::before {
  content: ''; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--line); border-radius: var(--r-xl); z-index: -1;
}
.about-figure figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--paper); border: 1px solid var(--line);
  padding: .5rem .9rem; border-radius: 999px;
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.about-facts { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; }
.about-facts span {
  font-size: .82rem; font-weight: 600;
  padding: .45rem .95rem; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--line-soft);
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; }
.faq-list details { border-bottom: 1px solid var(--line-soft); }
.faq-list details:first-child { border-top: 1px solid var(--line-soft); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem .2rem;
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 500; font-size: 1.22rem;
  min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; font-family: var(--font-body); color: var(--accent);
  font-size: 1.4rem; transition: transform .25s ease; flex: none;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .faq-body { padding: 0 .2rem 1.4rem; color: var(--muted); max-width: 68ch; }

/* ---------- CTA-Band (dunkler Buchdeckel) ---------- */
.cta-band { background: var(--dark); color: var(--dark-ink); overflow: clip; }
.cta-band .eyebrow { color: var(--dark-muted); }
.cta-band .eyebrow::before { background: var(--accent-on-dark); }
.cta-band h2 { color: var(--dark-ink); max-width: 18ch; font-size: clamp(2.2rem, 1.6rem + 2.8vw, 4.2rem); }
.cta-band h2 em { color: var(--accent-on-dark); }
.cta-band .lead { color: var(--dark-muted); }
.cta-watermark {
  position: absolute; right: -2%; bottom: -.16em; z-index: 0;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(4rem, 13vw, 10rem); line-height: 1;
  color: rgba(242, 239, 231, .05);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.cta-band .container { position: relative; z-index: 1; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1.05fr .95fr; align-items: start; } }
.form-card {
  background: var(--card);
  border: 1px solid var(--line-soft); border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .92rem; font-weight: 600; margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%;
  min-height: 52px; padding: .85rem 1rem;
  font: inherit; font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-input);
  border-radius: var(--r-md);
  transition: border-color .2s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent);
}
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-block: 1.2rem; }
.consent input { width: 19px; height: 19px; margin-top: .2rem; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-md); font-size: .95rem; }
.form-status.ok { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(43, 59, 220, .3); }
.form-status.error { background: rgba(164, 36, 24, .07); color: #A3260F; border: 1px solid rgba(164, 36, 24, .35); }

.contact-aside { display: grid; gap: 1rem; align-content: start; }
.c-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: var(--card);
  color: var(--ink); text-decoration: none;
  transition: border-color .2s ease, transform .2s var(--ease-out);
}
a.c-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.c-card .ico {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.c-card .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.c-card b { display: block; font-size: 1.02rem; }
.c-card span { color: var(--muted); font-size: .85rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-muted); padding-block: 3rem 2rem; }
.site-footer .wordmark { color: var(--dark-ink); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 1.6rem 3rem; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .92rem; }
.footer-links a { color: var(--dark-muted); text-decoration: none; }
.footer-links a:hover { color: var(--dark-ink); }
.footer-note { margin-top: 1.4rem; font-size: .8rem; }
.footer-note .ok { color: var(--accent-on-dark); }
.legal-row {
  margin-top: 2rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(242, 239, 231, .12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .85rem;
}
.legal-row a { color: inherit; }

/* ---------- Legal-Seiten ---------- */
.legal-page { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 4rem; max-width: 780px; }
.legal-page h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3rem); }
.legal-page h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page li { list-style: disc; margin-left: 1.2rem; }
.legal-page strong { color: var(--ink); }

/* ---------- Lade-Choreografie: sofortiges Wow beim ersten Aufruf ----------
   Header senkt sich, Hero-Elemente steigen gestaffelt, Akzentwort wird unterstrichen.
   Gesamtbudget < 800 ms bis der Kern steht; reduced-motion killt alles (s. unten). */
@keyframes riseIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes headerIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
html.js .site-header { animation: headerIn .55s var(--ease-out) both; }
html.js .hero .eyebrow      { animation: riseIn .65s var(--ease-out) both .05s; }
html.js .hero h1            { animation: riseIn .75s var(--ease-out) both .13s; }
html.js .hero .lead         { animation: riseIn .65s var(--ease-out) both .24s; }
html.js .hero .hero-cta     { animation: riseIn .65s var(--ease-out) both .33s; }
html.js .hero .microline    { animation: riseIn .65s var(--ease-out) both .40s; }
html.js .hero .hero-points  { animation: riseIn .65s var(--ease-out) both .46s; }
html.js .mock-wrap          { animation: riseIn .85s var(--ease-out) both .28s; }
/* Akzentwort „teuer“ bekommt nach dem Einstieg eine gezeichnete Unterstreichung */
html.js .hero h1 em {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 2.5px;
  background-repeat: no-repeat;
  background-position: 0 94%;
  animation: drawU .55s var(--ease-out) both 1.05s;
  padding-bottom: .04em;
}
@keyframes drawU { to { background-size: 100% 2.5px; } }

/* ---------- Reveals ---------- */
html.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* Scroll-getriebene Akzente */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cta-watermark { animation: wmX linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes wmX { from { transform: translateX(6%); } to { transform: translateX(-5%); } }
    .drift { animation: driftY linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes driftY { from { transform: translateY(3%); } to { transform: translateY(-3%); } }
  }
}

/* ---------- Sticky Mobile CTA ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex;
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom); /* erweitert die Leiste, statt sie zu stauchen */
  background: rgba(245, 242, 236, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.sticky-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 62px;
  font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--ink);
}
.sticky-bar a svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sticky-bar .s-cta { background: var(--ink); color: var(--paper); }
@media (min-width: 1024px) { .sticky-bar { display: none; } }
body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { body { padding-bottom: 0; } }

/* ---------- Mobile-Feinheiten ---------- */
@media (max-width: 480px) {
  .hero-cta .btn { width: 100%; }
  .gnum { display: none; }
}

/* ---------- Reduced Motion (letzte Regeln) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__content { animation: none !important; }
  .shot-frame img.pan { animation: none !important; }
}
