/* ==========================================================================
   Godic Webdesign – Startseite (index.html)
   Alle Farben, Schriftgrössen, Abstände und Bewegungswerte stehen hier oben.
   Impressum und Datenschutz nutzen weiterhin assets/css/style.css.
   ========================================================================== */

/* Schrift: Archivo (variable, SIL Open Font License, lokal) */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Farben */
  --ink: #0F1115;            /* Grund, fast schwarz */
  --ink-2: #15181D;          /* leicht angehobene Fläche */
  --slate: #1F2937;          /* Anthrazit: Flächen, Linien */
  --paper: #F2EEE8;          /* warmes Weiss für Text */
  --paper-dim: #B9B5AF;      /* gedämpfter Text, Kontrast 9:1 auf --ink */
  --paper-faint: #8C8983;    /* sehr leiser Text, Kontrast 5.6:1 auf --ink */
  --accent: #93B4FF;         /* einzige Akzentfarbe (helles Markenblau) */
  --accent-strong: #B5CCFF;  /* Hover */
  --brand: #1E3A8A;          /* Markenblau, nur auf hellen Flächen */
  --line: rgba(242, 238, 232, .12);
  --line-strong: rgba(242, 238, 232, .24);
  --error: #FF9B8F;

  /* Schrift */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 125%;              /* breiter Schnitt für Überschriften */
  --fs-small: .875rem;
  --fs-body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --fs-lead: clamp(1.125rem, 1rem + .55vw, 1.4rem);
  --fs-h3: clamp(1.5rem, 1.05rem + 1.9vw, 2.75rem);
  --fs-h2: clamp(2.25rem, 1.3rem + 4vw, 5rem);
  --fs-statement: clamp(1.75rem, .95rem + 3.3vw, 4.25rem);
  --fs-hero: clamp(2.5rem, 1rem + 4.6vw, 6.25rem);
  --fs-mega: clamp(3rem, .9rem + 8.6vw, 10.5rem);

  /* Abstände (8er-Raster) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section: clamp(5rem, 3rem + 8vw, 10rem);
  --gutter: clamp(1.25rem, .8rem + 2vw, 3rem);
  --max: 1440px;

  /* Formen */
  --radius: 6px;
  --radius-lg: 14px;

  /* Bewegung */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur: .35s;
  --header-h: 72px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  background: var(--ink);
  scrollbar-color: #343B47 var(--ink);
  scrollbar-width: thin;
}
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--accent); color: var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #343B47; border-radius: 10px; border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: #4A5363; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p, h1, h2, h3, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3, .display {
  font-stretch: var(--wide);
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 3px;
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--paper-dim); max-width: 38rem; }
.muted { color: var(--paper-dim); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }

.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 200; padding: .75rem 1rem;
  background: var(--paper); color: var(--ink); border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons & Links ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 56px; padding: 0 1.6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 650; font-size: 1rem; letter-spacing: .005em; text-decoration: none;
  border: 0; border-radius: var(--radius); cursor: pointer; overflow: hidden; isolation: isolate;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.btn::before {
  /* Füllung von unten beim Hover */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper);
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { color: var(--ink); }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; min-height: 48px; gap: .5rem;
  font-weight: 600; text-decoration: none; color: var(--paper);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 calc(50% + .8em);
  transition: background-size .45s var(--ease-out), color var(--dur);
}
.text-link:hover { color: var(--accent); background-size: 0% 1px; background-position: 100% calc(50% + .8em); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .4s var(--ease-out), border-color .4s, transform .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(15, 17, 21, .96); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; flex: none; }
.brand img { height: 30px; width: auto; }
.brand-fallback { font-stretch: var(--wide); font-weight: 800; font-size: 1.1rem; letter-spacing: .08em; }

.nav-desktop { display: none; }
.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.header-call {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .9rem;
  border-radius: var(--radius); background: var(--accent); color: var(--ink); font-weight: 650; font-size: .9375rem; text-decoration: none;
}
.header-call svg { width: 18px; height: 18px; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .9rem;
  background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--line-strong); border-radius: var(--radius);
  font-weight: 600; font-size: .9375rem; cursor: pointer;
}
.menu-toggle-lines { position: relative; width: 16px; height: 10px; }
.menu-toggle-lines::before, .menu-toggle-lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.menu-toggle-lines::before { top: 1px; }
.menu-toggle-lines::after { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { top: 4.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { top: 4.5px; transform: rotate(-45deg); }

@media (min-width: 1100px) {
  .nav-desktop { display: flex; align-items: center; gap: clamp(1.25rem, 2vw, 2.25rem); }
  .nav-desktop a {
    position: relative; display: inline-flex; align-items: center; min-height: 44px;
    font-size: .9375rem; font-weight: 500; color: var(--paper-dim); text-decoration: none; transition: color var(--dur);
  }
  .nav-desktop a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: var(--accent);
    transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
  }
  .nav-desktop a:hover, .nav-desktop a[aria-current="true"] { color: var(--paper); }
  .nav-desktop a:hover::after, .nav-desktop a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
  .menu-toggle { display: none; }
  .header-call { background: transparent; color: var(--paper); padding: 0 .5rem; }
  .header-call:hover { color: var(--accent); }
  .header-call svg { color: var(--accent); }
  .header-actions .header-cta { display: inline-flex !important; min-height: 44px; padding: 0 1.1rem; font-size: .9375rem; }
}
.header-cta { display: none !important; }
@media (max-width: 479.98px) { .header-call span { display: none; } .header-call { padding: 0; width: 44px; justify-content: center; } }

/* Mobile-Menü (Vollbild) */
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink);
  padding: calc(var(--header-h) + var(--s-6)) var(--gutter) var(--s-7);
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-7);
  overflow-y: auto; visibility: hidden; opacity: 0;
  transition: opacity .45s var(--ease-out), visibility 0s .45s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .45s var(--ease-out), visibility 0s; }
.menu-links a {
  display: flex; align-items: baseline; gap: var(--s-4); padding: .55rem 0;
  font-stretch: var(--wide); font-weight: 700; font-size: clamp(1.75rem, 1rem + 4vw, 3rem); line-height: 1.1;
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.menu-links a span { font-size: var(--fs-small); font-stretch: 100%; font-weight: 500; color: var(--paper-faint); min-width: 1.6rem; }
.menu-foot { display: grid; gap: var(--s-3); }
.menu-foot p { color: var(--paper-dim); }
@media (min-width: 1100px) { .menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate; background: #000;
}
.hero-media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease-in-out); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide img { filter: brightness(.82); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; }
.hero.has-gl .hero-canvas { opacity: 1; }
.hero::after {
  /* dunkler Verlauf unten, damit der Text lesbar ist */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(15, 17, 21, .95) 0%, rgba(15, 17, 21, .72) 28%, rgba(15, 17, 21, .15) 62%, rgba(15, 17, 21, .35) 100%),
    linear-gradient(to right, rgba(15, 17, 21, .55) 0%, rgba(15, 17, 21, 0) 60%);
}
.hero-content {
  position: relative; padding-top: calc(var(--header-h) + var(--s-8)); padding-bottom: var(--s-6);
}
.hero-title { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.03em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: block; }
.hero-sub { margin-top: var(--s-5); font-size: var(--fs-lead); color: #DAD6D0; max-width: 34rem; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); margin-top: var(--s-6); }

.hero-foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  padding-block: var(--s-5) var(--s-6); border-top: 1px solid var(--line);
}
.hero-progress { display: flex; align-items: center; gap: var(--s-4); flex: 1; max-width: 520px; }
.hero-progress ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); flex: 1; }
.hero-progress li { font-size: .8125rem; font-weight: 500; color: var(--paper-faint); transition: color .5s; }
.hero-progress li.is-active { color: var(--paper); }
.hero-progress .bar { display: block; height: 2px; margin-bottom: .55rem; background: var(--line-strong); overflow: hidden; border-radius: 2px; }
.hero-progress .bar i { display: block; height: 100%; background: var(--paper); transform: scaleX(0); transform-origin: left; }
.hero-progress li.is-done .bar i { transform: scaleX(1); }
.hero-pause {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer; color: var(--paper);
}
.hero-pause svg { width: 14px; height: 14px; }
.hero-pause .i-play { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }
.hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-scroll { display: none; font-size: .8125rem; color: var(--paper-faint); }
@media (min-width: 768px) { .hero-scroll { display: block; } }

/* Zeilen gleiten aus einer Maske nach oben (reines CSS, läuft auch ohne JavaScript) */
@keyframes line-up { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line > span { animation: line-up 1.1s var(--ease-out) both; }
  .hero-title .line:nth-child(1) > span { animation-delay: .15s; }
  .hero-title .line:nth-child(2) > span { animation-delay: .27s; }
  .hero-title .line:nth-child(3) > span { animation-delay: .39s; }
  .hero-sub, .hero-actions, .hero-foot { animation: fade-up 1s var(--ease-out) both; }
  .hero-sub { animation-delay: .6s; }
  .hero-actions { animation-delay: .72s; }
  .hero-foot { animation-delay: .9s; }
}

/* ---------- Problem ---------- */
.problem { padding-block: var(--section); }
.statement { font-size: var(--fs-statement); font-stretch: 112%; font-weight: 650; line-height: 1.12; letter-spacing: -.02em; max-width: 22ch; text-wrap: pretty; }
.statement .w { opacity: 1; }
.js .statement .w { opacity: .18; }
.statement-answer {
  margin-top: var(--s-8); margin-left: auto; max-width: 34rem; display: grid; gap: var(--s-4);
  font-size: var(--fs-lead); line-height: 1.5; color: var(--paper-dim);
}
.statement-answer strong { color: var(--paper); font-weight: 600; }
@media (min-width: 1024px) { .statement-answer { margin-right: 8%; } }

/* ---------- Leistungen ---------- */
.section-head { display: grid; gap: var(--s-5); margin-bottom: var(--s-8); }
.section-head .lead { max-width: 34rem; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; }
  .section-head--split .lead { justify-self: end; }
}
.services { border-top: 1px solid var(--line); }
.service {
  position: relative; display: grid; gap: var(--s-4) var(--s-6); padding-block: var(--s-6) var(--s-7);
  border-bottom: 1px solid var(--line);
}
.service-num { font-size: var(--fs-small); font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.service h3 { font-size: var(--fs-h3); }
.service p { color: var(--paper-dim); max-width: 34rem; }
.service-line { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--paper); transform: scaleX(0); transform-origin: left; }
@media (min-width: 1024px) {
  .service { grid-template-columns: 6rem 1.25fr 1fr; align-items: baseline; padding-block: var(--s-7); }
}
.services-note { margin-top: var(--s-6); color: var(--paper-dim); max-width: 46rem; }
.services-note strong { color: var(--paper); font-weight: 600; }

/* ---------- Bildfenster (clip-path) ---------- */
.reveal-window { position: relative; }
.reveal-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.reveal-frame {
  position: absolute; inset: 0; background: var(--ink-2);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--s-6);
  padding: calc(var(--header-h) + var(--s-5)) var(--gutter) var(--s-7);
  will-change: clip-path;
}
.reveal-frame::before {
  /* leichtes Licht von oben */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(147, 180, 255, .12), transparent 70%);
}
.reveal-inner { position: relative; width: min(100%, 1080px, (100svh - var(--header-h) - 15rem) * 1.6); }
.device-browser {
  border-radius: var(--radius-lg); overflow: hidden; background: #0B0D10;
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.device-browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.device-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #343B47; }
.device-browser-bar span { margin-left: 10px; font-size: .75rem; color: var(--paper-faint); }
.device-browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.device-phone {
  position: absolute; right: -2%; bottom: -8%; width: 22%; min-width: 96px;
  border-radius: 24px; overflow: hidden; background: #0B0D10;
  box-shadow: 0 0 0 5px #23272F, 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.device-phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.reveal-caption { position: relative; text-align: center; display: grid; gap: var(--s-3); justify-items: center; }
.reveal-caption h2 { font-size: clamp(1.75rem, 1rem + 3vw, 3.5rem); max-width: 20ch; }
.reveal-caption p { color: var(--paper-dim); }

/* ---------- Beispiele ---------- */
.work-head { margin-bottom: var(--s-7); }
.work-track { display: grid; gap: var(--s-8); }
.work-card { position: relative; display: grid; gap: var(--s-4); }
.work-media {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink-2);
  aspect-ratio: 16 / 10; box-shadow: 0 0 0 1px var(--line);
}
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-media .work-img { position: absolute; inset: 0; }
.work-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .35s; }
.work-media.has-gl canvas { opacity: 1; }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); }
.work-meta span { font-size: var(--fs-small); color: var(--paper-faint); }
.work-card h3 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); }
.work-card p { color: var(--paper-dim); max-width: 32rem; }
.work-card a.work-link { text-decoration: none; }
.work-card a.work-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.work-card a.work-link:focus-visible { outline: none; }
.work-card:has(a.work-link:focus-visible) .work-media { outline: 2px solid var(--accent); outline-offset: 4px; }
.work-cta { display: inline-flex; font-weight: 600; color: var(--accent); }
.work-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, #14171C 0 14px, #171A20 14px 28px);
}
.work-placeholder span { font-stretch: var(--wide); font-weight: 800; font-size: clamp(2rem, 1rem + 4vw, 4.5rem); letter-spacing: .04em; color: #2A303A; }
.status { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--fs-small); color: var(--paper-dim); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

@media (min-width: 768px) {
  .work-track { grid-template-columns: 1fr 1fr; gap: var(--s-8) var(--s-6); }
}
/* Horizontale Strecke (nur mit JavaScript, Desktop, ohne reduzierte Bewegung) */
.work.is-horizontal { padding-block: 0; }
.work.is-horizontal .work-pin { height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.work.is-horizontal .work-track {
  display: flex; gap: clamp(2rem, 4vw, 5rem); align-items: center; padding-inline: var(--gutter);
  width: max-content; will-change: transform;
}
.work.is-horizontal .work-intro { width: min(34vw, 30rem); flex: none; }
.work.is-horizontal .work-head { display: none; }
.work.is-horizontal .work-card { width: min(58vw, 860px); flex: none; }
.work-intro { display: none; }
.work.is-horizontal .work-intro { display: grid; gap: var(--s-5); }
.work-intro-title { font-size: var(--fs-h2); }

/* ---------- Ablauf ---------- */
.process { display: grid; gap: var(--s-7); }
@media (min-width: 1024px) {
  .process { grid-template-columns: 5fr 7fr; gap: var(--s-9); }
  .process-head { position: sticky; top: calc(var(--header-h) + var(--s-7)); align-self: start; }
}
.steps { position: relative; padding-left: var(--s-7); }
.steps-track, .steps-fill { position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; }
.steps-track { background: var(--line); }
.steps-fill { background: var(--accent); transform-origin: top; transform: scaleY(1); }
.js .steps-fill { transform: scaleY(0); }
.step { position: relative; padding-bottom: var(--s-8); }
.step:last-child { padding-bottom: 0; }
.step-dot {
  position: absolute; left: calc(-1 * var(--s-7) + 3px); top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); box-shadow: inset 0 0 0 2px var(--line-strong); transition: box-shadow .4s, background-color .4s;
}
.step.is-reached .step-dot, html:not(.js) .step-dot { background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.step-num { font-size: var(--fs-small); color: var(--paper-faint); font-variant-numeric: tabular-nums; }
.step h3 { margin: var(--s-2) 0 var(--s-3); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); }
.step p { color: var(--paper-dim); max-width: 32rem; }

/* ---------- Warum ich ---------- */
.why-grid { display: grid; gap: var(--s-8); }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1fr 1fr; gap: var(--s-9); } }
.why-statement { font-size: clamp(2rem, 1.1rem + 3.6vw, 4.5rem); }
.why-compare { margin-top: var(--s-7); display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 34rem; }
.why-compare div { display: grid; grid-template-columns: 10.5rem 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.why-compare dt { color: var(--paper-faint); }
.why-compare dd { color: var(--paper-dim); }
.why-compare .is-me dt, .why-compare .is-me dd { color: var(--paper); font-weight: 600; }
.why-list li { position: relative; display: grid; gap: var(--s-1); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.why-list li:first-child { border-top: 1px solid var(--line); }
.why-list strong { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-stretch: 112%; font-weight: 650; }
.why-list span { color: var(--paper-dim); }

/* ---------- Preise ---------- */
.prices { background: var(--ink-2); }
.price-grid { display: grid; gap: var(--s-5); }
@media (min-width: 1024px) { .price-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.price {
  position: relative; display: flex; flex-direction: column; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius-lg); background: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
}
.price.is-featured { box-shadow: inset 0 0 0 1.5px var(--accent); }
.price-badge {
  position: absolute; top: 0; right: clamp(1.5rem, 1rem + 2vw, 2.5rem); transform: translateY(-50%);
  padding: .3rem .75rem; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: .8125rem; font-weight: 650;
}
.price h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.price-desc { margin-top: var(--s-2); color: var(--paper-dim); min-height: 3.2em; }
.price-amount { display: flex; align-items: baseline; gap: .5rem; margin: var(--s-6) 0; padding-bottom: var(--s-6); border-bottom: 1px solid var(--line); }
.price-amount small { color: var(--paper-dim); font-size: 1rem; }
.price-amount strong { font-stretch: var(--wide); font-weight: 750; font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.75rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price ul { display: grid; gap: var(--s-3); margin-bottom: var(--s-7); }
.price li { display: flex; gap: .75rem; color: var(--paper-dim); }
.price li::before { content: ""; flex: none; width: 14px; height: 1px; margin-top: .8em; background: var(--accent); }
.price .btn { margin-top: auto; }
.price-note { margin-top: var(--s-6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-6); color: var(--paper-dim); }
.price-note strong { color: var(--paper); font-weight: 600; }

/* ---------- Über mich ---------- */
.about { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1024px) { .about { grid-template-columns: 5fr 6fr; gap: var(--s-9); } }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2);
  box-shadow: 0 0 0 1px var(--line); max-width: 560px;
}
.portrait-inner { position: absolute; inset: -8% 0; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: var(--s-6); }

/* Ohne Foto (assets/leon.jpg fehlt): Foto ausblenden, Überschrift links, Text und Eckdaten rechts */
.about:not(.has-photo) .portrait { display: none; }
.about:not(.has-photo) { grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .about:not(.has-photo) .about-text { display: grid; grid-template-columns: 5fr 7fr; column-gap: var(--s-9); align-items: start; }
  .about:not(.has-photo) .about-text h2 { grid-column: 1; grid-row: 1 / span 2; margin-bottom: 0; }
  .about:not(.has-photo) .about-text > :not(h2) { grid-column: 2; }
}
.about-text p { color: var(--paper-dim); font-size: var(--fs-lead); line-height: 1.55; max-width: 36rem; }
.about-text p + p { margin-top: var(--s-4); }
.about-text a { color: var(--paper); }
.about-text a:hover { color: var(--accent); }
.facts { display: grid; margin-top: var(--s-7); border-top: 1px solid var(--line); max-width: 36rem; }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--paper-faint); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: var(--s-7); }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 5fr 7fr; gap: var(--s-9); } }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-5);
  min-height: 72px; padding: var(--s-4) 0; font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); font-weight: 600;
  transition: color var(--dur);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .45s var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { overflow: hidden; }
.faq-answer p { padding-bottom: var(--s-5); color: var(--paper-dim); max-width: 40rem; }

/* ---------- Kontakt ---------- */
.contact { padding-top: var(--section); }
.contact-title { font-size: var(--fs-mega); line-height: .92; letter-spacing: -.035em; }
.contact-title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.contact-title .line > span { display: block; }
.contact-grid { display: grid; gap: var(--s-8); margin-top: var(--s-8); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: var(--s-9); } }
.contact-direct { display: grid; gap: var(--s-6); align-content: start; }
.contact-direct p { color: var(--paper-dim); font-size: var(--fs-lead); line-height: 1.5; max-width: 30rem; }
.contact-way { display: grid; gap: .2rem; text-decoration: none; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.contact-way small { color: var(--paper-faint); font-size: var(--fs-small); }
.contact-way strong { font-stretch: var(--wide); font-weight: 700; font-size: clamp(1.25rem, .95rem + 1.3vw, 2rem); line-height: 1.15; overflow-wrap: anywhere; transition: color var(--dur); }
.contact-way:hover strong { color: var(--accent); }
.contact-notes { display: grid; gap: .5rem; color: var(--paper-dim); }
.contact-notes li { display: flex; gap: .75rem; }
.contact-notes li::before { content: ""; flex: none; width: 14px; height: 1px; margin-top: .8em; background: var(--accent); }

.form { display: grid; gap: var(--s-5); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-radius: var(--radius-lg); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.form-grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: .45rem; font-weight: 600; font-size: .9375rem; }
.field label span { color: var(--paper-faint); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; font: inherit; font-size: 1rem; color: var(--paper);
  background: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--paper-faint); }
.field input:hover, .field textarea:hover { border-color: rgba(242, 238, 232, .4); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(147, 180, 255, .25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin-top: .45rem; font-size: var(--fs-small); color: var(--error); }
.field-error:empty, .form-status:empty { display: none; }
.field-hint { font-size: var(--fs-small); color: var(--paper-faint); }
.form-foot { display: grid; gap: var(--s-4); }
.form-foot small { color: var(--paper-faint); font-size: var(--fs-small); }
.form-foot small a { color: var(--paper-dim); }
.form-status.is-ok { padding: var(--s-4); border-radius: var(--radius); background: rgba(147, 180, 255, .12); color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--s-8) var(--s-6); margin-top: var(--s-9); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: var(--s-7); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid img { height: 40px; width: auto; }
.footer-claim { margin-top: var(--s-4); color: var(--paper-dim); max-width: 22rem; }
.footer-title { margin-bottom: var(--s-3); font-size: var(--fs-small); color: var(--paper-faint); }
.footer-grid ul a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--paper); }
.footer-grid ul a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--paper-faint); }

/* ---------- Anruf-Button auf dem Handy ---------- */
.call-fab {
  position: fixed; right: var(--gutter); bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: .55rem; min-height: 56px; padding: 0 1.35rem;
  border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 700; text-decoration: none;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6);
  transition: transform .5s var(--ease-out), opacity .3s;
}
.call-fab svg { width: 20px; height: 20px; }
.js .call-fab { transform: translateY(160%); }
.js .call-fab.is-visible { transform: none; }
@media (min-width: 1100px) { .call-fab { display: none; } }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  .btn::before, .text-link, .menu, .call-fab { transition-duration: .01ms; }
  .hero-slide { transition-duration: 2.4s; }   /* langsame Überblendung bleibt */
}

/* ---------- Helfer ---------- */
.gap-top { margin-top: var(--s-5); }

/* Hero-Headline auf schmalen Bildschirmen: natürlich und ausgewogen umbrechen, als Ganzes einblenden */
@media (max-width: 639.98px) {
  .hero-title { text-wrap: balance; }
  .hero-title .line, .hero-title .line > span { display: inline; }
  .hero-title .line > span { animation: none !important; }
}
@media (max-width: 639.98px) and (prefers-reduced-motion: no-preference) {
  .hero-title { animation: fade-up 1s var(--ease-out) .15s both; }
}
@media (max-width: 479.98px) { .why-compare div { grid-template-columns: 1fr; gap: .15rem; } }

/* ---------- Preise: Referenzrabatt, Hosting & Betreuung, Gut zu wissen ---------- */
.price-hint {
  display: grid; gap: .3rem; max-width: 46rem; margin-bottom: var(--s-7);
  padding: var(--s-4) var(--s-5); border-left: 2px solid var(--accent);
  background: rgba(147, 180, 255, .06); border-radius: 0 var(--radius) var(--radius) 0;
}
.price-hint-title { font-size: var(--fs-small); font-weight: 650; color: var(--accent); }
.price-hint p:last-child { color: var(--paper-dim); }
.price-hint strong { color: var(--paper); font-weight: 650; }
.price li strong { color: var(--paper); font-weight: 600; }

.care {
  display: grid; gap: var(--s-5); margin-top: var(--s-5);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg);
  background: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
}
.care h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.care-price { margin-top: var(--s-3); font-stretch: var(--wide); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.care-terms { margin-top: var(--s-1); color: var(--paper-dim); }
.care-list { display: grid; gap: var(--s-3); align-content: center; }
.care-list li { display: flex; gap: .75rem; color: var(--paper-dim); }
.care-list li::before { content: ""; flex: none; width: 14px; height: 1px; margin-top: .8em; background: var(--accent); }
@media (min-width: 768px) { .care-list { grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--s-3) var(--s-7); } .care-list li:last-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .care { grid-template-columns: 1fr 2fr; gap: var(--s-8); align-items: center; } }

.good-to-know { margin-top: var(--s-6); max-width: 56rem; font-size: .9375rem; color: var(--paper-dim); }
.good-to-know-title { margin-bottom: var(--s-2); font-weight: 650; color: var(--paper); }
.good-to-know ul { display: grid; gap: .4rem; }
.good-to-know strong { color: var(--paper); font-weight: 600; }

.faq-answer p:not(:last-child) { padding-bottom: var(--s-3); }
.price li.price-includes::before { display: none; }

/* ---------- Kontaktformular: Honeypot, Status, Senden ---------- */
.botcheck { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status.is-error { padding: var(--s-4); border-radius: var(--radius); background: rgba(255, 155, 143, .12); color: var(--paper); box-shadow: inset 2px 0 0 var(--error); }
.form-status.is-ok { box-shadow: inset 2px 0 0 var(--accent); }
.form .btn:disabled { opacity: .6; cursor: progress; }
