/* ==========================================================================
   Mustermann Webdesign · Stylesheet
   Konzept: warme Creme-Fläche, abgerundete Kacheln, zentrierte Statements,
   kräftige Farbfelder. Alle Farben, Radien und Größen oben als Variablen.
   ========================================================================== */

@font-face { font-family: "Heros"; src: url("../fonts/texgyreheros-regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Heros"; src: url("../fonts/texgyreheros-bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/Lora-Variable.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }

/* Layout: zentrierte Statements, Inhalte in abgerundeten Kacheln mit Abstand dazwischen */
:root {
  /* Flächen */
  --bg: #f4efe8;          /* Creme – Grundfläche */
  --bg-2: #ebe2d6;        /* Sand – Tonstufe */
  --card: #ffffff;
  --night: #16120f;       /* dunkle Bühne */
  --night-2: #241e19;
  /* Schrift */
  --ink: #1a1612;
  --ink-2: #5f574d;       /* warmes Grau für Nebentext */
  --on-night: #f7f1e9;
  --on-night-2: #b9aea1;
  /* Farben */
  --cobalt: #c63f0f;
  --cobalt-press: #a5330b;
  --flame: #c63f0f;
  --mint: #c8ead8;
  --sky: #d7e2ff;
  --butter: #ffe6a3;
  --blush: #ffd8cb;
  --sage: #2f5d46;
  --line: rgba(22, 23, 27, .1);
  --line-night: rgba(255, 255, 255, .12);
  --grad: linear-gradient(100deg, #e4541c 0%, #f07a1f 50%, #f2a01e 100%);

  /* Schrift */
  --font: "Heros", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --fs-hero: clamp(3.1rem, 8.6vw, 8.25rem);
  --fs-h2: clamp(2.2rem, 5.2vw, 4.6rem);
  --fs-h3: clamp(1.3rem, 1.9vw, 1.7rem);
  --fs-lead: clamp(1.15rem, 1.55vw, 1.45rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;

  /* Raum & Form */
  --gutter: clamp(16px, 3vw, 32px);
  --maxw: 1240px;
  --r-xl: clamp(24px, 3vw, 40px);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --pill: 999px;
  --stack: clamp(12px, 1.6vw, 20px);        /* Abstand zwischen Kacheln */
  --pad: clamp(56px, 8vw, 128px);           /* Innenabstand großer Kacheln */

  /* Bewegung */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --t-fast: 200ms;
  --t-mid: 450ms;
  --t-slow: 800ms;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--fs-body)/1.55 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--bg); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: #f2a01e; color: var(--ink); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.is-night :focus-visible, .night :focus-visible { outline-color: #f6b26b; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--pill); text-decoration: none; font-weight: 700; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.center { text-align: center; }
.center .lead, .center .h2, .center .hero-title { margin-inline: auto; }

/* ---------- Typografie ---------- */
.kicker { display: inline-block; font-size: var(--fs-small); font-weight: 700; color: var(--flame); margin-bottom: 14px; letter-spacing: -.005em; }
.night .kicker { color: #f3a46b; }
.hero-title { font-size: var(--fs-hero); line-height: .92; letter-spacing: -.055em; }
.hero-title span { display: block; }
.h2 { font-size: var(--fs-h2); line-height: 1; letter-spacing: -.045em; }
.h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -.02em; }
.lead { font-size: var(--fs-lead); line-height: 1.42; letter-spacing: -.012em; color: var(--ink-2); max-width: 40ch; }
.night .lead { color: var(--on-night-2); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.muted { color: var(--ink-2); }
.night .muted { color: var(--on-night-2); }
.small { font-size: var(--fs-small); }
.link { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; text-decoration-color: rgba(22,23,27,.3); transition: color var(--t-fast), text-decoration-color var(--t-fast); }
.link:hover { color: var(--cobalt); text-decoration-color: var(--cobalt); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--ink); --f: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 1.55em; border: 0; border-radius: var(--pill);
  background: var(--b); color: var(--f); font: 700 1rem/1 var(--font); letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast), transform var(--t-mid) var(--spring), box-shadow var(--t-mid) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(22, 23, 27, .45); }
.btn:active { transform: scale(.97); box-shadow: none; }
.btn-primary { --b: var(--cobalt); }
.btn-primary:hover { --b: var(--cobalt-press); box-shadow: 0 12px 28px -10px rgba(198, 63, 15, .6); }
.btn-light { --b: #fff; --f: var(--ink); }
.btn-soft { --b: rgba(22, 23, 27, .07); --f: var(--ink); }
.btn-soft:hover { --b: rgba(22, 23, 27, .12); box-shadow: none; }
.night .btn-soft { --b: rgba(255, 255, 255, .12); --f: #fff; }
.night .btn-soft:hover { --b: rgba(255, 255, 255, .2); }
.btn-sm { min-height: 40px; padding: 0 1.15em; font-size: .9375rem; }
.btn .arr { transition: transform var(--t-mid) var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.more { display: inline-flex; align-items: center; gap: .3em; color: var(--cobalt); font-weight: 700; text-decoration: none; }
.more::after { content: "›"; font-size: 1.35em; line-height: 0; transform: translateY(-.04em); transition: transform var(--t-mid) var(--ease); }
.more:hover::after { transform: translate(4px, -.04em); }
.night .more { color: #f6b26b; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.center .btn-row { justify-content: center; }

/* ---------- Navigation (Glas) ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: rgba(244, 239, 232, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow var(--t-mid) var(--ease), background-color var(--t-mid);
  view-transition-name: site-header;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 68px; gap: 20px; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.0625rem; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; inset: 7px 7px 7px 13px; border-radius: 3px; background: rgba(255, 255, 255, .92); }
.brand-sub { font-weight: 400; color: var(--ink-2); }
.nav ul { list-style: none; display: flex; gap: 6px; background: rgba(255, 255, 255, .6); padding: 5px; border-radius: var(--pill); }
.nav a { display: block; padding: 8px 16px; border-radius: var(--pill); font-size: .9375rem; text-decoration: none; transition: background-color var(--t-fast), color var(--t-fast); }
.nav a:hover { background: rgba(22, 23, 27, .06); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.bar-end { justify-self: end; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(22, 23, 27, .07); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform var(--t-mid) var(--ease), top var(--t-mid) var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--bg); display: grid; place-items: center; text-align: center;
  padding: calc(90px + env(safe-area-inset-top, 0px)) 24px calc(32px + env(safe-area-inset-bottom, 0px));
  opacity: 0; visibility: hidden; transition: opacity var(--t-mid) var(--ease), visibility 0s linear var(--t-mid);
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity var(--t-mid) var(--ease); }
.menu ul { list-style: none; display: grid; gap: 4px; }
.menu .big { display: inline-block; font-size: clamp(2.1rem, 9vw, 3rem); font-weight: 700; letter-spacing: -.04em; text-decoration: none; padding: 4px 0; opacity: 0; transform: translateY(16px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.menu.is-open .big { opacity: 1; transform: none; }
.menu.is-open li:nth-child(2) .big { transition-delay: 40ms; } .menu.is-open li:nth-child(3) .big { transition-delay: 80ms; }
.menu.is-open li:nth-child(4) .big { transition-delay: 120ms; } .menu.is-open li:nth-child(5) .big { transition-delay: 160ms; }
.menu .big[aria-current="page"] { color: var(--cobalt); }
.menu-foot { margin-top: 36px; display: grid; gap: 18px; justify-items: center; }
.menu-legal { display: flex; gap: 20px; font-size: var(--fs-small); color: var(--ink-2); }
body.lock { overflow: hidden; }
@media (max-width: 980px) {
  .bar { grid-template-columns: 1fr auto; }
  .nav, .bar-end .btn { display: none; }
  .menu-btn { display: block; }
}

/* ---------- Kacheln & Abschnitte ---------- */
main { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--stack); padding-bottom: var(--stack); }
main > * { min-width: 0; }
.panel { margin-inline: max(var(--stack), env(safe-area-inset-left, 0px)); border-radius: var(--r-xl); padding-block: var(--pad); position: relative; overflow: hidden; }
.panel.white { background: var(--card); }
.panel.sand { background: var(--bg-2); }
.panel.night { background: var(--night); color: var(--on-night); }
.panel.cobalt { background: var(--cobalt); color: #fff; }
.panel.mint { background: var(--mint); }
.open { padding-block: calc(var(--pad) * .7); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head.center { justify-items: center; }
.sec-head .lead { max-width: 46ch; }
.sec-head.split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 24px 48px; }
.sec-head.split .lead { justify-self: end; }
@media (max-width: 860px) { .sec-head.split { grid-template-columns: 1fr; } .sec-head.split .lead { justify-self: start; } }

/* Glühen auf dunklen Bühnen */
.glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.glow i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.glow i:nth-child(1) { width: 46%; aspect-ratio: 1; left: -8%; top: 12%; background: #e4541c; }
.glow i:nth-child(2) { width: 38%; aspect-ratio: 1; right: -6%; top: 28%; background: #f2a01e; opacity: .32; }
.glow i:nth-child(3) { width: 30%; aspect-ratio: 1; left: 38%; bottom: -18%; background: #8a3a12; opacity: .45; }
@media (prefers-reduced-motion: no-preference) {
  .glow i { animation: drift 18s ease-in-out infinite alternate; }
  .glow i:nth-child(2) { animation-duration: 22s; animation-delay: -6s; }
  .glow i:nth-child(3) { animation-duration: 26s; animation-delay: -10s; }
}
@keyframes drift { to { transform: translate(6%, -8%) scale(1.12); } }
.panel > .wrap { position: relative; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 104px) 0; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: var(--pill); background: #fff; font-size: var(--fs-small); text-decoration: none; margin-bottom: 28px; transition: transform var(--t-mid) var(--spring); }
.badge:hover { transform: translateY(-2px); }
.badge b { background: var(--mint); color: var(--sage); border-radius: var(--pill); padding: 4px 10px; font-size: .8125rem; display: inline-flex; align-items: center; gap: 6px; }
.badge b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1f9d63; }
@media (prefers-reduced-motion: no-preference) { .badge b::before { animation: pulse 2.2s ease-in-out infinite; } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }
.hero .lead { margin: 26px auto 34px; max-width: 34ch; }
.hero-stage { margin-top: clamp(48px, 6vw, 88px); }

/* Bühne mit Projektauswahl */
.stage-panel { padding: clamp(18px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 36px); }
.stage-inner { max-width: 1120px; margin-inline: auto; position: relative; }
.stage-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 22px; color: var(--on-night-2); font-size: var(--fs-small); }
.stage-foot .seg { order: 0; }
@media (max-width: 760px) { .stage-foot { justify-content: center; text-align: center; } }

/* Segment-Schalter */
.seg { position: relative; display: inline-flex; padding: 5px; border-radius: var(--pill); background: rgba(22, 23, 27, .07); isolation: isolate; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.night .seg { background: rgba(255, 255, 255, .1); }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 18px; border-radius: var(--pill); font-weight: 700; font-size: .9375rem; cursor: pointer; white-space: nowrap; color: inherit; transition: color var(--t-mid) var(--ease); min-height: 42px; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { color: var(--ink); }
.night .seg button { color: var(--on-night-2); }
.night .seg button[aria-selected="true"], .night .seg button[aria-pressed="true"] { color: var(--ink); }
.seg .ind { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: var(--pill); background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); transition: transform var(--t-mid) var(--spring), width var(--t-mid) var(--spring); }

/* ---------- Vorher/Nachher-Regler ---------- */
.ba { --pos: 50%; position: relative; }
.frame { background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55); }
.frame-bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; background: #eceae6; }
.frame-dots { display: flex; gap: 7px; }
.frame-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; background: #ff5f57; }
.frame-dots i:nth-child(2) { background: #febc2e; } .frame-dots i:nth-child(3) { background: #28c840; }
.frame-url { flex: 1; max-width: 340px; margin-inline: auto; height: 24px; border-radius: 7px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: #6b6b6b; white-space: nowrap; overflow: hidden; padding: 0 10px; }
.frame-url::before { content: ""; width: 8px; height: 9px; border-radius: 2px; background: #9a9a9a; flex: none; }
.frame-bar::after { content: ""; width: 47px; flex: none; }
.stage { position: relative; aspect-ratio: 16 / 9.4; container-type: inline-size; overflow: hidden; background: #ddd; touch-action: pan-y; }
.stage > .layer { position: absolute; inset: 0; }
.ba .layer-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 2; }
.ba .layer-after { z-index: 1; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 0; pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .25); }
.ba-knob { position: absolute; top: 50%; left: 0; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: transform var(--t-mid) var(--spring); }
.ba-knob svg { width: 26px; height: 26px; }
.ba-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100vh; }
.ba-range::-moz-range-thumb { width: 60px; height: 100vh; border: 0; }
.ba-range:focus-visible ~ .ba-handle .ba-knob { outline: 3px solid var(--cobalt); outline-offset: 3px; transform: scale(1.08); }
.ba:hover .ba-knob { transform: scale(1.06); }
.ba-range:active ~ .ba-handle .ba-knob { transform: scale(.92); }
.tag { position: absolute; bottom: 14px; z-index: 3; padding: 7px 13px; border-radius: var(--pill); font-size: 13px; font-weight: 700; line-height: 1; pointer-events: none; transition: opacity var(--t-mid); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tag-before { left: 14px; background: rgba(22, 23, 27, .78); color: #fff; }
.tag-after { right: 14px; background: rgba(198, 63, 15, .95); color: #fff; }
.ba[data-side="after"] .tag-before, .ba[data-side="before"] .tag-after { opacity: .3; }
@media (max-width: 640px) { .stage.can-tall { aspect-ratio: 4 / 5.2; } }

/* ---------- Mockups ---------- */
.mock { position: absolute; inset: 0; overflow: hidden; }
.mock * { box-sizing: border-box; }
/* Alte Website */
.m-old { --o-bg: #c0c0c0; --o-panel: #dcdcdc; --o-head: #8b1a1a; --o-link: #0000ee; --o-text: #000; background: var(--o-bg); color: var(--o-text); font-family: "Times New Roman", Times, Georgia, serif; font-size: 1.55cqw; line-height: 1.25; padding: 1.6cqw 4cqw; text-align: left; }
.mo-page { background: var(--o-panel); border: .3cqw outset #eee; }
.mo-head { padding: 1.4cqw 2cqw; text-align: center; border-bottom: .3cqw ridge #999; }
.mo-title { display: block; font-size: 4.2cqw; font-weight: 700; color: var(--o-head); text-shadow: .25cqw .25cqw 0 #777; }
.mo-marq { display: block; margin-top: .6cqw; color: var(--o-link); font-weight: 700; font-size: 1.7cqw; white-space: nowrap; }
.mo-body { display: grid; grid-template-columns: 17cqw 1fr; }
.mo-nav { padding: 1.4cqw 1.2cqw; border-right: .3cqw ridge #999; display: grid; gap: .7cqw; align-content: start; }
.mo-nav span { display: block; padding: .5cqw .8cqw; background: #e8e8e8; border: .25cqw outset #fff; font-family: Verdana, Arial, sans-serif; font-size: 1.25cqw; color: var(--o-link); text-decoration: underline; }
.mo-main { padding: 1.6cqw 2.2cqw; display: grid; gap: 1.1cqw; align-content: start; }
.mo-h { font-size: 2.4cqw; font-weight: 700; color: var(--o-head); font-style: italic; }
.mo-main u { color: var(--o-link); }
.mo-flex { display: grid; grid-template-columns: 1fr 22cqw; gap: 1.6cqw; align-items: start; }
.mo-img { aspect-ratio: 4 / 3; background: #a9a9a9; border: .3cqw inset #fff; display: grid; place-items: center; font-family: Verdana, Arial, sans-serif; font-size: 1.1cqw; color: #333; text-align: center; padding: 1cqw; }
.mo-box { border: .25cqw dashed #777; padding: .9cqw 1.2cqw; background: #f4f4c8; font-size: 1.4cqw; }
.mo-blink { color: #d00000; font-weight: 700; }
.mo-foot { margin-top: 1.4cqw; text-align: center; font-family: Verdana, Arial, sans-serif; font-size: 1.05cqw; color: #333; }
.mo-counter { display: inline-block; background: #000; color: #3f3; padding: 0 .5cqw; font-family: "Courier New", monospace; letter-spacing: .2em; }
.m-old.o-praxis { --o-bg: #cfe6ff; --o-panel: #fff; --o-head: #00808a; font-family: Arial, Helvetica, sans-serif; }
.m-old.o-praxis .mo-title, .m-old.o-praxis .mo-h { font-family: "Comic Sans MS", "Comic Neue", cursive; text-shadow: none; font-style: normal; }
.m-old.o-praxis .mo-head { background: #ffff99; }
.m-old.o-gast { --o-bg: #000; --o-panel: #111; --o-head: #ffd700; --o-link: #ff0; --o-text: #e6e6e6; }
.m-old.o-gast .mo-page { border-color: #444; }
.m-old.o-gast .mo-nav span { background: #300; border-color: #600; color: #ff0; }
.m-old.o-gast .mo-title { text-shadow: .3cqw .3cqw 0 #8b0000; }
.m-old.o-gast .mo-img { background: #333; color: #ccc; border-color: #555; }
.m-old.o-gast .mo-box { background: #300; border-color: #a00; color: #ffd700; }
.m-old.o-gast .mo-foot { color: #999; }
.m-old.o-gast .mo-head, .m-old.o-gast .mo-nav { border-color: #444; }

/* Neue Website (Abbild der Demo-Seiten) */
.m-new { --n-bg: #f3eee6; --n-ink: #241f1a; --n-acc: #8c3a22; --n-soft: #e7dccb; --n-mute: #6e655b; --n-card: #fffaf3; --n-head: var(--serif);
  background: var(--n-bg); color: var(--n-ink); font-family: var(--font); font-size: 1.35cqw; line-height: 1.45; display: flex; flex-direction: column; text-align: left; }
.m-new.t-praxis { --n-bg: #f3f8f8; --n-ink: #0f2a2d; --n-acc: #0e7c86; --n-soft: #d6ecec; --n-mute: #557074; --n-card: #fff; --n-head: var(--font); }
.m-new.t-gast { --n-bg: #191816; --n-ink: #f4efe4; --n-acc: #e0aa2e; --n-soft: #26241f; --n-mute: #b2a994; --n-card: #24221e; --n-head: var(--serif); }
.mn-nav { display: flex; align-items: center; gap: 2.6cqw; padding: 2.2cqw 4.5cqw; }
.mn-logo { font-family: var(--n-head); font-weight: 700; font-size: 2.1cqw; letter-spacing: -.01em; display: flex; align-items: center; gap: .8cqw; }
.mn-logo::before { content: ""; width: 2.2cqw; height: 2.2cqw; border-radius: .6cqw; background: var(--n-acc); }
.mn-links { margin-left: auto; display: flex; gap: 2.4cqw; font-size: 1.25cqw; }
.mn-links i { font-style: normal; }
.mn-cta { background: var(--n-acc); color: #fff; padding: .9cqw 1.8cqw; border-radius: 99cqw; font-weight: 700; font-size: 1.2cqw; }
.t-gast .mn-cta, .t-gast .mn-btn { color: #191816; }
.mn-burger { display: none; }
.mn-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4cqw; padding: 2cqw 4.5cqw 3cqw; align-items: center; flex: 1; }
.mn-copy { display: grid; gap: 2cqw; align-content: center; }
.mn-eyebrow { font-size: 1.2cqw; font-weight: 700; color: var(--n-acc); }
.mn-h { font-family: var(--n-head); font-size: 4.9cqw; line-height: 1.02; letter-spacing: -.03em; font-weight: 600; }
.t-praxis .mn-h { font-weight: 700; letter-spacing: -.045em; }
.mn-p { font-size: 1.45cqw; color: var(--n-mute); max-width: 36ch; }
.mn-btns { display: flex; gap: 1.6cqw; align-items: center; }
.mn-btn { background: var(--n-acc); color: #fff; padding: 1.25cqw 2.2cqw; border-radius: 99cqw; font-weight: 700; font-size: 1.3cqw; }
.mn-link { font-weight: 700; font-size: 1.3cqw; padding: 1.2cqw 2cqw; border-radius: 99cqw; background: var(--n-soft); }
.mn-art { align-self: stretch; background: var(--n-soft); border-radius: 2.4cqw; display: grid; place-items: center; overflow: hidden; min-height: 0; }
.mn-art svg { width: 82%; height: auto; max-height: 92%; }
.mn-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; padding: 0 4.5cqw 3cqw; }
.mn-row span { display: grid; gap: .3cqw; font-size: 1.15cqw; color: var(--n-mute); padding: 1.6cqw 1.8cqw; border-radius: 1.6cqw; background: var(--n-card); }
.mn-row b { color: var(--n-ink); font-size: 1.45cqw; }
.mn-card { width: 80%; background: #fff; color: #0f2a2d; padding: 2.6cqw; border-radius: 2cqw; display: grid; gap: 1.3cqw; box-shadow: 0 2cqw 4cqw -2cqw rgba(15, 42, 45, .3); }
.mn-card b { font-size: 1.6cqw; }
.mn-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8cqw; }
.mn-slots i { font-style: normal; text-align: center; padding: .9cqw 0; background: #e6f2f2; border-radius: 99cqw; font-size: 1.15cqw; font-weight: 700; }
.mn-slots i.on { background: #0e7c86; color: #fff; }
.mn-days { display: flex; justify-content: space-between; font-size: 1.1cqw; color: #557074; }
.mn-days em { font-style: normal; padding: .4cqw .8cqw; border-radius: 99cqw; }
.mn-days em.on { background: #0f2a2d; color: #fff; }
.mn-menu { width: 82%; display: grid; gap: 1.1cqw; color: var(--n-ink); }
.mn-menu b { font-family: var(--n-head); font-size: 2.4cqw; color: var(--n-acc); font-weight: 600; }
.mn-menu span { display: flex; justify-content: space-between; gap: 2cqw; font-size: 1.3cqw; padding-bottom: .9cqw; border-bottom: .15cqw solid #3d3a33; }
.mn-menu span em { font-style: normal; color: var(--n-mute); }
@container (max-width: 480px) {
  .m-new { font-size: 3.8cqw; }
  .mn-nav { padding: 4.5cqw 6cqw; }
  .mn-logo { font-size: 5.6cqw; gap: 2cqw; } .mn-logo::before { width: 5.4cqw; height: 5.4cqw; border-radius: 1.6cqw; }
  .mn-links, .mn-cta { display: none; }
  .mn-burger { display: block; margin-left: auto; width: 9cqw; height: 9cqw; border-radius: 50%; background: var(--n-soft); }
  .mn-hero { grid-template-columns: 1fr; gap: 5cqw; padding: 0 6cqw 6cqw; flex: 0; }
  .mn-art { order: -1; aspect-ratio: 4 / 3; border-radius: 5cqw; }
  .mn-eyebrow { font-size: 3.4cqw; }
  .mn-h { font-size: 10cqw; }
  .mn-p { font-size: 4cqw; }
  .mn-btns { flex-direction: column; align-items: stretch; gap: 2.6cqw; }
  .mn-btn, .mn-link { font-size: 4cqw; padding: 3.6cqw; text-align: center; }
  .mn-row { grid-template-columns: 1fr; gap: 2.6cqw; padding: 0 6cqw 6cqw; }
  .mn-row span { font-size: 3.5cqw; padding: 4cqw; border-radius: 4cqw; }
  .mn-row b { font-size: 4.4cqw; }
  .mn-card { padding: 5cqw; gap: 3cqw; border-radius: 4cqw; } .mn-card b { font-size: 4.4cqw; }
  .mn-slots { gap: 2cqw; } .mn-slots i { font-size: 3.4cqw; padding: 2.2cqw 0; }
  .mn-days { font-size: 3.2cqw; }
  .mn-menu { gap: 2.6cqw; } .mn-menu b { font-size: 6.4cqw; } .mn-menu span { font-size: 3.6cqw; padding-bottom: 2cqw; }
}

/* ---------- Statement mit Wort-Aufhellung ---------- */
.statement { font-size: clamp(1.9rem, 4.6vw, 4rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 700; max-width: 22ch; margin-inline: auto; text-align: center; }
.statement .w { color: rgba(22, 23, 27, .16); transition: color 400ms var(--ease); }
.statement .w.on { color: var(--ink); }
.statement .w.hl.on { color: var(--cobalt); }
.no-js .statement .w, .reduce .statement .w { color: var(--ink); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--stack); }
.tile { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); background: var(--card); display: flex; flex-direction: column; gap: 14px; min-height: 300px; position: relative; overflow: hidden; transition: transform var(--t-slow) var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile .h3 { max-width: 18ch; }
.tile p { color: var(--ink-2); max-width: 38ch; }
.tile.span-4 { grid-column: span 4; } .tile.span-3 { grid-column: span 3; } .tile.span-2 { grid-column: span 2; } .tile.span-6 { grid-column: span 6; }
.tile.t-night { background: var(--night-2); color: var(--on-night); } .tile.t-night p { color: var(--on-night-2); }
.tile.t-cobalt { background: var(--cobalt); color: #fff; } .tile.t-cobalt p { color: rgba(255, 255, 255, .82); }
.tile.t-mint { background: var(--mint); } .tile.t-mint p { color: #35574a; }
.tile.t-butter { background: var(--butter); } .tile.t-butter p { color: #6d5a2a; }
.tile.t-blush { background: var(--blush); } .tile.t-blush p { color: #7a4636; }
.tile.t-sky { background: var(--sky); } .tile.t-sky p { color: #3a4a78; }
.tile .big-num { font-size: clamp(4rem, 8vw, 7rem); font-weight: 700; letter-spacing: -.06em; line-height: .85; margin-top: auto; }
.tile .tile-art { margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--pill); background: rgba(255, 255, 255, .7); font-size: var(--fs-small); font-weight: 700; }
.t-night .chip { background: rgba(255, 255, 255, .1); }
.chip.keep::before { content: "✓"; color: #1f9d63; }
.chip.new::before { content: "+"; color: var(--cobalt); font-size: 1.15em; line-height: 1; }
@media (max-width: 980px) { .tile.span-4, .tile.span-3, .tile.span-2 { grid-column: span 3; } .tile.span-4.wide-md { grid-column: span 6; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile.span-4, .tile.span-3, .tile.span-2, .tile.span-6 { grid-column: auto; } .tile { min-height: 0; } }

/* Mini-Telefon in Kachel */
.mini-phone { width: 150px; aspect-ratio: 9 / 19; border-radius: 26px; background: var(--ink); padding: 7px; margin: auto auto -70px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.mini-phone .scr { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; position: relative; container-type: inline-size; }

/* ---------- Geräte-Umschalter ---------- */
.devstage { margin-top: 36px; display: grid; justify-items: center; }
.dev-frame { --w: 100%; width: min(var(--w), 100%); transition: width 900ms var(--spring), border-radius 600ms var(--ease), padding 600ms var(--ease); background: #000; padding: 12px; border-radius: 22px; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.dev-frame .scr { position: relative; width: 100%; aspect-ratio: var(--ar, 16 / 10); transition: aspect-ratio 900ms var(--spring); border-radius: 12px; overflow: hidden; container-type: inline-size; background: #fff; }
.dev-frame[data-mode="tablet"] { --w: 560px; --ar: 3 / 4; border-radius: 34px; padding: 18px; }
.dev-frame[data-mode="phone"] { --w: 320px; --ar: 9 / 19; border-radius: 46px; padding: 12px; }
.dev-frame[data-mode="phone"] .scr { border-radius: 36px; }
.dev-frame[data-mode="tablet"] .scr { border-radius: 18px; }
.dev-note { margin-top: 22px; color: var(--on-night-2); font-size: var(--fs-small); text-align: center; min-height: 1.5em; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--stack); margin-top: clamp(48px, 6vw, 80px); }
.spec { padding: 26px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); }
.spec b { display: block; font-size: 1.125rem; margin-bottom: 6px; }
.spec p { color: var(--on-night-2); font-size: var(--fs-small); }
@media (max-width: 760px) { .specs { grid-template-columns: 1fr; } }

/* ---------- Karussell ---------- */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 360px); gap: var(--stack); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); padding: 8px max(var(--gutter), calc((100vw - var(--maxw)) / 2)) 24px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; border-radius: var(--r-lg); padding: 30px; min-height: 460px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; background: var(--card); text-align: left; border: 0; cursor: pointer; transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease); }
.card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 30px 60px -30px rgba(22, 23, 27, .35); }
.card .cat { font-size: var(--fs-small); font-weight: 700; }
.card .h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -.035em; line-height: 1.08; }
.card .card-art { margin-top: auto; display: grid; place-items: center; }
.card .plus { position: absolute; right: 22px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 24px; line-height: 1; transition: transform var(--t-mid) var(--spring), background-color var(--t-fast); }
.card:hover .plus { transform: rotate(90deg); background: var(--cobalt); }
.card.c-cobalt { background: var(--cobalt); color: #fff; } .card.c-cobalt .plus { background: #fff; color: var(--cobalt); }
.card.c-night { background: var(--night-2); color: var(--on-night); } .card.c-night .plus { background: #fff; color: var(--ink); }
.card.c-mint { background: var(--mint); } .card.c-butter { background: var(--butter); } .card.c-blush { background: var(--blush); } .card.c-sky { background: var(--sky); }
.rail-ctrl { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.circle { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(22, 23, 27, .08); display: grid; place-items: center; cursor: pointer; transition: background-color var(--t-fast), opacity var(--t-fast), transform var(--t-mid) var(--spring); }
.circle:hover { background: rgba(22, 23, 27, .14); }
.circle:active { transform: scale(.92); }
.circle:disabled { opacity: .35; cursor: default; }
.circle svg { width: 18px; height: 18px; }

/* Icons in Karten */
.ico { width: 120px; height: 120px; }

/* ---------- Modal (zentriertes Fenster) ---------- */
dialog.modal { width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-xl); background: var(--card); color: var(--ink); overflow: auto; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .5); }
dialog.modal::backdrop { background: rgba(15, 17, 21, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
dialog.modal.wide { width: min(1220px, calc(100vw - 24px)); }
.modal-head { position: sticky; top: 0; z-index: 5; display: flex; justify-content: flex-end; padding: 16px 16px 0; }
.modal-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(22, 23, 27, .08); cursor: pointer; display: grid; place-items: center; transition: background-color var(--t-fast), transform var(--t-mid) var(--spring); }
.modal-close:hover { background: rgba(22, 23, 27, .15); transform: rotate(90deg); }
.modal-close svg { width: 16px; height: 16px; }
.modal-body { padding: 4px clamp(24px, 5vw, 56px) clamp(32px, 5vw, 56px); display: grid; gap: 20px; }
.modal-body .h2 { font-size: clamp(2rem, 4vw, 3rem); }
.modal-body.center { justify-items: center; }
@media (prefers-reduced-motion: no-preference) {
  dialog.modal[open] { animation: pop 520ms var(--spring); }
  dialog.modal[open]::backdrop { animation: fade 400ms var(--ease); }
}
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }

/* Häkchenlisten */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.ticks .tk { width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--sage); display: grid; place-items: center; }
.ticks .tk svg { width: 14px; height: 14px; }
.ticks.off .tk { background: var(--blush); color: #b4421d; }
.night .ticks .tk { background: rgba(200, 234, 216, .18); color: var(--mint); }

/* ---------- Tabs mit Fortschritt (Ablauf) ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--stack); align-items: stretch; }
.flow-list { display: grid; gap: 8px; align-content: start; }
.flow-tab { text-align: left; border: 0; cursor: pointer; padding: 20px 22px; border-radius: var(--r-md); background: transparent; display: grid; gap: 4px; position: relative; overflow: hidden; transition: background-color var(--t-mid) var(--ease); }
.flow-tab:hover { background: rgba(22, 23, 27, .04); }
.flow-tab[aria-selected="true"] { background: var(--card); }
.flow-tab b { font-size: 1.25rem; letter-spacing: -.02em; display: flex; gap: 12px; align-items: center; }
.flow-tab b .dot { width: 30px; height: 30px; border-radius: 50%; background: rgba(22, 23, 27, .07); display: grid; place-items: center; font-size: .875rem; flex: none; transition: background-color var(--t-mid), color var(--t-mid); }
.flow-tab[aria-selected="true"] b .dot { background: var(--cobalt); color: #fff; }
.flow-tab span.sub { color: var(--ink-2); font-size: var(--fs-small); padding-left: 42px; display: none; }
.flow-tab[aria-selected="true"] span.sub { display: block; }
.flow-tab .bar { position: absolute; left: 22px; right: 22px; bottom: 10px; height: 3px; border-radius: 3px; background: rgba(22, 23, 27, .08); overflow: hidden; display: none; min-height: 0; }
.flow-tab[aria-selected="true"] .bar { display: block; }
.flow-tab .bar i { position: absolute; inset: 0; background: var(--cobalt); transform-origin: left; transform: scaleX(0); }
.flow-panel { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); display: grid; gap: 22px; align-content: start; min-height: 460px; }
.flow-panel .h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.flow-panel dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: auto 0 0; }
.flow-panel dl > div { background: rgba(255, 255, 255, .6); border-radius: var(--r-sm); padding: 16px 18px; }
.flow-panel dt { font-weight: 700; font-size: var(--fs-small); }
.flow-panel dd { margin: 4px 0 0; font-size: var(--fs-small); color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .flow-panel:not([hidden]) { animation: rise 600ms var(--ease); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } .flow-list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; } .flow-tab span.sub, .flow-tab .bar { display: none !important; } .flow-tab { padding: 12px 16px; } .flow-panel dl { grid-template-columns: 1fr; } }

/* ---------- Projektkarten ---------- */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--stack); }
.pcard { border-radius: var(--r-lg); padding: 14px 14px 26px; display: grid; gap: 18px; align-content: start; transition: transform var(--t-slow) var(--ease); }
.pcard:hover { transform: translateY(-6px); }
.pcard .shot { border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 16 / 11; container-type: inline-size; }
.pcard .meta { padding: 0 12px; display: grid; gap: 8px; }
.pcard .meta .h3 { font-size: 1.375rem; }
.pcard .meta p { color: inherit; opacity: .75; font-size: var(--fs-small); }
.pcard .btn-row { padding: 0 12px; }
.p-wood { background: #e9dfd0; } .p-teal { background: #d6ecec; } .p-dark { background: #24221e; color: #f4efe4; }
.p-dark .more { color: #e0aa2e; }
@media (max-width: 900px) { .projects { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.qa { background: var(--bg); border-radius: var(--r-md); transition: background-color var(--t-mid); }
.qa[open] { background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 20px; align-items: center; padding: 22px 24px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.qa .pm { width: 34px; height: 34px; border-radius: 50%; background: rgba(22, 23, 27, .07); position: relative; transition: background-color var(--t-fast), transform var(--t-mid) var(--spring); }
.qa .pm::before, .qa .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; margin: -1px 0 0 -6.5px; border-radius: 2px; background: currentColor; }
.qa .pm::after { transform: rotate(90deg); transition: transform var(--t-mid) var(--ease); }
.qa[open] .pm { background: var(--cobalt); color: #fff; transform: rotate(180deg); }
.qa[open] .pm::after { transform: rotate(0); }
.qa .answer { padding: 0 24px 24px; color: var(--ink-2); max-width: 64ch; }
.qa .answer p + p { margin-top: .7em; }
.white .qa { background: var(--bg); }

/* ---------- CTA ---------- */
.cta { text-align: center; display: grid; justify-items: center; gap: 24px; }
.cta .h2 { font-size: clamp(2.6rem, 7vw, 6rem); max-width: 14ch; }
.cta .lead { max-width: 40ch; }

/* ---------- Fußzeile ---------- */
.site-footer { margin: 0 max(var(--stack), env(safe-area-inset-left, 0px)) var(--stack); border-radius: var(--r-xl); background: var(--night); color: var(--on-night); padding-block: clamp(56px, 7vw, 96px) 32px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-top h2 { font-size: var(--fs-small); color: var(--on-night-2); margin-bottom: 14px; font-weight: 700; }
.foot-top ul { list-style: none; display: grid; gap: 10px; }
.foot-top a { text-decoration: none; transition: color var(--t-fast); }
.foot-top a:hover { color: #f6b26b; }
.foot-claim { font-size: 1.375rem; line-height: 1.3; letter-spacing: -.02em; max-width: 24ch; margin-bottom: 22px; }
.foot-word { margin-top: clamp(56px, 7vw, 96px); font-size: clamp(3.2rem, 14.5vw, 14rem); font-weight: 700; letter-spacing: -.065em; line-height: .78; text-align: center; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; padding-bottom: .08em; }
.foot-base { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: var(--fs-small); color: var(--on-night-2); }
@media (max-width: 900px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot-top { grid-template-columns: 1fr; } }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 120px) clamp(32px, 4vw, 56px); text-align: center; display: grid; justify-items: center; gap: 22px; }
.page-hero .hero-title { font-size: clamp(3rem, 8vw, 7.5rem); }
.page-hero .lead { max-width: 38ch; }

/* ---------- Leistungen ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--stack); }
.svc { grid-column: span 2; border: 0; text-align: left; cursor: pointer; border-radius: var(--r-lg); padding: 30px; min-height: 320px; display: flex; flex-direction: column; gap: 12px; position: relative; background: var(--card); transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease); }
.svc:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(22, 23, 27, .4); }
.svc.wide { grid-column: span 3; }
.svc .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 6px; }
.svc .ic svg { width: 28px; height: 28px; }
.svc p { color: var(--ink-2); }
.svc .plus { margin-top: auto; align-self: flex-end; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 22px; transition: transform var(--t-mid) var(--spring), background-color var(--t-fast); }
.svc:hover .plus { transform: rotate(90deg); background: var(--cobalt); }
@media (max-width: 980px) { .svc, .svc.wide { grid-column: span 3; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .svc, .svc.wide { grid-column: auto; min-height: 0; } }

.pick { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 920px; margin-inline: auto; }
.pick label { cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: var(--pill); background: rgba(255, 255, 255, .1); font-weight: 700; transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-mid) var(--spring); }
.pick span::before { content: "+"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); font-size: 16px; line-height: 1; transition: transform var(--t-mid) var(--spring), background-color var(--t-fast); }
.pick label:hover span { background: rgba(255, 255, 255, .18); }
.pick input:checked + span { background: #fff; color: var(--ink); }
.pick input:checked + span::before { content: "✓"; background: var(--cobalt); color: #fff; font-size: 12px; transform: rotate(360deg); }
.pick input:focus-visible + span { outline: 3px solid #9fb2ff; outline-offset: 3px; }
.pick-out { margin-top: 28px; display: grid; justify-items: center; gap: 14px; color: var(--on-night-2); }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--stack); }
.two > * { min-width: 0; }
.box { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); background: var(--card); display: grid; gap: 18px; align-content: start; }
.box.sand { background: var(--bg-2); } .box.night { background: var(--night-2); color: var(--on-night); } .box.mint { background: var(--mint); } .box.butter { background: var(--butter); } .box.blush { background: var(--blush); } .box.sky { background: var(--sky); }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.code { margin: 0; background: var(--night); color: #e9ecef; padding: 26px 28px; border-radius: var(--r-md); overflow-x: auto; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px; line-height: 1.75; }
.code .c { color: #8e96a0; } .code .d { color: #9fb2ff; }

.table-wrap { overflow-x: auto; border-radius: var(--r-md); }
table.t { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-small); min-width: 520px; }
.t th, .t td { text-align: left; vertical-align: top; padding: 16px 18px; }
.t tbody tr:nth-child(odd) td, .t tbody tr:nth-child(odd) th { background: rgba(22, 23, 27, .035); }
.t tbody tr td:first-child, .t tbody tr th:first-child { border-radius: 12px 0 0 12px; }
.t tbody tr td:last-child { border-radius: 0 12px 12px 0; }
.t thead th { color: var(--ink-2); font-weight: 700; padding-top: 0; }

/* Modelle (Hosting) */
.models-panel { margin-top: 28px; }
.model { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--stack); }
.model .box { min-height: 220px; }
@media (max-width: 760px) { .model { grid-template-columns: 1fr; } }

/* ---------- Projekte-Seite ---------- */
.ptabs { display: grid; justify-items: center; gap: 28px; }
.ppanel { display: grid; gap: var(--stack); margin-top: 36px; }
.ppanel-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; }
@media (max-width: 760px) { .ppanel-head { grid-template-columns: 1fr; } }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--stack); }
.note { border-radius: var(--r-md); padding: 26px; background: var(--card); }
.note b { display: block; margin-bottom: 8px; font-size: 1.0625rem; }
.note p { color: var(--ink-2); font-size: var(--fs-small); }
@media (max-width: 860px) { .notes { grid-template-columns: 1fr; } }
.info { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 24px; border-radius: var(--r-md); background: var(--sky); max-width: 860px; margin: 0 auto; text-align: left; }
.info .i { width: 40px; height: 40px; border-radius: 50%; background: var(--cobalt); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.info p { color: #2b3a66; font-size: var(--fs-small); }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--stack); align-items: stretch; }
.portrait { border-radius: var(--r-lg); aspect-ratio: 4 / 5; background: linear-gradient(160deg, #d7e2ff 0%, #ffd8cb 100%); display: grid; place-items: center; text-align: center; color: #3a4a78; position: relative; overflow: hidden; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait .ini { width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .7); display: grid; place-items: center; font-size: 3rem; font-weight: 700; letter-spacing: -.04em; color: var(--ink); margin: 0 auto 18px; }
.about-copy { border-radius: var(--r-lg); background: var(--card); padding: clamp(28px, 4vw, 56px); display: grid; gap: 22px; align-content: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .portrait { aspect-ratio: 4 / 3.4; } }
.never { list-style: none; display: grid; gap: 10px; max-width: 760px; margin-inline: auto; }
.never li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 22px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); font-size: clamp(1.1rem, 1.8vw, 1.4rem); letter-spacing: -.02em; text-align: left; }
.never .x { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 107, 61, .18); color: #ff9a76; display: grid; place-items: center; }
.never .x svg { width: 14px; height: 14px; }
.ph { background: #ffe9a0; color: var(--ink); padding: 0 .25em; border-radius: 5px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--stack); align-items: start; }
.direct { display: grid; gap: 10px; }
.direct-item { padding: 18px 20px; border-radius: var(--r-md); background: var(--bg); display: grid; gap: 2px; }
.direct-item .lbl { color: var(--ink-2); font-size: var(--fs-small); }
.direct-item .val { font-size: 1.125rem; font-weight: 700; letter-spacing: -.015em; word-break: break-word; }
.direct-item .val a { text-decoration: none; }
.copy-btn { justify-self: start; border: 0; background: none; padding: 4px 0; color: var(--cobalt); cursor: pointer; font-weight: 700; font-size: var(--fs-small); min-height: 32px; }
.wizard { border-radius: var(--r-lg); background: var(--card); padding: clamp(24px, 4vw, 52px); display: grid; gap: 26px; }
.steps-dots { display: flex; gap: 8px; align-items: center; }
.steps-dots i { height: 6px; flex: 1; border-radius: 6px; background: rgba(22, 23, 27, .1); position: relative; overflow: hidden; }
.steps-dots i::after { content: ""; position: absolute; inset: 0; background: var(--cobalt); transform: scaleX(0); transform-origin: left; transition: transform var(--t-slow) var(--ease); }
.steps-dots i.done::after { transform: scaleX(1); }
.wstep { display: grid; gap: 22px; }
@media (prefers-reduced-motion: no-preference) { .wstep:not([hidden]) { animation: rise 520ms var(--ease); } }
.wstep legend { padding: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 4px; }
.wstep fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; min-width: 0; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-md); background: var(--bg); transition: background-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-mid) var(--spring); height: 100%; }
.opt span b { font-size: 1.0625rem; }
.opt span em { font-style: normal; color: var(--ink-2); font-size: var(--fs-small); }
.opt:hover span { background: var(--bg-2); }
.opt input:checked + span { background: var(--sky); box-shadow: 0 0 0 2px var(--cobalt) inset; }
.opt input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.opt:active span { transform: scale(.98); }
@media (max-width: 560px) { .opts { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: var(--fs-small); }
.field .opt-l { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; font: 400 1.0625rem/1.4 var(--font); color: var(--ink); background: var(--bg); border: 2px solid transparent; border-radius: 14px; padding: 14px 16px; min-height: 54px; transition: border-color var(--t-fast), background-color var(--t-fast); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--cobalt); background: #fff; }
.field .err { color: #b23d0e; font-size: var(--fs-small); display: none; }
.field.has-error .err { display: block; }
.field.has-error input, .field.has-error textarea { border-color: var(--flame); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } }
.wnav { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.summary { background: var(--bg); border-radius: var(--r-md); padding: 20px 22px; display: grid; gap: 8px; font-size: var(--fs-small); }
.summary div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; }
.summary dt { color: var(--ink-2); } .summary dd { margin: 0; font-weight: 700; word-break: break-word; }
.fine { font-size: var(--fs-small); color: var(--ink-2); max-width: 62ch; }
.done-box { text-align: center; display: grid; justify-items: center; gap: 16px; padding: 20px 0; }
.done-box .okc { width: 72px; height: 72px; border-radius: 50%; background: var(--mint); color: var(--sage); display: grid; place-items: center; }
.done-box .okc svg { width: 32px; height: 32px; }
@media (max-width: 980px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--stack); align-items: start; }
.toc { position: sticky; top: 92px; border-radius: var(--r-lg); background: var(--card); padding: 22px; display: grid; gap: 2px; font-size: var(--fs-small); }
.toc b { margin: 0 0 8px 10px; }
.toc a { text-decoration: none; color: var(--ink-2); padding: 8px 10px; border-radius: 10px; transition: background-color var(--t-fast), color var(--t-fast); }
.toc a:hover { background: var(--bg); color: var(--ink); }
.toc a.is-active { background: var(--ink); color: #fff; }
.legal-body { border-radius: var(--r-lg); background: var(--card); padding: clamp(24px, 4vw, 56px); }
.legal-body section { padding-block: 28px; scroll-margin-top: 100px; }
.legal-body section + section { box-shadow: 0 -1px 0 var(--line); }
.legal-body section:first-child { padding-top: 0; }
.legal-body h2 { font-size: 1.375rem; letter-spacing: -.02em; margin-bottom: 12px; }
.legal-body h3 { font-size: 1.0625rem; margin: 20px 0 8px; }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p { margin-top: .8em; }
.legal-body ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal-body address { font-style: normal; }
.hint { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--butter); font-size: var(--fs-small); color: #5d4c20; }
@media (max-width: 960px) { .legal { grid-template-columns: 1fr; } .toc { position: static; display: flex; flex-wrap: wrap; } .toc b { width: 100%; } }

/* ---------- 404 ---------- */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; }

/* ---------- Einblenden ---------- */
.js .rv { opacity: 0; transform: translateY(28px) scale(.985); transition: opacity 900ms var(--ease), transform 900ms var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 260ms var(--ease) both; }
::view-transition-new(root) { animation: vt-in 560ms var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.99); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
@media print { .site-header, .menu, .btn, .ba-range, .ba-handle, .glow { display: none !important; } .panel { border-radius: 0; } }

/* ---------- Ablauf-Seite: Schrittkarten ---------- */
.tl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--stack); }
.tl-item { min-height: 340px; }
.tl-top { display: flex; align-items: center; gap: 10px; }
.tl-item .num { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; }
.tl-item.night .num { background: #fff; color: var(--ink); }
.opt-tag { padding: 6px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .14); font-size: .8125rem; font-weight: 700; }
.tl-dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: auto 0 0; }
.tl-dl > div { background: rgba(255, 255, 255, .55); border-radius: var(--r-sm); padding: 14px 16px; }
.box:not(.sky):not(.butter):not(.mint):not(.blush):not(.night) .tl-dl > div { background: var(--bg); }
.night .tl-dl > div { background: rgba(255, 255, 255, .08); }
.tl-dl dt { font-weight: 700; font-size: var(--fs-small); }
.tl-dl dd { margin: 4px 0 0; font-size: var(--fs-small); color: var(--ink-2); }
.night .tl-dl dd, .box.night .muted { color: var(--on-night-2); }
@media (max-width: 860px) { .tl { grid-template-columns: 1fr; } .tl-dl { grid-template-columns: 1fr; } }

/* Feinschliff */
.h3 { font-weight: 700; }
.hero .btn-row, .page-hero .btn-row { justify-content: center; }
.tile:not([class*="t-"]) .chip { background: var(--bg); }
.card .card-art { place-items: end start; }
.white .flow-tab[aria-selected="true"] { background: var(--bg); }
.white .flow-tab:hover { background: rgba(22, 23, 27, .04); }
.cta .btn-row { justify-content: center; }
.hero-title .grad { padding-bottom: .12em; margin-bottom: -.12em; }
.panel.mint .kicker { color: var(--sage); }


/* ===== Version 3: warme Palette, schlichter ===== */
.brand-mark { background: var(--grad); }
.badge b { background: #fbe3d2; color: #8a2e0a; }
.badge b::before { background: #e4541c; }
.tile.t-accent { background: linear-gradient(150deg, #e4541c, #f07a1f); color: #fff; }
.tile.t-accent p { color: rgba(255, 255, 255, .88); }
.tile { min-height: 260px; }
.tico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--bg); margin-bottom: auto; }
.tico svg { width: 26px; height: 26px; }
.t-accent .tico, .t-night .tico { background: rgba(255, 255, 255, .14); }
.tile .h3 { margin-top: 28px; }
.bento .tile.span-2 { grid-column: span 2; }
@media (max-width: 980px) { .bento .tile.span-2 { grid-column: span 6; } }
@media (max-width: 640px) { .bento .tile.span-2 { grid-column: auto; } }
.steps3 { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--stack); }
.steps3 li { background: var(--card); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px); display: grid; gap: 12px; align-content: start; position: relative; overflow: hidden; }
.steps3 .n { font-size: clamp(4rem, 7vw, 6rem); font-weight: 700; line-height: .8; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; padding-bottom: .06em; }
.steps3 p { color: var(--ink-2); }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }
.me { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.me .portrait { aspect-ratio: 1; }
@media (max-width: 860px) { .me { grid-template-columns: 1fr; } .me .portrait { max-width: 340px; } }
.portrait { background: linear-gradient(160deg, #f6d9bf 0%, #e9b48c 100%); color: #6b3a1c; }
.p-teal { background: #dcebe9; }
.panel.sand .btn-soft { --b: rgba(26, 22, 18, .08); }
.qa[open] .pm { background: var(--cobalt); }
.open .qa { background: var(--card); }
.open .qa[open] { box-shadow: none; }
.statement .w.hl.on { color: #d9531a; }
.dev-frame { background: #0b0907; }
/* Bühne zieht sich beim Scrollen auf */
[data-grow] { --g: 1; transform: scale(calc(.9 + .1 * var(--g))); transform-origin: 50% 0; will-change: transform; }
[data-grow] .stage-inner { transform: translateY(calc((1 - var(--g)) * 30px)); }
.hero-stage { margin-top: clamp(40px, 5vw, 72px); }
.tico { margin-bottom: 0; }
.tile { justify-content: flex-start; }

/* ===================== Bewegung & Tiefe ===================== */
/* Überschriften ziehen sich beim Laden zeilenweise auf */
@media (prefers-reduced-motion: no-preference) {
  .hero-title > span { animation: lineUp 1.1s var(--ease) both; animation-delay: calc(var(--li, 0) * 120ms + 120ms); }
  .hero-title > span:nth-child(2) { --li: 1; }
  .hero-title.rv { opacity: 1 !important; transform: none !important; }
  .badge.rv.in { animation: popIn .9s var(--spring) both; }
}
@keyframes lineUp { from { opacity: 0; transform: translateY(42%) rotate(1.5deg); clip-path: inset(0 0 100% 0); filter: blur(8px); } to { opacity: 1; transform: none; clip-path: inset(-10% -5% -20% -5%); filter: none; } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.9); } }

/* Weiche, tiefere Einblendungen */
.js .rv { opacity: 0; transform: translate3d(var(--rx0, 0), 40px, 0) scale(.96); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
.bento .tile:nth-child(1).rv { --rx0: -40px; } .bento .tile:nth-child(3).rv { --rx0: 40px; }

/* Schwebende Lichter im Hero */
.hero { position: relative; isolation: isolate; }
.hero-orbs { position: absolute; inset: -10% 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-orbs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; transform: translate3d(calc(var(--mx, 0) * var(--f, 20px)), calc(var(--my, 0) * var(--f, 20px) + var(--py, 0px)), 0); transition: transform 1.2s var(--ease); }
.hero-orbs i:nth-child(1) { width: 34vw; aspect-ratio: 1; left: -6vw; top: 8%; background: #f6b98f; --f: 40px; }
.hero-orbs i:nth-child(2) { width: 26vw; aspect-ratio: 1; right: -4vw; top: 2%; background: #f7cf8a; --f: -30px; }
.hero-orbs i:nth-child(3) { width: 18vw; aspect-ratio: 1; left: 42%; top: 46%; background: #f2a27a; opacity: .35; --f: 24px; }
@media (prefers-reduced-motion: no-preference) { .hero-orbs i { animation: breathe 9s ease-in-out infinite alternate; } .hero-orbs i:nth-child(2) { animation-delay: -4s; } }
@keyframes breathe { to { scale: 1.15; } }
.hero .wrap { position: relative; }
.hero-par { transform: translate3d(0, var(--hp, 0px), 0); }

/* Bühne richtet sich beim Scrollen aus der Schräge auf */
[data-grow] { --g: 1; transform: perspective(1600px) scale(calc(.92 + .08 * var(--g))); transform-origin: 50% 0; will-change: transform; transition: border-radius .3s; }
[data-grow="tilt"] { transform: perspective(1600px) rotateX(calc((1 - var(--g)) * 22deg)) scale(calc(.86 + .14 * var(--g))); transform-origin: 50% 100%; }
[data-grow] .stage-inner { transform: none; }

/* Laufband */
.marquee { padding-block: clamp(24px, 4vw, 56px); overflow: hidden; display: grid; gap: 6px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-row { display: flex; }
.mq-track { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); padding-right: clamp(18px, 2.4vw, 36px); flex: none; font-size: clamp(2.4rem, 6vw, 5.2rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.05; white-space: nowrap; transform: translate3d(var(--mq, 0px), 0, 0); will-change: transform; }
.mq-track span.o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.mq-track i { font-style: normal; font-size: .45em; color: #e4541c; }
@media (prefers-reduced-motion: no-preference) {
  .mq-row .mq-track { animation: mq 38s linear infinite; }
  .mq-row.rev .mq-track { animation-direction: reverse; animation-duration: 44s; }
}
@keyframes mq { to { translate: -50% 0; } }
.mq-row { width: max-content; }

/* Gestapelte Karten (So läuft's) */
.stack { list-style: none; display: grid; gap: 0; max-width: 980px; margin-inline: auto; }
.stack-card { position: sticky; top: calc(96px + var(--i, 0) * 22px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); min-height: clamp(260px, 32vw, 340px); margin-bottom: clamp(40px, 8vh, 90px); box-shadow: 0 -20px 60px -30px rgba(26, 22, 18, .35); transform-origin: 50% 0; transform: scale(var(--sc, 1)); filter: brightness(var(--br, 1)); transition: transform .2s linear, filter .2s linear; }
.stack-card:last-child { margin-bottom: 0; }
.sc-1 { --i: 0; background: var(--card); }
.sc-2 { --i: 1; background: linear-gradient(140deg, #e4541c, #f08a22); color: #fff; }
.sc-3 { --i: 2; background: var(--night-2); color: var(--on-night); }
.stack-card .n { font-size: clamp(5rem, 11vw, 9rem); font-weight: 700; line-height: .78; letter-spacing: -.07em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .05em; }
.sc-2 .n { background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .55)); -webkit-background-clip: text; background-clip: text; }
.stack-card .txt { display: grid; gap: 12px; }
.stack-card .h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.035em; line-height: 1.08; }
.stack-card p { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-2); max-width: 34ch; }
.sc-2 p { color: rgba(255, 255, 255, .88); } .sc-3 p { color: var(--on-night-2); }
.sc-ico { width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); border-radius: 28px; display: grid; place-items: center; background: var(--bg); }
.sc-2 .sc-ico, .sc-3 .sc-ico { background: rgba(255, 255, 255, .14); }
.sc-ico svg { width: 42%; height: 42%; }
@media (max-width: 700px) { .stack-card { grid-template-columns: 1fr; top: calc(84px + var(--i, 0) * 14px); } .sc-ico { display: none; } }

/* Karten neigen sich zur Maus, mit Lichtreflex */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tilt { transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
  .tilt.is-tilting { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(-6px) scale(1.015) !important; box-shadow: 0 40px 70px -40px rgba(26, 22, 18, .5); transition: transform .12s linear, box-shadow .5s var(--ease); }
  .tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--lx, 50%) var(--ly, 50%), rgba(255, 255, 255, .28), transparent 45%); opacity: 0; transition: opacity .4s; }
  .tilt.is-tilting::after { opacity: 1; }
}
.pcard { position: relative; }

/* Licht folgt der Maus auf dunklen Bühnen */
.panel.night::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at var(--sx, 50%) var(--sy, -20%), rgba(240, 122, 31, .16), transparent 60%); opacity: var(--so, 0); transition: opacity .6s; }

/* Kopfzeile weicht beim Runterscrollen aus */
.site-header { transition: transform .5s var(--ease), box-shadow .45s, background-color .45s; }
.site-header.is-hidden { transform: translateY(-110%); }

/* Fortschrittsbalken oben */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 80; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* Buttons mit leichtem Magnet-Effekt */
.btn.mag { transform: translate3d(var(--bx, 0px), var(--by, 0px), 0); }
.btn.mag:hover { transform: translate3d(var(--bx, 0px), calc(var(--by, 0px) - 2px), 0); }

@media (prefers-reduced-motion: reduce) {
  [data-grow], [data-grow="tilt"] { transform: none !important; }
  .stack-card { position: relative; top: auto; transform: none; filter: none; }
  .js .rv { filter: none; }
}
[data-grow="tilt"] { transform: perspective(1800px) rotateX(calc((1 - var(--g)) * 14deg)) scale(calc(.9 + .1 * var(--g))); transform-origin: 50% 0; }
.hero-orbs { overflow: visible; overflow-x: clip; bottom: -40%; }

/* ===================== Palette: Schwarz · Weiß · Burgund ===================== */
:root {
  --bg: #f5f4f2;
  --bg-2: #eae7e3;
  --card: #ffffff;
  --night: #0b0b0c;
  --night-2: #18171a;
  --ink: #111012;
  --ink-2: #5c5a5e;
  --on-night: #f6f4f2;
  --on-night-2: #a9a6ab;
  --cobalt: #7a1b2c;          /* Burgund – Buttons, Links */
  --cobalt-press: #5e1422;
  --flame: #7a1b2c;
  --wine-l: #e08a99;          /* helles Burgund auf Schwarz */
  --grad: linear-gradient(100deg, #4f0c19 0%, #8e1f33 55%, #b23a50 100%);
}
::selection { background: #7a1b2c; color: #fff; }
.site-header { background: rgba(245, 244, 242, .82); }
body::before { background: var(--bg); }
.night .kicker, .night .more, .foot-top a:hover { color: var(--wine-l); }
.is-night :focus-visible, .night :focus-visible { outline-color: var(--wine-l); }
.btn-primary:hover { box-shadow: 0 12px 28px -10px rgba(122, 27, 44, .55); }
.badge b { background: #f3dde1; color: #6b1626; }
.badge b::before { background: #8e1f33; }
.glow i:nth-child(1) { background: #6b1626; opacity: .6; }
.glow i:nth-child(2) { background: #a32a40; opacity: .35; }
.glow i:nth-child(3) { background: #2a2a2e; opacity: .6; }
.panel.night::after { background: radial-gradient(600px circle at var(--sx, 50%) var(--sy, -20%), rgba(178, 58, 80, .2), transparent 60%); }
.tag-after { background: rgba(122, 27, 44, .95); }
.hero-orbs i:nth-child(1) { background: #e9c3cb; }
.hero-orbs i:nth-child(2) { background: #dcdcde; opacity: .7; }
.hero-orbs i:nth-child(3) { background: #d79aa6; opacity: .3; }
.tile.t-accent, .sc-2 { background: linear-gradient(140deg, #5e1422, #8e1f33 60%, #a8344a); }
.statement .w.hl.on { color: #8e1f33; }
.mq-track i { color: #8e1f33; }
.portrait { background: linear-gradient(160deg, #ecebea 0%, #e3c3ca 100%); color: #5e1422; }
.p-wood { background: #ebe5dd; } .p-teal { background: #e3eceb; } .p-dark { background: #1c1b1d; }
.p-dark .more { color: var(--wine-l); }
.ph { background: #f3dde1; }
.brand-mark { background: linear-gradient(140deg, #111012, #8e1f33); }

/* ===================== Hereinfliegen von der Seite (Porsche-Stil) ===================== */
.js .rv { transform: translate3d(var(--rx0, 0px), var(--ry0, 48px), 0) scale(var(--rs0, .97)); filter: blur(4px); transition: opacity 1s var(--ease), transform 1.25s cubic-bezier(.16, 1, .3, 1), filter 1s var(--ease); }
.js .rv.in { transform: none; filter: none; }
.bento .tile:nth-child(1).rv, .bento .tile:nth-child(3).rv { --rx0: unset; }
/* Horizontal mitlaufende Elemente */
.drift { transform: translate3d(var(--dx, 0px), 0, 0); will-change: transform; }

/* ===================== Feinschliff (November) ===================== */

/* --- „Hallo, ich bin …“ auf der Startseite: mehr Tiefe statt schlichtem Balken --- */
section[aria-labelledby="me-h"] { padding-block: clamp(96px, 12vw, 180px); isolation: isolate; }
section[aria-labelledby="me-h"]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(122, 27, 44, .13), transparent 38%),
    radial-gradient(circle at 88% 82%, rgba(122, 27, 44, .11), transparent 40%),
    radial-gradient(rgba(17, 16, 18, .13) 1.2px, transparent 1.6px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 35%, #000 80%);
          mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 35%, #000 80%);
}
section[aria-labelledby="me-h"]::after {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; pointer-events: none;
  width: min(640px, 92vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px solid rgba(122, 27, 44, .16);
  outline: 1px solid rgba(122, 27, 44, .08); outline-offset: clamp(40px, 7vw, 90px);
  box-shadow: inset 0 0 0 clamp(36px, 6vw, 70px) rgba(255, 255, 255, .55), inset 0 0 0 calc(clamp(36px, 6vw, 70px) + 1px) rgba(122, 27, 44, .1);
}
#me-h { position: relative; }
#me-h::after { content: ""; display: block; width: 72px; height: 4px; margin: 26px auto 0; border-radius: 4px; background: var(--grad); }

/* --- Über mich: Foto kleiner, eingefasst in einen gestalteten Rahmen --- */
.about .portrait {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 46%, rgba(255, 255, 255, .06) 46.2% 46.6%, transparent 46.8% 58%, rgba(255, 255, 255, .05) 58.2% 58.6%, transparent 58.8%),
    radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.6px) 0 0 / 20px 20px,
    linear-gradient(155deg, #18171a 0%, #2a1118 60%, #4f0c19 100%);
  color: var(--on-night-2);
}
.about .portrait img {
  inset: 15% 17%; width: auto; height: auto; z-index: 2;
  border-radius: 22px; border: 6px solid #fff;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7);
}
.about .portrait::before {
  content: ""; position: absolute; z-index: 1; border-radius: 22px;
  inset: calc(15% + 20px) calc(17% - 20px) calc(15% - 20px) calc(17% + 20px);
  background: linear-gradient(140deg, #7a1b2c, #b23a50);
}
.about .portrait::after {
  content: ""; position: absolute; z-index: 1; width: 64px; height: 64px; left: 9%; top: 8%;
  border-radius: 50%; border: 1.5px solid rgba(224, 138, 153, .55);
}
.about .portrait > div { position: relative; z-index: 3; }
.about .portrait .ini { background: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 860px) { .about .portrait { aspect-ratio: 4 / 4.4; max-width: 460px; width: 100%; justify-self: center; } }

/* --- So läuft’s: Karten kompakter --- */
.stack { max-width: 860px; }
.stack-card { min-height: clamp(170px, 20vw, 230px); padding: clamp(24px, 3.4vw, 44px) clamp(24px, 4vw, 52px); gap: clamp(16px, 3vw, 40px); margin-bottom: clamp(28px, 6vh, 64px); top: calc(96px + var(--i, 0) * 16px); }
.stack-card .n { font-size: clamp(3.2rem, 6.5vw, 5.4rem); }
.stack-card .h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.stack-card p { font-size: 1.0625rem; }
.sc-ico { width: clamp(52px, 6vw, 72px); height: clamp(52px, 6vw, 72px); border-radius: 20px; }

/* --- Beispiele: dunkle, klare Farbwelt (Bronze · Smaragd · Nachtblau) --- */
.p-wood { background: #4a361d; color: #f6efe5; }
.p-teal { background: #0d4a3b; color: #eaf4ef; }
.p-dark { background: #14213d; color: #eef1f6; }
.pcard .meta p { opacity: .72; }
.pcard .btn { --b: #fff; --f: var(--ink); }
.pcard .more, .p-dark .more { color: rgba(255, 255, 255, .88); }
.pcard .more:hover { color: #fff; }

/* Vorschauen der Beispiele (Bühne, Geräte, Karten) */
.m-new { --n-acc: #7a5627; --n-soft: #e9dfcf; }
.m-new.t-praxis { --n-bg: #f3f8f6; --n-ink: #0c2e26; --n-acc: #0b6b52; --n-soft: #dcede6; --n-mute: #4f6b63; }
.m-new.t-gast { --n-bg: #0f1a30; --n-ink: #eef1f6; --n-acc: #c2a26b; --n-soft: #1a2846; --n-card: #17243f; --n-mute: #9aa6bd; }
.t-gast .mn-cta, .t-gast .mn-btn { color: #0f1a30; }
.mn-menu span { border-bottom-color: #2a3a5c; }
.mn-card { color: #0c2e26; }
.mn-slots i { background: #e3f0ea; }
.mn-slots i.on { background: #0b6b52; }
.mn-days em.on { background: #0c2e26; }
.mn-days { color: #4f6b63; }
.about .portrait img { inset: auto; top: 15%; left: 17%; width: 66%; height: 70%; object-fit: cover; }
.about .portrait:has(img) > div { display: none; }

/* Über mich: Bildrahmen nie breiter als seine Spalte */
.about .portrait { align-self: center; width: 100%; height: auto; margin: 0 !important; }
/* Großer Schriftzug unten: passt auch mit „ALH Webdesign“ in eine Zeile */
.foot-word { font-size: clamp(2.6rem, 10.5vw, 10.5rem); white-space: nowrap; line-height: .9; padding-bottom: .14em; }

/* =====================================================================
   Überarbeitung: Über mich, „Hallo, ich bin …“, Farben der Beispiele
   ===================================================================== */

/* --- Über mich: Bildrahmen so hoch wie der Textrahmen, Foto größer --- */
.about { align-items: stretch; }
.about .portrait { align-self: stretch; aspect-ratio: auto; height: auto; min-height: 100%; }
.about .portrait img { top: 7%; left: 9%; width: 82%; height: 86%; object-fit: cover; object-position: 50% 20%; }
.about .portrait::before { inset: calc(7% + 18px) calc(9% - 18px) calc(7% - 18px) calc(9% + 18px); }
.about .portrait::after { left: 4%; top: 3%; width: 56px; height: 56px; }
@media (max-width: 860px) {
  .about .portrait { aspect-ratio: 4 / 4.8; min-height: 0; max-width: 520px; }
}

/* --- „Hallo, ich bin …“: Kreise raus, zwei burgunderrote Balken + 3D-Tiefe --- */
section[aria-labelledby="me-h"]::after { content: none; }
#me-h::after { content: none; }
section[aria-labelledby="me-h"] { background: linear-gradient(180deg, #ffffff 0%, #f3f1ee 100%); perspective: 1200px; }
/* perspektivischer Boden mit Raster */
section[aria-labelledby="me-h"]::before {
  content: ""; position: absolute; left: -25%; right: -25%; bottom: -10%; height: 70%; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgba(122, 27, 44, .14) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(122, 27, 44, .14) 1px, transparent 1px) 0 0 / 64px 64px;
  transform: rotateX(68deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%);
          mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%);
}
/* die beiden Balken als Rahmen oben und unten */
section[aria-labelledby="me-h"] > .wrap { position: relative; padding-block: clamp(36px, 5vw, 64px); }
section[aria-labelledby="me-h"] > .wrap::before,
section[aria-labelledby="me-h"] > .wrap::after {
  content: ""; display: block; width: min(760px, 86%); height: 14px; border-radius: 14px;
  background: linear-gradient(180deg, #b23a50 0%, #8e1f33 45%, #5e1422 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 -3px 0 rgba(0, 0, 0, .25) inset, 0 12px 0 -4px #4a0f1b, 0 22px 30px -10px rgba(78, 12, 25, .55);
}
section[aria-labelledby="me-h"] > .wrap::before { margin-bottom: clamp(18px, 3vw, 34px); transform: rotateX(18deg); }
section[aria-labelledby="me-h"] > .wrap::after  { margin-top: clamp(18px, 3vw, 34px);  transform: rotateX(-18deg); }
/* Überschrift mit Tiefe */
#me-h {
  color: #111012;
  text-shadow:
    1px 1px 0 #e3dfdb, 2px 2px 0 #d8d3ce, 3px 3px 0 #ccc6c0, 4px 4px 0 #c0b9b2,
    5px 5px 0 #b3aca5, 6px 6px 0 #a7a09a, 10px 14px 22px rgba(17, 16, 18, .22);
}
/* Text als schwebende Karte */
section[aria-labelledby="me-h"] .wrap > p {
  background: rgba(255, 255, 255, .78); padding: 18px 24px; border-radius: 18px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 24px 50px -30px rgba(17, 16, 18, .45), 0 0 0 1px rgba(17, 16, 18, .05);
}

/* --- Beispiele: helles Gold · helles Blau · Silber --- */
.p-wood { background: #d4b47c; color: #2b2112; }
.p-teal { background: #a9cbea; color: #13263d; }
.p-dark { background: #c5c9d0; color: #1b1d21; }
.pcard .btn { --b: #16171a; --f: #fff; }
.pcard .more, .p-dark .more { color: inherit; }
.pcard .more:hover { color: #000; }
.pcard .meta p { opacity: .75; }

/* Vorschauen im Schieberegler, in der Geräteansicht und auf den Karten */
.m-new { --n-bg: #f7f2e8; --n-ink: #2b2112; --n-acc: #9a7638; --n-soft: #ece0c8; --n-card: #fffaf0; --n-mute: #6d5f49; }
.m-new.t-praxis { --n-bg: #f3f7fc; --n-ink: #13263d; --n-acc: #3e78bc; --n-soft: #dceaf7; --n-card: #fff; --n-mute: #52657c; }
.m-new.t-gast { --n-bg: #16171a; --n-ink: #f0f1f3; --n-acc: #c3c7ce; --n-soft: #222328; --n-card: #26282d; --n-mute: #a7abb3; }
.t-gast .mn-cta, .t-gast .mn-btn { color: #16171a; }
.mn-menu span { border-bottom-color: #3a3c42; }
.mn-card { color: #13263d; }
.mn-slots i { background: #e6eff9; }
.mn-slots i.on { background: #3e78bc; color: #fff; }
.mn-days em.on { background: #13263d; }
.mn-days { color: #52657c; }

/* =====================================================================
   Vorstellung („Hallo, ich bin …“) – neu
   ===================================================================== */
.intro { background: var(--card); padding-block: clamp(80px, 10vw, 150px); isolation: isolate; }
.intro::before {
  content: ""; position: absolute; left: 50%; top: -20%; width: min(900px, 120vw); aspect-ratio: 1; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(122, 27, 44, .09), rgba(122, 27, 44, .03) 55%, transparent 75%);
}
.intro-wrap { display: grid; justify-items: center; text-align: center; gap: 18px; }
.intro-photo { margin: 0 0 14px; width: clamp(132px, 15vw, 176px); aspect-ratio: 1; border-radius: 50%; padding: 6px; position: relative;
  background: conic-gradient(from 200deg, #7a1b2c, #b23a50, #e7d3d7, #7a1b2c);
  box-shadow: 0 24px 50px -22px rgba(78, 12, 25, .55); }
.intro-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 4px solid #fff; display: block; }
.intro-photo::after { content: ""; position: absolute; right: 6%; bottom: 8%; width: 20px; height: 20px; border-radius: 50%; background: #1f9d63; border: 4px solid #fff; }
.intro .kicker { margin: 0; }
.intro .h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.intro .lead { max-width: 46ch; margin-inline: auto; color: var(--ink-2); }
.intro-facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: min(720px, 100%); margin: 10px auto 6px; }
.intro-facts li { display: grid; gap: 2px; padding: 18px 16px; border-radius: var(--r-md); background: var(--bg); text-align: center; }
.intro-facts b { font-size: 1.0625rem; letter-spacing: -.01em; }
.intro-facts span { font-size: var(--fs-small); color: var(--ink-2); }
@media (max-width: 600px) { .intro-facts { grid-template-columns: 1fr; } }

/* =====================================================================
   Beispiele: #A38560 Tischlerei · #16302B Praxis · #34170D Gasthaus
   ===================================================================== */
.p-wood { background: #a38560; color: #1d150c; }
.p-teal { background: #16302b; color: #eef3f1; }
.p-dark { background: #34170d; color: #f5ece4; }
.pcard .btn { --b: #fff; --f: #16171a; }
.p-wood .btn { --b: #1d150c; --f: #fff; }
.pcard .more, .p-dark .more { color: inherit; }
.pcard .more:hover { color: inherit; opacity: .8; }

.m-new { --n-bg: #f6f1ea; --n-ink: #241b11; --n-acc: #8a6c47; --n-soft: #e9dfd0; --n-card: #fffaf3; --n-mute: #6f6150; }
.m-new.t-praxis { --n-bg: #f2f6f4; --n-ink: #16302b; --n-acc: #16302b; --n-soft: #dde8e3; --n-card: #fff; --n-mute: #4d635d; }
.m-new.t-gast { --n-bg: #24110a; --n-ink: #f5ece4; --n-acc: #c9a77c; --n-soft: #34170d; --n-card: #3d1d11; --n-mute: #c4ae98; }
.t-gast .mn-cta, .t-gast .mn-btn { color: #24110a; }
.mn-menu span { border-bottom-color: #55301f; }
.mn-card { color: #16302b; }
.mn-slots i { background: #e3ece8; }
.mn-slots i.on { background: #16302b; color: #fff; }
.mn-days em.on { background: #16302b; }
.mn-days { color: #4d635d; }

/* Praxis im Vorher-Nachher-Regler und in der Geräteansicht: dunkles Waldgrün #16302B */
.stage .m-new.t-praxis, .dev-frame .m-new.t-praxis {
  --n-bg: #16302b; --n-ink: #eef3f1; --n-acc: #8fc5b3; --n-soft: #1f3d37; --n-card: #21423b; --n-mute: #a9c1b9;
}
.stage .t-praxis .mn-cta, .stage .t-praxis .mn-btn,
.dev-frame .t-praxis .mn-cta, .dev-frame .t-praxis .mn-btn { color: #16302b; }
.stage .t-praxis .mn-card, .dev-frame .t-praxis .mn-card { background: #fff; color: #16302b; box-shadow: 0 2cqw 5cqw -2cqw rgba(0, 0, 0, .5); }

/* Geräteansicht „Tablet“: eigenes, aufgeräumtes Hochformat-Layout */
.dev-frame[data-mode="tablet"] .m-new { font-size: 2.6cqw; }
.dev-frame[data-mode="tablet"] .mn-nav { padding: 4.6cqw 6cqw 3cqw; gap: 2.6cqw; }
.dev-frame[data-mode="tablet"] .mn-logo { font-size: 4.2cqw; gap: 1.8cqw; }
.dev-frame[data-mode="tablet"] .mn-logo::before { width: 4.6cqw; height: 4.6cqw; border-radius: 1.3cqw; }
.dev-frame[data-mode="tablet"] .mn-links { display: none; }
.dev-frame[data-mode="tablet"] .mn-cta { display: block; margin-left: auto; font-size: 2.6cqw; padding: 1.9cqw 3.6cqw; }
.dev-frame[data-mode="tablet"] .mn-burger { display: block; width: 7.4cqw; height: 7.4cqw; border-radius: 50%; background: var(--n-soft); border: 0; margin-left: 0; }
.dev-frame[data-mode="tablet"] .mn-hero { grid-template-columns: 1fr; gap: 5cqw; padding: 3cqw 6cqw 5cqw; align-content: start; flex: 1; }
.dev-frame[data-mode="tablet"] .mn-copy { gap: 3cqw; }
.dev-frame[data-mode="tablet"] .mn-eyebrow { font-size: 2.6cqw; }
.dev-frame[data-mode="tablet"] .mn-h { font-size: 9.4cqw; line-height: 1; }
.dev-frame[data-mode="tablet"] .mn-p { font-size: 3cqw; max-width: 42ch; }
.dev-frame[data-mode="tablet"] .mn-btns { flex-direction: row; align-items: center; gap: 2.4cqw; }
.dev-frame[data-mode="tablet"] .mn-btn, .dev-frame[data-mode="tablet"] .mn-link { font-size: 2.8cqw; padding: 2.7cqw 4.6cqw; }
.dev-frame[data-mode="tablet"] .mn-art { order: 0; aspect-ratio: auto; border-radius: 4cqw; padding: 6cqw 0; }
.dev-frame[data-mode="tablet"] .mn-card { width: 78%; padding: 4.6cqw; gap: 2.8cqw; border-radius: 3.6cqw; }
.dev-frame[data-mode="tablet"] .mn-card b { font-size: 3.6cqw; }
.dev-frame[data-mode="tablet"] .mn-days { font-size: 2.6cqw; }
.dev-frame[data-mode="tablet"] .mn-days em { padding: .8cqw 1.6cqw; }
.dev-frame[data-mode="tablet"] .mn-slots { gap: 1.8cqw; }
.dev-frame[data-mode="tablet"] .mn-slots i { font-size: 2.8cqw; padding: 2.1cqw 0; }
.dev-frame[data-mode="tablet"] .mn-menu { gap: 2.4cqw; }
.dev-frame[data-mode="tablet"] .mn-menu b { font-size: 5cqw; }
.dev-frame[data-mode="tablet"] .mn-menu span { font-size: 3cqw; padding-bottom: 1.8cqw; }
.dev-frame[data-mode="tablet"] .mn-row { grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; padding: 0 6cqw 6cqw; }
.dev-frame[data-mode="tablet"] .mn-row span { font-size: 2.3cqw; padding: 3.4cqw 3cqw; border-radius: 3cqw; gap: .8cqw; }
.dev-frame[data-mode="tablet"] .mn-row span::before { content: ""; width: 3.6cqw; height: 3.6cqw; border-radius: 1cqw; background: var(--n-acc); margin-bottom: 1.2cqw; }
.dev-frame[data-mode="tablet"] .mn-row b { font-size: 2.8cqw; }
.dev-frame[data-mode="tablet"] .mn-hero { gap: 4cqw; padding-bottom: 4cqw; }
.dev-frame[data-mode="tablet"] .mn-h { font-size: 8.6cqw; }
.dev-frame[data-mode="tablet"] .mn-art { padding: 4.5cqw 0; }
.dev-frame[data-mode="tablet"] .mn-card { gap: 2.2cqw; padding: 4cqw; }
