/* Reinschau 360 – hell, sachlich, klar. Tokens: siehe DESIGN.md */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Farbe: helle Basis, Pastell-Basis, Prussian Blue als einziger Akzent, Navy/Midnight für dunkle Flächen */
  --bg: #f4f7ea;
  --surface: #fbfcf6;
  --paper: #ffffff;
  --sage: #e3ecc6;
  --sage-strong: #d4e0ae;
  --ink: #1a1a2e;
  --text: #2d3148;
  --muted: #4f5468;
  --line: rgba(26, 26, 46, 0.1);
  --line-strong: rgba(26, 26, 46, 0.18);
  --hover: rgba(26, 26, 46, 0.05);
  --accent: #0f3460;
  --accent-hover: #0c2b51;
  --accent-press: #0a2443;
  --accent-tint: #d9e2e9;
  --accent-soft: rgba(15, 52, 96, 0.16);
  --on-accent: #f4f7ea;
  --forest: #16213e;
  --forest-deep: #1a1a2e;
  --on-forest: #f1f5e3;
  --on-forest-muted: #bcc3d4;
  --forest-line: rgba(241, 245, 227, 0.14);
  --forest-accent: #e3ecc6;
  --mark: #fff3c4;
  --error: #b42318;
  --success: #1f6b45;
  --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.06), 0 4px 12px -4px rgba(26, 26, 46, 0.08);
  --shadow-lift: 0 2px 4px rgba(26, 26, 46, 0.05), 0 24px 40px -20px rgba(26, 26, 46, 0.22);
  --shadow-float: 0 8px 28px -12px rgba(26, 26, 46, 0.28);

  /* Schrift: nur Geist */
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.05rem, 1.2rem + 2.9vw, 3.5rem);
  --fs-h1: clamp(2.2rem, 1.35rem + 2.8vw, 3.6rem);
  --fs-h2: clamp(1.8rem, 1.25rem + 1.9vw, 2.8rem);
  --fs-h3: clamp(1.15rem, 1.02rem + 0.5vw, 1.4rem);
  --fs-lede: clamp(1.08rem, 1rem + 0.3vw, 1.22rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;

  /* Abstand */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section-y: clamp(72px, 9vw, 128px);
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1240px;
  --header-h: 64px;

  /* Form */
  --r-peep: clamp(24px, 4vw, 56px);
  --r-card: 20px;
  --r-plate: 12px;
  --r-input: 12px;
  --r-pill: 999px;
  --rim: clamp(6px, 0.7vw, 9px);

  /* Bewegung (Emil Kowalski) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --t-press: 160ms;
  --t-ui: 220ms;
  --t-reveal: 700ms;
  --tour-dwell: 5200ms;

  --z-header: 30;
  --z-skip: 50;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 32px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.6;
  font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; font-weight: 650; letter-spacing: -0.03em; }
p, ul, ol { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
::selection { background: var(--accent-tint); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.forest :focus-visible, .site-footer :focus-visible { outline-color: var(--on-forest); }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.nobr { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.todo { background: var(--mark); color: var(--ink); padding: 0 0.3em; border-radius: 4px; }
.demo-note { margin-top: var(--s-4); font-size: var(--fs-small); color: var(--muted); }

.skip { position: absolute; left: var(--s-4); top: -100px; z-index: var(--z-skip); background: var(--accent); color: var(--on-accent); padding: var(--s-3) var(--s-4); border-radius: var(--r-pill); font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--s-3); }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Flächen */
.section { padding-block: var(--section-y); }
.band { background: var(--sage); }
.forest { background: var(--forest); color: var(--on-forest); }
.forest h2, .forest h3 { color: var(--on-forest); }
.section-head { max-width: 720px; }
.section-title { font-size: var(--fs-h2); line-height: 1.08; }
.section-lede { font-size: var(--fs-lede); margin-top: var(--s-4); max-width: 56ch; color: var(--muted); }
.forest .section-lede { color: var(--on-forest-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5); border-radius: var(--r-pill); border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-ui) ease, border-color var(--t-ui) ease, color var(--t-ui) ease, box-shadow var(--t-ui) ease, transform var(--t-press) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 6px 16px -8px rgba(15, 52, 96, 0.7); }
.btn-primary:active { background: var(--accent-press); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.forest .btn-outline { background: transparent; color: var(--on-forest); border-color: var(--forest-line); }
.forest .btn-primary { background: var(--on-forest); color: var(--forest); box-shadow: none; }
.btn-lg { min-height: 54px; padding: 0 var(--s-6); font-size: 1.04rem; }
.btn .ico-arrow { transition: transform var(--t-ui) var(--ease-out); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--accent-hover); }
  .btn-outline:hover { border-color: var(--ink); }
  .forest .btn-outline:hover { border-color: var(--on-forest); }
  .forest .btn-primary:hover { background: #ffffff; }
  .btn:hover .ico-arrow { transform: translateX(3px); }
}
.text-link { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; font-weight: 600; color: var(--accent); text-decoration: none; }
.text-link .ico-arrow { transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .text-link:hover { text-decoration: underline; text-underline-offset: 0.3em; } .text-link:hover .ico-arrow { transform: translateX(4px); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: var(--z-header); padding-top: var(--s-3); view-transition-name: site-header; }
.header-bar {
  position: relative; display: flex; align-items: center; gap: var(--s-4);
  min-height: var(--header-h); padding: 0 var(--s-2) 0 var(--s-5);
  background: rgba(251, 252, 246, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  transition: transform var(--t-ui) var(--ease-out), background-color var(--t-ui) ease, box-shadow var(--t-ui) ease;
}
.site-header.is-scrolled .header-bar { transform: translateY(-4px); background: rgba(251, 252, 246, 0.94); box-shadow: var(--shadow-float); }
@media (prefers-reduced-transparency: reduce) { .header-bar { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--ink); min-height: 44px; }
.brand-mark { width: 34px; height: 24px; }
.brand-dot { transform-box: fill-box; transform-origin: center; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .brand:hover .brand-dot { transform: translateX(-8px); } }
.brand-word { font-weight: 650; font-size: 1.18rem; letter-spacing: -0.035em; }
.brand-num { font-weight: 450; margin-left: 0.18em; color: var(--accent); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  text-decoration: none; font-weight: 500; font-size: 0.96rem; color: var(--muted); border-radius: var(--r-pill);
  transition: color var(--t-ui) ease, background-color var(--t-ui) ease;
}
.nav a[aria-current="page"] { color: var(--ink); background: var(--sage); }
.nav a { white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--ink); background: var(--hover); } }
.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.header-tel { min-height: 46px; padding: 0 var(--s-4); font-size: 0.95rem; }
.menu-btn { display: none; }

@media (max-width: 1240px) {
  .nav {
    position: absolute; left: 0; right: 0; top: calc(100% + var(--s-2)); margin: 0; padding: var(--s-2);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-float);
    transform-origin: top right; opacity: 0; transform: translateY(-8px) scale(0.97); visibility: hidden; pointer-events: none;
    transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out), visibility 0s linear var(--t-ui);
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav ul { flex-direction: column; }
  .nav li { opacity: 0; transform: translateY(6px); transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
  .nav.is-open li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 35ms + 40ms); }
  .nav a { width: 100%; min-height: 52px; font-size: 1.08rem; border-radius: var(--r-plate); color: var(--ink); }
  .header-actions { margin-left: auto; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
    min-height: 46px; min-width: 46px; padding: 0 var(--s-4); background: var(--sage); border: 0; border-radius: var(--r-pill);
    color: var(--ink); font: 600 0.95rem/1 var(--font); cursor: pointer; transition: transform var(--t-press) var(--ease-out);
  }
  .menu-btn:active { transform: scale(0.95); }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform var(--t-ui) var(--ease-out), background-color var(--t-ui) ease; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
  .menu-lines::before { top: -6px; } .menu-lines::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .site-header { padding-top: var(--s-2); }
  .header-bar { padding-left: var(--s-4); gap: var(--s-2); }
  .header-tel-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-tel { width: 46px; padding: 0; }
  .header-tel .ico { width: 20px; height: 20px; }
  .menu-label { display: none; }
  .menu-btn { padding: 0; }
  .brand-word { font-size: 1.1rem; }
}

/* Seitenkopf der Unterseiten */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0 0 var(--s-5); font-size: var(--fs-small); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); opacity: .5; }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: var(--fs-h1); line-height: 1.05; max-width: 18ch; }
.page-hero .section-lede { max-width: 58ch; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .page-hero-actions .btn { width: 100%; } }

/* Startseite: Hero */
.hero { padding-block: clamp(28px, 4vw, 64px) clamp(56px, 6vw, 88px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.04em; font-weight: 650; }
.h1-line { display: block; overflow: clip; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.h1-line > span { display: inline-block; white-space: nowrap; }
.swap { position: relative; display: inline-grid; color: var(--accent); }
.swap-word { grid-area: 1 / 1; white-space: nowrap; transition: opacity 360ms var(--ease-out), transform 460ms var(--ease-out), filter 360ms var(--ease-out); }
.swap-word:not(.is-on) { opacity: 0; transform: translateY(40%); filter: blur(6px); }
.swap-word.is-off { opacity: 0; transform: translateY(-40%); filter: blur(6px); }
.h1-ort { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-5); font-size: var(--fs-lede); font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.h1-ort .ico { color: var(--accent); width: 1.2em; height: 1.2em; }
.hero-lede { font-size: var(--fs-lede); color: var(--muted); margin-top: var(--s-3); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); } }
@media (max-width: 560px) {
  .hero { padding-top: var(--s-5); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: var(--s-1); margin-top: var(--s-5); }
  .hero-actions .btn { width: 100%; }
  .hero-actions .hero-secondary { border-color: transparent; background: none; min-height: 44px; text-decoration: underline; text-underline-offset: 0.25em; }
  .hero-grid { gap: var(--s-5); }
}

/* Viewer */
.viewer { margin: 0; position: relative; }
.aperture { position: relative; overflow: hidden; aspect-ratio: 16 / 11; border-radius: var(--r-peep); background: var(--sage-strong); isolation: isolate; box-shadow: var(--shadow-lift); }
.aperture::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; box-shadow: inset 0 0 0 var(--rim) var(--surface), inset 0 0 0 calc(var(--rim) + 1px) var(--line-strong); transition: box-shadow var(--t-ui) ease; }
.aperture-still, .aperture-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.aperture-still { object-fit: cover; }
.aperture-canvas { visibility: hidden; cursor: grab; touch-action: pan-y; z-index: 1; }
.aperture-canvas.is-ready { visibility: visible; }
.aperture-canvas.is-dragging { cursor: grabbing; }
.aperture-canvas:focus-visible { outline: none; }
.aperture:has(.aperture-canvas:focus-visible)::after { box-shadow: inset 0 0 0 var(--rim) var(--surface), inset 0 0 0 calc(var(--rim) + 3px) var(--accent); }
.aperture .aperture-canvas, .aperture .aperture-still { clip-path: circle(80% at 50% 50%); transition: clip-path 520ms var(--ease-out); }
.aperture.is-closing .aperture-canvas, .aperture.is-closing .aperture-still { clip-path: circle(0% at 50% 50%); transition: clip-path 240ms var(--ease-in-out); }
.aperture-status:empty { display: none; }
.aperture-status { position: absolute; left: 50%; bottom: calc(var(--rim) + 16px); transform: translateX(-50%); z-index: 4; background: rgba(26, 26, 46, 0.82); color: var(--on-forest); font-size: var(--fs-small); font-weight: 500; padding: 6px 14px; border-radius: var(--r-pill); white-space: nowrap; }

.compass {
  position: absolute; top: calc(var(--rim) + 14px); left: calc(var(--rim) + 14px); z-index: 4;
  display: flex; align-items: center; gap: var(--s-2); padding: 5px 12px 5px 5px; border-radius: var(--r-pill);
  background: rgba(251, 252, 246, 0.86); color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm);
  font: 600 0.82rem/1 var(--font); font-variant-numeric: tabular-nums; pointer-events: none;
}
.compass-dial { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); position: relative; }
.compass-needle { position: absolute; inset: 3px; }
.compass-needle::before { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 50%; margin-left: -1px; border-radius: 2px; background: var(--accent); }
.compass-needle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--ink); }
.compass-deg { min-width: 3.4ch; text-align: right; }

/* Hand-Hinweis: zeigt einmal, dass man ziehen kann */
.drag-cue { position: absolute; left: 50%; top: 55%; z-index: 4; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(251, 252, 246, 0.9); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--accent); pointer-events: none; opacity: 0; }
.drag-cue .ico { width: 22px; height: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .viewer.cue-on .drag-cue { animation: drag-cue 2600ms var(--ease-in-out) 1 both; }
}
@keyframes drag-cue {
  0% { opacity: 0; transform: translateX(0) scale(0.9); }
  15% { opacity: 1; transform: translateX(0) scale(1); }
  50% { opacity: 1; transform: translateX(-70px) scale(0.94); }
  80% { opacity: 1; transform: translateX(40px) scale(0.94); }
  100% { opacity: 0; transform: translateX(0) scale(0.9); }
}

.plates { position: relative; display: grid; grid-template-columns: repeat(var(--plates, 4), minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-4); }
.plate-glow { position: absolute; left: 0; top: 0; height: 100%; border-radius: var(--r-plate); box-shadow: inset 0 0 0 2px var(--accent); pointer-events: none; z-index: 2; transition: transform 320ms var(--ease-in-out); }
.plate {
  appearance: none; position: relative; margin: 0; padding: 0; cursor: pointer; overflow: hidden;
  background: var(--surface); border: 0; border-radius: var(--r-plate); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted); text-align: left; font: 500 0.92rem/1.2 var(--font);
  transition: transform var(--t-press) var(--ease-out), color var(--t-ui) ease, background-color var(--t-ui) ease;
}
.plate img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; opacity: .7; filter: saturate(.7); transition: opacity var(--t-ui) ease, filter var(--t-ui) ease, transform 500ms var(--ease-out); }
.plate span { display: block; padding: 9px 11px 11px; }
.plate::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.viewer.is-touring .plate.is-lit::after { animation: tour-progress var(--tour-dwell) linear forwards; }
@keyframes tour-progress { to { transform: scaleX(1); } }
.plate:active { transform: scale(0.97); }
.plate.is-lit { color: var(--ink); background: var(--accent-tint); }
.plate.is-lit img { opacity: 1; filter: none; }
.plates:not(.has-glow) .plate.is-lit { box-shadow: inset 0 0 0 2px var(--accent); }
@media (hover: hover) and (pointer: fine) { .plate:hover img { opacity: 1; filter: none; transform: scale(1.05); } .plate:not(.is-lit):hover { color: var(--ink); } }

.viewer-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-5); margin-top: var(--s-3); font-size: var(--fs-small); color: var(--muted); }
.viewer-hint { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 500; color: var(--ink); }
@media (max-width: 560px) {
  .aperture { aspect-ratio: 16 / 12; }
  .plates { gap: 6px; }
  .plate span { padding: 7px 7px 9px; font-size: 0.8rem; }
  .plate img { aspect-ratio: 16 / 10; }
  .compass { font-size: 0.78rem; padding-right: 10px; }
  .compass-dial { width: 22px; height: 22px; }
}

/* Fakten-Leiste unter dem Hero */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.fact { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-5) var(--s-4); font-weight: 500; color: var(--ink); }
.fact + .fact { border-left: 1px solid var(--line); }
.fact .ico { width: 22px; height: 22px; color: var(--accent); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .fact + .fact { border-left: 0; border-top: 1px solid var(--line); } .fact { padding-inline: 0; } }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-7); counter-reset: step; }
.step { padding: var(--s-6); background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.step h3 { font-size: var(--fs-h3); }
.step p { margin-top: var(--s-2); color: var(--muted); }
.step-bar { display: block; width: 40px; height: 3px; border-radius: 3px; background: var(--accent); margin-bottom: var(--s-5); transform-origin: left; }
.steps-foot { margin-top: var(--s-6); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Wo erscheint der Rundgang */
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7); margin-top: var(--s-7); }
.place { border-top: 2px solid var(--accent); padding-top: var(--s-5); }
.place h3 { font-size: var(--fs-h3); display: flex; align-items: center; gap: var(--s-2); }
.place h3 .ico { width: 22px; height: 22px; color: var(--accent); }
.place p { margin-top: var(--s-2); color: var(--muted); }
@media (max-width: 800px) { .places { grid-template-columns: 1fr; gap: var(--s-6); } }

/* Branchen-Karten */
.trades { display: grid; margin-top: var(--s-7); grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5); }
.trade { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform 420ms var(--ease-out), box-shadow var(--t-ui) ease; }
.trade:nth-child(1) { grid-column: span 7; } .trade:nth-child(2) { grid-column: span 5; } .trade:nth-child(3) { grid-column: span 5; } .trade:nth-child(4) { grid-column: span 7; }
.trade-media { position: relative; overflow: hidden; margin: var(--s-2) var(--s-2) 0; border-radius: calc(var(--r-card) - 6px); background: var(--sage-strong); aspect-ratio: 16 / 9; }
.trade-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.trade-body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.trade-body h3 { font-size: var(--fs-h3); }
.trade-body p { max-width: 48ch; color: var(--muted); }
.trade-more { margin-top: auto; padding-top: var(--s-2); display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; color: var(--accent); }
.trade-more .ico-arrow { transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .trade:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); } .trade:hover .trade-media img { transform: scale(1.045); } .trade:hover .trade-more .ico-arrow { transform: translateX(4px); } }
.trade:active { transform: scale(0.99); }
@media (max-width: 900px) { .trade:nth-child(n) { grid-column: 1 / -1; } }

/* Preise */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-7); align-items: stretch; }
.price { display: flex; flex-direction: column; padding: var(--s-6); background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-sm); transition: transform 420ms var(--ease-out), box-shadow var(--t-ui) ease; }
.price.is-featured { box-shadow: inset 0 0 0 2px var(--accent), var(--shadow-lift); }
.price-name { font-size: var(--fs-h3); font-weight: 650; color: var(--ink); letter-spacing: -0.02em; }
.price-for { margin-top: var(--s-1); color: var(--muted); font-size: var(--fs-small); min-height: 2.9em; }
.price-amount { margin-top: var(--s-5); display: flex; align-items: baseline; gap: var(--s-2); color: var(--ink); }
.price-amount strong { font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-amount span { color: var(--muted); font-size: var(--fs-small); }
.price-list { list-style: none; padding: 0; margin: var(--s-5) 0 var(--s-6); display: grid; gap: var(--s-2); }
.price-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s-2); font-size: 0.98rem; }
.price-list .ico { width: 18px; height: 18px; margin-top: 4px; color: var(--accent); }
.price .btn { margin-top: auto; }
.price-tag { align-self: flex-start; margin-bottom: var(--s-3); padding: 4px 10px; border-radius: var(--r-pill); background: var(--accent-tint); color: var(--accent); font-size: 0.82rem; font-weight: 600; }
.price-note { margin-top: var(--s-5); color: var(--muted); font-size: var(--fs-small); }
@media (hover: hover) and (pointer: fine) { .price:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); } .price.is-featured:hover { box-shadow: inset 0 0 0 2px var(--accent), var(--shadow-lift); } }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } .price-for { min-height: 0; } }

.extras { margin-top: var(--s-7); background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-sm); overflow: hidden; }
.extra { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-4); align-items: baseline; padding: var(--s-4) var(--s-5); }
.extra + .extra { border-top: 1px solid var(--line); }
.extra strong { color: var(--ink); font-weight: 600; }
.extra span { color: var(--muted); font-size: var(--fs-small); display: block; }
.extra-price { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Ablauf */
.timeline { position: relative; margin-top: var(--s-7); padding-left: 56px; }
.timeline::before, .timeline-progress { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; }
.timeline::before { background: var(--line-strong); }
.timeline-progress { background: var(--accent); transform-origin: top; }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) { .timeline-progress { animation: draw-line linear both; animation-timeline: view(); animation-range: entry 30% cover 65%; } } }
@keyframes draw-line { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.tl-item { position: relative; display: grid; grid-template-columns: minmax(130px, 2fr) minmax(0, 5fr) minmax(0, 3.5fr); gap: var(--s-5); padding-block: var(--s-5); }
.tl-item + .tl-item { border-top: 1px solid var(--line); }
.tl-dot { position: absolute; left: -50px; top: calc(var(--s-5) + 3px); width: 20px; height: 20px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-strong); transition: box-shadow 400ms var(--ease-out), background-color 400ms ease; }
.band .tl-dot { background: var(--sage); }
.tl-item.is-visible .tl-dot { background: var(--accent); box-shadow: inset 0 0 0 5px var(--sage); }
.tl-step { font-size: var(--fs-h3); line-height: 1.2; }
.tl-you { color: var(--muted); }
.tl-you strong { display: block; color: var(--ink); font-size: var(--fs-small); font-weight: 600; margin-bottom: 2px; }
@media (max-width: 800px) { .timeline { padding-left: 40px; } .timeline::before, .timeline-progress { left: 9px; } .tl-dot { left: -40px; } .tl-item { grid-template-columns: 1fr; gap: var(--s-2); } }

/* Listen */
.checklist { list-style: none; padding: 0; margin-top: var(--s-6); display: grid; gap: var(--s-3); max-width: 62ch; }
.checklist li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--s-3); }
.checklist .ico { width: 22px; height: 22px; margin-top: 3px; color: var(--accent); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--s-5); } }

.wants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-7); }
.want { padding: var(--s-6); background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.want h3 { font-size: var(--fs-h3); }
.want p { margin-top: var(--s-2); color: var(--muted); max-width: 46ch; }
@media (max-width: 760px) { .wants { grid-template-columns: 1fr; } }

.other-trades { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); list-style: none; padding: 0; }
.other-trades a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-5); border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); text-decoration: none; font-weight: 500; color: var(--ink); transition: transform var(--t-press) var(--ease-out), box-shadow var(--t-ui) ease; }
.other-trades a:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .other-trades a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }

/* Touren */
.tour { margin-top: var(--s-6); position: relative; overflow: hidden; min-height: 260px; border-radius: var(--r-peep); background: var(--sage); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
.tour.is-loaded { aspect-ratio: 16 / 8; }
.tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-consent { max-width: 46ch; padding: var(--s-7) var(--s-6); display: grid; gap: var(--s-4); justify-items: start; }
.tour-name { font-size: var(--fs-h3); font-weight: 650; color: var(--ink); }
.tour-consent p:not(.tour-name) { color: var(--muted); }
.tour-error { color: var(--error); font-weight: 600; }
@media (max-width: 760px) { .tour.is-loaded { aspect-ratio: 4 / 5; } }

/* Fragen */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq-group + .faq-group { margin-top: var(--s-8); }
.faq-group > h2 { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.faq-aside { position: sticky; top: calc(var(--header-h) + 48px); padding: var(--s-6); background: var(--sage); border-radius: var(--r-card); }
.faq-aside h2 { font-size: var(--fs-h3); }
.faq-aside p { margin-top: var(--s-2); color: var(--muted); }
.faq-aside .btn { margin-top: var(--s-5); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 64px; padding-block: var(--s-4); font-weight: 600; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.18rem); color: var(--ink); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq-toggle { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--sage); transition: background-color var(--t-ui) ease, transform 300ms var(--ease-out); }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform 300ms var(--ease-out), background-color var(--t-ui) ease; }
.faq-toggle::after { transform: rotate(90deg); }
.faq details[open] .faq-toggle { background: var(--accent); transform: rotate(180deg); }
.faq details[open] .faq-toggle::before, .faq details[open] .faq-toggle::after { background: var(--on-accent); }
.faq details[open] .faq-toggle::after { transform: rotate(0deg); }
.faq details p { padding-bottom: var(--s-5); max-width: 62ch; color: var(--text); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; opacity: 0; transition: height 260ms var(--ease-out), opacity 200ms ease, content-visibility 260ms allow-discrete; }
  .faq details[open]::details-content { height: auto; opacity: 1; }
}
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: var(--s-5); } .faq-aside { position: static; } }

/* CTA-Band */
.cta-band { padding-block: clamp(64px, 8vw, 112px); overflow: clip; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: end; }
.cta-title { font-size: clamp(2.2rem, 1.2rem + 3.8vw, 4.6rem); line-height: 1; letter-spacing: -0.04em; font-weight: 700; }
.cta-title span { color: var(--forest-accent); }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) { .cta-title { animation: cta-weight linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; } } }
@keyframes cta-weight { from { font-weight: 300; letter-spacing: -0.02em; } to { font-weight: 700; letter-spacing: -0.04em; } }
.cta-side p { color: var(--on-forest-muted); font-size: var(--fs-lede); max-width: 36ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; gap: var(--s-5); } }
@media (max-width: 560px) { .cta-actions .btn { width: 100%; } }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.contact-tel { display: inline-block; margin-top: var(--s-6); font-weight: 650; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); letter-spacing: -0.04em; color: var(--accent); text-decoration: none; line-height: 1.1; }
.contact-tel:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.14em; }
.contact-lines { margin-top: var(--s-5); color: var(--muted); line-height: 1.8; }
.contact-lines a { color: var(--ink); }
.person { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.person-photo { flex: none; width: 72px; height: 72px; border-radius: 20px; background: var(--sage); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; font-size: var(--fs-small); color: var(--muted); }
.person p { color: var(--muted); }
.person strong { color: var(--ink); }
.form { display: grid; gap: var(--s-5); background: var(--surface); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); box-shadow: var(--shadow-lift); }
.field { display: grid; gap: var(--s-2); }
.field label { font-weight: 600; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1.0625rem/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--r-input); transition: border-color var(--t-ui) ease, box-shadow var(--t-ui) ease; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { font-size: var(--fs-small); color: var(--muted); }
.field-error { font-size: 0.95rem; font-weight: 600; color: var(--error); }
.field-error::before { content: "Fehler: "; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--fs-small); color: var(--muted); }
.form .btn { justify-self: start; }
.form-status:empty { display: none; }
.form-status { font-weight: 600; color: var(--success); }
.form-status.is-error { color: var(--error); }
@media (prefers-reduced-motion: no-preference) { .field-error:not([hidden]), .form-status:not(:empty) { animation: field-in 220ms var(--ease-out); } }
@keyframes field-in { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form .btn { width: 100%; } }

/* Footer */
.site-footer { background: var(--forest-deep); color: var(--on-forest-muted); padding-block: var(--s-9) var(--s-7); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr); gap: var(--s-6); align-items: start; }
.footer-brand { font-weight: 650; font-size: 1.2rem; color: var(--on-forest); margin-bottom: var(--s-3); letter-spacing: -0.03em; }
.footer-head { font-weight: 600; color: var(--on-forest); margin-bottom: var(--s-2); }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer a { color: var(--on-forest); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; }
.footer-links a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-note { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--forest-line); font-size: var(--fs-small); max-width: 80ch; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.legal { padding-block: var(--s-6) var(--section-y); }
.legal h2 { font-size: var(--fs-h3); margin-top: var(--s-7); }
.legal p { margin-top: var(--s-4); max-width: 68ch; }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Einblenden beim Scrollen, einmalig */
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out), box-shadow var(--t-ui) ease; transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .js [data-wipe] { clip-path: inset(100% 0 0 0); transition: clip-path 900ms var(--ease-in-out); transition-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .js [data-wipe].is-visible { clip-path: inset(0 0 0 0); }
  /* Überschriften: Wörter steigen nacheinander auf */
  .js .split-words .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
  .js .split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 760ms var(--ease-out); transition-delay: calc(var(--wi, 0) * 45ms); }
  .js .split-words.is-visible .w > span { transform: none; }
  /* Schritte: Balken ziehen sich auf */
  .js .step .step-bar { transform: scaleX(0); transition: transform 600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms + 250ms); }
  .js .step.is-visible .step-bar { transform: none; }
  /* Auftritt beim ersten Laden */
  .js .h1-line > span { transform: translateY(105%); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
  .js [data-enter] { opacity: 0; transform: translateY(14px); animation: enter 700ms var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
  .js .hero .aperture, .js [data-iris] .aperture { animation: iris-open 1100ms var(--ease-out) 150ms both; }
  .js .hero .plate { opacity: 0; transform: translateY(10px); animation: enter 520ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 60ms + 650ms); }
  .js .hero .fact { opacity: 0; animation: enter 600ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 80ms + 900ms); }
}
@keyframes rise { to { transform: translateY(0); } }
@keyframes enter { to { opacity: 1; transform: none; } }
@keyframes iris-open { from { clip-path: circle(10% at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }

/* Seitenwechsel */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out 160ms var(--ease-out) both; }
  ::view-transition-new(root) { animation: vt-in 300ms var(--ease-out) both; }
}
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  .aperture .aperture-canvas, .aperture .aperture-still { transition: none; }
  .btn:active, .plate:active, .trade:active, .menu-btn:active, .other-trades a:active { transform: none; }
  .plate-glow, .swap-word { transition: none; }
  .nav, .nav li { transition: opacity 150ms ease, visibility 0s; transform: none !important; }
  .trade, .price, .trade-media img, .plate img, .brand-dot { transition: none; }
  .faq-toggle, .faq-toggle::before, .faq-toggle::after { transition: none; }
}

/* Branchen-Explorer */
.ex-tabs { position: relative; display: flex; gap: 4px; padding: 5px; margin-bottom: var(--s-6); background: var(--sage); border-radius: var(--r-pill); overflow-x: auto; scrollbar-width: none; }
.ex-tabs::-webkit-scrollbar { display: none; }
.ex-indicator { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform 320ms var(--ease-in-out), width 320ms var(--ease-in-out); pointer-events: none; }
.ex-tab { position: relative; z-index: 1; flex: 1 0 auto; min-height: 46px; padding: 0 var(--s-5); border: 0; border-radius: var(--r-pill); background: none; color: var(--muted); font: 600 0.96rem/1 var(--font); cursor: pointer; white-space: nowrap; transition: color var(--t-ui) ease; }
.ex-tab.is-active { color: var(--ink); }
.no-indicator .ex-tab.is-active { background: var(--surface); box-shadow: var(--shadow-sm); }
@media (hover: hover) and (pointer: fine) { .ex-tab:not(.is-active):hover { color: var(--ink); } }
.ex-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.ex-panel + .ex-panel { margin-top: var(--s-8); }
.js [data-explorer] .ex-panel + .ex-panel { margin-top: 0; }
.ex-main { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-peep); background: var(--sage-strong); box-shadow: var(--shadow-lift); }
.ex-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 320ms var(--ease-out), filter 320ms var(--ease-out), transform 700ms var(--ease-out); }
.ex-main img.is-swapping { opacity: 0; filter: blur(8px); transform: scale(1.02); }
.ex-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-3); }
.ex-thumb { position: relative; padding: 0; border: 0; border-radius: var(--r-plate); overflow: hidden; cursor: pointer; background: var(--sage-strong); box-shadow: inset 0 0 0 1px var(--line); transition: transform var(--t-press) var(--ease-out); }
.ex-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: .72; transition: opacity var(--t-ui) ease, transform 500ms var(--ease-out); }
.ex-thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--accent); opacity: 0; transition: opacity var(--t-ui) ease; }
.ex-thumb.is-active img { opacity: 1; }
.ex-thumb.is-active::after { opacity: 1; }
.ex-thumb:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .ex-thumb:hover img { opacity: 1; transform: scale(1.06); } }
.ex-title { font-size: var(--fs-h2); line-height: 1.08; }
.ex-lede { margin-top: var(--s-4); font-size: var(--fs-lede); color: var(--muted); }
.ex-sub { margin-top: var(--s-5); font-weight: 600; color: var(--ink); }
.ex-list { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: grid; gap: var(--s-2); }
.ex-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-2); }
.ex-list .ico { width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.ex-price { margin-top: var(--s-5); padding: var(--s-3) var(--s-4); background: var(--accent-tint); border-radius: var(--r-plate); color: var(--ink); }
.ex-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
@media (prefers-reduced-motion: no-preference) {
  .js .ex-panel:not([hidden]) .ex-main { animation: ex-in 520ms var(--ease-out) both; }
  .js .ex-panel:not([hidden]) .ex-body > * { animation: enter 480ms var(--ease-out) both; }
  .js .ex-panel:not([hidden]) .ex-body > :nth-child(2) { animation-delay: 50ms; }
  .js .ex-panel:not([hidden]) .ex-body > :nth-child(3) { animation-delay: 90ms; }
  .js .ex-panel:not([hidden]) .ex-body > :nth-child(4) { animation-delay: 120ms; }
  .js .ex-panel:not([hidden]) .ex-body > :nth-child(n+5) { animation-delay: 150ms; }
  .js .ex-panel:not([hidden]) .ex-thumb { animation: enter 420ms var(--ease-out) both; animation-delay: calc(var(--j, 0) * 50ms + 120ms); }
  .js .ex-panel:not([hidden]) .ex-body > * { opacity: 0; transform: translateY(10px); }
  .js .ex-panel:not([hidden]) .ex-thumb { opacity: 0; transform: translateY(8px); }
}
@keyframes ex-in { from { opacity: 0; transform: scale(0.985); } }
@media (max-width: 900px) { .ex-panel { grid-template-columns: 1fr; } .ex-tab { flex: 0 0 auto; } }
@media (max-width: 560px) { .ex-actions .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .ex-indicator, .ex-main img, .ex-thumb img { transition: none; } }

/* Wünsche mit Bild (Branchenseiten) */
.want { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.want-media { overflow: hidden; margin: var(--s-2) var(--s-2) 0; border-radius: calc(var(--r-card) - 6px); aspect-ratio: 16 / 10; background: var(--sage-strong); }
.want-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.want-body { padding: var(--s-5); }
@media (hover: hover) and (pointer: fine) { .want:hover .want-media img { transform: scale(1.04); } }

/* Kontakt: Verweis auf Terminbuchung */
.book-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: var(--s-4); align-items: center; margin-top: var(--s-6); padding: var(--s-4) var(--s-5); background: var(--accent-tint); border-radius: var(--r-card); text-decoration: none; color: var(--text); transition: transform var(--t-press) var(--ease-out), box-shadow var(--t-ui) ease; }
.book-card > .ico:first-child { width: 28px; height: 28px; color: var(--accent); justify-self: center; }
.book-card strong { color: var(--ink); }
.book-card .ico-arrow { color: var(--accent); transition: transform var(--t-ui) var(--ease-out); }
.book-card:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .book-card:hover { box-shadow: var(--shadow-sm); } .book-card:hover .ico-arrow { transform: translateX(4px); } }

/* Terminbuchung */
.booking { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.bk-steps { display: grid; gap: var(--s-5); }
.bk-step { margin: 0; padding: var(--s-6); border: 0; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-sm); min-width: 0; }
.bk-legend { display: flex; align-items: center; gap: var(--s-2); padding: 0; margin-bottom: var(--s-4); font-size: var(--fs-h3); font-weight: 650; color: var(--ink); letter-spacing: -0.02em; }
.bk-legend .ico { color: var(--accent); width: 22px; height: 22px; }
.bk-kinds { display: grid; gap: var(--s-2); }
.bk-kind { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s-3); align-items: center; padding: var(--s-3) var(--s-4); border-radius: var(--r-plate); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow var(--t-ui) ease, background-color var(--t-ui) ease, transform var(--t-press) var(--ease-out); }
.bk-kind input, .bk-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bk-kind-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--accent); }
.bk-kind-ico .ico { width: 22px; height: 22px; }
.bk-kind-text strong { display: block; color: var(--ink); font-weight: 600; }
.bk-kind-text span { color: var(--muted); font-size: var(--fs-small); }
.bk-kind:has(input:checked) { background: var(--accent-tint); box-shadow: inset 0 0 0 2px var(--accent); }
.bk-kind:has(input:focus-visible), .bk-chip:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.bk-kind:active, .bk-chip:active { transform: scale(0.98); }

.bk-days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-2); }
.bk-day { position: relative; display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: var(--r-plate); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow var(--t-ui) ease, background-color var(--t-ui) ease, color var(--t-ui) ease, transform var(--t-press) var(--ease-out); }
.bk-day input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bk-day .d-wd { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.bk-day .d-num { font-size: 1.35rem; font-weight: 650; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bk-day .d-mo { font-size: 0.78rem; color: var(--muted); }
.bk-day:has(input:checked) { background: var(--accent); box-shadow: none; }
.bk-day:has(input:checked) span { color: var(--on-accent); }
.bk-day:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.bk-day:active { transform: scale(0.96); }
.js .bk-fallback { display: none; }

.bk-times { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s-2); }
.bk-chip { position: relative; display: grid; place-items: center; min-height: 46px; border-radius: var(--r-pill); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); transition: box-shadow var(--t-ui) ease, background-color var(--t-ui) ease, color var(--t-ui) ease, transform var(--t-press) var(--ease-out); }
.bk-chip:has(input:checked) { background: var(--accent); color: var(--on-accent); box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .bk-kind:not(:has(input:checked)):hover, .bk-day:not(:has(input:checked)):hover, .bk-chip:not(:has(input:checked)):hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
}

.bk-summary { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: var(--s-4); padding: clamp(24px, 3vw, 36px); background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-lift); }
.bk-sum-head { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.bk-sum { margin-top: calc(-1 * var(--s-3)); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); font-size: var(--fs-h3); font-weight: 650; color: var(--ink); letter-spacing: -0.02em; transition: opacity 200ms ease, filter 200ms ease; }
.bk-sum.is-swapping { opacity: 0.2; filter: blur(4px); }
.bk-summary .btn { width: 100%; }
.bk-done { display: grid; gap: var(--s-3); padding: var(--s-4); background: var(--accent-tint); border-radius: var(--r-plate); }
.bk-done-title { display: flex; align-items: center; gap: var(--s-2); font-weight: 650; color: var(--ink); }
.bk-done-title .ico { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .bk-done:not([hidden]) { animation: enter 420ms var(--ease-out) both; opacity: 0; transform: translateY(8px); }
  .js .bk-day { opacity: 0; transform: translateY(6px); animation: enter 420ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 30ms + 150ms); }
}
@media (max-width: 1000px) { .bk-times { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } .bk-summary { position: static; } }
@media (max-width: 560px) {
  .bk-step { padding: var(--s-5) var(--s-4); }
  .bk-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bk-times { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .bk-sum { transition: none; } .bk-kind:active, .bk-chip:active, .bk-day:active, .book-card:active { transform: none; } }

/* Monatskalender */
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-3); }
.bk-month { font-weight: 650; font-size: 1.1rem; color: var(--ink); letter-spacing: -0.02em; }
.bk-nav { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sage); color: var(--ink); font: 600 1.4rem/1 var(--font); cursor: pointer; transition: background-color var(--t-ui) ease, transform var(--t-press) var(--ease-out); }
.bk-nav:active { transform: scale(0.94); }
.bk-nav[disabled] { opacity: .35; cursor: not-allowed; transform: none; }
@media (hover: hover) and (pointer: fine) { .bk-nav:not([disabled]):hover { background: var(--sage-strong); } }
.bk-week, .bk-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.bk-week { margin-bottom: 6px; }
.bk-week span { text-align: center; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.bk-cell { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; max-height: 56px; border-radius: var(--r-plate); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); transition: background-color var(--t-ui) ease, color var(--t-ui) ease, box-shadow var(--t-ui) ease, transform var(--t-press) var(--ease-out); }
.bk-cell input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bk-cell.is-empty { background: none; box-shadow: none; cursor: default; }
.bk-cell.is-off { background: none; box-shadow: none; color: var(--muted); opacity: .45; cursor: not-allowed; font-weight: 400; }
.bk-cell:has(input:checked) { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.bk-cell:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.bk-cell:not(.is-off):not(.is-empty):active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .bk-cell:not(.is-off):not(.is-empty):not(:has(input:checked)):hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.bk-days { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .bk-grid.from-right { animation: cal-right 260ms var(--ease-out); }
  .bk-grid.from-left { animation: cal-left 260ms var(--ease-out); }
}
@keyframes cal-right { from { opacity: 0; transform: translateX(16px); } }
@keyframes cal-left { from { opacity: 0; transform: translateX(-16px); } }
.bk-legend { float: left; width: 100%; }
.bk-legend + * { clear: both; }



/* ---------- Rundgang aus Fotos (Touren) ---------- */
.tw-stage { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r-peep); background: var(--sage-strong); box-shadow: var(--shadow-lift); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; isolation: isolate; }
.tw-stage.is-dragging { cursor: grabbing; }
.tw-stage:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.tw-stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; box-shadow: inset 0 0 0 var(--rim) var(--surface), inset 0 0 0 calc(var(--rim) + 1px) var(--line-strong); }
.tw-pan { position: absolute; left: 0; top: 0; width: 100%; height: 100%; will-change: transform; }
.tw-img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.tw-hot { position: absolute; z-index: 2; transform: translate(-50%, -50%); display: flex; align-items: center; gap: var(--s-2); padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink); font: 600 0.92rem/1 var(--font); }
.tw-hot-dot { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(251, 252, 246, 0.94); color: var(--accent); box-shadow: 0 8px 24px -8px rgba(26, 26, 46, 0.45); transition: transform var(--t-ui) var(--ease-out), background-color var(--t-ui) ease; }
.tw-hot-dot .ico { width: 26px; height: 26px; transform: rotate(-90deg); }
.tw-hot-dot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(251, 252, 246, 0.9); opacity: 0; }
.tw-hot-label { padding: 9px 14px; border-radius: var(--r-pill); background: rgba(26, 26, 46, 0.78); color: var(--on-forest); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); white-space: nowrap; }
.tw-hot:focus-visible { outline: none; }
.tw-hot:focus-visible .tw-hot-dot { box-shadow: 0 0 0 4px var(--accent); }
.tw-hot:active .tw-hot-dot { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .tw-hot:hover .tw-hot-dot { transform: scale(1.08); background: #ffffff; } }
.tw-where { position: absolute; z-index: 4; top: calc(var(--rim) + 14px); left: calc(var(--rim) + 14px); display: flex; align-items: center; gap: var(--s-2); padding: 7px 14px; border-radius: var(--r-pill); background: rgba(251, 252, 246, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); font-size: 0.88rem; color: var(--muted); pointer-events: none; }
.tw-where strong { color: var(--ink); font-weight: 650; }
.tw-hint { position: absolute; z-index: 4; left: 50%; bottom: calc(var(--rim) + 16px); transform: translateX(-50%); display: flex; align-items: center; gap: var(--s-2); padding: 8px 14px; border-radius: var(--r-pill); background: rgba(26, 26, 46, 0.72); color: var(--on-forest); font-size: 0.86rem; font-weight: 500; white-space: nowrap; pointer-events: none; transition: opacity 400ms ease, transform 400ms var(--ease-out); }
.tw-stage.is-touched .tw-hint { opacity: 0; transform: translate(-50%, 8px); }
.tw-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); margin-top: var(--s-4); }
.tw-stop { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: var(--s-3); padding: 6px 12px 6px 6px; border: 0; border-radius: var(--r-plate); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; text-align: left; color: var(--ink); font: 600 0.95rem/1.2 var(--font); transition: background-color var(--t-ui) ease, box-shadow var(--t-ui) ease, transform var(--t-press) var(--ease-out); }
.tw-stop img { width: 76px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.tw-stop small { display: block; font-size: 0.78rem; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
.tw-stop.is-active { background: var(--accent-tint); box-shadow: inset 0 0 0 2px var(--accent); }
.tw-stop:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .tw-stop:not(.is-active):hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
@media (prefers-reduced-motion: no-preference) {
  .tw-stage.is-arrived .tw-hot-dot::before { animation: hot-ring 1400ms var(--ease-out) 2; }
  .tw-stage.is-arrived .tw-hot { animation: hot-in 520ms var(--ease-out) 260ms both; }
}
@keyframes hot-ring { 0% { opacity: .9; transform: scale(0.9); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes hot-in { from { opacity: 0; transform: translate(-50%, -30%) scale(0.9); } to { opacity: 1; transform: translate(-50%, -50%); } }
@media (max-width: 900px) { .tw-stage { aspect-ratio: 4 / 3.4; } .tw-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tw-hot-label { display: none; } .tw-hint { font-size: 0.8rem; } .tw-stop { grid-template-columns: 56px minmax(0, 1fr); } .tw-stop img { width: 56px; } }
.tw-stop.is-active small { color: var(--text); }
.plates[style*="--plates:6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ================= Hero „reinschauen“: Raum durch die Buchstaben, beim Scrollen hindurchfliegen ================= */
.hero2 { position: relative; margin-top: calc(-1 * (var(--header-h) + var(--s-3))); }
.h2-stage { position: relative; height: 100svh; min-height: 360px; overflow: hidden; isolation: isolate; background: var(--sage-strong); }
.h2-room { position: absolute; inset: 0; }
.viewer-full { position: absolute; inset: 0; margin: 0; }
.viewer-full .aperture { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.viewer-full .aperture::after { display: none; }
.viewer-full .compass { top: calc(var(--header-h) + 32px); right: var(--gutter); left: auto; }
.viewer-full .drag-cue { top: 50%; }
.viewer-full .plates { position: absolute; z-index: 5; left: 50%; bottom: clamp(20px, 4vh, 36px); width: min(760px, calc(100% - 32px)); transform: translateX(-50%); margin: 0; padding: 6px; border-radius: 18px; background: rgba(251, 252, 246, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-lift); }
.viewer-full .viewer-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.h2-mask { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.h2-cover { fill: var(--paper); }
.h2-word { transform-box: view-box; transform-origin: 50% 45%; }
.h2-word text { font-family: var(--font); font-weight: 800; letter-spacing: -0.055em; fill: #000; font-size: 200px; }
.h2-word text.t1, .h2-word text.t2 { display: none; }
.h2-mask[data-lines="2"] .h2-word text.t0 { display: none; }
.h2-mask[data-lines="2"] .h2-word text.t1, .h2-mask[data-lines="2"] .h2-word text.t2 { display: inline; }
html:not(.js) .h2-mask { display: none; }

.h2-copy { position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(28px, 8vh, 80px); pointer-events: none; }
.h2-copy > * { pointer-events: auto; }
.h2-copy h1 { font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.7rem); line-height: 1.08; letter-spacing: -0.035em; max-width: 20ch; }
.h2-ort { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-3); font-size: var(--fs-lede); font-weight: 500; color: var(--ink); }
.h2-ort .ico { color: var(--accent); width: 1.2em; height: 1.2em; }
.h2-copy .hero-actions { margin-top: var(--s-5); }
.h2-after { padding-top: var(--s-6); }
@media (max-width: 560px) {
  .h2-copy .hero-actions { flex-direction: column; align-items: stretch; gap: var(--s-1); }
  .h2-copy .hero-actions .btn { width: 100%; }
  .h2-copy .hero-secondary { background: none; border-color: transparent; text-decoration: underline; text-underline-offset: 0.25em; min-height: 44px; }
}

/* Auftritt: Wort steigt auf, Raum dahinter läuft schon */
@media (prefers-reduced-motion: no-preference) {
  .js .h2-word text { animation: h2-word-in 1100ms var(--ease-out) 80ms both; }
  .js .h2-word text.t2 { animation-delay: 180ms; }
}
@keyframes h2-word-in { from { transform: translateY(70px); } to { transform: none; } }

/* Scroll-Choreografie: Bühne bleibt stehen, Wort wächst, man fliegt durch die Buchstaben in den Raum */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero2 { height: 250vh; view-timeline-name: --h2; }
    .h2-stage { position: sticky; top: 0; }
    .h2-word { animation: h2-zoom linear both; animation-timeline: --h2; animation-range: contain calc(var(--header-h) + var(--s-3)) contain 100%; }
    .h2-cover { animation: h2-cover linear both; animation-timeline: --h2; animation-range: contain calc(var(--header-h) + var(--s-3)) contain 100%; }
    .h2-copy { animation: h2-copy linear both; animation-timeline: --h2; animation-range: contain calc(var(--header-h) + var(--s-3)) contain 100%; }
    .h2-room { animation: h2-room linear both; animation-timeline: --h2; animation-range: contain calc(var(--header-h) + var(--s-3)) contain 100%; }
    .viewer-full .plates, .viewer-full .compass, .h2-client { animation: h2-ui linear both; animation-timeline: --h2; animation-range: contain calc(var(--header-h) + var(--s-3)) contain 100%; }
  }
}
@keyframes h2-zoom { 0%, 8% { transform: scale(1); } 62%, 100% { transform: scale(26); } }
@keyframes h2-cover { 0%, 38% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes h2-copy { 0%, 6% { opacity: 1; transform: none; visibility: visible; } 24%, 100% { opacity: 0; transform: translateY(-48px); visibility: hidden; } }
@keyframes h2-room { 0% { transform: scale(1.14); } 62%, 100% { transform: scale(1); } }
@keyframes h2-ui { 0%, 66% { opacity: 0; translate: 0 24px; visibility: hidden; } 82%, 100% { opacity: 1; translate: 0 0; visibility: visible; } }

/* Ruhige Fassung: ohne Scroll-Timeline oder bei reduzierter Bewegung */
@supports not (animation-timeline: view()) {
  .h2-mask { display: none !important; }
  .h2-copy h1, .h2-copy .h2-ort, .h2-copy .hero-actions { max-width: 560px; }
  .h2-copy { left: var(--gutter); right: auto; bottom: auto; top: calc(var(--header-h) + 48px); max-width: 600px; padding: var(--s-6); background: rgba(251, 252, 246, 0.92); border-radius: var(--r-card); box-shadow: var(--shadow-lift); }
}
@media (prefers-reduced-motion: reduce) {
  .h2-mask { display: none !important; }
  .h2-copy { left: var(--gutter); right: auto; bottom: auto; top: calc(var(--header-h) + 48px); max-width: 600px; padding: var(--s-6); background: rgba(251, 252, 246, 0.92); border-radius: var(--r-card); box-shadow: var(--shadow-lift); }
}
.h2-outline text { fill: none; stroke: rgba(26, 26, 46, 0.35); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.h2-room::after { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(26, 26, 46, 0.5); pointer-events: none; }
.h2-copy h1 { max-width: 24ch; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .h2-room::after { animation: h2-tint linear both; animation-timeline: --h2; animation-range: contain calc(var(--header-h) + var(--s-3)) contain 100%; }
    .h2-outline { animation: h2-zoom linear both, h2-cover linear both; animation-timeline: --h2, --h2; animation-range: contain calc(var(--header-h) + var(--s-3)) contain 100%, contain calc(var(--header-h) + var(--s-3)) contain 100%; }
  }
}
@keyframes h2-tint { 0%, 20% { opacity: 1; } 55%, 100% { opacity: 0; } }
@supports not (animation-timeline: view()) { .h2-room::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .h2-room::after { display: none; } }
/* Kleine Handys: Schriftzug kleiner und höher, Überschrift kompakter */
@media (max-aspect-ratio: 1 / 1) and (max-height: 760px) {
  .h2-copy h1 { font-size: 1.5rem; }
  .h2-ort { font-size: 1rem; margin-top: var(--s-2); }
  .h2-copy .hero-actions { margin-top: var(--s-4); }
}

/* Kundenbeispiel im Hero */
.h2-client { position: absolute; z-index: 5; left: var(--gutter); bottom: clamp(20px, 4vh, 36px); width: min(420px, calc(100% - 2 * var(--gutter))); padding: var(--s-4) var(--s-5) var(--s-2); border-radius: var(--r-card); background: rgba(251, 252, 246, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-lift); }
.h2-client-label { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-small); font-weight: 600; color: var(--accent); }
.h2-client-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.h2-client-name { margin-top: var(--s-1); font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.h2-client-meta { margin-top: var(--s-1); font-size: var(--fs-small); color: var(--muted); }
.h2-client-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: var(--fs-small); }
.h2-client-link .ico { width: 1em; height: 1em; }
.h2-copy-note { display: inline-flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-3); font-size: var(--fs-small); font-weight: 500; color: var(--muted); }
@media (max-aspect-ratio: 1 / 1) and (max-height: 760px) { .h2-copy-note { margin-bottom: var(--s-2); } }

/* ---------- Leistungen anschaulich: Illustrationen ---------- */
.kicker { display: inline-flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-3); font-size: var(--fs-small); font-weight: 600; color: var(--accent); }
.feat-num { display: inline-grid; place-items: center; flex: none; min-width: 32px; height: 32px; padding-inline: 8px; border-radius: var(--r-pill); background: var(--accent-tint); color: var(--accent); font-size: 0.85rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Von der Aufnahme zum Rundgang */
.make { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); margin-top: var(--s-7); }
.make-step { margin: 0; }
.make-img { display: block; overflow: hidden; border-radius: var(--r-card); background: var(--forest); box-shadow: var(--shadow-sm); aspect-ratio: 2 / 1; }
.make-img img { width: 100%; height: 100%; object-fit: cover; }
.make-step figcaption, .make-live-cap { display: flex; gap: var(--s-3); align-items: flex-start; margin-top: var(--s-4); color: var(--muted); max-width: 52ch; }
.make-step strong, .make-live-cap strong { color: var(--ink); }
.make-step small { display: block; margin-top: var(--s-1); font-size: var(--fs-small); }
.make-live { grid-column: 1 / -1; }
.make-live-cap { margin: 0 0 var(--s-4); }
.make-live .aperture { aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .make { grid-template-columns: 1fr; } .make-live .aperture { aspect-ratio: 4 / 3; } }

/* Wo der Rundgang erscheint: Zickzack */
.feats { display: grid; gap: clamp(48px, 7vw, 96px); margin-top: var(--s-7); }
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feat:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feat:nth-child(even) .feat-text { order: 2; }
.feat-text h3 { margin-top: var(--s-4); font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.feat-text p { margin-top: var(--s-4); color: var(--muted); max-width: 46ch; font-size: var(--fs-lede); }
.feat-visual { position: relative; }
@media (max-width: 900px) { .feat, .feat:nth-child(even) { grid-template-columns: 1fr; gap: var(--s-5); } .feat:nth-child(even) .feat-text { order: 0; } }

.ill { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-card); background: var(--surface); }
.ill-sm { aspect-ratio: 16 / 9; box-shadow: none; border-radius: calc(var(--r-card) - 6px); }
.ill img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ill-chip { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: var(--r-pill); background: rgba(26, 26, 46, 0.78); color: var(--on-forest); font-size: 0.75rem; font-weight: 600; line-height: 1.3; }

/* Karte */
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-land { fill: var(--sage-strong); }
.map-block { fill: var(--sage); }
.map-road { fill: none; stroke: var(--surface); stroke-width: 18; stroke-linecap: round; }
.map-road-sm { stroke-width: 9; }
.map-pin { position: absolute; left: 62.5%; top: 66%; width: 44px; height: 55px; margin: -55px 0 0 -22px; filter: drop-shadow(0 6px 10px rgba(26, 26, 46, 0.3)); }
.map-pin svg { width: 100%; height: 100%; }
.map-pin path { fill: var(--accent); }
.map-pin circle { fill: var(--surface); }
.map-pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 26px; height: 10px; margin-left: -13px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.ill-sm .map-pin { width: 30px; height: 38px; margin: -38px 0 0 -15px; }
.map-card { position: absolute; left: 62.5%; bottom: calc(34% + 68px); transform: translateX(-50%); width: min(250px, 60%); display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-float); }
.map-card-img { position: relative; display: block; overflow: hidden; border-radius: 9px; aspect-ratio: 4 / 3; }
.map-card-img .ill-chip { left: 4px; top: 4px; padding: 1px 6px; font-size: 0.7rem; }
.map-card-body { display: grid; gap: 2px; font-size: 0.9rem; line-height: 1.3; }
.map-card-body strong { color: var(--ink); }
.map-card-body span { color: var(--accent); font-weight: 500; }

/* Unternehmensprofil (Handy) */
.ill-profile { background: var(--sage-strong); }
.pf-phone { position: absolute; left: 50%; top: 8%; width: min(62%, 300px); transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 40px; border-radius: 30px 30px 0 0; background: var(--surface); box-shadow: 0 0 0 7px var(--ink), var(--shadow-lift); }
.pf-cover { position: relative; display: block; overflow: hidden; border-radius: 20px 20px 10px 10px; aspect-ratio: 2 / 1; }
.pf-name { margin: 4px 6px 0; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.pf-line { display: block; height: 8px; margin-inline: 6px; border-radius: 4px; background: var(--sage-strong); }
.pf-line-short { width: 55%; }
.pf-actions { display: flex; gap: 6px; margin-inline: 6px; }
.pf-actions span { flex: 1; padding: 6px 0; border-radius: var(--r-pill); background: var(--accent-tint); color: var(--accent); font-size: 0.75rem; font-weight: 600; text-align: center; }
.pf-label { margin: 4px 6px 0; font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.pf-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-inline: 6px; }
.pf-thumb { position: relative; display: block; overflow: hidden; border-radius: 8px; aspect-ratio: 1; }
.pf-thumb .ill-chip { left: 4px; top: 4px; padding: 1px 5px; font-size: 0.65rem; }
.pf-thumb.is-360 { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); }

/* Website (Browser) */
.ill-site { background: var(--sage-strong); }
.st-browser { position: absolute; left: 7%; right: 7%; top: 10%; bottom: -6%; display: flex; flex-direction: column; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lift); overflow: hidden; }
.st-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.st-dots { display: flex; gap: 5px; }
.st-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.st-url { flex: 1; max-width: 220px; padding: 3px 12px; border-radius: var(--r-pill); background: var(--sage); color: var(--muted); font-size: 0.75rem; }
.st-page { display: flex; flex-direction: column; gap: 9px; padding: 18px; flex: 1; }
.st-line { display: block; height: 8px; width: 70%; border-radius: 4px; background: var(--sage-strong); }
.st-line-h { height: 14px; width: 45%; background: var(--line-strong); }
.st-line-short { width: 40%; }
.st-embed { position: relative; flex: 1; min-height: 0; margin-top: 8px; overflow: hidden; border-radius: 10px; display: grid; place-items: center; align-content: center; gap: 8px; }
.st-embed img { position: absolute; inset: 0; filter: blur(3px) saturate(0.8); transform: scale(1.05); }
.st-embed::before { content: ""; position: absolute; inset: 0; background: rgba(26, 26, 46, 0.45); }
.st-play { position: relative; padding: 9px 16px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-size: 0.85rem; font-weight: 600; }
.st-note { position: relative; color: var(--on-forest); font-size: 0.75rem; }

/* Grundriss mit Standpunkten */
.split-center { align-items: center; }
.ill-plan { aspect-ratio: 520 / 380; background: var(--surface); }
.ill-plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl-floor { fill: var(--sage); }
.pl-wall { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; }
.pl-window { fill: none; stroke: var(--accent-tint); stroke-width: 6; }
.pl-item { fill: var(--sage-strong); }
.pl-cone { fill: var(--accent-soft); }
.pl-path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pl-pt circle { fill: var(--accent); stroke: var(--surface); stroke-width: 3; }
.pl-pt text { fill: var(--on-accent); font-family: var(--font); font-size: 13px; font-weight: 700; }
.pl-label { fill: var(--muted); font-family: var(--font); font-size: 13px; font-weight: 500; }
.pl-pt { transform-box: fill-box; transform-origin: center; }
.plan-cap { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--muted); }
.pkg-points { display: grid; margin-top: var(--s-5); border-top: 1px solid var(--line); }
.pkg-points li { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.pkg-points strong { color: var(--ink); }
.pkg-points span { color: var(--muted); text-align: right; }
@media (max-width: 560px) { .pkg-points li { flex-direction: column; gap: 2px; } .pkg-points span { text-align: left; } }

/* Kalender (Startseite) */
.ill-cal { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; background: var(--sage); }
.cal-head { display: flex; gap: 8px; }
.cal-line { display: block; height: 8px; width: 40%; border-radius: 4px; background: var(--line-strong); }
.cal-line-short { width: 18%; margin-left: auto; background: var(--sage-strong); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; flex: 1; }
.cal-grid i { border-radius: 6px; background: var(--surface); }
.cal-grid i.is-off { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.cal-grid i.is-on { background: var(--accent); }
.cal-slot { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface); color: var(--accent); font-size: 0.78rem; font-weight: 700; box-shadow: var(--shadow-sm); }

/* Schritte mit Bild */
.step-media { padding: var(--s-2) var(--s-2) var(--s-6); }
.step-media > :not(.step-visual) { margin-inline: var(--s-5); }
.step-visual { margin-bottom: var(--s-5); }
.step-visual-img { overflow: hidden; aspect-ratio: 16 / 9; border-radius: calc(var(--r-card) - 6px); background: var(--forest); }
.step-visual-img img { width: 100%; height: 100%; object-fit: cover; }
.step-media h3 { margin-top: 0; }

/* Bewegung: einmalig beim Hereinscrollen, nur transform/opacity (+ Linienzeichnung) */
@media (prefers-reduced-motion: no-preference) {
  .js .map-pin { opacity: 0; transform: translateY(-22px); transition: opacity 400ms var(--ease-out) 200ms, transform 600ms var(--ease-out) 200ms; }
  .js .is-visible .map-pin { opacity: 1; transform: none; }
  .js .is-visible .map-pin::after { animation: pin-ring 900ms var(--ease-out) 700ms both; }
  .js .map-card { opacity: 0; scale: 0.94; transform-origin: 50% 100%; transition: opacity 400ms var(--ease-out) 650ms, scale 500ms var(--ease-out) 650ms; }
  .js .is-visible .map-card { opacity: 1; scale: 1; }
  .js .pf-phone { translate: 0 40px; transition: translate 900ms var(--ease-out) 150ms; }
  .js .is-visible .pf-phone { translate: 0 0; }
  .js .pf-thumb.is-360 { scale: 0.9; transition: scale 500ms var(--ease-out) 800ms; }
  .js .is-visible .pf-thumb.is-360 { scale: 1; }
  .js .st-browser { translate: 0 40px; transition: translate 900ms var(--ease-out) 150ms; }
  .js .is-visible .st-browser { translate: 0 0; }
  .js .st-play { opacity: 0; scale: 0.94; transition: opacity 400ms var(--ease-out) 700ms, scale 400ms var(--ease-out) 700ms; }
  .js .is-visible .st-play { opacity: 1; scale: 1; }
  .js .pl-path { stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms var(--ease-in-out) 300ms; }
  .js .is-visible .pl-path { stroke-dashoffset: 0; }
  .js .pl-pt { opacity: 0; scale: 0.6; transition: opacity 300ms var(--ease-out), scale 400ms var(--ease-out); transition-delay: calc(300ms + var(--i) * 220ms); }
  .js .is-visible .pl-pt { opacity: 1; scale: 1; }
  .js .pl-cone { opacity: 0; transition: opacity 600ms ease 2000ms; }
  .js .is-visible .pl-cone { opacity: 1; }
  .js .cal-grid i.is-on { scale: 0.7; transition: scale 400ms var(--ease-out) 500ms, background-color 300ms ease 500ms; background: var(--surface); }
  .js .is-visible .cal-grid i.is-on { scale: 1; background: var(--accent); }
  .js .cal-slot { opacity: 0; translate: 0 8px; transition: opacity 300ms var(--ease-out) 800ms, translate 400ms var(--ease-out) 800ms; }
  .js .is-visible .cal-slot { opacity: 1; translate: 0 0; }
}
@keyframes pin-ring { 0% { opacity: 0.8; transform: scale(0.6); } 100% { opacity: 0; transform: scale(2.2); } }

/* Niedrige Bildschirme (Handy quer): Textblock kompakt, damit der Schriftzug Platz behält */
@media (max-height: 520px) and (min-aspect-ratio: 4 / 3) {
  .h2-copy { bottom: 16px; }
  .h2-copy h1 { font-size: 1.3rem; max-width: none; }
  .h2-ort { margin-top: 2px; font-size: 0.95rem; }
  .h2-copy-note { margin-bottom: 4px; }
  .h2-copy .hero-actions { margin-top: var(--s-2); flex-direction: row; }
  .h2-copy .hero-actions .btn { width: auto; min-height: 44px; }
}

/* Über uns */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: var(--s-7); max-width: 1000px; }
.member-photo { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r-card); background: var(--sage); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.member-ph { display: grid; place-items: center; align-content: center; gap: var(--s-4); width: 100%; height: 100%; background: var(--sage); box-shadow: inset 0 0 0 1px var(--line); }
.member-initials { font-size: clamp(3rem, 2rem + 4vw, 6rem); font-weight: 800; letter-spacing: -0.04em; color: var(--sage-strong); -webkit-text-stroke: 1px var(--line-strong); }
.member-body { padding-top: var(--s-5); }
.member-role { display: inline-block; padding: 3px 12px; border-radius: var(--r-pill); background: var(--accent-tint); color: var(--accent); font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.02em; }
.member h3 { margin-top: var(--s-3); font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.03em; }
.member-bio { margin-top: var(--s-3); color: var(--muted); max-width: 46ch; }
@media (max-width: 700px) { .team { grid-template-columns: 1fr; } .member-photo { aspect-ratio: 4 / 4.4; } }
.how { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--line-strong); }
.how li { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-5) 0; border-bottom: 1px solid var(--line-strong); color: var(--muted); }
.how strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: var(--fs-h3); }
.ref { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ref-media { display: block; overflow: hidden; border-radius: var(--r-card); aspect-ratio: 16 / 10; background: var(--sage); }
.ref-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ref-media:hover img { transform: scale(1.03); } }
.ref .section-title { text-wrap: balance; }
@media (max-width: 900px) { .ref { grid-template-columns: 1fr; gap: var(--s-5); } }
.ref-tour { margin-top: var(--s-7); }
.ref-title { margin-top: var(--s-1); font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.ref-viewer .viewer-cap { margin-top: var(--s-3); }
.ref > * { min-width: 0; }
@media (max-width: 560px) { .ref-title .nobr { white-space: normal; } }

/* Ansprechpartner-Gesichter (CTA-Band, Kontakt, Termin) */
.faces { display: flex; align-items: center; gap: var(--s-3); }
.faces p { color: var(--muted); font-size: var(--fs-small); line-height: 1.45; max-width: 44ch; }
.faces strong { color: var(--ink); font-weight: 600; }
.faces-stack { display: flex; flex: none; }
.face { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--sage-strong); box-shadow: 0 0 0 3px var(--bg); }
.face + .face { margin-left: -12px; }
.face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.face-ph { color: var(--accent); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em; }
.faces-dark { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--forest-line); }
.faces-dark p { color: var(--on-forest-muted); }
.faces-dark strong, .faces-dark a { color: var(--on-forest); }
.faces-dark .face { box-shadow: 0 0 0 3px var(--forest); background: var(--forest-accent); }
.faces-dark .face-ph { color: var(--forest); }
.person .faces { gap: var(--s-4); }
.person .face { width: 56px; height: 56px; }
.hero-faces { margin-top: var(--s-5); }
.band .face { box-shadow: 0 0 0 3px var(--sage); }
