/* =========================================================================
   Julian Franke – Webdesign & Entwicklung
   Aufbau: 1 Schriften · 2 Tokens · 3 Basis · 4 Bausteine · 5 Bereiche
           (Header, Hero, Laufband, Arbeiten, Leistungen, Preise, Ablauf,
           Über mich, FAQ, Kontakt, Footer, Dialoge) · 6 Responsive · 7 Motion
   Farben ändern: nur die Variablen in Abschnitt 2 anpassen.
   ========================================================================= */

/* 1 · Schriften (lokal, keine Anfragen an Google) ------------------------- */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 2 · Tokens ---------------------------------------------------------------- */
:root {
  --bg: #F6F4F0;
  --bg-2: #EEEAE3;
  --surface: #FFFFFF;
  --surface-2: #F9F7F3;
  --ink: #121418;
  --ink-2: #3B3F47;
  --muted: #676B73;
  --line: #E4DFD7;
  --line-2: #D3CDC3;
  --accent: #EC5B26;          /* Abendlicht-Orange: Punkte, Linien, Akzente */
  --accent-ink: #B4410E;      /* Orange für kleine Schrift (Kontrast AA)    */
  --accent-soft: #FBE4D8;
  --ok: #1E9E63;
  --ok-ink: #14794A;
  --serp: #1A47C9;
  --glow-1: rgba(255, 146, 88, .30);
  --glow-2: rgba(255, 204, 158, .55);
  --btn-bg: #121418;
  --btn-fg: #FAF8F4;
  --header-bg: rgba(246, 244, 240, .82);
  --shadow-sm: 0 1px 2px rgba(18, 20, 24, .05), 0 6px 18px -8px rgba(18, 20, 24, .10);
  --shadow-lg: 0 34px 70px -30px rgba(18, 20, 24, .38), 0 12px 28px -14px rgba(18, 20, 24, .16);

  /* Nacht-Bereich (Kontakt + Footer) */
  --night: #121418;
  --night-ink: #F3F0EB;
  --night-muted: #A3A7AF;
  --night-line: rgba(243, 240, 235, .12);
  --night-accent: #FF8F5E;

  /* Formular */
  --form-bg: #FFFFFF;
  --form-ink: #121418;
  --form-muted: #62666E;
  --form-line: #DCD6CD;
  --form-input: #FAF9F6;
  --danger: #B9321C;

  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1014;
    --bg-2: #14171C;
    --surface: #171A20;
    --surface-2: #1C2027;
    --ink: #F2EFEA;
    --ink-2: #CBC8C2;
    --muted: #999DA5;
    --line: #262A31;
    --line-2: #363B45;
    --accent: #FF7442;
    --accent-ink: #FF9466;
    --accent-soft: #3A2216;
    --ok: #3DD68C;
    --ok-ink: #3DD68C;
    --serp: #8AB4F8;
    --glow-1: rgba(255, 116, 66, .20);
    --glow-2: rgba(255, 160, 110, .09);
    --btn-bg: #F2EFEA;
    --btn-fg: #121418;
    --header-bg: rgba(14, 16, 20, .8);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px -8px rgba(0, 0, 0, .5);
    --shadow-lg: 0 34px 70px -30px rgba(0, 0, 0, .8), 0 12px 28px -14px rgba(0, 0, 0, .5);
    --night: #15181D;
    --night-line: rgba(243, 240, 235, .10);
    --form-bg: #1B1F26;
    --form-ink: #F2EFEA;
    --form-muted: #A0A4AC;
    --form-line: #363B45;
    --form-input: #15181D;
    --danger: #FF8A73;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1014;
  --bg-2: #14171C;
  --surface: #171A20;
  --surface-2: #1C2027;
  --ink: #F2EFEA;
  --ink-2: #CBC8C2;
  --muted: #999DA5;
  --line: #262A31;
  --line-2: #363B45;
  --accent: #FF7442;
  --accent-ink: #FF9466;
  --accent-soft: #3A2216;
  --ok: #3DD68C;
  --ok-ink: #3DD68C;
  --serp: #8AB4F8;
  --glow-1: rgba(255, 116, 66, .20);
  --glow-2: rgba(255, 160, 110, .09);
  --btn-bg: #F2EFEA;
  --btn-fg: #121418;
  --header-bg: rgba(14, 16, 20, .8);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px -8px rgba(0, 0, 0, .5);
  --shadow-lg: 0 34px 70px -30px rgba(0, 0, 0, .8), 0 12px 28px -14px rgba(0, 0, 0, .5);
  --night: #15181D;
  --night-line: rgba(243, 240, 235, .10);
  --form-bg: #1B1F26;
  --form-ink: #F2EFEA;
  --form-muted: #A0A4AC;
  --form-line: #363B45;
  --form-input: #15181D;
  --danger: #FF8A73;
  color-scheme: dark;
}

/* 3 · Basis ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.i18n-pending body { visibility: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: var(--bg);
  text-decoration: none; font-weight: 560;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.show-sm { display: none; }

/* 4 · Bausteine -------------------------------------------------------------- */
.h1 {
  font-size: clamp(2.75rem, .5rem + 5vw, 5rem);
  line-height: .94;
  letter-spacing: -.052em;
  font-weight: 640;
}
.h2 {
  font-size: clamp(2.05rem, 1.25rem + 3vw, 3.75rem);
  line-height: 1.03;
  letter-spacing: -.043em;
  font-weight: 620;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(1.18rem, 1.05rem + .45vw, 1.4rem);
  line-height: 1.22;
  letter-spacing: -.025em;
  font-weight: 610;
}
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: .75rem; line-height: 1;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow b { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; color: var(--accent-ink); }
.eyebrow b::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .55; }
.lead {
  font-size: clamp(1.08rem, 1rem + .35vw, 1.27rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h);
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem; font-weight: 560; letter-spacing: -.01em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--lg { --h: 54px; padding: 0 26px; font-size: 1rem; }
.btn--sm { --h: 38px; padding: 0 16px; font-size: .9rem; }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(18, 20, 24, .6); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--accent { background: var(--accent); color: #1A0D06; }
.btn--accent:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(236, 91, 38, .75); }
.btn.is-busy { opacity: .65; pointer-events: none; }

.text-link {
  padding: 0; border: 0; background: none;
  color: inherit; font: inherit;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
  cursor: pointer;
}
.text-link:hover { color: var(--accent-ink); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-weight: 560; text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: transparent; color: var(--ink);
  transition: border-color .2s, background-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn--sm { width: 32px; height: 32px; flex: none; }
.icon-btn--sm svg { width: 15px; height: 15px; }

/* Wortmarke: JF-Zeichen (Farben über Variablen, weil es per <use> eingebunden ist) */
.brand {
  --mark-bg: var(--ink);
  --mark-fg: var(--bg);
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 640; font-size: 1.03rem; letter-spacing: -.028em;
  text-decoration: none; white-space: nowrap;
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.mark-bg { fill: var(--mark-bg); }
.mark-fg { stroke: var(--mark-fg); }
.mark-dot { fill: var(--accent); }

/* Browser- und Handy-Rahmen (Hero + Arbeiten) */
.browser {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.browser__bar {
  display: flex; align-items: flex-end; gap: 12px;
  height: 44px;
  padding: 0 12px 0 14px;
  background: var(--bg-2);
}
.browser__dots { display: flex; gap: 6px; align-self: center; flex: none; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.phone {
  position: relative;
  padding: 5px;
  border-radius: 26px;
  background: #0C0D10;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .09);
}
.phone::before {
  content: "";
  position: absolute; z-index: 3; top: 10px; left: 50%;
  width: 28%; height: 10px;
  border-radius: 999px;
  background: #0C0D10;
  transform: translateX(-50%);
}
.phone__screen {
  position: relative;
  overflow: hidden;
  border-radius: 21px;
  aspect-ratio: 450 / 974;
  background: #E9E7E2;
}

/* 5 · Bereiche --------------------------------------------------------------- */

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s;
}
.header.is-scrolled,
.menu-open .header {
  background: var(--header-bg);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
}
.header__inner { display: flex; align-items: center; gap: 20px; height: 100%; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .93rem;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  content: "";
  position: absolute; left: 50%; bottom: 1px;
  width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
}
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang button {
  height: 30px; min-width: 36px; padding: 0 8px;
  border: 0; border-radius: 999px;
  background: transparent; color: var(--muted);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .06em;
  transition: background-color .2s, color .2s;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.theme-btn { display: none; }
.js .theme-btn { display: inline-grid; }
.theme-btn .i-sun { display: none; }
[data-scheme="dark"] .theme-btn .i-sun { display: block; }
[data-scheme="dark"] .theme-btn .i-moon { display: none; }
.menu-btn { display: none; position: relative; }
.menu-btn span {
  position: absolute; left: 11px;
  width: 15px; height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-btn span:first-child { top: 14px; }
.menu-btn span:last-child { top: 21px; }
.menu-open .menu-btn span:first-child { top: 17.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 17.5px; transform: rotate(-45deg); }

/* Mobiles Menü */
.mmenu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 16px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--bg);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mmenu.is-open { opacity: 1; transform: none; }
.mmenu nav { display: flex; flex-direction: column; }
.mmenu nav a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.55rem, 6vw, 2.1rem); font-weight: 620; letter-spacing: -.035em;
  text-decoration: none;
}
.mmenu__num { font-family: var(--mono); font-size: .75rem; font-weight: 400; letter-spacing: .06em; color: var(--accent-ink); }
.mmenu__foot { display: grid; gap: 16px; }
.mmenu__foot .btn { --h: 54px; width: 100%; }
.mmenu__row { display: flex; align-items: center; justify-content: space-between; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: calc(var(--header-h) + clamp(32px, 6vh, 80px)) 0 clamp(32px, 4vw, 56px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow {
  position: absolute; top: -34%; right: -16%;
  width: min(1100px, 115vw); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow-2), transparent 72%);
}
.hero__glow--2 {
  top: 4%; right: 4%;
  width: min(580px, 75vw);
  background: radial-gradient(closest-side, var(--glow-1), transparent 70%);
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(-8%, 10%, 0) scale(1.1); } }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  font-size: .875rem; color: var(--ink-2);
}
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.status__dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--ok);
  animation: ping 2.6s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: .5; }
  75%, 100% { transform: scale(3.2); opacity: 0; }
}
.hero__title { margin-bottom: 30px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span { display: inline-block; animation: line-up 1.1s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes line-up { from { transform: translateY(108%); } }
.dot { font-style: normal; color: var(--accent); }
.rise { animation: rise 1s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.hero__lead { max-width: 33em; margin-bottom: 34px; }
.hero__lead picture { display: inline; }
.avatar-inline {
  display: inline-block;
  width: 1.85em; height: 1.85em;
  margin: 0 .08em;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: -.55em;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--line-2);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: var(--ink-2); }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks svg { width: 16px; height: 16px; color: var(--ok); flex: none; }

/* Showreel */
.reel { position: relative; padding-right: clamp(24px, 6.5%, 52px); }
.reel .browser__bar { gap: 10px; padding: 0 10px 0 12px; }
.browser__tabs { display: flex; gap: 2px; flex: 1; min-width: 0; }
.browser__tab {
  position: relative;
  display: flex; align-items: center; gap: 6px;
  flex: 0 1 auto; min-width: 0;
  height: 34px; padding: 0 9px;
  border: 0; border-radius: 9px 9px 0 0;
  background: transparent; color: var(--muted);
  font-size: .78rem; font-weight: 530; letter-spacing: -.01em;
  transition: background-color .25s, color .25s;
}
.browser__tab:hover { color: var(--ink); }
.browser__tab.is-active { background: var(--surface); color: var(--ink); }
.browser__tab img { width: 16px; height: 16px; border-radius: 4px; flex: none; }
.browser__tab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser__progress {
  position: absolute; left: 10px; right: 10px; bottom: 0;
  height: 2px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(var(--p, 0)); transform-origin: left;
  opacity: 0;
}
.browser__tab.is-active .browser__progress { opacity: 1; }
.browser__address {
  display: flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 8px 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-size: .8rem; color: var(--muted);
}
.browser__address > svg { width: 14px; height: 14px; flex: none; }
.browser__url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser__live {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  padding: 6px 10px 6px 12px;
  border-radius: 999px;
  background: var(--bg-2); color: var(--ink);
  font-size: .78rem; font-weight: 560;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.browser__live:hover { background: var(--ink); color: var(--bg); }
.browser__live svg { width: 14px; height: 14px; }
.browser__screen { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #E9E7E2; }
.reel__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.reel__slide.is-active { z-index: 1; opacity: 1; }
.reel__slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transform: scale(1.045); transform-origin: 50% 0;
  transition: transform 7s linear;
}
.reel__slide.is-active img { transform: scale(1); }
.phone--reel { position: absolute; right: 0; bottom: -26px; z-index: 2; width: clamp(100px, 25%, 164px); }
.phone--reel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.phone--reel img.is-active { opacity: 1; }
.reel__note {
  display: flex; align-items: center; gap: 7px;
  margin-top: 18px; padding-right: 26%;
  font-size: .8rem; line-height: 1.4; color: var(--muted);
}
.reel__note svg { width: 15px; height: 15px; flex: none; }

/* Abschnitte */
.section { padding: clamp(40px, 4.2vw, 60px) 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: 24px clamp(32px, 5vw, 88px);
  align-items: end;
  margin-bottom: clamp(28px, 3.2vw, 44px);
}
.section-head__aside { max-width: 30em; color: var(--ink-2); font-size: 1.02rem; }

/* 01 · Arbeiten */
.cases { display: grid; gap: 24px; }
.case {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--case-bg);
  color: var(--case-ink);
  transform: scale(calc(1 - var(--cover, 0) * .05));
  transform-origin: 50% 0;
}
.case::after {
  content: "";
  position: absolute; inset: 0; z-index: 5;
  border-radius: inherit;
  background: #07080A;
  opacity: calc(var(--cover, 0) * .4);
  pointer-events: none;
}
.case__inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(22px, 3.4vw, 50px);
}
.case__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--case-muted);
}
.case__num { color: var(--case-accent); font-weight: 500; }
.case__badge { padding: 4px 9px; border: 1px solid var(--case-line); border-radius: 999px; letter-spacing: .06em; }
.case__title {
  display: flex; align-items: center; gap: 14px;
  margin: 18px 0 22px;
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3.05rem); font-weight: 640; letter-spacing: -.045em; line-height: 1;
}
.case__title img { width: 46px; height: 46px; border-radius: 11px; box-shadow: 0 0 0 1px var(--case-line); flex: none; }
.case__block + .case__block { margin-top: 16px; }
.case__label {
  margin-bottom: 5px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--case-muted);
}
.case__text { color: var(--case-ink-2); font-size: .98rem; line-height: 1.55; }
.case__features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px;
  margin-top: 22px;
  font-size: .9rem; line-height: 1.4;
}
.case__features li { position: relative; padding-left: 24px; }
.case__features li::before {
  content: "";
  position: absolute; left: 0; top: .08em;
  width: 16px; height: 16px;
  background: var(--case-accent);
  -webkit-mask: var(--check) center / contain no-repeat;
  mask: var(--check) center / contain no-repeat;
}
.case__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--case-line);
}
.case__system { display: flex; align-items: center; gap: 12px; min-width: 0; }
.swatches { display: flex; flex: none; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px var(--case-line), 0 0 0 2px var(--case-bg); }
.swatches i + i { margin-left: -6px; }
.case__fonts { font-size: .78rem; line-height: 1.35; color: var(--case-muted); }
.btn--case { background: var(--case-ink); color: var(--case-bg); }
.btn--case:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .55); }
.case__visual {
  position: relative;
  display: block;
  padding: 0 clamp(28px, 9%, 72px) 30px 0;
  color: inherit; text-decoration: none;
}
.browser--case {
  border-color: rgba(0, 0, 0, .1);
  background: #FFFFFF;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .5), 0 10px 24px -12px rgba(0, 0, 0, .22);
}
.browser__bar--mini { align-items: center; height: 28px; background: #F1F0ED; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.browser__bar--mini .browser__dots i { width: 8px; height: 8px; background: #D3D0CA; }
.shot-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 10; container-type: size; background: #E9E7E2; }
.shot { width: 100%; height: auto; transform: translateY(0); transition: transform 1.2s var(--ease-io); }
.phone--case { position: absolute; right: 0; bottom: 0; z-index: 2; width: clamp(92px, 22%, 148px); }
.phone--case .phone__screen { container-type: size; }
.case__hint {
  position: absolute; left: 14px; top: 42px; z-index: 3;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(12, 13, 16, .78); color: #F4F2EE;
  font-size: .74rem; font-weight: 520;
  opacity: 0; transform: translateY(-4px);
  transition: opacity .3s, transform .3s var(--ease);
  pointer-events: none;
}
@media (hover: hover) and (min-width: 1024px) {
  .case__visual { cursor: pointer; }
  .case__visual:hover .shot { transform: translateY(calc(-100% + 100cqh)); transition: transform 11s cubic-bezier(.4, 0, .5, 1); }
  .case__visual:hover .case__hint { opacity: 1; transform: none; }
}
@media (min-width: 1024px) {
  .cases.is-stacked { gap: 0; }
  .cases.is-stacked .case { position: sticky; top: calc(var(--header-h) + 18px + var(--i) * 14px); margin-bottom: 24px; }
  .cases.is-stacked .case:last-child { margin-bottom: 0; }
}

/* 02 · Leistungen (Bento) */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative;
  grid-column: span 4;
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  min-height: 300px;
  padding: clamp(22px, 2.4vw, 32px);
  overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface);
  transition: border-color .3s, box-shadow .4s var(--ease);
}
.tile:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.tile--a, .tile--g { grid-column: span 7; }
.tile--b, .tile--f { grid-column: span 5; }
.tile--c, .tile--e { grid-column: span 6; }
.tile__copy .h3 { margin-bottom: 8px; }
.tile__copy p { max-width: 34em; color: var(--ink-2); font-size: .97rem; line-height: 1.55; }

.flow { display: flex; align-items: center; padding-top: 4px; }
.flow__node {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 10px 16px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--surface-2);
  font-size: .95rem; font-weight: 560; white-space: nowrap;
}
.flow__node svg { width: 18px; height: 18px; color: var(--muted); }
.flow__node--goal { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.flow__node--goal svg { color: var(--accent); }
.flow__line {
  position: relative;
  flex: 1; min-width: 16px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px);
}
.flow__line::after {
  content: "";
  position: absolute; top: 50%; left: 0;
  width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%;
  background: var(--accent);
  animation: travel 3.2s var(--ease-io) infinite;
}
.flow__line + .flow__node + .flow__line::after { animation-delay: 1.6s; }
@keyframes travel {
  0% { left: 0; opacity: 0; }
  15%, 80% { opacity: 1; }
  100% { left: calc(100% - 7px); opacity: 0; }
}

.specimen { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.specimen__aa { font-size: clamp(4rem, 2.8rem + 3vw, 6rem); font-weight: 650; letter-spacing: -.06em; line-height: .85; }
.specimen__swatches { display: flex; }
.specimen__swatches i {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 3px var(--surface);
  transition: margin .55s var(--ease);
}
.specimen__swatches i + i { margin-left: -16px; }
.tile--b:hover .specimen__swatches i + i { margin-left: 4px; }

.devices { color: var(--line-2); }
.devices svg { width: 100%; max-width: 250px; height: auto; }
.devices .dv-fill { fill: var(--ink); stroke: none; }
.devices .dv-soft { fill: var(--bg-2); stroke: none; }
.devices .dv-bg { fill: var(--surface); }

.serp { display: grid; gap: 12px; }
.serp__bar {
  display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: .85rem; color: var(--ink-2);
}
.serp__bar svg { width: 16px; height: 16px; color: var(--muted); }
.serp__hit { display: grid; gap: 3px; padding: 2px 4px 0; }
.serp__site { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--ink-2); }
.serp__site img { width: 18px; height: 18px; border-radius: 5px; }
.serp__title { color: var(--serp); font-size: 1rem; font-weight: 520; line-height: 1.3; }
.serp__desc { color: var(--muted); font-size: .8rem; line-height: 1.45; }

.nobanner { padding-top: 4px; }
.nobanner__wrap { position: relative; width: min(100%, 330px); }
.nobanner__card {
  position: relative;
  padding: 14px 16px 16px;
  border: 1px solid var(--line-2); border-radius: 14px;
  background: var(--surface-2);
  opacity: .62;
}
.nobanner__card::after {
  content: "";
  position: absolute; left: -8px; right: -8px; top: 50%;
  height: 3px; border-radius: 3px;
  background: var(--accent);
  transform: rotate(-11deg);
}
.nobanner__title { display: block; margin-bottom: 10px; font-size: .82rem; font-weight: 560; color: var(--ink-2); }
.nobanner__line { display: block; height: 6px; margin-bottom: 6px; border-radius: 3px; background: var(--line-2); }
.nobanner__line--short { width: 62%; }
.nobanner__btns { display: flex; gap: 8px; margin-top: 12px; }
.nobanner__btns i { padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .72rem; font-style: normal; color: var(--muted); }
.nobanner__btns i:last-child { border-color: var(--ink); background: var(--ink); color: var(--bg); }

.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.feature-list li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: .95rem; line-height: 1.4; }
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: .12em;
  width: 17px; height: 17px;
  background: var(--accent);
  -webkit-mask: var(--check) center / contain no-repeat;
  mask: var(--check) center / contain no-repeat;
}

/* 03 · Preise */
.offer {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px; padding: 16px 22px;
  border-radius: var(--r);
  background: var(--accent-soft); color: var(--ink);
  font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); line-height: 1.4;
}
.offer svg { width: 24px; height: 24px; flex: none; color: var(--accent-ink); }
.offer strong { font-weight: 650; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(26px, 2.6vw, 36px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
}
.plan--featured { border-color: var(--ink); background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lg); }
.plan__badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 16%, transparent); color: var(--bg);
  font-family: var(--mono); font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.plan__name {
  font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.plan__price {
  display: flex; align-items: baseline; gap: 8px;
  margin: 4px 0 8px;
  font-size: clamp(2.5rem, 2.1rem + 1.2vw, 3.2rem); font-weight: 640; letter-spacing: -.045em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 26px; }
.plan__was { margin-top: 20px; color: var(--muted); font-size: .92rem; }
.plan__was s { margin-left: 4px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.plan__care { display: grid; gap: 2px; margin-bottom: 14px; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.plan__from { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan__desc { min-height: 3.1em; color: var(--ink-2); font-size: .97rem; }
.plan__list {
  display: grid; gap: 12px;
  margin: 26px 0 28px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .94rem; line-height: 1.45;
}
.plan__list li { position: relative; padding-left: 27px; }
.plan__list li::before {
  content: "";
  position: absolute; left: 0; top: .1em;
  width: 17px; height: 17px;
  background: var(--ok);
  -webkit-mask: var(--check) center / contain no-repeat;
  mask: var(--check) center / contain no-repeat;
}
.plan__list .plan__plus { padding-left: 0; font-weight: 610; }
.plan__list .plan__plus::before { display: none; }
.plan__time { display: flex; align-items: center; gap: 8px; margin-top: auto; color: var(--muted); font-size: .87rem; }
.plan__time svg { width: 16px; height: 16px; flex: none; }
.plan__cta { width: 100%; margin-top: 18px; }
.plan--featured .plan__name,
.plan--featured .plan__from,
.plan--featured .plan__was,
.plan--featured .plan__care,
.plan--featured .plan__time { color: color-mix(in srgb, var(--bg) 62%, transparent); }
.plan--featured .plan__desc { color: color-mix(in srgb, var(--bg) 80%, transparent); }
.plan--featured .plan__list { border-top-color: color-mix(in srgb, var(--bg) 16%, transparent); }
.plan--featured .plan__list li::before { background: var(--accent); }

.care {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px 28px;
  margin-top: 16px;
  padding: 24px 28px;
  border: 1px dashed var(--line-2); border-radius: var(--r-lg);
}
.care__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--accent-soft); color: var(--accent-ink);
}
.care__icon svg { width: 26px; height: 26px; }
.care__title { margin-bottom: 4px; font-size: 1.15rem; font-weight: 620; letter-spacing: -.02em; }
.care__price { margin-left: 6px; font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .02em; color: var(--accent-ink); white-space: nowrap; }
.care__text p { color: var(--ink-2); font-size: .95rem; }
.pricing-note { margin-top: 20px; color: var(--muted); font-size: .86rem; text-align: center; }

/* 04 · Ablauf */
.steps { position: relative; }
.steps__rail {
  position: absolute; top: 23px; left: 0; right: 0;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--line);
}
.steps__fill {
  display: block; height: 100%;
  background: var(--accent);
  transform: scaleX(var(--p, 0)); transform-origin: left;
  transition: transform 1.6s var(--ease);
}
.steps__list { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step__num {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line-2); border-radius: 50%;
  background: var(--bg); color: var(--muted);
  font-family: var(--mono); font-size: .82rem;
  transition: background-color .5s var(--ease), color .5s, border-color .5s, transform .5s var(--ease);
}
.step.is-on .step__num { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.step__time {
  margin: 26px 0 10px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-ink);
}
.step .h3 { margin-bottom: 10px; }
.step > p:last-child { color: var(--ink-2); font-size: .97rem; }

/* 05 · Über mich */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  grid-template-areas: "photo head" "photo text";
  column-gap: clamp(36px, 6vw, 104px);
  align-items: start;
}
.about__head { grid-area: head; }
.about__text { grid-area: text; }
.about__photo {
  grid-area: photo;
  position: sticky; top: calc(var(--header-h) + 32px);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  background: var(--bg-2);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo figcaption {
  position: absolute; left: 16px; bottom: 16px;
  display: grid;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(14, 16, 20, .55); color: #F6F4F0;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: .82rem; line-height: 1.35;
}
.about__cap-name { font-size: .95rem; font-weight: 620; }
.about__head .h2 { margin-bottom: 28px; }
.prose { display: grid; gap: 18px; max-width: 36em; color: var(--ink-2); font-size: 1.06rem; line-height: 1.68; }
.principles { margin-top: clamp(40px, 4vw, 56px); }
.principles__title { margin-bottom: 24px; font-size: 1.3rem; font-weight: 620; letter-spacing: -.025em; }
.principles__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.principle { padding: 26px 24px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.principle svg { width: 26px; height: 26px; margin-bottom: 18px; color: var(--accent-ink); }
.principle h4 { margin-bottom: 8px; font-size: 1.08rem; font-weight: 620; letter-spacing: -.02em; }
.principle p { color: var(--ink-2); font-size: .94rem; line-height: 1.5; }

/* 06 · FAQ */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 104px);
  align-items: start;
}
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__lead { max-width: 26em; margin: 22px 0; color: var(--ink-2); }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); font-weight: 560; letter-spacing: -.015em;
  transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-ink); }
.qa__icon {
  position: relative; flex: none;
  width: 30px; height: 30px;
  border: 1px solid var(--line-2); border-radius: 50%;
  color: var(--ink);
  transition: background-color .25s, border-color .25s, color .25s;
}
.qa__icon::before, .qa__icon::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px;
  border-radius: 2px;
  background: currentColor;
}
.qa__icon::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.qa[open] .qa__icon { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__a { padding: 0 56px 26px 0; color: var(--ink-2); line-height: 1.65; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

/* 07 · Kontakt */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 5vw, 72px) 0;
  background: var(--night); color: var(--night-ink);
}
.contact__glow {
  position: absolute; z-index: -1; left: -14%; top: -36%;
  width: min(980px, 130vw); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 120, 64, .22), transparent 70%);
}
.contact .eyebrow { color: var(--night-muted); }
.contact .eyebrow b { color: var(--night-accent); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}
.contact__lead { max-width: 30em; margin: 24px 0 36px; color: color-mix(in srgb, var(--night-ink) 78%, transparent); font-size: 1.1rem; }
.person { display: flex; align-items: center; gap: 14px; }
.person__img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--night), 0 0 0 3px rgba(255, 255, 255, .2); }
.person__name { font-weight: 620; letter-spacing: -.015em; }
.person__role { color: var(--night-muted); font-size: .88rem; }

.form {
  position: relative;
  padding: clamp(22px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: var(--form-bg); color: var(--form-ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .65);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form__full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font-size: .88rem; font-weight: 560; }
.field legend { margin-bottom: 8px; }
.req { color: var(--accent); }
.opt { color: var(--form-muted); font-weight: 400; }
.input {
  width: 100%; height: 50px;
  padding: 0 14px;
  border: 1px solid var(--form-line); border-radius: 12px;
  background: var(--form-input); color: var(--form-ink);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input::placeholder { color: var(--form-muted); opacity: .8; }
.input:hover { border-color: color-mix(in srgb, var(--form-ink) 35%, var(--form-line)); }
.input:focus { outline: none; border-color: var(--form-ink); background: var(--form-bg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 24%, transparent); }
textarea.input { height: auto; min-height: 150px; padding: 13px 14px; line-height: 1.5; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: .82rem; }
.field__err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chip span {
  display: inline-flex; align-items: center;
  height: 38px; padding: 0 14px;
  border: 1px solid var(--form-line); border-radius: 999px;
  font-size: .88rem;
  cursor: pointer; user-select: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip span:hover { border-color: var(--form-ink); }
.chip input:checked + span { border-color: var(--form-ink); background: var(--form-ink); color: var(--form-bg); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 26px; }
.form__privacy { flex: 1 1 260px; color: var(--form-muted); font-size: .82rem; line-height: 1.5; }
.form .btn--primary { background: var(--form-ink); color: var(--form-bg); }
.form .btn--ghost { border-color: var(--form-line); color: var(--form-ink); }
.form .btn--ghost:hover { border-color: var(--form-ink); }
.form__error {
  margin-top: 16px; padding: 12px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger);
  font-size: .9rem;
}
.honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__done { display: grid; justify-items: start; gap: 12px; padding: clamp(8px, 2vw, 24px) 0; outline: none; }
.form__done-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok);
}
.form__done-icon svg { width: 28px; height: 28px; }
.form__done p { max-width: 32em; color: var(--form-muted); }
.form__done p a { color: var(--form-ink); }
.form__done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* Footer */
.footer {
  padding: 72px 0 32px;
  border-top: 1px solid var(--night-line);
  background: var(--night); color: var(--night-ink);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 56px;
}
.brand--footer { --mark-bg: var(--night-ink); --mark-fg: var(--night); }
.footer__brand p { max-width: 26em; margin-top: 16px; color: var(--night-muted); font-size: .95rem; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: .95rem; }
.footer__k { margin-bottom: 6px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--night-muted); }
.footer__col a,
.footer__col .text-link { color: color-mix(in srgb, var(--night-ink) 88%, transparent); text-align: left; text-decoration: none; transition: color .2s; }
.footer__col a:hover,
.footer__col .text-link:hover { color: var(--night-accent); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
  color: var(--night-muted); font-size: .85rem;
}
.footer__note { display: inline-flex; align-items: center; gap: 8px; }
.footer__note svg { width: 16px; height: 16px; color: #3DD68C; flex: none; }
.footer__top-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; transition: color .2s; }
.footer__top-link:hover { color: var(--night-ink); }
.footer__top-link svg { width: 16px; height: 16px; }

/* Dialoge (Impressum, Datenschutz) */
.dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: min(84vh, 820px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.dialog[open] { display: flex; flex-direction: column; animation: dialog-in .35s var(--ease); }
.dialog::backdrop { background: rgba(8, 9, 12, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 16px 28px; border-bottom: 1px solid var(--line); }
.dialog__body { padding: 24px 28px 32px; overflow-y: auto; overscroll-behavior: contain; }
.legal h3 { margin: 22px 0 6px; font-size: 1rem; font-weight: 620; letter-spacing: -.01em; }
.legal h3:first-child { margin-top: 0; }
.legal p { color: var(--ink-2); font-size: .95rem; line-height: 1.6; }
.legal a { color: var(--ink); }
.legal .legal__note { margin-bottom: 18px; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-size: .88rem; }
.legal .legal__date { margin-top: 18px; color: var(--muted); font-size: .85rem; }
.legal h4 { margin: 16px 0 4px; font-size: .92rem; font-weight: 600; }
.legal ul { margin: 6px 0 14px; padding-left: 1.15em; list-style: disc; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }
.legal li { margin: 3px 0; }
.legal ul.index, .legal ul.m-elements { padding-left: 0; list-style: none; }
.legal ul.m-elements li { margin: 6px 0; }
.legal a { overflow-wrap: anywhere; }
.legal .legal__intro:empty { display: none; }
.legal .legal__intro { margin-bottom: 22px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.legal .seal { margin-top: 22px; font-size: .82rem; }
.legal .seal a { color: var(--muted); }

/* Kleine Meldung unten (z. B. „E-Mail-Adresse kopiert“) */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 90;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-size: .9rem; font-weight: 520;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 6 · Responsive ------------------------------------------------------------- */
@media (max-width: 1140px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header__actions { margin-left: auto; }
  .header__actions .lang,
  .header__actions .theme-btn { display: none; }
}
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; }
  .reel { max-width: 700px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .case__inner { grid-template-columns: 1fr; }
  .case__visual { order: -1; }
  .tile, .tile--a, .tile--b, .tile--c, .tile--e, .tile--f, .tile--g { grid-column: span 6; }
  .tile--a, .tile--g { grid-column: span 12; }
  .steps__list { grid-template-columns: 1fr 1fr; row-gap: 52px; }
  .steps__rail { display: none; }
  .about__grid { grid-template-columns: 1fr; grid-template-areas: "head" "photo" "text"; }
  .about__photo { position: relative; top: auto; max-width: 480px; margin-bottom: 36px; }
  .principles__list { grid-template-columns: 1fr 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .care { grid-template-columns: auto minmax(0, 1fr); }
  .care .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  body { font-size: 1rem; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .header__inner { gap: 12px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .tile, .tile--a, .tile--b, .tile--c, .tile--e, .tile--f, .tile--g { grid-column: 1 / -1; min-height: 0; }
  .flow__node { padding: 8px 12px; font-size: .86rem; }
  .flow__node:not(.flow__node--goal) svg { display: none; }
  .specimen__swatches i { width: 38px; height: 38px; }
  .feature-list { grid-template-columns: 1fr; }
  .case__features { grid-template-columns: 1fr; }
  .case__foot { flex-direction: column; align-items: stretch; }
  .case__visual { padding-right: 18%; }
  .steps__list { grid-template-columns: 1fr; row-gap: 40px; }
  .principles__list { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .qa__a { padding-right: 0; }
  .reel { padding-right: 18%; }
  .reel__note { padding-right: 30%; }
}
@media (max-width: 479px) {
  .browser__tab span { display: none; }
  .browser__tab { flex: 0 0 auto; padding: 0 12px; }
  .browser__live span { display: none; }
  .browser__live { padding: 6px 8px; }
}

/* 7 · Weniger Bewegung --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__glow--2, .status__dot::after, .flow__line::after { animation: none; }
  .case__visual:hover .shot { transform: none !important; }
  .case { transform: none; }
  .case::after { display: none; }
}
