/* ==========================================================================
   Schramm ITS – Stylesheet
   ========================================================================== */

/* ---------- Fonts (lokal gehostet, SIL OFL) ---------- */
@font-face { /* Gewicht + optische Größe – schlank, wird vorgeladen */
  font-family: "Bricolage";
  src: url("../fonts/bricolage-grotesque-opsz.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face { /* zusätzlich mit Breiten-Achse – nur für schmale Schnitte (Demo-Stil „Mutig“), lädt bei Bedarf */
  font-family: "Bricolage Wide";
  src: url("../fonts/bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --c1: #5b74ff;           /* Markenblau */
  --c2: #ff5b37;           /* Markenorange */
  --c3: #b765ff;           /* Verlaufsmitte */
  --ok: #3ddc97;

  --bg: #06070b;
  --bg-2: #0a0c13;
  --bg-3: #10131d;
  --panel: rgba(255, 255, 255, 0.025);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef0f7;
  --muted: #9aa0b6;
  --dim: #626880;

  --grad: linear-gradient(100deg, var(--c1) 0%, var(--c3) 50%, var(--c2) 100%);

  --f-display: "Bricolage", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
::selection { background: var(--c2); color: #fff; }
:focus-visible { outline: 2px solid var(--c2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.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; }
.mono { font-family: var(--f-mono); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.grad-text {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 8s ease-in-out infinite alternate;
  padding-right: 0.06em; /* italic overhang */
}
@keyframes gradShift { to { background-position: 100% 0; } }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons, Pills, Chips, Inputs ---------- */
.btn {
  --bh: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--bh); padding: 0 1.4em;
  border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .4s, border-color .3s;
  isolation: isolate;
}
.btn .i { transition: transform .4s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn--sm { --bh: 40px; font-size: 14px; padding: 0 1.1em; }
.btn--lg { --bh: 56px; font-size: 16px; padding: 0 1.7em; }
.btn--primary {
  background: #fff; color: #07080d;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 40px -10px color-mix(in srgb, var(--c2) 60%, transparent);
  overflow: hidden;
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad); opacity: 0; transition: opacity .4s;
}
.btn--primary:hover { color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 14px 50px -8px color-mix(in srgb, var(--c2) 70%, transparent); }
.btn--primary:hover::before { opacity: 1; }
.btn--ghost {
  border: 1px solid var(--line-2); color: var(--text);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255,255,255,.03);
  font-size: 13px; font-weight: 500; color: var(--muted);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pulse, .live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.pulse::after, .live-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--ok); opacity: 0; animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.02);
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: all .3s var(--ease);
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.chip[aria-pressed="true"] {
  color: #07080d; background: #fff; border-color: #fff;
  box-shadow: 0 6px 24px -8px color-mix(in srgb, var(--c1) 70%, transparent);
}
.chip--mono { font-family: var(--f-mono); font-size: 12.5px; height: 32px; }
.chip--mono::before { content: "$"; color: var(--c2); margin-right: 6px; }
.chips--seg { gap: 0; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; width: max-content; }
.chips--seg .chip { border: 0; height: 30px; }

.field { display: grid; gap: 10px; align-content: start; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field__label { font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: .01em; margin-bottom: 10px; display: block; }
.field > .field__label { margin-bottom: 0; }
.field > legend.field__label { margin-bottom: 10px; } /* <legend> nimmt nicht am Grid-Gap teil */
.field__label small { color: var(--dim); font-weight: 500; }
.input {
  width: 100%; height: 50px; padding: 0 16px;
  background: rgba(0,0,0,.35); border: 1px solid var(--line-2); border-radius: 14px;
  color: var(--text); font-size: 15px;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.input::placeholder { color: var(--dim); }
.input:focus { outline: none; border-color: color-mix(in srgb, var(--c1) 80%, white); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 22%, transparent); background: rgba(0,0,0,.5); }
.input--area { height: auto; padding: 14px 16px; resize: vertical; min-height: 130px; line-height: 1.55; }

.panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

/* ---------- Intro ---------- */
.intro { display: none; }
.js .intro {
  display: block; position: fixed; inset: 0; z-index: 900; pointer-events: auto;
  animation: introFailsafe .01s 4.5s forwards; /* falls JS hängt */
}
@keyframes introFailsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }
.intro__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: #050609; transition: transform .9s var(--ease-in-out); }
.intro__panel--top { top: 0; }
.intro__panel--bottom { bottom: 0; }
.intro__center { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 22px; transition: opacity .4s, transform .8s var(--ease-in-out); }
.intro__mark { width: 92px; height: 92px; overflow: visible; }
.intro__mark path { fill: none; stroke-width: 7; stroke-linejoin: miter; stroke-dasharray: 80; stroke-dashoffset: 80; }
.intro__b1 { stroke: var(--c1); animation: introDraw .55s .05s var(--ease) forwards, introSlide1 .55s .05s var(--ease) both; }
.intro__b2 { stroke: var(--c2); animation: introDraw .55s .15s var(--ease) forwards, introSlide2 .55s .15s var(--ease) both; }
@keyframes introDraw { to { stroke-dashoffset: 0; } }
@keyframes introSlide1 { from { transform: translate(-14px, -6px); } to { transform: none; } }
@keyframes introSlide2 { from { transform: translate(14px, 6px); } to { transform: none; } }
.intro__meta { display: flex; gap: 14px; font-family: var(--f-mono); font-size: 12px; color: var(--dim); letter-spacing: .1em; }
.intro__count { color: var(--text); min-width: 3ch; }
.intro.is-done .intro__center { opacity: 0; transform: scale(.92); }
.intro.is-done .intro__panel--top { transform: translateY(-100%); }
.intro.is-done .intro__panel--bottom { transform: translateY(100%); }
.intro.is-gone { display: none; }

/* ---------- Ambient Background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg__grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), #000 0%, rgba(0,0,0,.25) 45%, transparent 75%);
  mask-image: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), #000 0%, rgba(0,0,0,.25) 45%, transparent 75%);
}
.bg__blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .32; will-change: transform; }
.bg__blob--1 { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: var(--c1); animation: blob1 22s ease-in-out infinite alternate; }
.bg__blob--2 { width: 38vw; height: 38vw; right: -12vw; top: 30vh; background: var(--c2); opacity: .2; animation: blob2 26s ease-in-out infinite alternate; }
@keyframes blob1 { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes blob2 { to { transform: translate(-22vw, 30vh) scale(.85); } }
.bg__noise {
  position: absolute; inset: 0; opacity: .07; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Scroll-Progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 800; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--grad); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); }
.logo__mark { width: 30px; height: 30px; overflow: visible; }
.logo__mark path { fill: none; stroke-width: 7; stroke-linejoin: miter; transition: transform .5s var(--ease); }
.logo__b1 { stroke: var(--c1); }
.logo__b2 { stroke: var(--c2); }
.logo:hover .logo__b1 { transform: translate(-3px, -2px); }
.logo:hover .logo__b2 { transform: translate(3px, 2px); }
.logo__word { font-size: 21px; font-weight: 700; letter-spacing: -0.035em; }
.logo__tag {
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .18em;
  color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 4px 3px 6px; margin-left: -2px;
}

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; padding: 14px var(--gutter) 0; transition: transform .6s var(--ease); }
.nav.is-hidden, .builder-stuck .nav { transform: translateY(-120%); }
.nav__inner {
  max-width: calc(var(--container) - 2 * var(--gutter) + 24px); margin: 0 auto;
  height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 10px 0 18px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-scrolled .nav__inner {
  background: rgba(10, 12, 19, .62);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
}
.nav__links { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; }
.nav__links a { position: relative; z-index: 1; padding: 8px 16px; font-size: 14.5px; font-weight: 500; color: var(--muted); border-radius: 999px; transition: color .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__indicator {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0;
  border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line);
  opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
}
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; background: rgba(255,255,255,.03); }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 450;
  background: rgba(6, 7, 11, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 46px) 46px);
  transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
  visibility: hidden;
}
.mmenu[hidden] { display: flex; }
.mmenu.is-open { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; transition: clip-path .8s var(--ease-in-out); }
.mmenu__links { display: grid; gap: 4px; }
.mmenu__links a {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--f-display); font-size: clamp(2.2rem, 11vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.15;
  opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .7s var(--ease);
}
.mmenu__links a .mono { font-size: 12px; color: var(--c2); font-weight: 500; letter-spacing: 0; }
.mmenu.is-open .mmenu__links a { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__links a:nth-child(1) { transition-delay: .15s; }
.mmenu.is-open .mmenu__links a:nth-child(2) { transition-delay: .2s; }
.mmenu.is-open .mmenu__links a:nth-child(3) { transition-delay: .25s; }
.mmenu.is-open .mmenu__links a:nth-child(4) { transition-delay: .3s; }
.mmenu.is-open .mmenu__links a:nth-child(5) { transition-delay: .35s; }
.mmenu__foot { display: grid; gap: 6px; color: var(--muted); font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 120px; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; touch-action: pan-y; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 24px; pointer-events: none; }
.hero__inner a, .hero__inner button, .hero__inner .pill, .hero__lead, .hero__title, .hero__meta { pointer-events: auto; }
.hero__content { max-width: 720px; }
.hero__pill { margin-bottom: 28px; font-family: var(--f-body); font-size: 13.5px; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: #c9cde0; }
.hero__pill .i { color: var(--c2); width: 15px; height: 15px; }
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(2.7rem, .9rem + 5.1vw, 6.4rem);
  font-weight: 700; line-height: .98; letter-spacing: -0.045em;
  margin-bottom: 28px;
}
.hero__line { display: block; overflow: hidden; padding: 0 .1em .08em 0; margin-bottom: -.08em; }
@supports (overflow: clip) { .hero__line { overflow: visible; overflow-y: clip; overflow-clip-margin: 0; } }
.hero__line-in { display: inline-block; white-space: nowrap; }
.hero__title .serif { font-size: 1.08em; letter-spacing: -0.02em; }
.rotator { display: inline-flex; align-items: baseline; }
.rotator__br { color: var(--c2); font-weight: 300; transition: transform .5s var(--ease); }
.rotator__br:first-child { margin-right: .04em; }
.rotator__br:last-child { margin-left: .04em; }
.rotator.is-switching .rotator__br:first-child { transform: translateX(-.08em); }
.rotator.is-switching .rotator__br:last-child { transform: translateX(.08em); }
.rotator__word { display: inline-block; white-space: nowrap; transition: width .55s var(--ease); text-align: left; }
.rotator__word .sc { color: var(--c1); font-family: var(--f-mono); font-weight: 400; font-size: .8em; }
.hero__lead { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); color: var(--muted); max-width: 560px; margin-bottom: 38px; line-height: 1.6; }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stage { position: relative; height: min(62vh, 600px); }
.hero__caption { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); display: grid; justify-items: center; gap: 4px; white-space: nowrap; }
.hero__shape { font-size: 13px; color: var(--c2); }
.hero__hint { font-size: 12px; color: var(--dim); letter-spacing: .04em; }
.hero__meta {
  grid-column: 1 / -1; margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, max-content); gap: 0; margin-bottom: 0;
}
.meta { padding: 0 30px; border-left: 1px solid var(--line); }
.meta:first-child { padding-left: 0; border-left: 0; }
.meta dt { font-size: 12px; color: var(--dim); letter-spacing: .02em; margin-bottom: 4px; }
.meta dd { margin: 0; font-family: var(--f-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.meta dd small { font-size: 15px; color: var(--muted); font-weight: 500; }
.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--line-2), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--c2); animation: scrollLine 2s var(--ease-in-out) infinite; }
@keyframes scrollLine { to { top: 110%; } }

/* Hero entrance (nach Intro) */
.js .hero__line-in { transform: translateY(105%); }
.js [data-hero-in] { transform: translateY(18px); }
.is-ready .hero__line-in { transform: none; transition: transform 1.2s var(--ease); }
.is-ready .hero__line:nth-child(3) .hero__line-in { transition-delay: .08s; }
.is-ready [data-hero-in] { transform: none; transition: transform 1.1s var(--ease); }
.is-ready .hero__pill { transition-delay: .05s; }
.is-ready .hero__lead { transition-delay: .25s; }
.is-ready .hero__ctas { transition-delay: .35s; }
.is-ready .hero__caption { transition-delay: .8s; }
.is-ready .hero__meta { transition-delay: .5s; }

/* ---------- Marquee ---------- */
.marquee { position: relative; padding: 30px 0; overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,255,255,.012); }
.marquee__row { display: flex; white-space: nowrap; }
.marquee__row--alt { margin-top: 8px; }
.marquee__track { display: flex; align-items: center; gap: 34px; padding-right: 34px; flex: none; will-change: transform; }
.marquee__track span {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -0.04em;
  font-size: clamp(2.4rem, 2rem + 3vw, 5.2rem); line-height: 1.1;
}
.marquee__track span.o { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.35); }
.marquee__row--alt .marquee__track span { font-size: clamp(1.6rem, 1.3rem + 1.6vw, 3rem); color: var(--muted); }
.marquee__row--alt .marquee__track span.o { -webkit-text-stroke-color: rgba(255,255,255,.22); }
.marquee__track b { width: .55em; height: .55em; flex: none; font-size: clamp(2.4rem, 2rem + 3vw, 5.2rem);
  background: conic-gradient(from 0deg, var(--c1), var(--c3), var(--c2), var(--c1));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: spin 8s linear infinite;
}
.marquee__row--alt .marquee__track b { font-size: clamp(1.6rem, 1.3rem + 1.6vw, 3rem); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 170px) 0; }
.section__head { max-width: 820px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .section__lead { margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow span { color: var(--c2); }
.eyebrow::after { content: ""; width: 40px; height: 1px; background: var(--line-2); }
.section__head--center .eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--line-2); }
.h2 { font-size: clamp(2.3rem, 1.2rem + 4.2vw, 5rem); letter-spacing: -0.045em; line-height: 1; margin-bottom: 24px; }
.h2 .serif { font-size: 1.06em; }
.h2--xl { font-size: clamp(2.6rem, 1rem + 6vw, 6.6rem); }
.section__lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); color: var(--muted); max-width: 600px; }

/* Split-Text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w__in { display: inline-block; }
.js [data-split].is-split .w__in { transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; }
.js [data-split].is-split.is-in .w__in { transform: none; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(34px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }

/* ---------- Bento / Cards ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 30px;
  min-height: 380px;
  transform-style: preserve-3d;
}
.js .card[data-reveal].is-in { transition: opacity 1s var(--ease), transform 1.2s var(--ease), border-color .4s; }
.card::before { /* Spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(480px circle at var(--mx) var(--my), color-mix(in srgb, var(--c1) 16%, transparent), transparent 45%);
}
.card::after { /* Glow-Border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .5s; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx) var(--my), color-mix(in srgb, var(--c2) 90%, white), color-mix(in srgb, var(--c1) 50%, transparent) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card__body { position: relative; z-index: 1; max-width: 470px; }
.card__icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 30%, transparent), color-mix(in srgb, var(--c2) 22%, transparent));
  border: 1px solid var(--line-2); font-size: 20px;
}
.card h3 { font-size: clamp(1.45rem, 1.2rem + .7vw, 1.9rem); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tags li { font-family: var(--f-mono); font-size: 11.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }

.card--web { grid-column: span 7; flex-direction: row; align-items: stretch; min-height: 440px; }
.card--host { grid-column: span 5; }
.card--mail { grid-column: span 5; }
.card--it { grid-column: span 7; flex-direction: row; align-items: stretch; }
.card--perf, .card--sec, .card--care { grid-column: span 4; }
.card--web .card__body, .card--it .card__body { flex: 1 1 46%; display: flex; flex-direction: column; justify-content: flex-end; }
.card--web .viz, .card--it .viz { flex: 1 1 54%; }

.viz { position: relative; z-index: 1; pointer-events: none; }

/* Viz: Browser-Mockup */
.viz--web { display: grid; place-items: center; perspective: 900px; }
.vb {
  width: 100%; max-width: 340px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line-2); background: #0d0f17;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02);
  transform: rotateY(-14deg) rotateX(6deg); transition: transform 1s var(--ease);
}
.card--web:hover .vb { transform: rotateY(-4deg) rotateX(2deg) scale(1.02); }
.vb__bar { display: flex; align-items: center; gap: 5px; padding: 9px 11px; border-bottom: 1px solid var(--line); }
.vb__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.15); }
.vb__bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 9.5px; color: var(--dim); background: rgba(255,255,255,.04); padding: 2px 10px; border-radius: 6px; flex: 1; }
.vb__page { padding: 12px; display: grid; gap: 12px; }
.vb__nav { display: flex; align-items: center; gap: 6px; }
.vb__nav b { width: 18px; height: 18px; border-radius: 5px; background: var(--grad); margin-right: auto; }
.vb__nav span { width: 24px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.15); }
.vb__hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10px; align-items: center; }
.vb__text { display: grid; gap: 6px; }
.vb__h1 { height: 11px; border-radius: 4px; background: rgba(255,255,255,.8); width: 92%; }
.vb__h1--s { width: 62%; background: var(--grad); }
.vb__p { height: 5px; border-radius: 3px; background: rgba(255,255,255,.15); width: 80%; margin-top: 4px; box-shadow: 0 9px 0 rgba(255,255,255,.1); margin-bottom: 9px; }
.vb__btn { width: 54px; height: 15px; border-radius: 8px; background: var(--c2); margin-top: 6px; }
.vb__img { aspect-ratio: 1; border-radius: 12px; background:
  radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--c2) 80%, white), transparent 50%),
  radial-gradient(circle at 70% 70%, var(--c1), transparent 60%), #151827; }
.vb__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vb__cards i { height: 44px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.vb__tag {
  position: absolute; font-size: 11px; padding: 6px 10px; border-radius: 8px;
  background: rgba(13, 15, 23, .9); border: 1px solid var(--line-2); color: var(--muted);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.7);
  animation: floaty 6s ease-in-out infinite;
}
.vb__tag--1 { left: 0; top: 14%; color: var(--c1); }
.vb__tag--2 { right: 0; top: 44%; color: var(--c2); animation-delay: -2s; }
.vb__tag--3 { left: 8%; bottom: 8%; color: var(--ok); animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
/* Bau-Animation */
.card--web.is-inview .vb__nav, .card--web.is-inview .vb__text > *, .card--web.is-inview .vb__img, .card--web.is-inview .vb__cards i {
  animation: build 7s var(--ease) infinite both;
}
.card--web.is-inview .vb__text > :nth-child(1) { animation-delay: .25s; }
.card--web.is-inview .vb__text > :nth-child(2) { animation-delay: .4s; }
.card--web.is-inview .vb__text > :nth-child(3) { animation-delay: .55s; }
.card--web.is-inview .vb__text > :nth-child(4) { animation-delay: .7s; }
.card--web.is-inview .vb__img { animation-delay: .5s; }
.card--web.is-inview .vb__cards i:nth-child(1) { animation-delay: .85s; }
.card--web.is-inview .vb__cards i:nth-child(2) { animation-delay: .95s; }
.card--web.is-inview .vb__cards i:nth-child(3) { animation-delay: 1.05s; }
@keyframes build {
  0% { opacity: 0; transform: translateY(8px) scale(.96); }
  8%, 86% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(-4px); }
}

/* Viz: Status */
.viz--status { display: grid; gap: 14px; padding: 18px; border-radius: 16px; background: rgba(0,0,0,.3); border: 1px solid var(--line); }
.status__head { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ok); margin-bottom: 2px; }
.status__row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.bars { display: flex; gap: 3px; height: 26px; align-items: flex-end; }
.bars i { flex: 1; height: 100%; border-radius: 2px; background: var(--ok); opacity: .85; transform-origin: bottom; transform: scaleY(.1); transition: transform .6s var(--ease); }
.bars i.w { background: #f5c451; }
.card--host.is-inview .bars i { transform: scaleY(1); transition-delay: calc(var(--i) * 18ms); }
.card--host.is-inview .bars i:last-child { animation: barBlink 1.6s ease-in-out infinite; }
@keyframes barBlink { 50% { opacity: .35; } }

/* Viz: Mail */
.viz--mail { display: grid; gap: 12px; }
.mail__addr { display: flex; align-items: center; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(0,0,0,.35); border: 1px solid var(--line-2); font-size: 13.5px; min-height: 46px; }
.mail__at { color: var(--c2); margin-right: 10px; font-weight: 700; }
.caret { width: 8px; height: 17px; background: var(--c1); margin-left: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mail__list { display: grid; gap: 8px; }
.mail__item {
  display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line);
  font-size: 12.5px;
  opacity: 0; transform: translateX(30px);
}
.mail__item div { display: grid; min-width: 0; }
.mail__item b { font-weight: 600; font-size: 13px; }
.mail__item span:not(.mail__av) { color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail__item time { font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.mail__av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; background: color-mix(in srgb, var(--c1) 30%, transparent); color: #fff; }
.mail__av--2 { background: color-mix(in srgb, var(--ok) 30%, transparent); }
.mail__av--3 { background: rgba(255, 70, 70, .25); }
.mail__item--spam b { text-decoration: line-through; color: var(--dim); }
.mail__item--spam time { color: #ff6b6b; }
.card--mail.is-inview .mail__item { animation: mailIn 8s var(--ease) infinite both; }
.card--mail.is-inview .mail__item:nth-child(2) { animation-delay: .5s; }
.card--mail.is-inview .mail__item:nth-child(3) { animation-delay: 1s; }
@keyframes mailIn { 0% { opacity: 0; transform: translateX(30px); } 8%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateX(-10px); } }
.card--mail.is-inview .mail__item--spam { animation-name: spamIn; }
@keyframes spamIn { 0% { opacity: 0; transform: translateX(30px); } 8%, 40% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: translateX(0) scale(.94); filter: blur(4px); } }

/* Viz: Mini-Terminal */
.viz--term { display: flex; align-items: center; }
.mini-term { width: 100%; border-radius: 14px; overflow: hidden; background: #07080c; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.mini-term__bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.mini-term__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.15); }
.mini-term__bar i:nth-child(1) { background: #ff5f57; } .mini-term__bar i:nth-child(2) { background: #febc2e; } .mini-term__bar i:nth-child(3) { background: #28c840; }
.mini-term__bar span { margin-left: auto; margin-right: auto; font-size: 11px; color: var(--dim); font-family: var(--f-mono); }
.mini-term__body { margin: 0; padding: 14px 16px; font-size: 12.5px; line-height: 1.75; min-height: 214px; white-space: pre-wrap; color: var(--muted); }
.mini-term__body .p { color: var(--c2); }
.mini-term__body .ok { color: var(--ok); }
.mini-term__body .c { color: var(--text); }

/* Viz: Gauge */
.viz--gauge { position: relative; width: 150px; height: 150px; }
.gauge { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 8; }
.gauge__track { stroke: rgba(255,255,255,.06); }
.gauge__val { stroke: url(#gauge-grad); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.2s var(--ease); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c2) 50%, transparent)); }
.card--perf.is-inview .gauge__val { stroke-dashoffset: 0; }
.gauge__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge__num span { font-family: var(--f-display); font-size: 42px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.gauge__num small { font-size: 10.5px; color: var(--muted); font-family: var(--f-mono); letter-spacing: .06em; }

/* Viz: Schild */
.viz--shield { height: 150px; display: grid; place-items: center; }
.shield { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.shield__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--c1) 60%, transparent); animation: spin 18s linear infinite; }
.shield__ring--2 { inset: 16px; border-style: solid; border-color: color-mix(in srgb, var(--c2) 35%, transparent); border-top-color: var(--c2); animation-duration: 3s; }
.shield__icon { width: 54px; height: 54px; fill: color-mix(in srgb, var(--c1) 20%, transparent); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 16px color-mix(in srgb, var(--c1) 70%, transparent)); }
.shield__check { fill: none; stroke: var(--ok); stroke-width: 2; stroke-dasharray: 12; stroke-dashoffset: 12; }
.card--sec.is-inview .shield__check { animation: draw 3.5s var(--ease) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 12; } 25%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -12; } }

/* Viz: Checkliste */
.viz--check { min-height: 150px; display: flex; align-items: center; }
.checks { display: grid; gap: 10px; width: 100%; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.checks i { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line-2); position: relative; flex: none; transition: all .3s; }
.checks i::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 9px; border: solid #07080d; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.card--care.is-inview .checks li { animation: checkRow 6s infinite; }
.card--care.is-inview .checks i { animation: checkBox 6s infinite; }
.card--care.is-inview .checks i::after { animation: checkMark 6s infinite; }
.card--care.is-inview .checks li:nth-child(2), .card--care.is-inview .checks li:nth-child(2) i, .card--care.is-inview .checks li:nth-child(2) i::after { animation-delay: .6s; }
.card--care.is-inview .checks li:nth-child(3), .card--care.is-inview .checks li:nth-child(3) i, .card--care.is-inview .checks li:nth-child(3) i::after { animation-delay: 1.2s; }
.card--care.is-inview .checks li:nth-child(4), .card--care.is-inview .checks li:nth-child(4) i, .card--care.is-inview .checks li:nth-child(4) i::after { animation-delay: 1.8s; }
@keyframes checkBox { 0%, 8% { background: transparent; border-color: var(--line-2); } 14%, 90% { background: var(--ok); border-color: var(--ok); } 100% { background: transparent; border-color: var(--line-2); } }
@keyframes checkMark { 0%, 8% { transform: rotate(45deg) scale(0); } 14%, 90% { transform: rotate(45deg) scale(1); } 100% { transform: rotate(45deg) scale(0); } }
@keyframes checkRow { 0%, 8% { color: var(--muted); } 14%, 90% { color: var(--text); } 100% { color: var(--muted); } }

.card--perf, .card--sec, .card--care { justify-content: flex-start; }

/* ---------- Builder ---------- */
.builder__grid {
  display: grid; gap: 18px 24px; align-items: start;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  grid-template-areas: "name stage" "controls stage";
  grid-template-rows: auto 1fr;
}
.builder__name {
  grid-area: name; padding: 22px; display: grid; gap: 12px;
  border-color: color-mix(in srgb, var(--c1) 40%, var(--line));
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--c1) 18%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}
.builder__controls { grid-area: controls; padding: 22px; display: grid; gap: 22px; align-self: start; }
.builder__stage { grid-area: stage; display: grid; gap: 14px; min-width: 0; position: sticky; top: 96px; align-self: start; }

.bc__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.bc__title { font-family: var(--f-display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.bc__sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.bc__dice {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 11px; flex: none;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  font-size: 13px; font-weight: 600; color: var(--text); transition: all .3s var(--ease);
}
.bc__dice .i { transition: transform .6s var(--ease); }
.bc__dice:hover { background: #fff; color: #07080d; border-color: #fff; }
.bc__dice:hover .i, .bc__dice:active .i { transform: rotate(180deg); }
.bc__step { display: grid; gap: 10px; align-content: start; }
.bc__label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text); }
legend.bc__label { margin-bottom: 10px; }
.bc__label small { font-weight: 500; color: var(--dim); font-size: 12px; }
.bc__num {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; color: #07080d;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 55%, white), color-mix(in srgb, var(--c2) 55%, white));
}
.bc__hint { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.bc__hint::before { content: "↑"; color: var(--c2); font-weight: 700; }
.bc__hint.is-ok { color: color-mix(in srgb, var(--ok) 80%, white); }
.bc__hint.is-ok::before { content: "✓"; color: var(--ok); }
.bc__split { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.bc__cta { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.bc__note { font-size: 12.5px; color: var(--dim); text-align: center; }
.btn--block { width: 100%; }

/* Namensfeld mit animiertem Platzhalter */
.namefield {
  position: relative; display: flex; align-items: center; height: 58px; border-radius: 16px;
  background: rgba(0,0,0,.45); border: 1.5px solid color-mix(in srgb, var(--c1) 50%, var(--line-2));
  transition: border-color .3s, box-shadow .3s; cursor: text;
}
.namefield:hover { border-color: color-mix(in srgb, var(--c1) 75%, white); }
.namefield:focus-within { border-color: color-mix(in srgb, var(--c1) 80%, white); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 24%, transparent); }
.namefield.is-attention { animation: attention 1.8s var(--ease) 3; }
@keyframes attention { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c2) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 14px transparent; } }
.namefield__icon { width: 20px; height: 20px; margin-left: 16px; flex: none; fill: none; stroke: var(--c2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.namefield__input {
  flex: 1; min-width: 0; width: 0; height: 100%; padding: 0 46px 0 12px;
  background: none; border: 0; outline: none; color: var(--text); font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
}
.namefield__ph {
  position: absolute; left: 48px; right: 46px; top: 50%; transform: translateY(-50%); pointer-events: none;
  display: flex; align-items: center; gap: .3em; overflow: hidden; white-space: nowrap; font-size: 17px; color: var(--dim);
}
.namefield__ph [data-b-ph] { color: var(--muted); }
.namefield__caret { display: inline-block; width: 2px; height: 1.15em; margin-left: -1px; background: var(--c2); animation: caret 1s steps(1) infinite; flex: none; }
.namefield:focus-within .namefield__caret { display: none; }
.namefield.is-filled .namefield__ph { display: none; }
.namefield__clear { position: absolute; right: 10px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s; }
.namefield__clear:hover { background: rgba(255,255,255,.1); color: var(--text); }
.namefield__clear[hidden] { display: none; }

/* Stil-Kacheln */
.stiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.stile {
  display: grid; justify-items: center; gap: 5px; padding: 12px 4px 10px; border-radius: 14px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.02); color: var(--muted); transition: all .3s var(--ease);
}
.stile b { font-size: 24px; line-height: 1; color: var(--text); transition: color .3s, transform .4s var(--ease); }
.stile span { font-size: 12px; font-weight: 500; }
.stile--modern b { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.04em; }
.stile--elegant b { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 28px; }
.stile--mutig b { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.07em; } /* bewusst ohne Wide-Schrift: die lädt erst bei Auswahl */
.stile--verspielt b { font-family: var(--f-display); font-weight: 800; transform: rotate(-9deg); color: var(--c2); }
.stile:hover { border-color: rgba(255,255,255,.3); color: var(--text); transform: translateY(-2px); }
.stile[aria-pressed="true"] { background: #fff; border-color: #fff; color: #07080d; box-shadow: 0 8px 26px -10px color-mix(in srgb, var(--c1) 70%, transparent); }
.stile[aria-pressed="true"] b { color: #07080d; }
.stile--verspielt[aria-pressed="true"] b { color: var(--c2); }

.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 30px; height: 30px; border-radius: 50%; background: var(--sw); position: relative; transition: transform .3s var(--ease); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"]::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #fff; }
.seg--icons button { width: 40px; padding: 0; justify-content: center; }

.chip--mod::before { content: "+"; margin-right: 6px; font-weight: 700; color: var(--c2); font-size: 15px; line-height: 1; }
.chip--mod[aria-pressed="true"]::before { content: "✓"; color: #07080d; font-size: 12px; }

/* Toolbar, Flip */
.stage__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); }
.seg button { height: 34px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; transition: all .3s var(--ease); }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: #fff; color: #07080d; }
.seg button .i { width: 18px; height: 18px; }

.flip { perspective: 2200px; }
.flip__inner { position: relative; display: grid; transform-style: preserve-3d; transition: transform 1s var(--ease-in-out); }
.flip__front, .flip__back { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; min-width: 0; }
.flip__back { position: absolute; inset: 0; transform: rotateY(180deg); } /* Höhe bestimmt allein die Vorschau */
.flip.is-code .flip__inner { transform: rotateY(180deg); }

/* Browser-Rahmen */
.browser {
  position: relative; margin-inline: auto; width: 100%; max-width: 100%;
  border-radius: 18px; overflow: hidden;
  background: #0e1018; border: 1px solid var(--line-2);
  box-shadow: 0 60px 120px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02), 0 0 80px -40px color-mix(in srgb, var(--c1) 40%, transparent);
  transition: max-width .8s var(--ease-in-out), border-radius .8s var(--ease-in-out);
}
.browser.is-mobile { max-width: 360px; border-radius: 34px; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #0b0d14; }
.browser__bar > i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); flex: none; }
.browser__url { flex: 1; margin-left: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.05); font-size: 12.5px; color: var(--muted); font-family: var(--f-mono); min-width: 0; overflow: hidden; padding: 0 10px; }
.browser__url span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__url .i { width: 12px; height: 12px; color: var(--ok); }
.browser__live { display: inline-flex; align-items: center; gap: 7px; margin-left: 10px; font-family: var(--f-mono); font-size: 11px; font-weight: 600; color: var(--ok); flex: none; }
.browser__live .live-dot { width: 7px; height: 7px; }
.browser.is-mobile .browser__bar > i { display: none; }
.browser.is-mobile .browser__url { margin-left: 0; }
.browser__viewport {
  position: relative; height: clamp(420px, calc(100vh - 250px), 600px);
  overflow-x: hidden; overflow-y: auto; container-type: inline-size;
  scrollbar-width: thin; scrollbar-color: rgba(127,127,127,.45) transparent;
}
.browser.is-mobile .browser__viewport { height: clamp(460px, calc(100vh - 250px), 640px); }
.browser__scrollhint {
  position: absolute; left: 50%; bottom: 16px; z-index: 5; transform: translate(-50%, 12px);
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px 8px 12px; border-radius: 999px; white-space: nowrap;
  background: rgba(10,12,19,.86); color: #fff; font-size: 12.5px; font-weight: 600;
  border: 1px solid rgba(255,255,255,.16); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .4s, transform .5s var(--ease);
}
.browser__scrollhint.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.browser__scrollhint .i { width: 15px; height: 15px; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(3px); } }

/* ---------- Mini-Website (Vorschau) ---------- */
.site {
  --s-accent: #ff5b37;
  --s-bg: #fbfaf7; --s-fg: #15161c; --s-muted: #676b79; --s-card: #ffffff; --s-line: rgba(20,22,30,.1);
  --s-tint: color-mix(in srgb, var(--s-accent) 7%, var(--s-bg));
  --s-r: 14px; --s-fh: var(--f-display); --s-fw: 700; --s-ls: -0.035em; --s-tt: none;
  position: relative; min-height: 100%;
  background: var(--s-bg); color: var(--s-fg);
  font-family: var(--f-body); font-size: 13px; line-height: 1.5;
  transition: background .6s var(--ease), color .6s var(--ease);
}
.site[data-mode="dark"] { --s-bg: #0f1016; --s-fg: #f2f2f5; --s-muted: #9a9daa; --s-card: #181a23; --s-line: rgba(255,255,255,.1); --s-tint: color-mix(in srgb, var(--s-accent) 11%, var(--s-bg)); }
.site[data-style="elegant"] { --s-r: 2px; --s-fh: var(--f-serif); --s-fw: 400; --s-ls: -0.01em; }
.site[data-style="mutig"] { --s-r: 0px; --s-fw: 800; --s-ls: -0.01em; --s-tt: uppercase; --s-fh: "Bricolage Wide", var(--f-display); }
.site[data-style="verspielt"] { --s-r: 22px; --s-fw: 800; --s-ls: -0.03em; }
.site :where(div, span, b, i, section, header, footer, figure, blockquote, details, li, button, h4, h5, p) {
  transition: color .5s, background-color .5s, border-color .5s, border-radius .5s, box-shadow .5s, transform .5s var(--ease);
}
.site::after { /* Rebuild-Shimmer */
  content: ""; position: absolute; inset: 0; z-index: 30; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%);
  background-size: 250% 100%;
}
.browser__viewport.is-shimmer .site::after { animation: shimmer .9s var(--ease); }
.site .is-flash { animation: sflash 1.2s var(--ease); outline: 2px solid transparent; outline-offset: 3px; }
.site .s-mod.is-flash, .site .s-hero.is-flash { outline-offset: -4px; }
@keyframes sflash { 0%, 35% { outline-color: var(--s-accent); } 100% { outline-color: transparent; } }

/* Buttons */
.s-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border-radius: calc(var(--s-r) * 2); background: var(--s-accent); color: #fff; font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.s-btn--sm { height: 32px; padding: 0 14px; font-size: 12px; }
.s-btn--ghost { background: transparent; color: var(--s-fg); box-shadow: inset 0 0 0 1.5px var(--s-line); }
.site[data-style="elegant"] .s-btn { border-radius: 0; text-transform: uppercase; letter-spacing: .1em; font-size: 10.5px; font-weight: 500; }
.site[data-style="mutig"] .s-btn { text-transform: uppercase; letter-spacing: .06em; font-size: 11px; font-weight: 800; }
.site[data-style="verspielt"] .s-btn { border-radius: 999px; border: 1.5px solid var(--s-fg); box-shadow: 3px 3px 0 var(--s-fg); }
.site[data-style="verspielt"] .s-btn--ghost { background: var(--s-card); }

/* Navigation */
.s-nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 13px 24px;
  background: color-mix(in srgb, var(--s-bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--s-line);
}
.s-logo {
  display: flex; align-items: center; gap: 9px; margin-right: auto; min-width: 0; padding: 3px 8px 3px 3px; border-radius: 10px;
  font-family: var(--s-fh); font-weight: var(--s-fw); font-size: 16px; letter-spacing: var(--s-ls); color: var(--s-fg); text-align: left; cursor: text;
}
.s-logo > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-logo:hover { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--s-accent) 60%, transparent); }
.s-mono { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: calc(var(--s-r) * .6); background: var(--s-accent); color: #fff; font-family: var(--f-display); font-size: 14px; font-weight: 700; font-style: normal; }
.s-links { display: flex; gap: 18px; color: var(--s-muted); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.s-burger { display: none; width: 22px; height: 12px; border-block: 2px solid var(--s-fg); flex: none; }
.site[data-style="elegant"] .s-logo { font-style: italic; font-size: 20px; }
.site[data-style="elegant"] .s-mono { border-radius: 50%; background: transparent; color: var(--s-accent); box-shadow: inset 0 0 0 1.5px var(--s-accent); font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 17px; }
.site[data-style="elegant"] .s-links { text-transform: uppercase; letter-spacing: .16em; font-size: 10.5px; }
.site[data-style="mutig"] .s-nav { border-bottom: 3px solid var(--s-accent); }
.site[data-style="mutig"] .s-logo { text-transform: uppercase; font-stretch: 78%; font-size: 17px; }
.site[data-style="mutig"] .s-links { text-transform: uppercase; font-weight: 800; color: var(--s-fg); font-size: 11px; letter-spacing: .04em; }
.site[data-style="verspielt"] .s-nav { top: 10px; margin: 10px 12px 0; padding: 7px 8px 7px 12px; border: 1.5px solid var(--s-fg); border-radius: 999px; box-shadow: 3px 3px 0 var(--s-fg); background: var(--s-card); }
.site[data-style="verspielt"] .s-mono { border-radius: 10px; transform: rotate(-8deg); box-shadow: 2px 2px 0 var(--s-fg); }

/* Hero */
.s-hero { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; padding: 46px 24px 38px; overflow: hidden; }
.s-hero > * { position: relative; z-index: 1; }
.s-kick { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--s-accent); }
.s-kick--hero { margin-bottom: 12px; }
.s-kick--hero [data-s-edit] { cursor: text; border-radius: 4px; }
.s-kick--hero [data-s-edit]:hover { text-decoration: underline dashed; text-underline-offset: 3px; }
.s-title { font-family: var(--s-fh); font-weight: var(--s-fw); letter-spacing: var(--s-ls); text-transform: var(--s-tt); font-size: clamp(28px, 5.4cqi, 50px); line-height: 1.02; margin-bottom: 14px; color: var(--s-fg); }
.s-title em, .s-h em { font-style: italic; color: var(--s-accent); }
.s-hero p { color: var(--s-muted); font-size: 14px; max-width: 36ch; margin-bottom: 20px; }
.s-ctas { display: flex; gap: 8px; flex-wrap: wrap; }
/* Elegant: zentriert, luftig */
.site[data-style="elegant"] .s-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 64px 24px 50px; }
.site[data-style="elegant"] .s-hero p { margin-inline: auto; }
.site[data-style="elegant"] .s-ctas { justify-content: center; }
.site[data-style="elegant"] .s-title { font-size: clamp(34px, 6.8cqi, 62px); line-height: 1; }
.site[data-style="elegant"] .s-art { display: none; }
.site[data-style="elegant"] .s-hero::after { content: ""; width: 64px; height: 1px; margin-top: 30px; background: var(--s-accent); }
/* Mutig: Farbblock */
.site[data-style="mutig"] .s-hero { background: var(--s-accent); padding: 50px 24px; }
.site[data-style="mutig"] .s-title { color: #fff; font-stretch: 75%; font-size: clamp(34px, 7.2cqi, 66px); line-height: .92; }
.site[data-style="mutig"] .s-title em { color: #0b0c10; font-style: normal; }
.site[data-style="mutig"] .s-kick--hero, .site[data-style="mutig"] .s-hero p { color: rgba(255,255,255,.88); }
.site[data-style="mutig"] .s-hero .s-btn { background: #0b0c10; color: #fff; }
.site[data-style="mutig"] .s-hero .s-btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px #fff; }
/* Verspielt: Blob, Sticker */
.site[data-style="verspielt"] .s-hero { padding-top: 58px; }
.site[data-style="verspielt"] .s-hero::before {
  content: ""; position: absolute; z-index: 0; right: -60px; top: 0; width: 60%; aspect-ratio: 1;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; background: color-mix(in srgb, var(--s-accent) 16%, var(--s-bg));
  animation: blobby 9s ease-in-out infinite alternate;
}
@keyframes blobby { to { border-radius: 58% 42% 38% 62% / 55% 61% 39% 45%; transform: rotate(10deg) scale(1.05); } }
.site[data-style="verspielt"] .s-title { transform: rotate(-1.5deg); }
.site[data-style="verspielt"] .s-title em { display: inline-block; padding: 0 .18em; border-radius: 14px; background: var(--s-accent); color: #fff; font-style: normal; transform: rotate(2deg); }
.s-sticker { display: none; }
.site[data-style="verspielt"] .s-sticker {
  position: absolute; right: -4px; top: -6px; z-index: 2; display: grid; place-items: center; width: 86px; height: 86px; padding: 10px;
  border-radius: 50%; border: 1.5px solid #15161c; background: #ffd23f; color: #15161c; box-shadow: 3px 3px 0 #15161c;
  font-family: var(--f-display); font-size: 11.5px; font-weight: 800; line-height: 1.1; text-align: center;
  animation: wobble 3s ease-in-out infinite;
}
@keyframes wobble { 0%, 100% { transform: rotate(12deg); } 50% { transform: rotate(4deg) scale(1.06); } }

/* Illustrationen */
.s-art { --art: var(--s-accent); position: relative; width: 100%; max-width: 280px; aspect-ratio: 1; justify-self: center; }
.site[data-style="mutig"] .s-art { --art: #fff; }
.s-art > i { position: absolute; display: block; transition: all .8s var(--ease); }
.art--handwerk > i { left: 8%; right: 8%; height: 14%; border-radius: calc(var(--s-r) * .5); background: var(--art); }
.art--handwerk > i:nth-child(1) { top: 14%; opacity: .25; transform: rotate(-6deg); }
.art--handwerk > i:nth-child(2) { top: 32%; opacity: .5; transform: rotate(3deg) translateX(6%); }
.art--handwerk > i:nth-child(3) { top: 50%; opacity: .8; transform: rotate(-2deg); }
.art--handwerk > i:nth-child(4) { top: 68%; transform: rotate(4deg) translateX(-4%); }
.art--gastro > i:nth-child(1) { inset: 6%; border-radius: 50%; background: color-mix(in srgb, var(--art) 22%, transparent); }
.art--gastro > i:nth-child(2) { inset: 20%; border-radius: 50%; background: var(--s-card); box-shadow: 0 14px 40px -10px rgba(0,0,0,.25); border: 1px solid var(--s-line); }
.art--gastro > i:nth-child(3) { left: 36%; top: 34%; width: 17%; height: 17%; border-radius: 50%; background: var(--s-accent); }
.art--gastro > i:nth-child(4) { left: 50%; top: 50%; width: 12%; height: 12%; border-radius: 50%; background: var(--s-accent); opacity: .6; }
.art--praxis > i:nth-child(1) { inset: 10%; border-radius: 50%; background: color-mix(in srgb, var(--art) 18%, transparent); }
.art--praxis > i:nth-child(2) { left: 41%; top: 22%; width: 18%; height: 56%; border-radius: calc(var(--s-r) * .6); background: var(--art); }
.art--praxis > i:nth-child(3) { left: 22%; top: 41%; width: 56%; height: 18%; border-radius: calc(var(--s-r) * .6); background: var(--art); }
.art--praxis > i:nth-child(4) { right: 10%; top: 10%; width: 14%; height: 14%; border-radius: 50%; background: var(--art); opacity: .45; }
.art--beratung > i { bottom: 12%; width: 16%; border-radius: calc(var(--s-r) * .4) calc(var(--s-r) * .4) 0 0; background: var(--art); }
.art--beratung > i:nth-child(1) { left: 10%; height: 26%; opacity: .3; }
.art--beratung > i:nth-child(2) { left: 31%; height: 44%; opacity: .5; }
.art--beratung > i:nth-child(3) { left: 52%; height: 60%; opacity: .75; }
.art--beratung > i:nth-child(4) { left: 73%; height: 78%; }
.art--kreativ > i { border-radius: 50%; mix-blend-mode: multiply; }
.site[data-mode="dark"] .art--kreativ > i, .site[data-style="mutig"] .art--kreativ > i { mix-blend-mode: normal; }
.art--kreativ > i:nth-child(1) { left: 6%; top: 12%; width: 56%; height: 56%; background: var(--art); opacity: .85; }
.art--kreativ > i:nth-child(2) { right: 6%; top: 20%; width: 50%; height: 50%; background: color-mix(in srgb, var(--art) 50%, #3b82f6); opacity: .7; }
.art--kreativ > i:nth-child(3) { left: 26%; bottom: 6%; width: 48%; height: 48%; background: color-mix(in srgb, var(--art) 40%, #facc15); opacity: .75; }
.art--kreativ > i:nth-child(4) { display: none; }
.site[data-style="verspielt"] .s-art { animation: floaty 5s ease-in-out infinite; }

/* Vertrauensleiste */
.s-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 14px 24px; border-block: 1px solid var(--s-line); color: var(--s-muted); font-size: 11.5px; font-weight: 600; letter-spacing: .03em; }
.s-trust span::before { content: "✓"; margin-right: 6px; color: var(--s-accent); }
.site[data-style="elegant"] .s-trust { text-transform: uppercase; letter-spacing: .16em; font-size: 10px; font-weight: 500; }
.site[data-style="mutig"] .s-trust { border: 0; background: var(--s-fg); color: var(--s-bg); text-transform: uppercase; font-weight: 800; }
.site[data-style="verspielt"] .s-trust { border: 0; gap: 8px; }
.site[data-style="verspielt"] .s-trust span { padding: 5px 12px; border-radius: 999px; background: var(--s-tint); border: 1.5px solid var(--s-fg); color: var(--s-fg); }

/* Bausteine: ein-/ausklappen */
.s-mod { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease), opacity .45s; }
.s-mod.is-off { grid-template-rows: 0fr; opacity: 0; }
.s-mod__in { min-height: 0; overflow: hidden; }
.s-sec { padding: 38px 24px; }
.s-mod[data-mod="special"] .s-sec, .s-mod[data-mod="team"] .s-sec { background: var(--s-tint); }
.s-head { margin-bottom: 20px; }
.s-head .s-kick { margin-bottom: 6px; }
.s-h { font-family: var(--s-fh); font-weight: var(--s-fw); letter-spacing: var(--s-ls); text-transform: var(--s-tt); font-size: clamp(22px, 3.6cqi, 32px); line-height: 1.05; color: var(--s-fg); }
.site[data-style="elegant"] .s-head { text-align: center; }
.site[data-style="elegant"] .s-h { font-size: clamp(26px, 4.4cqi, 40px); }
.site[data-style="mutig"] .s-h { font-stretch: 75%; font-size: clamp(26px, 4.8cqi, 44px); }
.site[data-style="verspielt"] .s-h em { font-style: normal; color: var(--s-fg); background: linear-gradient(transparent 58%, color-mix(in srgb, var(--s-accent) 40%, transparent) 58%); }

.s-card, .s-review, .s-hours, .s-book, .s-qa { border-radius: var(--s-r); background: var(--s-card); border: 1px solid var(--s-line); }
.site[data-style="mutig"] :is(.s-card, .s-review, .s-hours, .s-book, .s-qa) { border: 2px solid var(--s-fg); }
.site[data-style="verspielt"] :is(.s-card, .s-review, .s-hours, .s-book, .s-qa) { border: 1.5px solid var(--s-fg); box-shadow: 3px 3px 0 var(--s-fg); }
.site[data-style="elegant"] :is(.s-card, .s-review) { background: transparent; }

/* Leistungen */
.s-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.s-card { display: grid; gap: 4px; align-content: start; padding: 16px; }
.s-ico { width: 30px; height: 30px; margin-bottom: 6px; display: grid; place-items: center; border-radius: calc(var(--s-r) * .55); background: color-mix(in srgb, var(--s-accent) 15%, transparent); }
.s-ico::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--s-accent); }
.s-ico--1::after { border-radius: 2px; transform: rotate(45deg); }
.s-ico--2::after { border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.s-card b { font-size: 13.5px; font-weight: 600; }
.s-card small { font-size: 12px; color: var(--s-muted); }
.site[data-style="elegant"] .s-card { justify-items: center; text-align: center; }
.site[data-style="verspielt"] .s-card:nth-child(odd) { transform: rotate(-1.2deg); }
.site[data-style="verspielt"] .s-card:nth-child(even) { transform: rotate(1.2deg); }

/* Galerie / Portfolio */
.s-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: start; }
.s-gallery--portfolio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-tile { margin: 0; display: grid; gap: 6px; }
.s-tile span { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--s-r); background: linear-gradient(135deg, color-mix(in srgb, var(--s-accent) 75%, #000), color-mix(in srgb, var(--s-accent) 30%, var(--s-bg))); }
.s-tile span::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 72% 28%, rgba(255,255,255,.5), transparent 32%), linear-gradient(transparent 62%, rgba(0,0,0,.18) 62%); }
.s-tile--1 span { background: linear-gradient(200deg, color-mix(in srgb, var(--s-accent) 40%, #1e293b), color-mix(in srgb, var(--s-accent) 80%, #fff)); }
.s-tile--2 span { background: radial-gradient(circle at 30% 70%, var(--s-accent), color-mix(in srgb, var(--s-accent) 30%, #0f172a)); }
.s-tile--3 span { background: linear-gradient(160deg, color-mix(in srgb, var(--s-accent) 55%, #f59e0b), color-mix(in srgb, var(--s-accent) 70%, #000)); }
.s-tile--4 span { background: linear-gradient(90deg, color-mix(in srgb, var(--s-accent) 30%, #fff), var(--s-accent)); }
.s-tile--5 span { background: radial-gradient(circle at 60% 40%, color-mix(in srgb, var(--s-accent) 60%, #fff), color-mix(in srgb, var(--s-accent) 50%, #111)); }
.s-gallery--portfolio .s-tile:nth-child(3n+1) span { aspect-ratio: 3 / 4; }
.s-tile figcaption { font-size: 11.5px; font-weight: 600; }
.site[data-style="verspielt"] .s-tile span { border: 1.5px solid var(--s-fg); box-shadow: 3px 3px 0 var(--s-fg); }
.site[data-style="verspielt"] .s-tile:nth-child(even) { transform: rotate(1.5deg); }
.site[data-style="verspielt"] .s-tile:nth-child(odd) { transform: rotate(-1.5deg); }

/* Speisekarte */
.s-menu { display: grid; gap: 14px; max-width: 520px; margin: 0 auto; }
.s-menu li { display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 500; }
.s-menu i { flex: 1; min-width: 20px; border-bottom: 1.5px dotted var(--s-muted); opacity: .55; transform: translateY(-4px); }
.s-menu b { color: var(--s-accent); font-weight: 700; white-space: nowrap; }
.site[data-style="elegant"] .s-menu li span { font-family: var(--f-serif); font-style: italic; font-size: 18px; font-weight: 400; }
.site[data-style="mutig"] .s-menu li span { text-transform: uppercase; font-weight: 800; font-size: 13px; }

/* Sprechzeiten + Buchung */
.s-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.s-hours { display: grid; padding: 4px 16px; }
.s-hours li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--s-line); font-size: 13px; }
.s-hours li:last-child { border-bottom: 0; }
.s-book { display: grid; gap: 8px; justify-items: start; padding: 16px; }
.s-book small { margin-top: -6px; font-size: 12px; color: var(--s-muted); }
.s-slots { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.s-slots span { padding: 5px 10px; border-radius: calc(var(--s-r) * .6); border: 1px solid var(--s-line); font-size: 12px; font-weight: 600; }
.s-slots .is-on { background: var(--s-accent); border-color: var(--s-accent); color: #fff; }

/* Zahlen */
.s-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: center; }
.s-stats b { display: block; margin-bottom: 4px; font-family: var(--s-fh); font-weight: var(--s-fw); font-size: clamp(30px, 5.2cqi, 46px); line-height: 1; letter-spacing: -0.03em; color: var(--s-accent); }
.s-stats small { font-size: 12px; color: var(--s-muted); }
.site[data-style="mutig"] .s-stats b { font-stretch: 75%; }

/* Bewertungen */
.s-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.s-review { display: grid; gap: 8px; margin: 0; padding: 18px; }
.s-stars { color: #f5b400; font-size: 12px; letter-spacing: 2px; }
.s-review p { font-size: 13.5px; }
.s-review cite { font-size: 12px; font-style: normal; color: var(--s-muted); }
.site[data-style="elegant"] .s-review { text-align: center; justify-items: center; }
.site[data-style="elegant"] .s-review p { font-family: var(--f-serif); font-style: italic; font-size: 18px; line-height: 1.35; }

/* Team */
.s-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: center; }
.s-member { display: grid; justify-items: center; gap: 2px; }
.s-avatar { width: 64px; height: 64px; margin-bottom: 8px; display: grid; place-items: center; border-radius: 50%; background: var(--s-accent); color: #fff; font-family: var(--f-display); font-size: 22px; font-weight: 700; }
.s-avatar--1 { background: color-mix(in srgb, var(--s-accent) 55%, #1e293b); }
.s-avatar--2 { background: color-mix(in srgb, var(--s-accent) 50%, #f59e0b); }
.s-member b { font-size: 13.5px; }
.s-member small { font-size: 12px; color: var(--s-muted); }
.site[data-style="mutig"] .s-avatar { border-radius: 0; }
.site[data-style="verspielt"] .s-avatar { border-radius: 38% 62% 55% 45% / 45% 40% 60% 55%; border: 1.5px solid var(--s-fg); box-shadow: 3px 3px 0 var(--s-fg); }

/* FAQ (echte, aufklappbare Elemente) */
.s-faq { display: grid; gap: 8px; max-width: 560px; margin: 0 auto; }
.s-qa { padding: 0 16px; }
.s-qa summary { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; list-style: none; cursor: pointer; font-size: 13.5px; font-weight: 600; }
.s-qa summary::-webkit-details-marker { display: none; }
.s-qa summary::after { content: "+"; flex: none; font-size: 17px; font-weight: 700; line-height: 1; color: var(--s-accent); transition: transform .3s; }
.s-qa[open] summary::after { transform: rotate(45deg); }
.s-qa p { padding-bottom: 12px; font-size: 13px; color: var(--s-muted); }

/* Kontakt */
.s-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.s-form { display: grid; gap: 8px; align-content: start; }
.s-input { display: block; height: 36px; padding: 0 12px; line-height: 34px; border-radius: calc(var(--s-r) * .6); border: 1px solid var(--s-line); background: var(--s-card); color: var(--s-muted); font-size: 12px; }
.s-input--area { height: 72px; }
.s-form .s-btn { justify-self: start; margin-top: 2px; }
.s-map {
  position: relative; min-height: 190px; overflow: hidden; border-radius: var(--s-r); border: 1px solid var(--s-line);
  background:
    linear-gradient(90deg, transparent 46%, color-mix(in srgb, var(--s-fg) 9%, transparent) 46% 54%, transparent 54%) 0 0 / 64px 64px,
    linear-gradient(0deg, transparent 46%, color-mix(in srgb, var(--s-fg) 9%, transparent) 46% 54%, transparent 54%) 0 0 / 64px 64px,
    linear-gradient(140deg, transparent 47%, color-mix(in srgb, var(--s-accent) 35%, transparent) 47% 53%, transparent 53%),
    var(--s-tint);
}
.s-pin { position: absolute; left: 50%; top: 36%; width: 24px; height: 24px; margin: -24px 0 0 -12px; border-radius: 50% 50% 50% 0; background: var(--s-accent); transform: rotate(-45deg); box-shadow: 0 6px 14px -4px rgba(0,0,0,.4); animation: pinBounce 2s var(--ease) infinite; }
.s-pin::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
@keyframes pinBounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.s-mapinfo { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 1px; padding: 10px 12px; border-radius: calc(var(--s-r) * .7); background: var(--s-card); box-shadow: 0 6px 20px -8px rgba(0,0,0,.3); }
.s-mapinfo b { font-size: 13px; }
.s-mapinfo small { font-size: 11.5px; color: var(--s-muted); }

/* Footer */
.s-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding: 18px 24px; border-top: 1px solid var(--s-line); font-size: 11.5px; color: var(--s-muted); }
.s-credit { font-weight: 600; color: var(--s-accent); }
.site[data-style="mutig"] .s-foot { background: var(--s-fg); color: var(--s-bg); border: 0; }

/* Vorschau im Handy-Format (Container-Query) */
@container (max-width: 520px) {
  .s-links, .s-nav .s-btn { display: none; }
  .s-burger { display: block; }
  .s-nav { padding: 12px 16px; }
  .site[data-style="verspielt"] .s-nav { margin: 8px 8px 0; top: 8px; }
  .s-hero, .site[data-style="mutig"] .s-hero { grid-template-columns: 1fr; gap: 16px; padding: 28px 16px 26px; }
  .site[data-style="elegant"] .s-hero { padding: 44px 16px 36px; }
  .site[data-style="verspielt"] .s-hero { padding-top: 34px; }
  .s-art { order: -1; max-width: 120px; justify-self: start; }
  .site[data-style="verspielt"] .s-sticker { width: 66px; height: 66px; font-size: 9.5px; right: -70px; top: 10px; }
  .s-title { font-size: 31px; }
  .site[data-style="elegant"] .s-title { font-size: 38px; }
  .site[data-style="mutig"] .s-title { font-size: 40px; }
  .s-hero p { font-size: 13px; }
  .s-trust { gap: 6px 14px; padding: 12px 16px; font-size: 10.5px; }
  .s-sec { padding: 30px 16px; }
  .s-cards, .s-reviews, .s-contact, .s-split { grid-template-columns: minmax(0, 1fr); }
  .s-gallery, .s-gallery--portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-team { gap: 6px; }
  .s-avatar { width: 48px; height: 48px; font-size: 17px; }
  .s-foot { flex-direction: column; padding: 16px; }
}

/* Code-Ansicht */
.code { height: 100%; border-radius: 18px; overflow: hidden; background: #07080c; border: 1px solid var(--line-2); display: flex; flex-direction: column; box-shadow: 0 60px 120px -50px rgba(0,0,0,.9); }
.code__tabs { display: flex; align-items: center; border-bottom: 1px solid var(--line); background: #0b0d14; font-family: var(--f-mono); font-size: 12px; }
.code__tabs span { padding: 13px 18px; color: var(--dim); border-right: 1px solid var(--line); }
.code__tabs span.is-active { color: var(--text); background: #07080c; box-shadow: inset 0 2px 0 var(--c2); }
.code__tabs em { margin-left: auto; padding-right: 16px; color: var(--dim); font-style: normal; font-size: 11px; }
.code__pre { flex: 1; margin: 0; padding: 20px 22px; overflow: auto; font-family: var(--f-mono); font-size: 12.8px; line-height: 1.75; color: #c7cbe0; tab-size: 2; min-height: 0; }
.code__pre code { white-space: pre; }
.tk-c { color: #5d6380; font-style: italic; }
.tk-t { color: #ff7a8a; }
.tk-a { color: #ffcb6b; }
.tk-s { color: #a5e57a; }
.tk-p { color: #82aaff; }
.tk-v { color: #f78c6c; }
.tk-x { color: var(--text); }
.tk-cursor { display: inline-block; width: 8px; height: 1.1em; vertical-align: text-bottom; background: var(--c2); animation: caret 1s steps(1) infinite; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; --p: 0; }
.timeline__track { position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; transform: translateX(-50%); background: var(--line); border-radius: 2px; }
.timeline__fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p) * 100%); background: linear-gradient(var(--c1), var(--c3), var(--c2)); border-radius: 2px; }
.timeline__comet { position: absolute; left: 50%; bottom: 0; width: 14px; height: 14px; margin: 0 0 -7px -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c2) 40%, transparent), 0 0 30px 6px var(--c2); }
.steps { display: grid; gap: clamp(40px, 6vw, 70px); position: relative; }
.step { display: grid; grid-template-columns: 1fr 76px 1fr; align-items: center; }
.step__node { grid-column: 2; justify-self: center; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 13px; color: var(--dim); position: relative; transition: all .6s var(--ease); }
.step__node::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid transparent; transition: all .6s var(--ease); }
.step.is-active .step__node { color: #fff; border-color: transparent; background: var(--grad); box-shadow: 0 0 40px -6px color-mix(in srgb, var(--c2) 70%, transparent); transform: scale(1.06); }
.step.is-active .step__node::before { border-color: color-mix(in srgb, var(--c2) 35%, transparent); }
.step__card { grid-column: 3; padding: 28px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); transition: all .8s var(--ease); opacity: .35; transform: translateX(20px); }
.step:nth-child(even) .step__card { grid-column: 1; grid-row: 1; text-align: right; transform: translateX(-20px); }
.step.is-active .step__card { opacity: 1; transform: none; border-color: var(--line-2); }
.step__card h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 2rem); margin-bottom: 8px; }
.step__card p { color: var(--muted); }

/* ---------- About & Terminal ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__text > p { color: var(--muted); font-size: 16.5px; margin-bottom: 16px; max-width: 540px; }
.about__text > p.about__lead { color: var(--text); font-size: clamp(1.15rem, 1rem + .4vw, 1.4rem); line-height: 1.5; }
.about__text strong { color: var(--text); font-weight: 600; }
.values { display: grid; gap: 12px; margin-top: 34px; }
.values li { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .3s, transform .4s var(--ease); }
.values li:hover { border-color: var(--line-2); transform: translateX(6px); }
.values__i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c1) 18%, transparent); color: color-mix(in srgb, var(--c1) 60%, white); font-size: 19px; flex: none; }
.values li:nth-child(2) .values__i { background: color-mix(in srgb, var(--c2) 18%, transparent); color: color-mix(in srgb, var(--c2) 60%, white); }
.values li:nth-child(3) .values__i { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.values b { display: block; font-family: var(--f-display); font-size: 17px; letter-spacing: -0.02em; }
.values span { font-size: 14px; color: var(--muted); }

.term { position: relative; border-radius: 18px; overflow: hidden; background: rgba(5, 6, 10, .92); border: 1px solid var(--line-2); box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 100px -50px var(--c1); }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; }
.term__bar i:nth-child(1) { background: #ff5f57; } .term__bar i:nth-child(2) { background: #febc2e; } .term__bar i:nth-child(3) { background: #28c840; }
.term__bar span { margin: 0 auto; transform: translateX(-26px); font-size: 12px; color: var(--dim); }
.term__body { height: 440px; overflow-y: auto; padding: 18px 20px 22px; font-size: 13.5px; line-height: 1.7; color: #c9cde0; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; position: relative; }
.term__body:focus { outline: none; }
.term__out > div { white-space: pre-wrap; word-break: break-word; }
.term__line { display: flex; align-items: center; gap: 10px; }
.term__prompt { white-space: nowrap; color: var(--dim); }
.term__prompt b { color: var(--ok); font-weight: 500; }
.term__prompt i { color: var(--c1); font-style: normal; }
.term__input { flex: 1; min-width: 0; width: 0; background: none; border: 0; outline: none; color: var(--text); font-family: var(--f-mono); font-size: 13.5px; caret-color: var(--c2); padding: 0; }
.term__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.t-dim { color: var(--dim); }
.t-ok { color: var(--ok); }
.t-err { color: #ff6b6b; }
.t-acc { color: var(--c2); }
.t-c1 { color: color-mix(in srgb, var(--c1) 70%, white); }
.t-b { color: var(--text); font-weight: 600; }
.term__out a { color: color-mix(in srgb, var(--c1) 70%, white); text-decoration: underline; text-underline-offset: 3px; }
.term__out .t-cmd { color: var(--text); }
.term__matrix { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }


/* ---------- Referenzen ---------- */
.project {
  position: relative; display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; isolation: isolate; overflow: hidden;
  padding: clamp(20px, 3vw, 36px); border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  transition: border-color .4s;
}
.project:hover { border-color: var(--line-2); }
.project--featured { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); margin-bottom: 20px; }
.project--featured::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 75% at 22% 35%, rgba(220, 40, 40, .16), transparent 70%); }
.project__media { position: relative; padding-bottom: 36px; }
.project--small .project__media { padding-bottom: 0; }
.shot { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line-2); background: #0b0d14; box-shadow: 0 40px 90px -40px rgba(0,0,0,.95); transition: transform .8s var(--ease); }
.project:hover .shot { transform: translateY(-4px); }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #0b0d14; }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); flex: none; }
.shot__bar span { flex: 1; margin-left: 10px; padding: 4px 10px; border-radius: 7px; background: rgba(255,255,255,.05); color: var(--muted); font-family: var(--f-mono); font-size: 11.5px; text-align: center; }
.shot__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; container-type: size; }
.shot__view img { display: block; width: 100%; height: auto; transform: translateY(0); transition: transform 1.4s var(--ease); }
.shot__hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 7px 13px; border-radius: 999px; white-space: nowrap; pointer-events: none;
  background: rgba(10,12,19,.84); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 12px; font-weight: 600;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity .4s;
}
@media (hover: hover) and (pointer: fine) {
  .project:hover .shot__view img { transform: translateY(calc(-100% + 100cqh)); transition: transform var(--dur, 8s) cubic-bezier(.45, .05, .55, .95); }
  .project:hover .shot__hint { opacity: 0; }
  .hint-touch { display: none; }
}
@media (hover: none), (pointer: coarse) {
  .hint-hover { display: none; }
  .shot.is-inview .shot__view img { animation: shotScroll var(--dur-touch, 16s) ease-in-out 1.2s infinite alternate; }
  .shot.is-inview .shot__hint { opacity: 0; transition-delay: 2.5s; }
}
@keyframes shotScroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 100cqh)); } }
.phone {
  position: absolute; right: -4px; bottom: 0; width: clamp(104px, 24%, 168px); aspect-ratio: 440 / 952; padding: 6px; overflow: hidden;
  border-radius: 26px; background: #0d0e12; border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6); transform: rotate(4deg); transition: transform .8s var(--ease);
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 20px; }
.project:hover .phone { transform: rotate(0deg) translateY(-8px); }
.project__title { display: block; margin-bottom: 6px; font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); letter-spacing: -0.04em; line-height: 1.05; }
.project__sub { margin-bottom: 16px; color: color-mix(in srgb, var(--c2) 65%, white); font-weight: 600; }
.project__body > p:not(.project__sub) { margin-bottom: 18px; color: var(--muted); }
.project__list { display: grid; gap: 9px; margin-bottom: 20px; }
.project__list li { position: relative; padding-left: 30px; font-size: 15px; }
.project__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 6px; background: color-mix(in srgb, var(--ok) 18%, transparent); }
.project__list li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.project .tags { margin: 0 0 24px; }
.refs__row { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; }
.project--small { grid-template-columns: minmax(0, 1fr); align-content: start; }
.project--small .project__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.project--cta { align-content: center; justify-items: start; gap: 14px; border-style: dashed; border-color: var(--line-2); background: transparent; }
.project--cta:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.02); }
.project--cta p { max-width: 320px; color: var(--muted); }
.project__plus { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: var(--grad); color: #fff; font-size: 32px; font-weight: 300; line-height: 1; transition: transform .6s var(--ease); }
.project--cta:hover .project__plus { transform: rotate(90deg); }

/* Bewertungen */
.reviews { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; scroll-margin-top: 100px; }
.reviews__score {
  display: grid; align-content: center; justify-items: start; gap: 6px; padding: 30px; border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(120% 120% at 0% 0%, rgba(245, 180, 0, .14), transparent 60%), rgba(255,255,255,.02);
}
.reviews__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.reviews__num { font-family: var(--f-display); font-weight: 700; font-size: clamp(3.6rem, 2.6rem + 3vw, 5.2rem); letter-spacing: -0.05em; line-height: 1; }
.stars { color: #f5b400; font-size: 18px; letter-spacing: 3px; }
.reviews__score p { color: var(--muted); }
.reviews__score strong { color: var(--text); }
.reviews__link { margin-top: 10px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.reviews__link:hover { color: color-mix(in srgb, var(--c2) 50%, white); }
.review { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; margin: 0; padding: 30px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 16px; line-height: 1.65; }
.review--short blockquote p { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.25; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption b { display: block; font-size: 15px; }
.review figcaption small { color: var(--dim); font-size: 12.5px; }
.review__av { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; }
.reviews__note { grid-column: 1 / -1; font-size: 12.5px; color: var(--dim); }
.meta dd a { color: inherit; }
.meta dd a:hover { color: #fff; }
.meta__star { color: #f5b400 !important; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq__head { position: sticky; top: 110px; margin-bottom: 0; }
.faq__head .section__lead a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.faq__list { display: grid; gap: 12px; }
.qa { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); transition: border-color .3s, background .3s; }
.qa:hover { border-color: var(--line-2); }
.qa[open] { border-color: var(--line-2); background: rgba(255,255,255,.045); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px;
  list-style: none; cursor: pointer; border-radius: 18px;
  font-family: var(--f-display); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .45s var(--ease), background .3s, border-color .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--text); transition: transform .45s var(--ease), background .3s; }
.qa summary i::after { transform: rotate(90deg); }
.qa summary:hover i { border-color: rgba(255,255,255,.4); }
.qa[open] summary i { transform: rotate(180deg); background: #fff; border-color: #fff; }
.qa[open] summary i::before, .qa[open] summary i::after { background: #07080d; }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa__a { padding: 0 22px 22px; max-width: 660px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}
.contact__pill { margin-top: 24px; }
.footer__addr { font-style: normal; line-height: 1.6; }

/* ---------- Kontakt ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.contact__form { padding: clamp(22px, 3vw, 36px); display: grid; }
.contact__fields { display: grid; gap: 22px; }
.contact__fields[hidden] { display: none; }
.contact__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.contact__note { font-size: 13px; color: var(--dim); max-width: 330px; line-height: 1.5; }
.contact__note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.contact__note a:hover { color: var(--text); }
.req { color: var(--c2); font-style: normal; margin-left: 2px; }

/* Validierung */
.field__error { display: none; font-size: 12.5px; color: #ff8a8a; line-height: 1.4; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .input { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255, 107, 107, .14); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact__alert {
  padding: 14px 16px; border-radius: 14px; font-size: 14px; line-height: 1.5;
  border: 1px solid rgba(255, 107, 107, .35); background: rgba(255, 107, 107, .08); color: #ffc9c9;
}
.contact__alert[hidden] { display: none; }
.contact__alert a { display: inline-block; margin-top: 4px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Senden-Button: Ladezustand */
.btn__spinner { display: none; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .i { display: none; }
.btn[disabled] { cursor: progress; }
.btn--primary[disabled]::before { opacity: 1; }
.btn--primary[disabled] { color: #fff; }

/* Erfolg */
.contact__success { display: grid; justify-items: center; align-content: center; gap: 14px; padding: 30px 10px; text-align: center; }
.contact__success[hidden] { display: none; }
.contact__success:focus { outline: none; }
.success__icon {
  width: 88px; height: 88px; margin-bottom: 8px; display: grid; place-items: center; border-radius: 50%;
  background: var(--grad); box-shadow: 0 24px 60px -18px color-mix(in srgb, var(--c2) 65%, transparent);
  animation: popIn .8s var(--ease) both;
}
.success__icon svg { width: 42px; height: 42px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.success__icon path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: drawCheck .6s .4s var(--ease) forwards; }
@keyframes popIn { from { transform: scale(.3) rotate(-30deg); opacity: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.contact__success-title { font-family: var(--f-display); font-weight: 700; line-height: 1.05; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); letter-spacing: -0.03em; }
.contact__success p { max-width: 420px; color: var(--muted); margin-bottom: 8px; }
.contact__aside { display: grid; gap: 20px; grid-auto-rows: 1fr; }
.ccard {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  min-height: 150px; transition: border-color .4s;
}
.ccard::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(400px circle at var(--mx) var(--my), color-mix(in srgb, var(--c2) 14%, transparent), transparent 50%); }
.ccard:hover::before { opacity: 1; }
a.ccard:hover { border-color: var(--line-2); }
.ccard__i { position: relative; margin-bottom: 22px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: 19px; }
.ccard__k { font-size: 13px; color: var(--dim); }
.ccard__v { font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + .8vw, 1.65rem); font-weight: 600; letter-spacing: -0.025em; word-break: break-word; transition: color .3s; }
a.ccard:hover .ccard__v { color: color-mix(in srgb, var(--c2) 40%, white); }
.ccard__s { font-size: 12px; color: var(--dim); }
.ccard__copy { position: absolute; top: 27px; right: 26px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); transition: all .3s var(--ease); }
.ccard__copy:hover { color: #07080d; background: #fff; border-color: #fff; }
.ccard__copy.is-done { color: #07080d; background: var(--ok); border-color: var(--ok); }
.radar { position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; z-index: -1; }
.radar span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c2) 40%, transparent); animation: radar 3.6s var(--ease) infinite; opacity: 0; }
.radar span:nth-child(2) { animation-delay: 1.2s; } .radar span:nth-child(3) { animation-delay: 2.4s; }
.radar i { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--c2); box-shadow: 0 0 20px 4px var(--c2); }
@keyframes radar { 0% { transform: scale(.1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 40px 0 34px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big { position: relative; display: grid; margin: 10px 0 60px; user-select: none; --fx: 50%; --fy: 50%; --fr: 0px; }
.footer__word {
  grid-area: 1 / 1; display: block; text-align: center; white-space: nowrap;
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.06em; line-height: .85;
  font-size: clamp(3.4rem, 15.6vw, 15rem);
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.16);
}
.footer__word span { font-weight: 300; letter-spacing: -0.03em; margin-left: .14em; }
.footer__word--fill {
  -webkit-text-stroke: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-mask-image: radial-gradient(circle var(--fr) at var(--fx) var(--fy), #000 30%, transparent 100%);
  mask-image: radial-gradient(circle var(--fr) at var(--fx) var(--fy), #000 30%, transparent 100%);
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__col { display: grid; align-content: start; gap: 9px; font-size: 14.5px; color: var(--muted); }
.footer__col h4 { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.footer__col a { width: max-content; transition: color .3s; }
.footer__col a:hover { color: var(--text); }
.footer__brand p { max-width: 280px; margin-top: 12px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 13px; color: var(--dim); gap: 16px; }
.totop { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s; }
.totop:hover { background: #fff; color: #07080d; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 990; transform: translate(-50%, calc(100% + 60px));
  padding: 12px 20px; border-radius: 999px; background: #fff; color: #07080d; font-weight: 600; font-size: 14px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.6); transition: transform .6s var(--ease), visibility 0s .6s; pointer-events: none; white-space: nowrap;
  visibility: hidden;
}
.toast.is-show { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease); }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.legal { padding: 150px 0 100px; }
.legal__inner { max-width: 780px; }
.legal h1 { font-size: clamp(2.6rem, 1.5rem + 4vw, 4.6rem); letter-spacing: -0.045em; margin-bottom: 40px; }
.legal h2 { font-size: 1.45rem; margin: 46px 0 14px; letter-spacing: -0.02em; }
.legal h3 { font-size: 1.1rem; margin: 26px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: color-mix(in srgb, var(--c1) 60%, white); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); }
.legal address { font-style: normal; color: var(--text); line-height: 1.7; }
.legal__card { padding: 28px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.025); margin-bottom: 18px; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; font-size: 14px; color: var(--muted); }
.legal__back:hover { color: var(--text); }
.legal__back .i { transform: rotate(180deg); }
.nav--simple .nav__inner { background: rgba(10, 12, 19, .62); border-color: var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links a { padding: 8px 12px; font-size: 14px; }
  .card--web, .card--it { flex-direction: column; }
  .card--web .card__body, .card--it .card__body { flex: none; }
  .card--web { grid-column: span 7; }
  .project--featured { grid-template-columns: minmax(0, 1fr); }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews__score { grid-column: 1 / -1; grid-template-columns: auto 1fr; column-gap: 24px; align-items: center; }
  .reviews__score .reviews__num { grid-row: span 4; }
  .builder__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "stage" "controls"; grid-template-rows: auto; }
  .builder__stage { top: 8px; z-index: 6; margin: 0 -10px; padding: 8px 10px 14px; border-radius: 0 0 26px 26px; transition: background .3s, box-shadow .3s; }
  .builder__stage.is-stuck { background: rgba(6, 7, 11, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .95); }
  .browser__viewport { height: min(40svh, 440px); }
  .browser.is-mobile .browser__viewport { height: min(50svh, 520px); }
}

@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__inner { padding: 0 8px 0 16px; }
}

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__inner { padding: 0 8px 0 16px; }

  .hero { align-items: flex-start; padding: 120px 0 90px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero__stage { height: 340px; margin-top: 10px; }
  .hero__caption { bottom: 0; }
  .hero__meta { margin-top: 36px; grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .meta:nth-child(3) { padding-left: 0; border-left: 0; }
  .scroll-hint { display: none; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--web, .card--host, .card--mail, .card--it { grid-column: span 2; }
  .card--perf, .card--sec { grid-column: span 1; }
  .card--care { grid-column: span 2; }
  .card { min-height: 0; }

  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .refs__row { grid-template-columns: minmax(0, 1fr); }
  .project--cta { padding-block: 36px; }
  .faq__head { position: static; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__aside { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .ccard--map { grid-column: span 2; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 700px) {
  .step { grid-template-columns: 56px 1fr; gap: 0 16px; align-items: start; }
  .step__node { grid-column: 1; width: 48px; height: 48px; font-size: 12px; }
  .step__card, .step:nth-child(even) .step__card { grid-column: 2; grid-row: 1; text-align: left; transform: translateY(16px); padding: 22px; }
  .timeline__track { left: 24px; }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .bento > .card { grid-column: 1 / -1; }
  .card { padding: 24px; border-radius: 20px; }
  .card--perf, .card--sec, .card--care { flex-direction: row; align-items: center; gap: 20px; }
  .card--care { flex-direction: column; align-items: stretch; }
  .viz--gauge, .viz--shield { width: 112px; height: 112px; flex: none; }
  .shield { width: 100px; height: 100px; }
  .gauge__num span { font-size: 32px; }
  .contact__aside { grid-template-columns: minmax(0, 1fr); }
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .reviews__score { grid-template-columns: minmax(0, 1fr); }
  .reviews__score .reviews__num { grid-row: auto; }
  .project, .review, .reviews__score { border-radius: 22px; }
  .review { padding: 24px; }
  .ccard--map { grid-column: auto; }
  .field--row { grid-template-columns: 1fr; }
  .builder__controls, .builder__name { padding: 18px; }
  .stiles { gap: 6px; }
  .term__body { height: 380px; font-size: 12.5px; padding: 14px; }
  .term__input { font-size: 16px; } /* verhindert iOS-Zoom */
  .term__bar span { transform: none; font-size: 11px; }
}

@media (max-width: 480px) {
  .logo__word { font-size: 19px; }
  .hero__title { font-size: clamp(2.35rem, 11.4vw, 3.4rem); }
  .hero__ctas .btn { width: 100%; }
  .hero__stage { height: 300px; }
  .meta { padding: 0 16px; }
  .meta dd { font-size: 20px; }
  .card--perf, .card--sec { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
  .contact__submit .btn { width: 100%; }
  .stage__toolbar .seg button { padding: 0 12px; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-hero-in], .js .hero__line-in, .js [data-split].is-split .w__in { opacity: 1 !important; transform: none !important; }
  .mail__item { opacity: 1; transform: none; }
}
