/* ==========================================================================
   Bazari | Redur Tuerueng – Stylesheet
   Aufbau: 1 Schriften · 2 Tokens · 3 Basis · 4 Layout · 5 Komponenten
           6 Abschnitte · 7 Unterseiten · 8 Bewegung · 9 Responsive
   ========================================================================== */

/* 1 · Schriften (selbst gehostet, keine Verbindung zu Google) ------------- */
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url("../fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  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;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

/* 2 · Design-Tokens --------------------------------------------------------- */
:root {
  /* Farben */
  --paper: #f4eee3;        /* Creme */
  --paper-2: #ebe3d4;      /* Flächen, Platzhalter */
  --card: #fffcf6;         /* helle Karten auf Creme */
  --ink: #1d1f23;          /* Anthrazit */
  --ink-2: #4b4f56;        /* Fließtext sekundär */
  --ink-3: #6a6d72;        /* Hinweise (AA auf --paper) */
  --line: #dcd2c0;         /* Haarlinien */
  --accent: #2639ff;       /* Electric Blue – nur für Aktion & Fokus */
  --accent-press: #1a2ad6;
  --night: #1d1f23;        /* dunkle Abschnitte */
  --night-2: #282b31;
  --night-line: #3a3e45;
  --night-text: #ecece7;
  --night-muted: #a7abb2;
  --ok: #1f7a4d;
  --error: #b42318;

  /* Typografie */
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(3.1rem, 1.2rem + 7.6vw, 9.25rem);
  --fs-h2: clamp(2.2rem, 1.3rem + 3.6vw, 4.6rem);
  --fs-h3: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem);
  --fs-lead: clamp(1.15rem, 1.05rem + 0.45vw, 1.42rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;

  /* Raster & Abstände */
  --wrap: 1360px;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.75rem);
  --section: clamp(5rem, 3rem + 8vw, 10rem);
  --radius-s: 6px;
  --radius-m: 14px;

  --ease: cubic-bezier(0.22, 0.7, 0.18, 1);
  color-scheme: light;
}

/* 3 · Basis ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 750; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: #8f9bff; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.7rem 1rem; border-radius: var(--radius-s);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 4 · Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.on-dark { background: var(--night); color: var(--night-text); }
.section.on-dark { border-top: 0; }
.on-dark + .section { border-top: 0; }

.section-head {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem var(--gutter);
  margin-bottom: clamp(3rem, 2rem + 4vw, 6rem); align-items: end;
}
.section-head h2 { grid-column: 1 / span 8; font-size: var(--fs-h2); }
.section-head p { grid-column: 9 / -1; color: var(--ink-2); max-width: 38ch; }
.on-dark .section-head p { color: var(--night-muted); }
.section-index { /* kleine Abschnittsmarke, nennt den Ort auf der Seite */
  grid-column: 1 / -1; display: flex; gap: 0.75rem; align-items: center;
  font-size: var(--fs-small); color: var(--ink-3); font-weight: 500;
}
.section-index::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.on-dark .section-index { color: var(--night-muted); }

/* 5 · Komponenten ------------------------------------------------------------ */

/* Buttons */
.btn {
  --b-bg: var(--ink); --b-fg: var(--paper); --b-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.8rem 1.45rem;
  background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd);
  border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--accent { --b-bg: var(--accent); --b-fg: #fff; --b-bd: var(--accent); }
.btn--accent:hover { --b-bg: var(--accent-press); --b-bd: var(--accent-press); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); }
.btn--ghost:hover { --b-bg: var(--ink); --b-fg: var(--paper); }
.on-dark .btn--ghost { --b-fg: var(--night-text); --b-bd: var(--night-text); }
.on-dark .btn--ghost:hover { --b-bg: var(--night-text); --b-fg: var(--night); }
.btn--small { min-height: 2.6rem; padding: 0.5rem 1.1rem; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.ext-icon { width: 0.8em; height: 0.8em; flex: none; }

/* Textlink mit Pfeil-Unterstreichung */
.link-strong {
  display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600;
  text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 0.15rem;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.link-strong:hover { color: var(--accent); }
.on-dark .link-strong:hover { color: #9aa5ff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }

/* Logo-Platzhalter: Wortmarke. Für ein SVG-Logo den Inhalt von .brand ersetzen. */
.brand { display: inline-flex; align-items: baseline; gap: 0.1rem; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-mark { display: inline-block; width: 0.62rem; height: 0.62rem; background: var(--accent); border-radius: 2px; margin-right: 0.45rem; transform: translateY(-0.02rem); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: 1.6rem; list-style: none; }
.nav-list a { text-decoration: none; font-weight: 500; font-size: 0.98rem; color: var(--ink-2); padding-block: 0.4rem; position: relative; }
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="true"] { color: var(--ink); }
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; align-items: center; gap: 0.6rem; background: none; border: 1.5px solid var(--ink);
  border-radius: 999px; padding: 0.5rem 1rem; font-weight: 600; cursor: pointer; min-height: 2.75rem;
}
.nav-toggle-lines { position: relative; width: 1rem; height: 0.6rem; }
.nav-toggle-lines::before, .nav-toggle-lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle-lines::before { top: 0; }
.nav-toggle-lines::after { top: calc(100% - 1.5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { top: calc(50% - 0.75px); transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: calc(50% - 0.75px); transform: rotate(-45deg); }

/* Browserrahmen für Screenshots – das wiederkehrende Motiv der Seite */
.browser {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m);
  overflow: hidden; box-shadow: 0 1px 0 rgba(29, 31, 35, 0.04), 0 30px 60px -30px rgba(29, 31, 35, 0.35);
}
.browser-bar {
  display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--line); background: var(--card);
}
.browser-dots { display: flex; gap: 0.35rem; flex: none; }
.browser-dots i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--line); }
.browser-url {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 0.45rem;
  background: var(--paper); border-radius: 999px; padding: 0.3rem 0.85rem;
  font-size: 0.82rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser-url svg { width: 0.7rem; height: 0.7rem; flex: none; color: var(--ink-3); }
a.browser-url { text-decoration: none; }
a.browser-url:hover { color: var(--accent); }

/* Screenshot-Fläche: Bild liegt über dem Platzhalter.
   Fehlt die Bilddatei, entfernt main.js das <img> und der Platzhalter bleibt sichtbar. */
.shot { position: relative; margin: 0; background: var(--paper-2); aspect-ratio: 16 / 10; overflow: hidden; }
.shot--tall { aspect-ratio: 9 / 18; }
.shot--wide { aspect-ratio: 16 / 9; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 1; }
.shot-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 0.35rem; padding: 1.25rem; text-align: center;
  color: var(--ink-3); font-size: 0.82rem; line-height: 1.4;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem; background-position: -1px -1px;
}
.shot-placeholder strong { display: block; font-size: clamp(1.1rem, 0.8rem + 1.2vw, 1.9rem); color: var(--ink); font-weight: 750; letter-spacing: -0.02em; }
.shot-placeholder code { font-family: inherit; background: var(--paper); padding: 0.1rem 0.45rem; border-radius: 4px; word-break: break-all; }
.shot.has-image .shot-placeholder { visibility: hidden; }

/* Phone-Rahmen */
.phone {
  border: 1px solid var(--line); border-radius: 1.6rem; padding: 0.45rem; background: var(--card);
  box-shadow: 0 30px 60px -30px rgba(29, 31, 35, 0.4);
}
.phone .shot { border-radius: 1.2rem; }

/* Tags / Fakten */
.facts { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.5rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.facts li::before { content: ""; width: 0.45rem; height: 0.45rem; margin-top: 0.6em; background: var(--accent); border-radius: 1px; }
.on-dark .facts, .on-dark .facts li { border-color: var(--night-line); }

/* 6 · Abschnitte ------------------------------------------------------------ */

/* Hero: siehe Abschnitt 12 am Ende der Datei */

/* Projekte – große Case Studies */
.case { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.5rem var(--gutter); align-items: start; }
.case + .case { margin-top: clamp(5rem, 3rem + 7vw, 10rem); }
.case-media { grid-column: 1 / span 8; position: relative; }
.case-info { grid-column: 9 / -1; position: sticky; top: 6.5rem; }
.case--flip .case-media { grid-column: 5 / -1; grid-row: 1; }
.case--flip .case-info { grid-column: 1 / span 4; grid-row: 1; }
.case-media .phone { position: absolute; width: 23%; right: -3%; bottom: -8%; }
.case--flip .case-media .phone { right: auto; left: -3%; }
.case-num { font-size: var(--fs-small); color: var(--ink-3); font-weight: 500; margin-bottom: 1rem; display: block; }
.case-title { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 0.5rem; }
.case-type { color: var(--ink-2); font-size: 1.1rem; margin-bottom: 1.75rem; }
.case-info .facts { margin-bottom: 2rem; }
.case-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }

/* Leistungen – typografische Liste statt Kartenraster */
.services { list-style: none; border-top: 1.5px solid var(--ink); }
.service {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0.75rem var(--gutter);
  padding: clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem) 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.service::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--accent); transition: width .5s var(--ease);
}
.service:hover::before { width: 100%; }
.service h3 { grid-column: 1 / span 5; font-size: var(--fs-h3); }
.service-body { grid-column: 6 / span 5; color: var(--ink-2); }
.service-fit { grid-column: 11 / -1; font-size: var(--fs-small); color: var(--ink-3); }
.service-fit b { display: block; color: var(--ink); font-weight: 600; }

/* Preise – Preisliste in Gruppen */
.pricing-note {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--card);
  font-size: 0.95rem; color: var(--ink-2); margin-bottom: 3.5rem; max-width: 62rem;
}
.pricing-note svg { width: 1.2rem; height: 1.2rem; color: var(--accent); margin-top: 0.15rem; }
.price-group + .price-group { margin-top: 4rem; }
.price-group-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; align-items: baseline; padding-bottom: 1rem; border-bottom: 1.5px solid var(--ink); }
.price-group-head h3 { font-size: var(--fs-h3); }
.price-group-head p { color: var(--ink-3); font-size: 0.95rem; }
.price-list { list-style: none; }
.price {
  display: grid; grid-template-columns: minmax(10rem, 3fr) 6fr minmax(8rem, 2fr) auto; gap: 1rem var(--gutter);
  align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line);
}
.price-name { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.015em; }
.price-desc { color: var(--ink-2); font-size: 0.98rem; max-width: 52ch; }
.price-amount { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 750; letter-spacing: -0.03em; white-space: nowrap; }
.price-amount small { font-size: 0.95rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-right: 0.3rem; }
.price.is-featured .price-name::after {
  content: "Häufigste Wahl für Selbstständige"; display: block; font-size: 0.8rem; font-weight: 500; color: var(--accent); letter-spacing: 0; margin-top: 0.2rem;
}
/* Preise ausblenden: in index.html am <html>-Element data-preise="aus" setzen */
html[data-preise="aus"] .js-preise { display: none !important; }

/* Ansatz – dunkler Abschnitt */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem var(--gutter); counter-reset: none; }
.principle { border-top: 1px solid var(--night-line); padding-top: 1.5rem; }
.principle h3 { font-size: 1.4rem; margin-bottom: 0.75rem; color: #fff; }
.principle p { color: var(--night-muted); }
.principles-foot { margin-top: 4.5rem; padding-top: 2rem; border-top: 1px solid var(--night-line); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.principles-foot p { grid-column: 1 / span 7; font-size: var(--fs-lead); line-height: 1.45; color: var(--night-text); }

/* Ablauf */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 var(--gutter); position: relative; }
.step { position: relative; padding-top: 4.5rem; }
.step::before { /* Zeitstrahl */
  content: ""; position: absolute; top: 1.35rem; left: 0; right: calc(-1 * var(--gutter)); height: 1.5px; background: var(--ink);
}
.step:last-child::before { right: 0; }
.step-num {
  position: absolute; top: 0; left: 0; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink);
  font-weight: 700; font-size: 0.95rem; font-variant-numeric: tabular-nums; z-index: 1;
}
.step:first-child .step-num { background: var(--accent); border-color: var(--accent); color: #fff; }
.step h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.step p { color: var(--ink-2); font-size: 0.98rem; }

/* Über mich */
.about { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.5rem var(--gutter); align-items: start; }
.about-photo { grid-column: 1 / span 5; margin: 0; }
.about-photo .shot { aspect-ratio: 4 / 5; border-radius: var(--radius-m); }
.about-photo figcaption { font-size: var(--fs-small); color: var(--ink-3); margin-top: 0.75rem; }
.about-text { grid-column: 7 / -1; }
.about-text h2 { font-size: var(--fs-h2); margin-bottom: 2rem; }
.about-text .lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); }
.about-text p { color: var(--ink-2); max-width: 60ch; }
.about-meta { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gutter); margin-top: 2.5rem; border-top: 1px solid var(--line); }
.about-meta li { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.about-meta span { display: block; color: var(--ink-3); font-size: var(--fs-small); }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); }
.faq-intro { grid-column: 1 / span 4; }
.faq-intro h2 { font-size: var(--fs-h2); margin-bottom: 1.25rem; }
.faq-intro p { color: var(--ink-2); }
.faq-list { grid-column: 6 / -1; border-top: 1.5px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  padding: 1.4rem 0; font-size: 1.2rem; font-weight: 650; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon { position: relative; flex: none; width: 1.75rem; height: 1.75rem; border: 1.5px solid currentColor; border-radius: 50%; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.7rem; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 3.25rem 1.6rem 0; color: var(--ink-2); max-width: 66ch; }

/* Kontakt */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--gutter); }
.contact-intro { grid-column: 1 / span 5; }
.contact-intro h2 { font-size: var(--fs-h2); margin-bottom: 1.75rem; color: #fff; }
.contact-intro p { color: var(--night-muted); max-width: 40ch; }
.contact-direct { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--night-line); }
.contact-direct span { display: block; font-size: var(--fs-small); color: var(--night-muted); margin-bottom: 0.3rem; }
.contact-direct a { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); font-weight: 650; text-decoration: none; border-bottom: 1.5px solid var(--night-line); }
.contact-direct a:hover { border-color: #9aa5ff; }
.contact-form { grid-column: 7 / -1; }

/* Formular */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.25rem; }
.field { display: grid; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.92rem; font-weight: 600; color: var(--night-text); }
.field .opt { font-weight: 400; color: var(--night-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.2rem; padding: 0.8rem 0.95rem; border-radius: var(--radius-s);
  background: var(--night-2); border: 1.5px solid var(--night-line); color: var(--night-text);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a7abb2' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 0.75rem;
}
.field textarea { min-height: 9.5rem; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #80848b; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #565b63; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #8f9bff; background: #2d3037; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid #8f9bff; outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #ff8a80; }
.field-error { font-size: 0.85rem; color: #ffaba3; min-height: 0; }
.field-error:empty { display: none; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; font-size: 0.92rem; color: var(--night-muted); }
.consent label { font-weight: 400; color: var(--night-muted); }
.consent input { width: 1.3rem; height: 1.3rem; margin: 0.15rem 0 0; accent-color: var(--accent); }
.consent a { color: var(--night-text); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 0.5rem; }
.form-foot small { color: var(--night-muted); font-size: 0.85rem; max-width: 36ch; }
.form-status { grid-column: 1 / -1; border-radius: var(--radius-s); padding: 1rem 1.1rem; font-size: 0.98rem; }
.form-status:empty { display: none; }
.form-status.is-success { background: #1e3a2c; color: #c8f0d8; border: 1px solid #2f6b4c; }
.form-status.is-error { background: #3d2220; color: #ffd2cd; border: 1px solid #7a3b35; }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* Footer */
.site-footer { background: var(--night); color: var(--night-muted); border-top: 1px solid var(--night-line); padding: 3.5rem 0 2.5rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); }
.footer-brand { grid-column: 1 / span 5; }
.footer-brand .brand { color: var(--night-text); margin-bottom: 0.75rem; }
.footer-nav { grid-column: 7 / span 3; }
.footer-legal { grid-column: 10 / -1; }
.site-footer h2 { font-size: var(--fs-small); color: var(--night-text); font-weight: 600; letter-spacing: 0; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.45rem; }
.site-footer a { color: var(--night-muted); text-decoration: none; }
.site-footer a:hover { color: var(--night-text); text-decoration: underline; }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.85rem; }

/* 7 · Unterseiten ------------------------------------------------------------ */
.page-hero { padding-top: clamp(3rem, 2rem + 4vw, 6rem); padding-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); }
.breadcrumb { font-size: var(--fs-small); color: var(--ink-3); margin-bottom: 2rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.breadcrumb a { color: var(--ink-2); }
.page-title { font-size: clamp(3rem, 1.6rem + 6vw, 7.5rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.92; }
.page-sub { font-size: var(--fs-lead); color: var(--ink-2); margin-top: 1.5rem; max-width: 42ch; line-height: 1.45; }

.cs-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 var(--gutter); margin-top: 3rem; border-top: 1.5px solid var(--ink); }
.cs-meta div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.cs-meta dt { font-size: var(--fs-small); color: var(--ink-3); margin-bottom: 0.2rem; }
.cs-meta dd { margin: 0; font-weight: 600; }
.cs-meta a { color: var(--accent); }

.cs-stage { padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
.cs-stage-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; }
.cs-stage-grid .browser { grid-column: 1 / span 9; }
.cs-stage-grid .phone { grid-column: 10 / -1; }

.cs-block { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem var(--gutter); padding-block: clamp(3rem, 2rem + 3vw, 5rem); border-top: 1px solid var(--line); }
.cs-block h2 { grid-column: 1 / span 4; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.cs-block .cs-body { grid-column: 6 / -1; max-width: 64ch; color: var(--ink-2); }
.cs-body .lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); }
.cs-feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; border-top: 1px solid var(--line); }
.cs-feature-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.cs-feature-list b { display: block; color: var(--ink); font-weight: 650; margin-bottom: 0.2rem; }
.cs-figure { grid-column: 1 / -1; margin: 1rem 0 0; }
.cs-figure figcaption { font-size: var(--fs-small); color: var(--ink-3); margin-top: 0.75rem; }

.cs-next { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: end; padding-block: clamp(3rem, 2rem + 4vw, 6rem); border-top: 1.5px solid var(--ink); text-decoration: none; }
.cs-next span { display: block; color: var(--ink-3); font-size: var(--fs-small); margin-bottom: 0.5rem; }
.cs-next strong { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; transition: color .3s var(--ease); }
.cs-next:hover strong { color: var(--accent); }

.legal { max-width: 46rem; padding-bottom: var(--section); }
.legal h2 { font-size: 1.5rem; margin: 3rem 0 1rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.todo { /* deutlich sichtbarer Platzhalter */
  display: block; padding: 1rem 1.15rem; border: 1.5px dashed var(--accent); border-radius: var(--radius-s);
  background: #fff; color: var(--ink); font-size: 0.95rem; margin: 1rem 0;
}
.todo b { color: var(--accent); }

/* 8 · Bewegung ---------------------------------------------------------------
   Ein einziger orchestrierter Moment: der Aufbau des Hero beim Laden. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes fade { to { opacity: 1; } }
  @keyframes pulse { 50% { transform: scale(1.6); opacity: .5; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* 9 · Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .nav-list { gap: 1.1rem; }
  .price { grid-template-columns: 1fr auto; }
  .price-desc { grid-column: 1 / -1; grid-row: 2; }
  .price-amount { grid-column: 2; grid-row: 1; text-align: right; }
  .price .btn { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
  .service h3 { grid-column: 1 / span 5; }
  .service-body { grid-column: 6 / -1; }
  .service-fit { grid-column: 6 / -1; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav { gap: 0.75rem; }
  .nav-list {
    position: fixed; inset: 4.75rem 0 auto 0; display: grid; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1.5rem;
    max-height: calc(100dvh - 4.75rem); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-0.5rem);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav-list.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-list a { display: block; padding: 1rem 0; font-size: 1.35rem; font-weight: 650; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .nav .btn--header { display: none; }


  .section-head h2, .section-head p { grid-column: 1 / -1; }

  .case-media, .case--flip .case-media { grid-column: 1 / -1; grid-row: 1; }
  .case-info, .case--flip .case-info { grid-column: 1 / -1; grid-row: 2; position: static; margin-top: 2rem; }
  .case-media .phone { width: 26%; right: 3%; bottom: -10%; }
  .case--flip .case-media .phone { left: auto; right: 3%; }

  .service h3, .service-body, .service-fit { grid-column: 1 / -1; }

  .principles { grid-template-columns: 1fr 1fr; }
  .principles-foot p { grid-column: 1 / -1; }

  .steps { grid-template-columns: 1fr 1fr; gap: 3rem var(--gutter); }
  .step::before { right: 0; }

  .about-photo { grid-column: 1 / span 5; }
  .about-text { grid-column: 6 / -1; }

  .faq-intro, .faq-list { grid-column: 1 / -1; }
  .contact-intro, .contact-form { grid-column: 1 / -1; }

  .footer-brand { grid-column: 1 / -1; }
  .footer-nav { grid-column: 1 / span 6; }
  .footer-legal { grid-column: 7 / -1; }

  .cs-meta { grid-template-columns: 1fr 1fr; }
  .cs-block h2, .cs-block .cs-body { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .case-media .phone { display: none; }
  .principles { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 2.5rem 4rem; }
  .step::before { top: 2.75rem; bottom: 0; left: 1.35rem; right: auto; width: 1.5px; height: auto; }
  .step:last-child::before { display: none; }
  .about-photo, .about-text { grid-column: 1 / -1; }
  .about-photo { max-width: 22rem; }
  .about-meta { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 1.08rem; }
  .faq-answer { padding-right: 0; }
  .price { grid-template-columns: 1fr; gap: 0.6rem; }
  .price-desc, .price-amount, .price .btn { grid-column: 1; grid-row: auto; text-align: left; }
  .footer-nav, .footer-legal { grid-column: 1 / -1; }
  .cs-meta { grid-template-columns: 1fr; }
  .cs-stage-grid .browser { grid-column: 1 / -1; }
  .cs-stage-grid .phone { grid-column: 3 / span 8; }
  .cs-feature-list { grid-template-columns: 1fr; }
  .cs-next { grid-template-columns: 1fr; }
  .browser-bar { padding: 0.55rem 0.7rem; }
  .browser-dots { display: none; }
}

@media print {
  .site-header, .nav-toggle, .contact-form, .site-footer { display: none; }
  .on-dark { background: #fff; color: #000; }
}

/* Ablaufgrafik in der FabriTech-Case-Study */
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1.5px solid var(--ink); border-radius: var(--radius-m); overflow: hidden; background: #fff; }
.flow li { position: relative; padding: 1.25rem 1.1rem 1.35rem; font-size: 0.9rem; color: var(--ink-2); border-left: 1px solid var(--line); }
.flow li:first-child { border-left: 0; }
.flow li b { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 0.25rem; }
.flow li:not(:last-child)::after {
  content: ""; position: absolute; right: -0.45rem; top: 50%; width: 0.8rem; height: 0.8rem; z-index: 1;
  background: #fff; border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: translateY(-50%) rotate(45deg);
}
.flow li:last-child { background: var(--accent); color: #dfe3ff; border-left-color: var(--accent); }
.flow li:last-child b { color: #fff; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; }
  .flow li { border-left: 0; border-top: 1px solid var(--line); }
  .flow li:first-child { border-top: 0; }
  .flow li:not(:last-child)::after { right: auto; left: 1.4rem; top: auto; bottom: -0.45rem; transform: rotate(135deg); }
}
.cs-meta a { display: inline-flex; align-items: center; gap: 0.35rem; }

/* Wortmarke: Bazari | Redur Tuerueng */
.brand-sep { display: inline-block; width: 1.5px; height: 0.95em; background: currentColor; opacity: .3; margin: 0 0.6rem; align-self: center; }
.brand-sub { font-weight: 500; letter-spacing: -0.01em; }
@media (max-width: 360px) { .site-header .brand-sep, .site-header .brand-sub { display: none; } }

/* Über mich ohne Foto */
.about .about-text { grid-column: 1 / span 8; }
@media (max-width: 980px) { .about .about-text { grid-column: 1 / -1; } }

/* Projekt C: App-Bühne für Bazari */
.app-stage {
  position: relative; background: var(--night); color: var(--night-text);
  border-radius: var(--radius-m); aspect-ratio: 16 / 10; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--gutter);
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  box-shadow: 0 30px 60px -30px rgba(29, 31, 35, 0.45);
}
.app-stage-logo { justify-self: center; width: min(78%, 15rem); aspect-ratio: 1; background: #fff; border-radius: 22%; padding: 9%; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); }
.app-stage-logo img { width: 100%; height: 100%; object-fit: contain; }
.app-stage-screens { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--night-line); align-self: center; }
.app-stage-screens li { padding: 0.55rem 0; border-bottom: 1px solid var(--night-line); font-weight: 650; font-size: clamp(1rem, 0.8rem + 0.8vw, 1.45rem); letter-spacing: -0.015em; }
.app-stage-stack { position: absolute; left: clamp(1.5rem, 1rem + 3vw, 3.5rem); bottom: 1.1rem; margin: 0; font-size: 0.85rem; color: var(--night-muted); }
@media (max-width: 640px) {
  .app-stage { aspect-ratio: auto; grid-template-columns: 1fr; padding: 1.75rem 1.25rem 3rem; gap: 1.5rem; }
  .app-stage-logo { width: 9rem; }
  .app-stage-stack { left: 1.25rem; }
}

/* ==========================================================================
   10 · Übergänge und Scroll-Animationen
   Startzustände greifen nur mit JavaScript (.js) und ohne „Bewegung reduzieren“.
   Ohne JS ist alles sofort sichtbar.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* Einblenden beim Scrollen */
  .js [data-reveal] {
    opacity: 0; transform: translate3d(0, 2rem, 0);
    transition: opacity .9s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms);
    will-change: opacity, transform;
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; will-change: auto; }

  /* Große Überschriften steigen aus einer Maske */
  .js [data-reveal="title"] { opacity: 1; transform: none; overflow: hidden; padding-bottom: 0.12em; }
  .js [data-reveal="title"] > .t { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 1.1s var(--ease) var(--d, 0ms); }
  .js [data-reveal="title"].is-in > .t { transform: none; }

  /* Projektbilder öffnen sich wie ein Vorhang */
  .js [data-reveal="wipe"] {
    opacity: 1; transform: scale(.965);
    clip-path: inset(10% 8% 10% 8% round var(--radius-m));
    transition: clip-path 1.3s var(--ease) var(--d, 0ms), transform 1.5s var(--ease) var(--d, 0ms);
  }
  .js [data-reveal="wipe"].is-in { clip-path: inset(-10% -10% -10% -10% round var(--radius-m)); transform: none; }
  .js [data-reveal="wipe"] .phone { opacity: 0; transform: translate3d(0, 3rem, 0); transition: opacity .9s var(--ease) .45s, transform 1.2s var(--ease) .45s; }
  .js [data-reveal="wipe"].is-in .phone { opacity: 1; transform: none; }

  /* Linien zeichnen sich */
  .js .section-index::before { width: 0; transition: width .9s var(--ease) .15s; }
  .js .section-head.is-seen .section-index::before,
  .js .is-seen > .section-index::before, .js .section-index.is-in::before { width: 2rem; }
  .js .services, .js .faq-list, .js .price-group-head { border-top-color: transparent; position: relative; }
  .js .services::before, .js .faq-list::before {
    content: ""; position: absolute; left: 0; right: 0; top: -1.5px; height: 1.5px; background: var(--ink);
    transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease);
  }
  .js .services.is-in::before, .js .faq-list.is-in::before { transform: none; }
  .js .faq-list { position: relative; }
  .js .step::before { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) calc(var(--d, 0ms) + 250ms); }
  .js .step.is-in::before { transform: none; }
  .js .step .step-num { transition: background-color .4s, border-color .4s, color .4s, transform .6s var(--ease) var(--d, 0ms); transform: scale(.6); }
  .js .step.is-in .step-num { transform: none; }

  /* Seitenwechsel (Start ↔ Case Studies ↔ Impressum) als weicher Übergang */
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 640px) {
  .js .step::before { transform: scaleY(0); transform-origin: top; }
  .js [data-reveal="wipe"] { clip-path: inset(6% 4% 6% 4% round var(--radius-m)); }
}

/* Hover nur mit Maus – auf dem Handy bleiben sonst Zustände nach dem Antippen hängen */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* Ruhige Hover-Reaktionen */
  .case-media .browser .shot img { transition: transform 1.2s var(--ease); }
  .case-media:hover .browser .shot img { transform: scale(1.025); }
  .case-media .browser { transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
  .case-media:hover .browser { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(29,31,35,.04), 0 40px 70px -30px rgba(29,31,35,.42); }
  .price { transition: background-color .4s var(--ease), padding .4s var(--ease); }
  .price:hover { background: color-mix(in srgb, #fff 55%, transparent); }
  .app-stage-logo { transition: transform 1s var(--ease); }
  .app-stage:hover .app-stage-logo { transform: rotate(-4deg) scale(1.04); }

}

/* ==========================================================================
   11 · Handy-Feinschliff
   ========================================================================== */
html { -webkit-tap-highlight-color: transparent; }
.brand { white-space: nowrap; }

@media (max-width: 640px) {
  :root { --section: 4.25rem; --gutter: 1.15rem; }

  /* Kopfzeile kompakt, Name bleibt einzeilig */
  .site-header .wrap { min-height: 4rem; gap: 0.75rem; }
  .site-header .brand { font-size: 1.02rem; }
  .brand-mark { width: 0.5rem; height: 0.5rem; margin-right: 0.4rem; }
  .brand-sep { margin: 0 0.45rem; }
  .nav-toggle { padding: 0.45rem 0.85rem; min-height: 2.6rem; font-size: 0.95rem; }
  .nav-list { inset: 4rem 0 auto 0; max-height: calc(100dvh - 4rem); padding-bottom: 1.25rem; }
  .nav-list a { font-size: 1.6rem; letter-spacing: -0.02em; padding: 0.85rem 0; }
  html { scroll-padding-top: 4.5rem; }

  /* Hero */
  .btn-row { gap: 0.6rem; }

  /* Abschnittsköpfe */
  .section-head { margin-bottom: 2.5rem; row-gap: 0.9rem; }
  .section-head h2, .about-text h2, .faq-intro h2, .contact-intro h2 { font-size: clamp(2rem, 9.4vw, 2.6rem); line-height: 1.04; }

  /* Projekte: Desktop-Screenshot plus gut lesbares Handy-Bild davor */
  .case + .case { margin-top: 4.5rem; }
  .case-media { padding-bottom: 20%; }
  .case-media .phone { display: block; position: absolute; width: 38%; right: 3%; left: auto; bottom: 0; border-radius: 1.2rem; padding: 0.3rem; }
  .case--flip .case-media .phone { left: auto; right: 3%; }
  .case-media .phone .shot { border-radius: 0.95rem; }
  .case-info { margin-top: 1.5rem; }
  .case-title { font-size: 2.4rem; }
  .case-type { font-size: 1.02rem; margin-bottom: 1.25rem; }
  .case-links { gap: 0.75rem 1.25rem; }
  .app-stage { padding-bottom: 3rem; }
  .case-media:has(.app-stage) { padding-bottom: 0; }

  /* Leistungen */
  .service { padding: 1.5rem 0; row-gap: 0.5rem; }
  .service h3 { font-size: 1.3rem; }
  .service-fit { margin-top: 0.25rem; }

  /* Preise: Preis und Button nebeneinander */
  .pricing-note { margin-bottom: 2.5rem; padding: 1rem; }
  .price-group + .price-group { margin-top: 2.75rem; }
  .price { grid-template-columns: 1fr auto; gap: 0.5rem 1rem; padding: 1.35rem 0; }
  .price-name { grid-column: 1 / -1; grid-row: 1; font-size: 1.2rem; }
  .price-desc { grid-column: 1 / -1; grid-row: 2; font-size: 0.95rem; }
  .price-amount { grid-column: 1; grid-row: 3; align-self: center; font-size: 1.65rem; text-align: left; }
  .price .btn { grid-column: 2; grid-row: 3; justify-self: end; }

  /* Ansatz */
  .principle { padding-top: 1.1rem; }
  .principle h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
  .principles-foot { margin-top: 2.5rem; padding-top: 1.5rem; }
  .principles-foot p { font-size: 1.1rem; }

  /* Ablauf */
  .step { padding-bottom: 2rem; }
  .step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }

  /* Über mich, FAQ */
  .about-text .lead { font-size: 1.12rem; }
  .about-text h2 { margin-bottom: 1.25rem; }
  .faq { row-gap: 1.5rem; }
  .faq-item summary { padding: 1.15rem 0; font-size: 1.05rem; gap: 1rem; }
  .faq-icon { width: 1.6rem; height: 1.6rem; }

  /* Kontakt */
  .contact { row-gap: 2.25rem; }
  .contact-direct { margin-top: 1.75rem; }
  .form-grid { gap: 1.1rem; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }

  /* Fußzeile */
  .site-footer { padding: 2.75rem 0 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-nav, .footer-legal { grid-column: auto; }
  .footer-base { flex-direction: column; gap: 0.4rem; margin-top: 2rem; }

  /* Case-Study-Seiten */
  .page-title { font-size: clamp(2.8rem, 14vw, 3.8rem); }
  .cs-stage-grid { position: relative; padding-bottom: 22%; display: block; }
  .cs-stage-grid .phone { position: absolute; width: 38%; right: 3%; bottom: 0; padding: 0.3rem; border-radius: 1.2rem; }
  .cs-block { padding-block: 2.5rem; }
  .cs-block h2 { font-size: 1.6rem; }
  .flow li { padding: 0.95rem 1rem; }
}

/* ==========================================================================
   12 · Hero-Bühne
   Eine farbige, abgerundete Karte auf Creme – mit schwebenden Handy-Screenshots
   der echten Projekte. Farben der Bühne über --stage-* anpassbar.
   ========================================================================== */
:root {
  --stage-1: #3346ff;   /* Licht oben links */
  --stage-2: #1d2be0;   /* Grundton */
  --stage-3: #0f188f;   /* Ränder */
  --glass: rgba(255, 255, 255, 0.12);
  --glass-line: rgba(255, 255, 255, 0.24);
}
.hero { padding-top: clamp(0.75rem, 0.4rem + 1vw, 1.5rem); padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  min-height: min(88vh, 860px);
  padding: clamp(1.1rem, 0.6rem + 2vw, 2.5rem);
  border-radius: clamp(1.4rem, 1rem + 1.2vw, 2.25rem);
  color: #fff;
  background:
    radial-gradient(120% 90% at 18% 8%, var(--stage-1) 0%, transparent 55%),
    radial-gradient(140% 120% at 70% 60%, var(--stage-2) 0%, var(--stage-3) 100%);
  box-shadow: 0 40px 80px -40px rgba(20, 30, 140, 0.55), 0 2px 0 rgba(255,255,255,.08) inset;
}
.stage-deco, .stage-deco > * { position: absolute; pointer-events: none; }
.stage-deco { inset: 0; z-index: -1; }
.glow { border-radius: 50%; filter: blur(60px); }
.glow--a { width: 46%; aspect-ratio: 1; left: -10%; top: -18%; background: rgba(140, 155, 255, 0.55); }
.glow--b { width: 42%; aspect-ratio: 1; right: -8%; bottom: -22%; background: rgba(255, 128, 64, 0.38); }
.rings {
  width: 120%; aspect-ratio: 1; right: -38%; top: 50%; transform: translateY(-50%);
  background: repeating-radial-gradient(circle at center, transparent 0 46px, rgba(255,255,255,.09) 46px 47px);
  -webkit-mask-image: radial-gradient(circle at center, #000 0 38%, transparent 68%);
          mask-image: radial-gradient(circle at center, #000 0 38%, transparent 68%);
}
.grain {
  inset: 0; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.pill {
  display: inline-flex; align-items: center; gap: 0.55rem; margin: 0;
  padding: 0.45rem 0.95rem; border-radius: 999px; font-size: 0.88rem; font-weight: 500; line-height: 1.2; white-space: nowrap;
}
.pill--glass { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; }
.pill .pulse { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #7dffb2; box-shadow: 0 0 0 0 rgba(125,255,178,.6); }
.stage-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.stage-tags { list-style: none; display: flex; gap: 0.5rem; }

.stage-body { flex: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); align-items: center; }
.stage-copy { grid-column: 1 / span 7; position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.8rem, 0.8rem + 4.6vw, 5.8rem); font-weight: 800; line-height: 0.92; letter-spacing: -0.045em; color: #fff; text-wrap: initial; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-title .li { display: inline-block; }
.hero-lead { font-size: var(--fs-lead); line-height: 1.45; color: rgba(255,255,255,.8); max-width: 34ch; margin: clamp(1.25rem, 1rem + 1vw, 2rem) 0 clamp(1.5rem, 1rem + 1vw, 2.25rem); }

.btn--light { --b-bg: var(--paper); --b-fg: var(--ink); --b-bd: var(--paper); }
.btn--light:hover { --b-bg: #fff; --b-bd: #fff; }
.btn--glass { --b-bg: var(--glass); --b-fg: #fff; --b-bd: rgba(255,255,255,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { --b-bg: rgba(255,255,255,.22); }
.stage :focus-visible { outline-color: #fff; }

.hero-visual { grid-column: 8 / -1; position: relative; height: clamp(360px, 40vw, 600px); }
.hero-phone {
  position: absolute; width: 46%; aspect-ratio: 1 / 2; top: 6%;
  border-radius: 2.1rem; border: 7px solid #0b0d14; background: #0b0d14; overflow: hidden;
  box-shadow: 0 40px 60px -25px rgba(5, 8, 40, .75), 0 0 0 1px rgba(255,255,255,.08);
}
.hero-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 1.55rem; }
.hero-phone--a { left: 16%; z-index: 2; transform: rotate(-7deg); }
.hero-phone--b { left: 48%; top: 0; z-index: 1; transform: rotate(8deg) scale(.88); filter: saturate(.9) brightness(.92); }
.hero-floor { position: absolute; left: 14%; right: 4%; bottom: 0; height: 9%; border-radius: 50%; background: rgba(5, 8, 45, .5); filter: blur(18px); }
.hero-badge {
  position: absolute; left: 0; bottom: 10%; z-index: 3;
  display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 1rem 0.55rem 0.55rem;
  border-radius: 1rem; background: rgba(255,255,255,.14); border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
}
.hero-badge img { width: 2.6rem; height: 2.6rem; padding: 0.3rem; border-radius: 0.7rem; background: #fff; object-fit: contain; }
.hero-badge span { font-size: 0.82rem; line-height: 1.25; color: rgba(255,255,255,.75); }
.hero-badge b { display: block; color: #fff; font-size: 0.98rem; }

.stage-foot { margin: 0; position: relative; z-index: 3; font-size: 0.85rem; color: rgba(255,255,255,.6); }

/* Zuletzt umgesetzt – Leiste unter der Bühne */
.hero-recent { margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.recent-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--gutter); }
.recent-list a { display: block; padding: 1.1rem 0 0.2rem; border-top: 1.5px solid var(--ink); text-decoration: none; transition: border-color .3s var(--ease); }
.recent-list a:hover { border-color: var(--accent); }
.recent-list .domain { display: block; font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem); font-weight: 750; letter-spacing: -0.02em; }
.recent-list a:hover .domain { color: var(--accent); }
.recent-list .what { display: block; color: var(--ink-2); font-size: 0.95rem; margin-top: 0.15rem; }

/* Ladeanimation der Bühne */
@media (prefers-reduced-motion: no-preference) {
  .js .stage { animation: stage-in 1s var(--ease) both; }
  .js .stage-top, .js .stage-foot { animation: fade-in .8s var(--ease) .35s both; }
  .js .hero-title .li { animation: line-up 1s var(--ease) both; }
  .js .hero-title .line:nth-child(1) .li { animation-delay: .25s; }
  .js .hero-title .line:nth-child(2) .li { animation-delay: .33s; }
  .js .hero-title .line:nth-child(3) .li { animation-delay: .41s; }
  .js .hero-lead, .js .hero-actions { animation: fade-up .9s var(--ease) .6s both; }
  .js .hero-badge { animation: pop-in .8s var(--ease) 1.15s both; }
  .js .hero-floor { animation: fade-in 1.2s var(--ease) .6s both; }
  .js .hero-recent li { animation: fade-up .8s var(--ease) both; }
  .js .hero-recent li:nth-child(1) { animation-delay: .8s; }
  .js .hero-recent li:nth-child(2) { animation-delay: .9s; }
  .js .hero-recent li:nth-child(3) { animation-delay: 1s; }
  /* sanftes Schweben (eigene translate-Eigenschaft, kollidiert nicht mit transform) */
  .hero-phone--a { animation-name: phone-a, float; animation-duration: 1.3s, 6s; animation-delay: .45s, 1.8s; animation-iteration-count: 1, infinite; animation-direction: normal, alternate; animation-timing-function: var(--ease), ease-in-out; animation-fill-mode: both, none; }
  .hero-phone--b { animation-name: phone-b, float; animation-duration: 1.3s, 7s; animation-delay: .6s, 2.2s; animation-iteration-count: 1, infinite; animation-direction: normal, alternate-reverse; animation-timing-function: var(--ease), ease-in-out; animation-fill-mode: both, none; }
  .glow--a { animation: drift 14s ease-in-out infinite alternate; }
  .glow--b { animation: drift 17s ease-in-out infinite alternate-reverse; }
  .pill .pulse { animation: ping 2.4s ease-out 1.5s infinite; }

  @keyframes stage-in { from { opacity: 0; transform: scale(.975) translateY(14px); } }
  @keyframes line-up { from { transform: translateY(110%); } }
  @keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
  @keyframes fade-in { from { opacity: 0; } }
  @keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.9); } }
  @keyframes phone-a { from { opacity: 0; transform: translateY(90px) rotate(-16deg); } }
  @keyframes phone-b { from { opacity: 0; transform: translateY(110px) rotate(16deg) scale(.88); } }
  @keyframes float { from { translate: 0 0; } to { translate: 0 -12px; } }
  @keyframes drift { to { translate: 6% 8%; } }
  @keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(125,255,178,.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(125,255,178,0); } }
}

@media (max-width: 980px) {
  .stage { min-height: 0; }
  .stage-copy { grid-column: 1 / -1; }
  .hero-visual { grid-column: 1 / -1; height: clamp(320px, 62vw, 480px); }
  .hero-phone { width: 34%; }
  .hero-phone--a { left: 22%; }
  .hero-phone--b { left: 48%; }
  .hero-badge { left: 2%; }
  .recent-list { grid-template-columns: 1fr; }
  .recent-list a { padding: 0.95rem 0; border-top-width: 1px; border-top-color: var(--line); }
  .recent-list li:first-child a { border-top: 1.5px solid var(--ink); }
}

/* Smartphone: eigene Komposition */
@media (max-width: 640px) {
  .hero .wrap { padding-inline: 0.6rem; }
  .hero-recent { padding-inline: 0.55rem; }
  .stage { padding: 1.15rem 1.15rem 1.35rem; gap: 1.1rem; border-radius: 1.6rem; }
  .stage-tags { display: none; }
  .pill { font-size: 0.8rem; padding: 0.4rem 0.8rem; }
  .stage-body { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .stage-copy { display: contents; }
  .hero-title { order: 1; font-size: clamp(2.2rem, 10.2vw, 2.9rem); line-height: 0.95; letter-spacing: -0.04em; margin-top: 0.35rem; }
  .hero-visual { order: 2; height: 300px; margin: 1.1rem -0.4rem 0.4rem; }
  .hero-lead { order: 3; font-size: 1.05rem; margin: 0.6rem 0 1.25rem; color: rgba(255,255,255,.82); }
  .hero-actions { order: 4; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-phone { width: 40%; border-width: 5px; border-radius: 1.55rem; }
  .hero-phone img { border-radius: 1.2rem; }
  .hero-phone--a { left: 13%; top: 4%; }
  .hero-phone--b { left: 47%; top: 0; }
  .hero-badge { left: 0.4rem; bottom: 6%; padding: 0.4rem 0.75rem 0.4rem 0.4rem; border-radius: 0.85rem; }
  .hero-badge img { width: 2.1rem; height: 2.1rem; }
  .stage-foot { order: 5; font-size: 0.78rem; margin-top: 1.1rem; }
  .rings { width: 190%; right: -95%; top: 52%; }
  .glow { filter: blur(40px); }
}

/* ==========================================================================
   13 · Creme-Papier, Deko und ruhigere Animationen auf dem Handy
   ========================================================================== */
body::before { /* feine Papierstruktur über der Cremefläche */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .45; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .45  0 0 0 0 .3  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Ringe als wiederkehrendes Motiv in den dunklen Abschnitten */
.section.on-dark { position: relative; overflow: hidden; isolation: isolate; }
.section.on-dark::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 900px; aspect-ratio: 1; right: -420px; top: -380px;
  background: repeating-radial-gradient(circle at center, transparent 0 46px, rgba(255,255,255,.055) 46px 47px);
  -webkit-mask-image: radial-gradient(circle at center, #000 0 30%, transparent 66%);
          mask-image: radial-gradient(circle at center, #000 0 30%, transparent 66%);
}
.section.on-dark::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 520px; aspect-ratio: 1; left: -200px; bottom: -260px;
  border-radius: 50%; background: rgba(38, 57, 255, .28); filter: blur(90px);
}
/* Punktraster hinter den Abschnittsköpfen */
.section-head { position: relative; }
.section:not(.on-dark) .section-head::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; right: 0; top: -2.5rem; width: min(46%, 520px); height: calc(100% + 4rem);
  background-image: radial-gradient(rgba(29,31,35,.16) 1.1px, transparent 1.3px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent);
}
.section { position: relative; isolation: isolate; }

@media (prefers-reduced-motion: no-preference) and (max-width: 640px) {
  /* weniger Weg, kürzer, keine Masken – wirkt beim Wischen ruhiger */
  .js [data-reveal] { transform: translate3d(0, 1rem, 0); transition-duration: .6s, .7s; will-change: auto; }
  .js [data-reveal="title"] { overflow: visible; padding-bottom: 0; }
  .js [data-reveal="title"] { opacity: 0; transform: translate3d(0, 1rem, 0); transition: opacity .6s var(--ease), transform .7s var(--ease); }
  .js [data-reveal="title"].is-in { opacity: 1; transform: none; }
  .js [data-reveal="title"] > .t { transform: none; transition: none; }
  .js [data-reveal="wipe"] { clip-path: none; opacity: 0; transform: translate3d(0, 1.25rem, 0) scale(.98); transition: opacity .7s var(--ease), transform .8s var(--ease); }
  .js [data-reveal="wipe"].is-in { clip-path: none; opacity: 1; transform: none; }
  .js [data-reveal="wipe"] .phone { transition-delay: .25s; transform: translate3d(0, 1.5rem, 0); }
  ::view-transition-old(root) { animation-duration: .2s; }
  ::view-transition-new(root) { animation-duration: .35s; }
}

/* ==========================================================================
   14 · Unterseiten: Einstieg, Projektkacheln, Abschluss-Karte
   ========================================================================== */
.page-intro { padding-top: clamp(2.5rem, 1.5rem + 4vw, 6rem); padding-bottom: clamp(1rem, 0.5rem + 2vw, 2.5rem); }
.page-intro .section-index { margin-bottom: 1.25rem; }
.page-intro .page-title { max-width: 14ch; }
.page-intro + .section { border-top: 0; padding-top: clamp(2.5rem, 1.5rem + 3vw, 5rem); }

.work-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.work a { display: block; text-decoration: none; }
.work-media {
  margin: 0 0 1rem; aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--radius-m);
  border: 1px solid var(--line); background: var(--paper-2); box-shadow: 0 24px 40px -28px rgba(29,31,35,.35);
}
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.work-media--app { display: grid; place-items: center; background: radial-gradient(120% 100% at 30% 10%, #2a2e36, var(--night)); border-color: var(--night); }
.work-media--app img { width: 34%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 22%; padding: 5%; }
.work-meta { display: block; font-size: var(--fs-small); color: var(--ink-3); }
.work-title { display: block; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; margin: 0.1rem 0 0.35rem; }
.work-more { font-weight: 600; font-size: 0.95rem; border-bottom: 1.5px solid currentColor; }
.work-all { margin-top: 2.5rem; }
@media (hover: hover) {
  .work a:hover .work-media img { transform: scale(1.04); }
  .work a:hover .work-title, .work a:hover .work-more { color: var(--accent); }
}

.cta-band { padding-block: clamp(1rem, 0.5rem + 2vw, 3rem) clamp(4rem, 3rem + 3vw, 6.5rem); }
.cta-card {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: clamp(2rem, 1rem + 4vw, 4.5rem); border-radius: clamp(1.4rem, 1rem + 1.2vw, 2.25rem);
  background: radial-gradient(120% 90% at 18% 8%, var(--stage-1) 0%, transparent 55%), radial-gradient(140% 120% at 70% 60%, var(--stage-2) 0%, var(--stage-3) 100%);
}
.cta-card h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 4.4rem); max-width: 18ch; margin-bottom: 2rem; color: #fff; }
.cta-card .rings { right: -60%; }

@media (max-width: 980px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-band .wrap { padding-inline: 0.6rem; }
  .cta-card { padding: 2rem 1.35rem; border-radius: 1.6rem; }
  .cta-card .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   15 · Preise – dunkle Bühne, riesiges Wort hinter Glas-Karten
   ========================================================================== */
.pricing { padding-top: clamp(0.75rem, 0.4rem + 1vw, 1.5rem); padding-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.price-stage {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: clamp(1.1rem, 0.6rem + 2vw, 2.5rem); border-radius: clamp(1.4rem, 1rem + 1.2vw, 2.25rem);
  background: radial-gradient(90% 70% at 50% 0%, #20242c 0%, #121419 70%);
  box-shadow: 0 40px 80px -40px rgba(10, 12, 20, 0.6);
}
.price-stage .glow--a { background: rgba(38, 57, 255, .55); width: 55%; left: 22%; top: -30%; }
.price-stage .glow--b { background: rgba(255, 128, 64, .22); }
.price-giant {
  position: absolute; z-index: -1; left: 50%; top: clamp(3.5rem, 2rem + 4vw, 6.5rem); transform: translateX(-50%);
  margin: 0; font-size: clamp(5.5rem, 2rem + 17vw, 17rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8; white-space: nowrap;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.15) 95%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 2; }

/* Umschalter */
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 0.3rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.seg button { position: relative; z-index: 1; border: 0; background: none; color: rgba(255,255,255,.7); font-weight: 600; font-size: 0.92rem; padding: 0.55rem 1.1rem; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: color .3s var(--ease); }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg-thumb { position: absolute; z-index: 0; top: 0.3rem; bottom: 0.3rem; left: 0.3rem; width: calc(50% - 0.3rem); border-radius: 999px; background: var(--paper); transition: transform .5s var(--ease); }
.seg[data-active="1"] .seg-thumb { transform: translateX(100%); }
.no-js .seg, html:not(.js) .seg { display: none; }

/* Karten */
.plan-groups { position: relative; margin-top: clamp(6rem, 3rem + 9vw, 12rem); }
.plan-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem); }
.js .plan-group[data-hidden] { display: none; }
html:not(.js) .plan-group + .plan-group { margin-top: 1.25rem; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 0.35rem;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 30px 50px -30px rgba(0,0,0,.6);
}
.plan.is-featured { background: linear-gradient(180deg, rgba(60, 78, 255, .42), rgba(38, 57, 255, .14)); border-color: rgba(143, 155, 255, .5); }
.plan-tag { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,.62); }
.plan-name { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; color: #fff; }
.plan-price { margin: 0.4rem 0 0.9rem; font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.plan-price small { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,.6); margin-right: 0.35rem; }
.plan-feats { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 1.5rem; flex: 1; align-content: start; }
.plan-feats li { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.65rem; font-size: 0.95rem; line-height: 1.4; color: rgba(255,255,255,.82); }
.plan-feats svg { width: 1.1rem; height: 1.1rem; margin-top: 0.08rem; color: #fff; }
.plan.is-featured .plan-feats svg { color: #c7ceff; }
.plan-cta { width: 100%; }
.price-note { position: relative; z-index: 2; margin: 1.5rem 0 0; font-size: 0.85rem; color: rgba(255,255,255,.55); max-width: 60ch; }

@media (prefers-reduced-motion: no-preference) {
  .js .plan-group.is-entering .plan { animation: plan-in .7s var(--ease) both; }
  .js .plan-group.is-entering .plan:nth-child(2) { animation-delay: .07s; }
  .js .plan-group.is-entering .plan:nth-child(3) { animation-delay: .14s; }
  @keyframes plan-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
  .js .price-giant { animation: giant-in 1.4s var(--ease) both; }
  @keyframes giant-in { from { opacity: 0; transform: translate(-50%, 30px); letter-spacing: -0.02em; } }
  @media (hover: hover) {
    .plan { transition: transform .5s var(--ease), border-color .5s var(--ease); }
    .plan:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.32); }
  }
}

@media (max-width: 980px) {
  .plan-group { grid-template-columns: 1fr 1fr; }
}
/* Handy: Karten seitlich wischen */
@media (max-width: 640px) {
  .pricing .wrap { padding-inline: 0.6rem; }
  .price-stage { padding: 1.1rem 0 1.3rem; border-radius: 1.6rem; }
  .price-top { padding-inline: 1.1rem; }
  .seg { width: 100%; }
  .seg button { font-size: 0.85rem; padding: 0.55rem 0.5rem; }
  .price-giant { font-size: 31vw; top: 7.5rem; }
  .plan-groups { margin-top: 6.5rem; }
  .plan-group {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.1rem; padding: 0.25rem 1.1rem 0.75rem; gap: 0.75rem;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .plan-group::-webkit-scrollbar { display: none; }
  .plan { scroll-snap-align: start; }
  html:not(.js) .plan-group + .plan-group { margin-top: 0.5rem; }
  .price-note { padding-inline: 1.1rem; }
  .plan-dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 0.4rem; }
}
.plan-dots { display: none; }
.plan-dots span { width: 0.45rem; height: 0.45rem; border-radius: 999px; background: rgba(255,255,255,.3); transition: width .4s var(--ease), background-color .4s; }
.plan-dots span.is-on { width: 1.4rem; background: #fff; }
.contact-direct-gap { margin-top: 1.25rem; }

/* ==========================================================================
   16 · 3D-Hero (WebGL) – liegt zwischen Deko und Inhalt der Bühne
   ========================================================================== */
.stage-3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.stage.has-3d .stage-3d { opacity: 1; }
.stage-top, .stage-body, .stage-foot { position: relative; z-index: 1; }
.stage.has-3d .glow { opacity: .8; }
.stage.has-3d .rings { opacity: .6; }

/* Weiches Scrollen (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
[data-parallax] { will-change: translate; }

/* ==========================================================================
   17 · Statement mit blauem Band + wachsende Projekt-Bühne (Startseite)
   ========================================================================== */
.statement { position: relative; overflow: visible; z-index: 0; padding-block: clamp(5rem, 3rem + 7vw, 11rem) clamp(4rem, 3rem + 5vw, 8rem); }
.ribbon { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% + 30vh); z-index: -1; pointer-events: none; overflow: visible; }
.ribbon path { fill: none; stroke: var(--accent); stroke-width: 30; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.ribbon--narrow { display: none; }
.statement-title { font-size: clamp(3.2rem, 0.6rem + 8.4vw, 10.5rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95; }
.st-line { display: block; }
.st-line--in { padding-left: 22%; }
.statement-body { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem var(--gutter); margin-top: clamp(2.5rem, 1.5rem + 4vw, 6rem); }
.statement-body p { grid-column: 7 / span 5; font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); margin: 0; }
.statement-body .pill { grid-column: 7 / span 5; justify-self: start; }
.pill--solid { background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; padding: 0.75rem 1.25rem; font-size: 0.9rem; box-shadow: 0 10px 24px -16px rgba(29,31,35,.35); transition: transform .4s var(--ease); }
.pill--solid:hover { transform: translateY(-2px); }
.pill .dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--ink); }

.reel { position: relative; z-index: 1; }
.reel-sticky { padding-inline: var(--gutter); max-width: var(--wrap); margin-inline: auto; }
.reel-card {
  position: relative; display: block; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 7rem);
  border-radius: clamp(1rem, 0.6rem + 1vw, 1.6rem); background: var(--night); color: #fff; text-decoration: none;
  box-shadow: 0 40px 80px -40px rgba(20, 25, 60, .55);
}
.reel-slides, .reel-slides img { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel-slides img { object-fit: cover; object-position: top; opacity: 0; animation: reel-fade 12s infinite; scale: 1.06; }
.reel-slides img:nth-child(1) { animation-delay: 0s; }
.reel-slides img:nth-child(2) { animation-delay: 4s; }
.reel-slides img:nth-child(3) { animation-delay: 8s; }
@keyframes reel-fade { 0% { opacity: 0; } 6%, 33% { opacity: 1; } 40%, 100% { opacity: 0; } }
.reel-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,16,40,.15), rgba(13,16,40,.45)); }
.reel-label { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: clamp(0.8rem, 0.4rem + 1.5vw, 2rem); }
.reel-word { font-size: clamp(2rem, 0.8rem + 4.6vw, 6.2rem); font-weight: 600; letter-spacing: -0.03em; }
.reel-btn { display: grid; place-items: center; width: clamp(4rem, 2.5rem + 4.5vw, 8.5rem); height: clamp(2.6rem, 1.6rem + 2.8vw, 5.4rem); border-radius: 999px; background: #fff; color: var(--ink); transition: transform .5s var(--ease), background-color .3s; }
.reel-btn svg { width: 38%; height: 38%; }
.reel-card:hover .reel-btn { transform: scale(1.08); background: var(--accent); color: #fff; }

/* Mit JavaScript: Bühne klebt und wächst (Startzustände setzt smooth.js) */
.js-grow .reel { height: 165vh; }
.js-grow .reel-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.js-grow .reel-card { width: var(--reel-w, 100%); flex: none; }
.js-grow .reel-label { opacity: var(--reel-label, 1); }
.js-grow [data-grow] { scale: var(--grow, 1); transform-origin: center bottom; }

@media (max-width: 640px) {
  .ribbon--wide { display: none; }
  .ribbon--narrow { display: block; }
  .ribbon path { stroke-width: 22; }
  .statement-title { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .st-line--in { padding-left: 12%; }
  .statement-body p, .statement-body .pill { grid-column: 2 / -1; }
  .statement-body p { font-size: 1.08rem; }
  .js-grow .reel { height: 135vh; }
  .reel-card { aspect-ratio: 4 / 5; }
  .reel-label { flex-direction: column; gap: 0.6rem; }
  .reel-word { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reel-slides img { animation: none; }
  .reel-slides img:first-child { opacity: 1; }
}

/* ==========================================================================
   18 · Projekt-Galerie (projekte.html)
   Ohne WebGL: wischbare Bildreihe. Mit WebGL (.is-gl): klebende 3D-Bühne.
   ========================================================================== */
.gallery { position: relative; padding-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.gallery-list {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 640px); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem var(--gutter) 1rem; scrollbar-width: thin;
}
.gallery-list li { scroll-snap-align: center; }
.gallery-list a { display: block; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.gallery-list img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery-canvas, .gallery-hud, .gallery-foot { display: none; }

.gallery.is-gl { height: 420vh; padding-bottom: 0; }
.gallery.is-gl .gallery-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.gallery.is-gl .gallery-list { display: none; }
.gallery.is-gl .gallery-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery.is-gl .gallery-hud {
  display: flex; flex-direction: column; align-items: center; position: absolute; left: 0; right: 0; top: clamp(5.5rem, 4rem + 3vw, 7.5rem); pointer-events: none; text-align: center;
}
.gallery-name { font-size: clamp(2.4rem, 1rem + 5vw, 6.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; }
.gallery-kind { font-size: var(--fs-small); color: var(--ink-3); margin-top: 0.6rem; }
.gallery.is-gl .gallery-foot {
  display: flex; align-items: center; gap: 1.25rem; position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  max-width: var(--wrap); margin-inline: auto; font-size: var(--fs-small); color: var(--ink-2); pointer-events: none; font-variant-numeric: tabular-nums;
}
.gallery-bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.gallery-bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
@media (prefers-reduced-motion: no-preference) {
  .gallery.hud-in .gallery-name, .gallery.hud-in .gallery-kind { animation: hud-in .6s var(--ease) both; }
  .gallery.hud-in .gallery-kind { animation-delay: .06s; }
  @keyframes hud-in { from { opacity: 0; transform: translateY(0.4em); filter: blur(4px); } }
}
@media (max-width: 640px) {
  .gallery.is-gl { height: 320vh; }
  .gallery.is-gl .gallery-hud { top: auto; bottom: 5.5rem; }
  .gallery-hint { display: none; }
}
