/* Fabian Monasty – Portfolio. Farben aus dem Startbild: Nacht, Bernstein der Türme, Petrol der Lichter. */
:root {
  --nacht: #07080b;
  --kohle: #0d0f13;
  --flaeche: #14171c;
  --linie: rgba(239, 231, 214, .14);
  --creme: #efe7d6;
  --grau: #a09a8e;
  --bernstein: #f0a04b;
  --glut: #d2622a;
  --petrol: #4fb8c9;
  --titel: "Cinzel", "Trajan Pro", "Didot", "Bodoni 72", "Times New Roman", serif;
  --serif: "Didot", "Bodoni 72", "Playfair Display", "Times New Roman", Georgia, serif;
  --sans: "Avenir Next", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --luecke: 6px;
}

* { box-sizing: border-box; }
html { background: var(--nacht); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--nacht); color: var(--creme);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.zeigt-start { overflow: hidden; height: 100vh; height: 100dvh; }
img, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--bernstein); outline-offset: 4px; border-radius: 2px; }
[hidden] { display: none !important; }

.marke {
  font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--bernstein);
}
.knopf {
  display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.7em;
  border: 1px solid var(--bernstein); border-radius: 999px; color: var(--nacht); background: var(--bernstein);
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; font-weight: 600;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.knopf:hover { background: transparent; color: var(--bernstein); transform: translateY(-2px); }

/* Filmkorn über allem */
.korn {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ================= 1. STARTSEITE ================= */
.start { position: fixed; inset: 0; overflow: hidden; background: var(--nacht); z-index: 5; }
.start-buehne { position: absolute; inset: 0; transform-origin: 50% 50%; }
.start-unscharf {
  position: absolute; inset: -8%;
  background: url("medien/start-unscharf.jpg") center 80% / cover no-repeat;
  filter: blur(34px) brightness(.5) saturate(1.25);
}
.start-spalte {
  position: absolute; top: 0; bottom: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
}
.kompakt .start-spalte { -webkit-mask-image: none; mask-image: none; }
.start-spalte img { position: absolute; max-width: none; }
.start-verlauf {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(7, 8, 11, .82), rgba(7, 8, 11, .35) 22%, transparent 40%),
    linear-gradient(to top, rgba(7, 8, 11, .9), rgba(7, 8, 11, .25) 20%, transparent 34%),
    radial-gradient(ellipse at 50% 60%, transparent 45%, rgba(7, 8, 11, .55) 100%);
}

.start-titel {
  position: absolute; left: 0; right: 0; top: clamp(28px, 8.5vh, 96px); text-align: center; padding: 0 16px;
}
.start-titel h1 {
  font-family: var(--titel); font-weight: 500; text-transform: uppercase;
  font-size: clamp(1.45rem, 6.3vw, 5.4rem); letter-spacing: .2em; margin-right: -.2em; line-height: 1.05;
  text-shadow: 0 2px 34px rgba(0, 0, 0, .9), 0 0 3px rgba(0, 0, 0, .7), 0 0 60px rgba(240, 160, 75, .25);
  color: #fff6e6;
}
.start-titel p {
  margin-top: clamp(10px, 1.8vh, 20px); display: flex; flex-wrap: wrap; justify-content: center; gap: .5em 0;
  font-size: clamp(.58rem, 1.05vw, .78rem); letter-spacing: .34em; text-transform: uppercase; color: #f4ecdc; font-weight: 500;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 1), 0 0 3px rgba(0, 0, 0, .9);
}
.start-titel p span + span::before { content: "·"; margin: 0 1em; color: var(--bernstein); }

.rand {
  position: absolute; top: 50%; writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px;
  font-size: .62rem; letter-spacing: .5em; text-transform: uppercase; color: rgba(239, 231, 214, .5);
}
.rand-links { left: clamp(14px, 3vw, 46px); transform: translateY(-50%) rotate(180deg); }
.rand-rechts { right: clamp(14px, 3vw, 46px); transform: translateY(-50%); }
.rand-rechts i { width: 1px; height: 64px; background: linear-gradient(var(--bernstein), transparent); animation: laufen 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes laufen { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(30px); opacity: 0; } }
.kompakt .rand { display: none; }

.start-titel, .start-wahl, .linsen-knopf, .rand { transition: opacity .35s ease; }
.faehrt .start-titel, .faehrt .start-wahl, .faehrt .linsen-knopf, .faehrt .rand { opacity: 0; }

/* Die Linse als Knopf */
.linsen-knopf {
  position: absolute; border-radius: 50%; transform: translate(-50%, -50%);
  border: 2px solid rgba(240, 160, 75, .95);
  box-shadow: 0 0 0 1px rgba(7, 8, 11, .55), 0 0 28px rgba(240, 160, 75, .55), inset 0 0 24px rgba(240, 160, 75, .28);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.linsen-knopf:hover, .linsen-knopf:focus-visible {
  border-color: #ffd9a8;
  box-shadow: 0 0 0 1px rgba(7, 8, 11, .55), 0 0 52px rgba(240, 160, 75, .9), inset 0 0 34px rgba(240, 160, 75, .45);
}
.puls {
  position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--bernstein);
  animation: puls 2.4s cubic-bezier(.2, .6, .3, 1) infinite; pointer-events: none;
}
.puls-2 { animation-delay: 1.2s; }
@keyframes puls { from { transform: scale(1); opacity: .85; } to { transform: scale(1.75); opacity: 0; } }
.fokusring {
  position: absolute; inset: -16%; border-radius: 50%; border: 1px dashed rgba(239, 231, 214, .55);
  animation: drehen 18s linear infinite; pointer-events: none;
}
@keyframes drehen { to { transform: rotate(360deg); } }
.knopf-schild {
  position: absolute; left: calc(100% + 18px); top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: .6em; white-space: nowrap;
  padding: .7em 1.15em; border-radius: 999px; background: var(--bernstein); color: var(--nacht);
  font-size: .68rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .55);
}
.knopf-schild::before {
  content: ""; position: absolute; right: 100%; top: 50%; width: 18px; height: 1px; background: var(--bernstein);
}
.knopf-schild svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.linsen-knopf:hover .knopf-schild svg, .weiter-linse:hover .knopf-schild svg { transform: translateX(4px); }

/* Mauszeiger, der auf die Linse tippt, und der Hinweis unter dem Schild */
.klick-zeiger {
  position: absolute; left: 54%; top: 54%; width: 38%; min-width: 26px; pointer-events: none;
  animation: tippen 1.8s cubic-bezier(.3, 0, .2, 1) infinite; transform-origin: 20% 15%;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .8));
}
.klick-zeiger svg { display: block; width: 100%; fill: #fff6e6; stroke: #07080b; stroke-width: 1.4; stroke-linejoin: round; }
@keyframes tippen {
  0%, 100% { transform: translate(18%, 18%) scale(1); }
  45% { transform: translate(0, 0) scale(1); }
  55% { transform: translate(0, 0) scale(.82); }
  68% { transform: translate(0, 0) scale(1); }
}
.klick-hinweis {
  position: absolute; left: calc(100% + 20px); top: calc(50% + 2.9em); white-space: nowrap;
  font-size: .6rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #fff6e6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 1), 0 0 3px rgba(0, 0, 0, .9);
}
.linsen-knopf:hover .knopf-schild, .linsen-knopf:focus-visible .knopf-schild { background: #ffd9a8; }

/* Drei Knöpfe unten */
.start-wahl {
  position: absolute; left: 50%; bottom: clamp(18px, 4.2vh, 44px); transform: translateX(-50%);
  display: flex; gap: clamp(6px, 1.2vw, 16px); width: max-content; max-width: calc(100vw - 20px);
}
.start-wahl button {
  display: flex; flex-direction: column; align-items: flex-start; gap: .35em;
  padding: .85em clamp(.85em, 1.8vw, 1.9em) .9em; min-width: clamp(98px, 15vw, 210px);
  border: 1px solid rgba(239, 231, 214, .3); border-radius: 4px;
  background: rgba(7, 8, 11, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--titel); font-size: clamp(.62rem, 1.05vw, .9rem); letter-spacing: .2em; text-transform: uppercase; text-align: left;
  transition: border-color .25s ease, background .25s ease, transform .25s ease, color .25s ease;
}
.start-wahl button small { font-family: var(--sans); font-size: .62rem; letter-spacing: .2em; color: var(--bernstein); }
.start-wahl button:hover, .start-wahl button:focus-visible {
  border-color: var(--bernstein); background: rgba(240, 160, 75, .16); transform: translateY(-3px);
}

/* ================= Kopfleiste (Seite 2 und 3) ================= */
.leiste {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: clamp(14px, 2.4vh, 26px) clamp(16px, 4vw, 54px);
}
.leiste-name { font-family: var(--titel); font-size: clamp(.78rem, 1.2vw, 1rem); letter-spacing: .28em; text-transform: uppercase; text-decoration: none; }
.leiste nav { display: flex; gap: clamp(12px, 2.4vw, 34px); }
.leiste nav a {
  font-size: clamp(.58rem, .9vw, .72rem); letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  color: rgba(239, 231, 214, .78); padding: .4em 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.leiste nav a:hover, .leiste nav a[aria-current] { color: var(--bernstein); border-color: var(--bernstein); }

/* ================= 2. HELD MIT FREISTELLER ================= */
.atelier, .ai { position: relative; min-height: 100vh; background: var(--nacht); }
.held { position: relative; height: min(68vh, 720px); min-height: 430px; overflow: hidden; background: var(--nacht); }
.held-buehne { position: absolute; inset: 0; perspective: 1300px; }
.held-neigung { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.ebene { position: absolute; inset: 0; }

.e-himmel {
  inset: -12%; transform: translateZ(-260px) scale(1.24);
  background:
    radial-gradient(ellipse 46% 52% at var(--px, 66%) 58%, rgba(240, 160, 75, .5), rgba(210, 98, 42, .2) 42%, transparent 70%),
    radial-gradient(ellipse 40% 46% at 12% 22%, rgba(79, 184, 201, .28), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(120, 70, 120, .3), transparent 70%),
    conic-gradient(from 200deg at var(--px, 66%) 62%, transparent 0 8deg, rgba(240, 160, 75, .09) 10deg 14deg, transparent 16deg 40deg, rgba(79, 184, 201, .07) 43deg 47deg, transparent 50deg 300deg, rgba(240, 160, 75, .08) 304deg 309deg, transparent 312deg),
    linear-gradient(180deg, #06070a 0%, #0c0f15 55%, #120d0b 100%);
}
.e-netz { transform: translateZ(-150px) scale(1.14); width: 100%; height: 100%; opacity: .9; }
.e-blende { transform: translateZ(-80px) scale(1.07); pointer-events: none; }
.blendenring {
  position: absolute; left: var(--bx, 50%); top: var(--by, 50%); width: var(--bg, 900px); height: var(--bg, 900px);
  transform: translate(-50%, -50%); overflow: visible; animation: drehen 120s linear infinite;
  fill: none; stroke: rgba(239, 231, 214, .2); stroke-width: 1;
}
.b-strich { stroke: rgba(240, 160, 75, .55); stroke-width: 1.4; stroke-dasharray: 2 14; }
.b-skala { stroke: rgba(79, 184, 201, .45); stroke-width: 10; stroke-dasharray: 1 26; }
.b-kreuz { stroke: rgba(240, 160, 75, .7); }
.e-sucher { transform: translateZ(-30px); inset: clamp(64px, 9vh, 96px) clamp(18px, 3.4vw, 54px) clamp(18px, 3vh, 34px); pointer-events: none; }
.ecke { position: absolute; width: 26px; height: 26px; border: 1px solid rgba(239, 231, 214, .5); }
.e1 { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.e2 { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.e3 { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.e4 { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.sucher-text { position: absolute; bottom: 8px; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(239, 231, 214, .55); }
.st-links { left: 40px; }
.st-rechts { right: 40px; display: inline-flex; align-items: center; gap: .8em; }
.st-rechts b { width: 7px; height: 7px; border-radius: 50%; background: var(--bernstein); box-shadow: 0 0 10px var(--bernstein); animation: blinken 1.6s steps(2) infinite; }
@keyframes blinken { 50% { opacity: .2; } }

.e-person { transform: translateZ(0); pointer-events: none; }
.person-kasten { position: absolute; }
.person-kasten img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; filter: drop-shadow(0 0 34px rgba(240, 160, 75, .22)) drop-shadow(-14px 0 30px rgba(79, 184, 201, .1)); }
.gelaender {
  position: absolute; left: -80%; width: 260%; top: 66.6%; height: 1.5%; min-height: 5px;
  transform: translateY(-50%) rotate(-2.1deg);
  background: linear-gradient(to bottom, rgba(255, 226, 184, .95) 0 14%, rgba(240, 160, 75, .55) 15%, rgba(240, 160, 75, .12) 100%);
  box-shadow: 0 -1px 22px rgba(240, 160, 75, .6), 0 0 70px rgba(240, 160, 75, .28);
  -webkit-mask-image: linear-gradient(to right, transparent 4%, #000 26%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 4%, #000 26%, #000 86%, transparent 100%);
}
.glas {
  position: absolute; left: -80%; width: 260%; top: 67%; bottom: 0; transform: rotate(-2.1deg); transform-origin: 50% 0;
  background: linear-gradient(to bottom, rgba(240, 160, 75, .13), rgba(79, 184, 201, .05) 45%, transparent 85%);
  -webkit-mask-image: linear-gradient(to right, transparent 8%, #000 30%, #000 84%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 8%, #000 30%, #000 84%, transparent 100%);
}
.held::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; pointer-events: none;
  background: linear-gradient(to top, var(--nacht), transparent);
}
.e-text {
  transform: translateZ(70px); inset: auto auto 0 0; top: 0;
  padding: clamp(78px, 12vh, 130px) 0 0 clamp(20px, 6vw, 96px); width: min(92vw, 640px); pointer-events: none;
}
.e-text h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, min(5.2vw, 8.4vh), 4.6rem); line-height: 1.04; letter-spacing: -.01em; margin-top: .35em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .7);
}
.e-text h2 em { color: var(--bernstein); }
.held-rollen { margin-top: 1.2em; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(239, 231, 214, .7); }
.e-text > * { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.16, 1, .3, 1); }
.angekommen .e-text > * { opacity: 1; transform: none; }
.angekommen .e-text > :nth-child(2) { transition-delay: .12s; }
.angekommen .e-text > :nth-child(3) { transition-delay: .26s; }

/* ================= Reiter ================= */
.reiter {
  position: sticky; top: 0; z-index: 15; display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: rgba(7, 8, 11, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie);
}
.reiter button {
  position: relative; display: flex; align-items: baseline; justify-content: center; gap: .9em;
  padding: clamp(16px, 2.6vh, 26px) 8px; color: rgba(239, 231, 214, .6);
  font-family: var(--titel); font-size: clamp(.7rem, 1.5vw, 1.15rem); letter-spacing: .22em; text-transform: uppercase;
  transition: color .25s ease, background .25s ease;
}
.reiter button + button { border-left: 1px solid var(--linie); }
.reiter button small { font-family: var(--sans); font-size: .62rem; letter-spacing: .2em; color: var(--bernstein); }
.reiter button::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; width: 0; height: 2px; background: var(--bernstein);
  transform: translateX(-50%); transition: width .35s cubic-bezier(.16, 1, .3, 1);
}
.reiter button:hover { color: var(--creme); background: rgba(240, 160, 75, .06); }
.reiter button[aria-selected="true"] { color: var(--creme); }
.reiter button[aria-selected="true"]::after { width: 100%; }

.feld { padding: clamp(18px, 3vw, 40px) clamp(10px, 3vw, 44px) clamp(40px, 7vw, 90px); animation: einblenden .6s ease both; }
@keyframes einblenden { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Equipment, klein */
.ausruestung {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5em 0; margin: 0 auto clamp(16px, 2.6vw, 30px);
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grau); text-align: center;
}
.ausruestung li + li::before { content: "·"; margin: 0 1.1em; color: rgba(240, 160, 75, .7); }
.ausruestung .a-marke { color: var(--bernstein); }
.ausruestung .a-marke + li::before { content: "—"; }

/* ================= Fotografie-Raster ================= */
.raster-huelle { container-type: inline-size; max-width: 1500px; margin: 0 auto; }
.raster {
  --sp: 4;
  display: grid; grid-template-columns: repeat(var(--sp), 1fr); gap: var(--luecke); grid-auto-flow: dense;
  grid-auto-rows: calc((100cqw - (var(--sp) - 1) * var(--luecke)) / var(--sp) / 1.39);
}
.kachel { position: relative; overflow: hidden; background: var(--flaeche); border-radius: 2px; }
.kachel.hoch { grid-row: span 2; }
.kachel.quer.gross { grid-column: span 2; grid-row: span 2; }
.kachel.hoch.gross { grid-column: span 2; grid-row: span 4; }
.kachel.titel { grid-column: span 2; }
.kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16, 1, .3, 1), filter .5s ease; }
.kachel.bild { cursor: zoom-in; }
.kachel.bild:hover img { transform: scale(1.045); filter: brightness(1.08); }
.kachel .nr {
  position: absolute; left: 10px; top: 8px; z-index: 2; font-size: .66rem; letter-spacing: .14em; font-weight: 600;
  color: var(--creme); text-shadow: 0 1px 8px rgba(0, 0, 0, .8); pointer-events: none;
}
.kachel.text { display: flex; flex-direction: column; justify-content: center; padding: clamp(14px, 2.4cqw, 34px); background: #0b0c10; border: 1px solid var(--linie); }
.kachel.titel h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 4.3cqw, 3.4rem); line-height: 1.02; margin: .3em 0 .35em; }
.kachel.titel p:last-child { font-size: clamp(.72rem, 1.15cqw, .9rem); color: var(--grau); max-width: 34em; }
.kachel.satz { text-align: center; align-items: center; }
.kachel.satz h3 { font-family: var(--titel); font-weight: 400; font-size: clamp(.62rem, 1.25cqw, .95rem); letter-spacing: .24em; text-transform: uppercase; line-height: 1.9; white-space: pre-line; }
.kachel.satz::after { content: ""; width: 26px; height: 1px; background: var(--bernstein); margin-top: 1em; }
@container (max-width: 900px) { .raster { --sp: 3; } }
@container (max-width: 620px) { .raster { --sp: 2; } .kachel.hoch.gross { grid-row: span 4; } }

/* Admin */
.admin-leiste {
  max-width: 1500px; margin: 0 auto 14px; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px dashed var(--bernstein); border-radius: 6px; background: rgba(240, 160, 75, .08); font-size: .84rem;
}
.admin-leiste div { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-leiste button { padding: .55em 1em; border: 1px solid rgba(239, 231, 214, .4); border-radius: 999px; font-size: .74rem; letter-spacing: .06em; }
.admin-leiste button:hover { border-color: var(--bernstein); color: var(--bernstein); }
.admin-leiste button.voll { background: var(--bernstein); border-color: var(--bernstein); color: var(--nacht); font-weight: 700; }
.admin .kachel { cursor: grab; outline: 1px dashed rgba(240, 160, 75, .5); outline-offset: -1px; }
.admin .kachel.bild:hover img { transform: none; }
.admin .kachel.zieht { opacity: .35; outline: 2px solid var(--bernstein); }
.groesse {
  position: absolute; right: 8px; top: 8px; z-index: 3; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(7, 8, 11, .8); border: 1px solid var(--bernstein); color: var(--bernstein); font-size: 1rem; line-height: 1;
  display: none; align-items: center; justify-content: center;
}
.admin .kachel.bild .groesse { display: flex; }
.groesse:hover { background: var(--bernstein); color: var(--nacht); }

/* Großansicht */
.lichtkasten {
  position: fixed; inset: 0; z-index: 80; background: rgba(4, 5, 7, .96); display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  animation: einblenden .3s ease both;
}
.lichtkasten figure { height: 100vh; height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 5vh 0; min-width: 0; }
.lichtkasten img { max-height: 84vh; max-width: 100%; object-fit: contain; box-shadow: 0 30px 90px rgba(0, 0, 0, .8); }
.lichtkasten figcaption { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--grau); text-align: center; padding: 0 10px; }
.lk-pfeil { width: clamp(44px, 7vw, 90px); height: 100%; font-size: 2.6rem; color: rgba(239, 231, 214, .6); font-family: var(--serif); }
.lk-pfeil:hover { color: var(--bernstein); }
.lk-zu { position: absolute; right: 18px; top: 12px; z-index: 2; width: 44px; height: 44px; font-size: 2rem; line-height: 1; color: rgba(239, 231, 214, .8); }
.lk-zu:hover { color: var(--bernstein); }

/* ================= Videografie ================= */
.film { max-width: 1240px; margin: 0 auto; position: relative; }
.film::before {
  content: ""; position: absolute; inset: 12% -10% -6%; z-index: 0; pointer-events: none; filter: blur(60px);
  background: radial-gradient(ellipse 50% 50% at 30% 50%, rgba(240, 160, 75, .2), transparent 70%), radial-gradient(ellipse 45% 50% at 78% 60%, rgba(79, 184, 201, .16), transparent 70%);
}
.film > * { position: relative; z-index: 1; }
.film-kopf { text-align: center; margin: clamp(10px, 2vw, 26px) 0 clamp(20px, 3vw, 40px); }
.film-kopf h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5.6vw, 4.4rem); line-height: 1.05; margin: .25em 0 .3em; }
.film-kopf h2 em { color: var(--bernstein); }
.film-text { color: var(--grau); max-width: 40em; margin: 0 auto; font-size: .95rem; }
.film-rahmen { position: relative; padding: clamp(12px, 2vw, 26px); max-width: min(100%, calc((100vh - 300px) * 1.778 + 52px)); min-width: min(100%, 520px); margin: 0 auto; }
.film-rahmen .ecke { width: clamp(18px, 3vw, 40px); height: clamp(18px, 3vw, 40px); border-color: var(--bernstein); }
.film-hud {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(239, 231, 214, .65);
}
.rec { display: inline-flex; align-items: center; gap: .8em; }
.rec b { width: 8px; height: 8px; border-radius: 50%; background: #e5462f; box-shadow: 0 0 12px #e5462f; animation: blinken 1.4s steps(2) infinite; }
.film-rahmen video { width: 100%; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 40px 120px rgba(0, 0, 0, .75), 0 0 0 1px var(--linie); }
.film-daten { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(16px, 2.4vw, 30px); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.film-daten div { padding: 16px 12px; text-align: center; }
.film-daten div + div { border-left: 1px solid var(--linie); }
.film-daten dt { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--bernstein); }
.film-daten dd { font-family: var(--serif); font-size: clamp(.95rem, 1.6vw, 1.25rem); margin-top: .2em; }

/* ================= Weiter zur AI-Seite ================= */
.weiter {
  position: relative; text-align: center; padding: clamp(60px, 11vw, 150px) 20px clamp(70px, 12vw, 160px); overflow: hidden;
  border-top: 1px solid var(--linie);
  background: radial-gradient(ellipse 50% 60% at 50% 70%, rgba(79, 184, 201, .12), transparent 70%), radial-gradient(ellipse 36% 44% at 50% 72%, rgba(240, 160, 75, .14), transparent 70%), var(--kohle);
}
.weiter h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 4.4vw, 3.6rem); line-height: 1.1; margin: .5em auto 1.1em; max-width: 16em; }
.weiter h2 em { color: var(--bernstein); }
.weiter-hinweis { margin-top: 5.2em; font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--grau); }

/* Gezeichnete Linse */
.glaslinse {
  --g: 200px; width: var(--g); height: var(--g); border-radius: 50%; position: relative; display: inline-block; flex: none;
  background:
    radial-gradient(circle at 35% 29%, rgba(255, 255, 255, .7) 0 1.6%, rgba(255, 255, 255, .12) 4%, transparent 9%),
    radial-gradient(circle at 63% 68%, rgba(79, 184, 201, .5) 0 3%, transparent 14%),
    radial-gradient(circle at 44% 40%, rgba(240, 160, 75, .34) 0 6%, transparent 22%),
    radial-gradient(circle, #010203 0 17%, #0a1a20 18% 29%, #04060a 30% 43%, #2a1c12 44% 46%, #06070a 47% 61%, #26231f 62% 65%, #0a0b0e 66% 100%);
  box-shadow: 0 0 0 2px rgba(239, 231, 214, .22), 0 0 0 calc(var(--g) * .07) #0b0c0f, 0 0 0 calc(var(--g) * .07 + 1px) rgba(239, 231, 214, .16),
    0 30px 90px rgba(0, 0, 0, .7), 0 0 110px rgba(240, 160, 75, .22);
}
.weiter-linse { --g: clamp(120px, 17vw, 190px); transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.weiter-linse:hover { transform: scale(1.06); }
.weiter-linse .puls { inset: calc(var(--g) * -.07); }
.weiter-linse .knopf-schild { left: calc(100% + var(--g) * .07 + 18px); }

.fuss {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px clamp(16px, 4vw, 54px);
  border-top: 1px solid var(--linie); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--grau); background: var(--nacht);
}
.fuss button { letter-spacing: inherit; text-transform: inherit; font-size: inherit; color: var(--grau); text-decoration: underline; text-underline-offset: 4px; }
.fuss button:hover { color: var(--bernstein); }

/* ================= 3. AI AUTOMATION ================= */
.ai-held {
  position: relative; min-height: min(74vh, 760px); display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(20px, 4vw, 70px);
  padding: clamp(84px, 12vh, 130px) clamp(20px, 6vw, 96px) clamp(56px, 8vh, 80px); overflow: hidden;
  background: radial-gradient(ellipse 44% 54% at 74% 50%, rgba(79, 184, 201, .2), transparent 70%), radial-gradient(ellipse 30% 40% at 76% 52%, rgba(240, 160, 75, .2), transparent 70%), linear-gradient(180deg, #06070a, #0b0e13 60%, var(--nacht));
}
.ai-netz { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }
.ai-held-text { position: relative; z-index: 2; }
.ai-held-text h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, min(4.9vw, 7.6vh), 4.3rem); line-height: 1.06; margin: .45em 0 .5em; }
.ai-held-text h2 em { color: var(--bernstein); }
.ai-unter { color: rgba(239, 231, 214, .78); max-width: 34em; margin-bottom: 1.5em; font-size: clamp(.95rem, 1.25vw, 1.1rem); }
.ai-optik { position: relative; z-index: 2; aspect-ratio: 1; width: min(100%, 440px, 52vh); justify-self: center; display: grid; place-items: center; }
.ai-optik .glaslinse { --g: clamp(130px, min(19vw, 24vh), 240px); }
.umlauf-ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px dashed rgba(239, 231, 214, .28); animation: drehen 80s linear infinite; }
.umlauf-ring::after { content: ""; position: absolute; inset: 15%; border-radius: 50%; border: 1px solid rgba(79, 184, 201, .22); }
.umlauf { position: absolute; inset: 4%; animation: drehen 36s linear infinite; }
.chip {
  position: absolute; left: 50%; top: 50%; padding: .6em 1.1em; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(240, 160, 75, .7); background: rgba(7, 8, 11, .82); color: var(--creme);
  font-size: clamp(.56rem, .9vw, .72rem); letter-spacing: .22em; text-transform: uppercase;
  box-shadow: 0 0 26px rgba(240, 160, 75, .25);
}
.chip::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--bernstein); margin-right: .8em; box-shadow: 0 0 10px var(--bernstein); vertical-align: middle; }
/* Die Chips sitzen auf dem Ring und drehen sich gegen, damit die Schrift gerade bleibt. */
.c1 { --w: -90deg; } .c2 { --w: 30deg; } .c3 { --w: 150deg; }
.chip { transform: translate(-50%, -50%) rotate(var(--w)) translateX(var(--radius, 220px)) rotate(calc(-1 * var(--w))); }
.chip { animation: gegen 36s linear infinite; }
@keyframes gegen {
  from { transform: translate(-50%, -50%) rotate(var(--w)) translateX(var(--radius, 220px)) rotate(calc(-1 * var(--w))); }
  to   { transform: translate(-50%, -50%) rotate(var(--w)) translateX(var(--radius, 220px)) rotate(calc(-1 * var(--w) - 360deg)); }
}

.scroll-zeichen {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .6rem; letter-spacing: .4em; text-transform: uppercase; color: rgba(239, 231, 214, .75); padding-left: .4em;
}
.scroll-zeichen i { width: 1px; height: 34px; background: linear-gradient(var(--bernstein), transparent); animation: laufen 2s ease-in-out infinite; transform-origin: top; }
.scroll-zeichen:hover { color: var(--bernstein); }
#aiPipeline { padding-top: clamp(30px, 4.5vw, 60px); border-top: 0; }
.ai-block { max-width: 1240px; margin: 0 auto; padding: clamp(50px, 8vw, 110px) clamp(20px, 5vw, 60px); border-top: 1px solid var(--linie); }
.ai-block h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.8vw, 3.2rem); line-height: 1.1; margin: .5em 0 .6em; max-width: 18em; }
.ai-block h3 em { color: var(--bernstein); }
.ai-absatz { color: rgba(239, 231, 214, .78); max-width: 46em; font-size: clamp(.95rem, 1.2vw, 1.08rem); }

.ablauf { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: clamp(34px, 5vw, 64px); counter-reset: s; }
.ablauf::before {
  content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 160, 75, .7) 12%, rgba(79, 184, 201, .7) 88%, transparent);
}
.ablauf::after {
  content: ""; position: absolute; top: 20px; left: 0; width: 60px; height: 7px; border-radius: 4px;
  background: linear-gradient(90deg, transparent, #ffe2b8); filter: blur(1px); animation: fliessen 4.5s linear infinite;
}
@keyframes fliessen { from { left: 0; opacity: 0; } 10%, 90% { opacity: 1; } to { left: calc(100% - 60px); opacity: 0; } }
.ablauf li { position: relative; padding-top: 62px; }
.ablauf li small {
  position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  background: var(--nacht); border: 1px solid var(--bernstein); color: var(--bernstein); font-size: .68rem; letter-spacing: .1em;
  box-shadow: 0 0 22px rgba(240, 160, 75, .3);
}
.ablauf li b { display: block; font-family: var(--titel); font-weight: 500; font-size: .92rem; letter-spacing: .2em; text-transform: uppercase; }
.ablauf li span { display: block; color: var(--grau); font-size: .86rem; margin-top: .5em; line-height: 1.5; }

.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(24px, 3.4vw, 44px); }
.karten article {
  position: relative; padding: clamp(22px, 2.8vw, 38px); border: 1px solid var(--linie); border-radius: 6px; overflow: hidden;
  background: linear-gradient(160deg, rgba(240, 160, 75, .07), rgba(20, 23, 28, .6) 45%);
  transition: border-color .3s ease, transform .3s ease;
}
.karten article:hover { border-color: rgba(240, 160, 75, .7); transform: translateY(-4px); }
.karten small { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: rgba(240, 160, 75, .85); }
.karten h4 { font-family: var(--titel); font-weight: 500; font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; margin: 1em 0 .7em; }
.karten p { color: var(--grau); font-size: .92rem; }
.formate { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.formate span { padding: .7em 1.3em; border: 1px solid rgba(79, 184, 201, .5); border-radius: 999px; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--creme); }
.ruf { margin-top: clamp(40px, 6vw, 80px); text-align: center; }
.ruf > p:first-child { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.8vw, 2.2rem); margin-bottom: 1em; }
.ruf-hinweis { margin-top: 1em; color: var(--grau); font-size: .84rem; }

/* ================= Linsenfahrt ================= */
.tunnel { position: fixed; inset: 0; z-index: 50; pointer-events: none; overflow: hidden; visibility: hidden; }
.tunnel.an { visibility: visible; pointer-events: auto; }
.t-ring, .t-scheibe { position: absolute; left: var(--x, 50%); top: var(--y, 50%); width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 50%; transform: scale(0); will-change: transform, opacity; }
.t-ring {
  background: radial-gradient(circle, transparent 0 56%, rgba(5, 6, 8, .96) 58% 66%, rgba(240, 160, 75, .55) 67% 67.8%, rgba(5, 6, 8, .9) 69% 72%, transparent 74%);
}
.t-ring:nth-child(even) {
  background: radial-gradient(circle, transparent 0 60%, rgba(5, 6, 8, .96) 62% 68%, rgba(79, 184, 201, .5) 69% 69.7%, rgba(5, 6, 8, .9) 71% 73%, transparent 75%);
}
.t-scheibe { background: radial-gradient(circle, #000 0 62%, rgba(0, 0, 0, .85) 66%, transparent 71%); }
.ansicht.blendet { animation: einblenden .5s ease both; }

/* ================= Kleine Bildschirme ================= */
@media (max-width: 820px) {
  .knopf-schild { font-size: .58rem; letter-spacing: .18em; padding: .65em .9em; left: calc(100% + 12px); }
  .klick-hinweis { left: calc(100% + 14px); font-size: .54rem; letter-spacing: .24em; }
  .knopf-schild::before { width: 12px; }
  .start-wahl button { align-items: center; text-align: center; padding: .8em .5em; flex: 1; min-width: 0; letter-spacing: .12em; }
  .start-wahl { width: calc(100vw - 20px); }
  .leiste nav a:nth-child(-n+2) { display: none; }
  .start-titel p { gap: .55em 1.5em; max-width: 21em; margin-left: auto; margin-right: auto; }
  .start-titel p span + span::before { display: none; }
  .ausruestung { gap: .35em 1.4em; }
  .ausruestung li + li::before, .ausruestung .a-marke + li::before { display: none; }
  .ausruestung .a-marke { flex-basis: 100%; }
  .umlauf, .umlauf-ring { inset: 13%; }
  .held { height: min(68vh, 620px); min-height: 400px; }
  .held-rollen { display: none; }
  .e-text { padding-top: clamp(84px, 11vh, 110px); }
  .e-sucher { inset: 64px 12px 16px; }
  .e-text h2 { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .e-sucher .sucher-text { display: none; }
  .reiter button { flex-direction: column; align-items: center; gap: .3em; letter-spacing: .12em; padding: 14px 4px; }
  .weiter-linse .knopf-schild { left: 50%; top: calc(100% + var(--g) * .07 + 18px); transform: translateX(-50%); }
  .weiter-linse .knopf-schild::before { display: none; }
  .weiter-hinweis { margin-top: 7.6em; }
  .ai-held { grid-template-columns: 1fr; padding-top: 76px; gap: 6px; min-height: 0; }
  .ai-optik { width: min(64vw, 34vh, 300px); order: -1; }
  .ai-unter { margin-bottom: 1.2em; }
  .ablauf { grid-template-columns: 1fr; gap: 0; }
  .ablauf::before { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, rgba(240, 160, 75, .7), rgba(79, 184, 201, .7)); }
  .ablauf::after { display: none; }
  .ablauf li { padding: 6px 0 26px 66px; min-height: 60px; }
  .karten { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .puls, .fokusring, .klick-zeiger { animation: none; }
}


/* ================= Kontakt (WhatsApp) ================= */
.wa-icon, .unten svg { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wa-knopf { background: #25d366; border-color: #25d366; color: #04130a; font-size: .78rem; padding: 1.05em 1.8em; }
.wa-knopf:hover { background: transparent; color: #25d366; }
.kontakt {
  text-align: center; padding: clamp(56px, 9vw, 120px) 20px; border-top: 1px solid var(--linie);
  background: radial-gradient(ellipse 50% 70% at 50% 100%, rgba(240, 160, 75, .1), transparent 70%), var(--nacht);
}
.kontakt h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 4.2vw, 3.4rem); line-height: 1.1; margin: .5em auto .9em; max-width: 15em; }
.kontakt h2 em { color: var(--bernstein); }
.kontakt-nr { margin-top: 1.3em; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grau); }
.kontakt-nr a { color: var(--creme); text-decoration: none; border-bottom: 1px solid rgba(239, 231, 214, .35); padding-bottom: 2px; white-space: nowrap; }
.kontakt-nr a:hover { color: #25d366; border-color: #25d366; }
.fuss a { color: var(--grau); text-decoration: none; }
.fuss a:hover { color: #25d366; }
.leiste nav a.wa { color: #25d366; }
.leiste nav a.wa:hover { border-color: #25d366; color: #25d366; }
.nur-finger { display: none; }
@media (hover: none) { .nur-maus { display: none; } .nur-finger { display: inline; } }

/* ================= AI-Linse: Daten fließen in die Optik ================= */
.strahl {
  position: absolute; left: 50%; top: 50%; height: 1px; width: var(--radius, 220px); transform-origin: 0 50%; transform: rotate(var(--w));
  background: linear-gradient(90deg, transparent 0 32%, rgba(240, 160, 75, .12) 40%, rgba(240, 160, 75, .65) 100%);
}
.strahl::after {
  content: ""; position: absolute; top: -3px; width: 30px; height: 7px; border-radius: 4px;
  background: linear-gradient(90deg, #fff1d6, rgba(240, 160, 75, .6) 40%, transparent); filter: blur(.7px);
  animation: einwaerts 2.4s cubic-bezier(.5, 0, .8, .45) infinite;
}
.strahl.c2::after { animation-delay: .8s; }
.strahl.c3::after { animation-delay: 1.6s; }
@keyframes einwaerts { from { left: calc(100% - 34px); opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } to { left: 30%; opacity: 0; } }
.linsen-ki { position: absolute; inset: 5%; width: 90%; height: 90%; border-radius: 50%; mix-blend-mode: screen; pointer-events: none; }
.ai-optik .glaslinse { box-shadow: 0 0 0 2px rgba(239, 231, 214, .22), 0 0 0 calc(var(--g) * .07) #0b0c0f, 0 0 0 calc(var(--g) * .07 + 1px) rgba(239, 231, 214, .16),
  0 30px 90px rgba(0, 0, 0, .7), 0 0 120px rgba(240, 160, 75, .3), 0 0 60px rgba(79, 184, 201, .22); }
/* Anamorphotischer Lichtstreifen, wie bei Kinoobjektiven */
.linsen-flare {
  position: absolute; left: 50%; top: 50%; width: 230%; height: 2px; transform: translate(-50%, -50%); pointer-events: none; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(79, 184, 201, .0) 12%, rgba(150, 225, 245, .95) 50%, rgba(79, 184, 201, 0) 88%, transparent);
  filter: blur(.6px); animation: flackern 5s ease-in-out infinite;
}
.linsen-flare::before {
  content: ""; position: absolute; left: 20%; right: 20%; top: -9px; height: 20px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(120, 215, 240, .42), transparent 70%); filter: blur(7px);
}
.linsen-flare::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%, -50%);
  background: #fff; box-shadow: 0 0 22px 8px rgba(160, 230, 250, .75), 0 0 60px 22px rgba(240, 160, 75, .35);
}
@keyframes flackern { 0%, 100% { opacity: .75; width: 210%; } 50% { opacity: 1; width: 245%; } }

/* ================= Navigation unten (nur Handy) ================= */
.unten { display: none; }

/* ================= Handy: Daumenzone, Lesbarkeit, Ladezeit ================= */
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.start-wahl button:active, .reiter button:active, .knopf:active, .unten > *:active { transform: scale(.97); }
@supports (height: 100svh) {
  .held { height: min(68svh, 720px); }
  .ai-held { min-height: min(74svh, 760px); }
}
@media (max-width: 820px) {
  .korn { display: none; }                               /* spart Rechenzeit beim Scrollen */
  /* Navigation unten statt oben: mit dem Daumen erreichbar */
  .unten {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); gap: 4px;
    background: rgba(7, 8, 11, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--linie);
    transition: transform .3s ease;
  }
  .zeigt-start .unten { display: none; }
  .unten > * {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 52px; border-radius: 10px;
    font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: rgba(239, 231, 214, .66);
  }
  .unten svg { width: 22px; height: 22px; }
  .unten [aria-current] { color: var(--bernstein); background: rgba(240, 160, 75, .1); }
  .unten-wa { color: #25d366 !important; }
  body:not(.zeigt-start) .fuss { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .leiste nav { display: none; }
  .leiste { padding-top: calc(14px + env(safe-area-inset-top)); }
  .reiter { position: static; }
  .reiter button { min-height: 60px; font-size: .78rem; }
  .reiter button small { font-size: .68rem; }

  /* Lesbare Mindestgrößen */
  .marke { font-size: .74rem; letter-spacing: .26em; }
  .start-titel p { font-size: .72rem; letter-spacing: .26em; }
  .start-wahl { bottom: calc(14px + env(safe-area-inset-bottom)); }
  .start-wahl button { min-height: 60px; font-size: .7rem; justify-content: center; }
  .start-wahl button small { font-size: .68rem; }
  .knopf-schild { font-size: .68rem; padding: .8em 1em; }
  .klick-hinweis { font-size: .66rem; top: calc(50% + 3.2em); }
  .ausruestung { font-size: .72rem; letter-spacing: .14em; line-height: 1.5; }
  .film-hud, .weiter-hinweis, .fuss, .kontakt-nr { font-size: .72rem; }
  .film-text, .ai-absatz, .ai-unter, .karten p, .ablauf li span { font-size: 1rem; }
  .film-daten dt { font-size: .68rem; }
  .formate span { font-size: .72rem; padding: .85em 1.2em; }
  .knopf { font-size: .8rem; padding: 1.15em 1.7em; min-height: 52px; }
  .wa-knopf { width: 100%; max-width: 340px; justify-content: center; }
  .fuss { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .fuss button, .fuss a { padding: 8px 4px; }
  .feld { padding-left: 8px; padding-right: 8px; }
  .raster { --luecke: 4px; }
  .film-rahmen { padding: 10px 4px; min-width: 0; }
  .scroll-zeichen { bottom: 4px; min-height: 48px; }
  /* Großansicht: Pfeile unten in Daumenreichweite, wischen geht auch */
  .lichtkasten { grid-template-columns: 1fr; }
  .lichtkasten figure { padding: 60px 0 96px; }
  .lichtkasten img { max-height: 70vh; }
  .lk-pfeil { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); width: 64px; height: 56px; border: 1px solid var(--linie); border-radius: 12px; background: rgba(20, 23, 28, .8); }
  .lk-vor { left: calc(50% - 76px); } .lk-nach { left: calc(50% + 12px); }
  .lk-zu { width: 52px; height: 52px; top: calc(8px + env(safe-area-inset-top)); right: 8px; }
  .linsen-flare { width: 170%; }
  @keyframes flackern { 0%, 100% { opacity: .75; width: 160%; } 50% { opacity: 1; width: 180%; } }
}
@media (prefers-reduced-motion: reduce) { .strahl::after, .linsen-flare { animation: none; } }

/* ================= Handy: Feinschliff nach dem Test ================= */
html { overflow-x: clip; }
.feld, .weiter, .kontakt { overflow-x: clip; }
@media (max-width: 820px) {
  /* Die Linse sitzt mittig: Das Schild steht deshalb unter ihr statt daneben. */
  .kompakt .knopf-schild { left: 50%; top: calc(100% + 1px); transform: translateX(-50%); padding: .62em 1em; }
  .kompakt .knopf-schild::before { display: none; }
  .kompakt .linsen-knopf .klick-hinweis { display: none; }
  .start-wahl { bottom: calc(10px + env(safe-area-inset-bottom)); }
  .start-wahl button { min-height: 54px; padding: .5em .4em; gap: .2em; }
  /* Tippflächen mindestens 44 px hoch */
  .leiste-name { padding: 12px 0; display: inline-block; }
  .kontakt-nr a { display: inline-block; padding: 12px 2px 4px; }
  .fuss button, .fuss a { min-height: 44px; display: inline-flex; align-items: center; }
  /* AI-Linse: Platz für die drei Formate rund um das Glas */
  .ai-optik { width: min(78vw, 36vh, 320px); }
  .ai-optik .glaslinse { --g: clamp(88px, 26vw, 110px); }
  .umlauf, .umlauf-ring { inset: 8%; }
}
@media (max-width: 820px) and (max-height: 700px) {
  .start-wahl button small { display: none; }
  .start-wahl button { min-height: 46px; }
}


/* ================= AI-Seite: Versprechen 40 h -> 4 h ================= */
.ai-held-text h2 em { white-space: nowrap; }
.ai-unter { margin-bottom: 1.3em; }
.vergleich { display: grid; gap: 10px; max-width: 30em; margin-bottom: 1.7em; }
.v-zeile { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 14px; row-gap: 5px; }
.v-zeile span { grid-column: 1 / -1; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grau); }
.v-zeile i { height: 10px; border-radius: 5px; transform-origin: left; animation: wachsen 1.2s cubic-bezier(.16, 1, .3, 1) both .5s; }
.v-alt i { width: 100%; background: linear-gradient(90deg, rgba(239, 231, 214, .16), rgba(239, 231, 214, .38)); }
.v-neu i { width: 10%; background: linear-gradient(90deg, var(--glut), var(--bernstein)); box-shadow: 0 0 18px rgba(240, 160, 75, .7); }
.v-zeile b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: .9; min-width: 3.4em; text-align: right; }
.v-alt b { color: rgba(239, 231, 214, .6); }
.v-neu b { color: var(--bernstein); }
.v-neu span { color: var(--creme); }
@keyframes wachsen { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.knopf-zeile { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf.leer { background: transparent; color: var(--creme); border-color: rgba(239, 231, 214, .4); }
.knopf.leer:hover { border-color: var(--bernstein); color: var(--bernstein); }
.ai-klein { margin-top: 1.4em; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--grau); }
@media (max-width: 820px) {
  .ai-optik { width: min(60vw, 27vh, 240px); }
  .ai-optik .glaslinse { --g: clamp(76px, 21vw, 92px); }
  .knopf-zeile .knopf { flex: 1 1 100%; justify-content: center; }
  .ai-klein { font-size: .72rem; }
  .scroll-zeichen { display: none; }
}


/* ================= Kontakt: Knopf auf der Startseite und eigene Seite ================= */
.start-kontakt {
  position: absolute; top: clamp(14px, 2.6vh, 28px); right: clamp(14px, 3vw, 46px); z-index: 4;
  padding: .8em 1.4em; min-height: 44px; border: 1px solid rgba(239, 231, 214, .45); border-radius: 999px;
  background: rgba(7, 8, 11, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--creme);
  transition: border-color .25s ease, color .25s ease, opacity .35s ease;
}
.start-kontakt:hover, .start-kontakt:focus-visible { border-color: var(--bernstein); color: var(--bernstein); }
.faehrt .start-kontakt { opacity: 0; }

.kontaktseite { position: relative; min-height: 100vh; display: flex; flex-direction: column; background: var(--nacht); }
@supports (height: 100svh) { .kontaktseite { min-height: 100svh; } }
.kontakt-buehne { position: relative; flex: 1; display: grid; place-items: center; overflow: hidden; padding: clamp(96px, 13vh, 150px) 20px clamp(56px, 8vh, 96px); }
.kb-hinten { position: absolute; inset: -10%; background: url("medien/start-unscharf.jpg") center 70% / cover no-repeat; filter: blur(40px) brightness(.38) saturate(1.3); }
.kontakt-buehne::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 55% 60% at 50% 45%, rgba(7, 8, 11, .2), rgba(7, 8, 11, .9) 100%); }
.kb-inhalt { position: relative; z-index: 2; text-align: center; max-width: 780px; display: flex; flex-direction: column; align-items: center; }
.kontakt-linse { --g: clamp(86px, 11vw, 136px); margin-bottom: clamp(26px, 4.5vh, 46px); }
.kb-inhalt h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, min(5.4vw, 8vh), 4.4rem); line-height: 1.06; margin: .4em 0 .45em; }
.kb-inhalt h2 em { color: var(--bernstein); }
.kb-text { color: rgba(239, 231, 214, .8); max-width: 30em; margin-bottom: 1.5em; font-size: clamp(.95rem, 1.2vw, 1.08rem); }
.kb-nummer { font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 2.8rem); letter-spacing: .05em; color: var(--creme); text-decoration: none; margin-bottom: .75em; white-space: nowrap; padding: 4px 0; }
.kb-nummer:hover { color: #25d366; }
.kb-klein { margin-top: 1.6em; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--grau); }
@media (max-width: 820px) {
  .start-kontakt { font-size: .66rem; padding: .7em 1.1em; }
  .kb-klein { font-size: .7rem; line-height: 1.7; }
  .unten-kontakt { color: #25d366 !important; }
}
@media (max-width: 820px) { .kompakt .start-titel { top: max(80px, 9.5vh); } }


/* ================= Impressum und Datenschutz ================= */
.recht-links a { color: var(--grau); text-decoration: none; padding: 6px 2px; }
.recht-links a:hover, .recht-links a[aria-current] { color: var(--bernstein); }
.start-recht {
  position: absolute; right: clamp(14px, 3vw, 46px); bottom: clamp(10px, 2vh, 20px); z-index: 3; display: flex; gap: 16px;
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; transition: opacity .35s ease;
}
.start-recht a { color: rgba(239, 231, 214, .62); text-decoration: none; padding: 6px 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.start-recht a:hover { color: var(--bernstein); }
.faehrt .start-recht { opacity: 0; }
.recht-seite .leiste { position: static; }
.recht-seite .leiste nav { display: flex !important; }
.recht { max-width: 760px; margin: 0 auto; padding: clamp(30px, 6vh, 70px) 20px clamp(60px, 9vh, 110px); }
.recht h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: .3em 0 .8em; }
.recht h2 { font-family: var(--titel); font-weight: 500; font-size: .86rem; letter-spacing: .2em; text-transform: uppercase; color: var(--creme); margin: 2.2em 0 .7em; }
.recht p { color: rgba(239, 231, 214, .82); margin-bottom: .9em; font-size: 1rem; line-height: 1.7; }
.recht a { color: var(--bernstein); text-underline-offset: 3px; }
.recht strong { color: var(--creme); }
.recht-stand { margin-top: 3em; font-size: .8rem !important; color: var(--grau) !important; }
mark.platzhalter { background: rgba(240, 160, 75, .18); color: #ffd9a8; border: 1px dashed rgba(240, 160, 75, .8); border-radius: 3px; padding: 0 .3em; }
@media (max-width: 820px) {
  /* Handy: unten ist kein Platz (Linse und Knöpfe), deshalb oben links gegenüber von „Contact me“ */
  .start-recht { left: 14px; right: auto; bottom: auto; top: calc(clamp(14px, 2.6vh, 28px) + env(safe-area-inset-top)); min-height: 44px; align-items: center; gap: 14px; font-size: .58rem; letter-spacing: .14em; }
  .recht-seite .fuss { padding-bottom: 28px; }
}


/* =====================================================================
   NEUBAU 28.11.: Kopfbild als Filmbild, AI Automation als Reiter
   ===================================================================== */
:root { --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace; --balken: clamp(16px, 4vh, 42px); }

/* ---------- Kopfbild ---------- */
.held { height: clamp(460px, 78vh, 900px); min-height: 0; background: #05060a; }
@supports (height: 100svh) { .held { height: clamp(460px, 78svh, 900px); } }
.held::after { display: none; }
.held-buehne { perspective: none; }
.h-tiefe { position: absolute; inset: 0; overflow: hidden; transform-origin: 50% 40%; }
.h-platte, .h-person { position: absolute; max-width: none; will-change: transform; user-select: none; -webkit-user-drag: none; }
.h-platte { transform: scale(1.06); filter: saturate(1.05) contrast(1.06) brightness(.9); }
.h-person { filter: contrast(1.04) saturate(1.02); }
.angekommen .h-tiefe { animation: zufahrt 22s cubic-bezier(.3, .1, .3, 1) both; }
@keyframes zufahrt { from { transform: scale(1); } to { transform: scale(1.075); } }
.h-grade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(5, 6, 10, .78), rgba(5, 6, 10, 0) 24%),
    linear-gradient(to top, #07080b 0%, rgba(7, 8, 11, .86) 15%, rgba(7, 8, 11, .25) 42%, rgba(7, 8, 11, 0) 60%),
    linear-gradient(to right, rgba(5, 6, 10, .72), rgba(5, 6, 10, .2) 34%, rgba(5, 6, 10, 0) 50%),
    radial-gradient(ellipse 80% 90% at 52% 40%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}
/* Kino-Balken: fahren beim Ankommen ins Bild */
.h-balken { position: absolute; left: 0; right: 0; height: 0; background: #000; z-index: 3; pointer-events: none; transition: height 1.6s cubic-bezier(.16, 1, .3, 1) .15s; }
.h-oben { top: 0; } .h-unten { bottom: 0; }
.angekommen .h-balken { height: var(--balken); }
.h-credit { display: none; }
.h-titel {
  position: absolute; z-index: 4; left: clamp(20px, 6vw, 96px); bottom: calc(var(--balken) + clamp(26px, 6vh, 70px));
  max-width: min(92vw, 820px); opacity: calc(1 - var(--weg, 0)); transform: translateY(calc(var(--weg, 0) * -40px));
}
.h-titel h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, min(7.2vw, 11vh), 7.2rem); line-height: .96; letter-spacing: -.02em; margin-top: .28em; text-shadow: 0 8px 50px rgba(0, 0, 0, .55); }
.h-titel h2 em { color: var(--bernstein); }
.zeile { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.zeile > * { display: inline-block; transform: translateY(108%); transition: transform 1.3s cubic-bezier(.16, 1, .3, 1) .25s; }
.angekommen .h-titel .zeile > *, .zl-start .ai-text .zeile > * { transform: none; }
.angekommen .h-titel .zeile:nth-child(2) > *, .zl-start .ai-text .zeile:nth-child(2) > * { transition-delay: .4s; }
.h-titel .marke span, .ai-text .marke span { display: inline-block; opacity: 0; transform: translateY(12px); transition: opacity 1s ease .1s, transform 1s cubic-bezier(.16, 1, .3, 1) .1s; }
.angekommen .h-titel .marke span, .zl-start .ai-text .marke span { opacity: 1; transform: none; }
.h-tc {
  position: absolute; z-index: 4; right: clamp(20px, 4vw, 56px); bottom: calc(var(--balken) + 20px); display: flex; gap: 18px;
  font: 500 .6rem/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: rgba(239, 231, 214, .55); opacity: 0; transition: opacity 1.2s ease 1s;
}
.angekommen .h-tc { opacity: calc(1 - var(--weg, 0)); }
.h-tc span + span::before { content: "/"; margin-right: 18px; color: rgba(240, 160, 75, .75); }

/* ---------- AI Automation: Bühne mit Kamera und Zeitleiste ---------- */
.feld-ai { padding: 0; }
.feld-ai .ruf { display: none; }
.ai-buehne {
  position: relative; overflow: hidden; background: #040405; min-height: clamp(640px, 94vh, 960px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); grid-template-rows: 1fr auto; row-gap: clamp(24px, 5vh, 56px);
  padding: clamp(60px, 10vh, 120px) clamp(20px, 6vw, 96px) clamp(40px, 7vh, 84px);
  border-bottom: 1px solid var(--linie);
}
.ai-kamera { position: absolute; top: 0; bottom: 0; right: 0; width: min(48vw, 820px); pointer-events: none; opacity: 0; transform: translateX(5%) scale(1.04); filter: brightness(.3); transition: opacity 1.6s ease, transform 2.4s cubic-bezier(.16, 1, .3, 1), filter 2.4s ease; }
.zl-start .ai-kamera { opacity: 1; transform: none; filter: brightness(1); }
.ai-kamera img { position: absolute; right: 0; top: 50%; height: 104%; width: auto; max-width: none; transform: translateY(-50%); }
.ai-kamera::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, #040405 0%, rgba(4, 4, 5, .85) 18%, rgba(4, 4, 5, 0) 52%), linear-gradient(to top, #040405 0%, rgba(4, 4, 5, 0) 28%), linear-gradient(to bottom, #040405 0%, rgba(4, 4, 5, 0) 16%);
}
/* Ein einziger Lichtreflex wandert über das Objektiv */
.ai-glanz { position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .16) 47%, rgba(255, 255, 255, .02) 53%, transparent 60%); transform: translateX(-60%); mix-blend-mode: screen; }
.zl-start .ai-glanz { animation: glanz 2.6s cubic-bezier(.5, 0, .3, 1) .9s both; }
@keyframes glanz { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
.ai-kabel { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.ai-kabel path { fill: none; stroke: var(--bernstein); stroke-width: 1.2; stroke-dasharray: var(--kabel, 1000); stroke-dashoffset: var(--kabel, 1000); opacity: .85; transition: stroke-dashoffset 1.1s cubic-bezier(.65, 0, .35, 1); filter: drop-shadow(0 0 6px rgba(240, 160, 75, .6)); }
.zl-import .ai-kabel path { stroke-dashoffset: 0; }
.ai-text { position: relative; z-index: 3; grid-column: 1; grid-row: 1; align-self: center; max-width: 640px; }
.ai-text h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, min(5.6vw, 9vh), 5.6rem); line-height: .98; letter-spacing: -.02em; margin: .3em 0 .45em; }
.ai-text h2 em { color: var(--bernstein); }
.ai-text .ai-unter, .ai-text .knopf-zeile { opacity: 0; transform: translateY(14px); transition: opacity 1s ease .7s, transform 1s cubic-bezier(.16, 1, .3, 1) .7s; }
.ai-text .knopf-zeile { transition-delay: .85s; }
.zl-start .ai-text .ai-unter, .zl-start .ai-text .knopf-zeile { opacity: 1; transform: none; }

.zeitleiste { position: relative; z-index: 3; grid-column: 1; grid-row: 2; margin: 0; width: 100%; max-width: 780px; opacity: 0; transition: opacity .8s ease .6s; }
.zl-start .zeitleiste { opacity: 1; }
.zl-kopf { display: flex; align-items: baseline; gap: 18px; margin-bottom: 12px; }
.zl-tc { font: 400 clamp(1.5rem, 2.8vw, 2.4rem)/1 var(--mono); letter-spacing: .04em; color: var(--creme); font-variant-numeric: tabular-nums; min-width: 6.2em; }
.zl-fertig .zl-tc { color: var(--bernstein); }
.zl-status { flex: 1; font: 500 .64rem/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--grau); }
.zl-nochmal { font: 500 .6rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--grau); border: 1px solid var(--linie); border-radius: 999px; padding: .9em 1.2em; opacity: 0; transition: opacity .6s, color .2s, border-color .2s; }
.zl-fertig .zl-nochmal { opacity: 1; }
.zl-nochmal:hover { color: var(--bernstein); border-color: var(--bernstein); }
.zl-flaeche {
  position: relative; padding: 10px 0 10px 42px; border-top: 1px solid rgba(239, 231, 214, .16); border-bottom: 1px solid rgba(239, 231, 214, .16);
  background-image: repeating-linear-gradient(to right, rgba(239, 231, 214, .07) 0 1px, transparent 1px 64px); background-position: 42px 0;
}
.zl-spur { position: relative; height: clamp(30px, 4.4vh, 44px); }
.zl-spur + .zl-spur { margin-top: 5px; }
.zl-spur b { position: absolute; left: -42px; top: 50%; transform: translateY(-50%); font: 600 .58rem/1 var(--mono); letter-spacing: .14em; color: var(--grau); }
.zl-bahn { position: absolute; inset: 0; }
.zl-clip { position: absolute; top: 0; bottom: 0; border-radius: 2px; background: #1d2026 center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); filter: grayscale(1) brightness(.62) contrast(1.15); transition: filter .6s ease, box-shadow .6s ease; }
.zl-ton .zl-clip {
  background-color: #101417; background-size: 46px 100%; background-repeat: repeat-x; background-position: left center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='40' viewBox='0 0 46 40'%3E%3Cg fill='%23a09a8e'%3E%3Crect x='1' y='16' width='2' height='8'/%3E%3Crect x='5' y='10' width='2' height='20'/%3E%3Crect x='9' y='14' width='2' height='12'/%3E%3Crect x='13' y='6' width='2' height='28'/%3E%3Crect x='17' y='12' width='2' height='16'/%3E%3Crect x='21' y='17' width='2' height='6'/%3E%3Crect x='25' y='9' width='2' height='22'/%3E%3Crect x='29' y='13' width='2' height='14'/%3E%3Crect x='33' y='4' width='2' height='32'/%3E%3Crect x='37' y='15' width='2' height='10'/%3E%3Crect x='41' y='11' width='2' height='18'/%3E%3C/g%3E%3C/svg%3E");
  filter: brightness(.8);
}
.zl-clip.behalten { filter: none; box-shadow: inset 0 0 0 1px rgba(240, 160, 75, .95), 0 0 22px rgba(240, 160, 75, .3); }
.zl-ton .zl-clip.behalten { background-color: rgba(240, 160, 75, .2); }
.zl-leser { position: absolute; top: -12px; bottom: -12px; width: 2px; margin-left: -1px; background: var(--bernstein); box-shadow: 0 0 16px rgba(240, 160, 75, .95); opacity: 0; transition: opacity .3s; z-index: 2; pointer-events: none; }
.zl-leser::before { content: ""; position: absolute; top: -5px; left: 50%; width: 11px; height: 11px; background: var(--bernstein); transform: translateX(-50%) rotate(45deg); }
.zl-geist { position: absolute; top: 6px; bottom: 6px; right: 0; border: 1px dashed rgba(239, 231, 214, .28); border-radius: 3px; opacity: 0; transition: opacity 1s ease .3s; pointer-events: none; }
.zl-geist span { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font: 500 .6rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(239, 231, 214, .45); white-space: nowrap; }
.zl-fertig .zl-geist { opacity: 1; }
.zl-fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 12px; font: 500 .6rem/1.5 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--grau); }
.zl-ziel { color: var(--bernstein); opacity: 0; transition: opacity .8s ease .4s; }
.zl-fertig .zl-ziel { opacity: 1; }

@media (max-width: 820px) {
  .held { height: clamp(420px, 70svh, 640px); }
  .h-titel { bottom: calc(var(--balken) + 22px); }
  .h-titel h2 { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .h-tc { display: none; }
  .h-grade { background: linear-gradient(to bottom, rgba(5, 6, 10, .75), rgba(5, 6, 10, 0) 26%), linear-gradient(to top, #07080b 0%, rgba(7, 8, 11, .9) 22%, rgba(7, 8, 11, .2) 50%, rgba(7, 8, 11, 0) 64%); }
  .ai-buehne { grid-template-columns: 1fr; grid-template-rows: auto auto; padding-top: min(52vh, 420px); min-height: 0; row-gap: 34px; }
  .ai-kamera { left: 0; width: auto; height: min(60vh, 480px); bottom: auto; }
  .ai-kamera img { height: 100%; right: -8%; top: 0; transform: none; }
  .ai-kamera::after { background: linear-gradient(to right, #040405 0%, rgba(4, 4, 5, .6) 22%, rgba(4, 4, 5, 0) 50%), linear-gradient(to top, #040405 0%, rgba(4, 4, 5, .7) 22%, rgba(4, 4, 5, 0) 50%); }
  .ai-kabel { display: none; }
  .ai-text { align-self: start; }
  .ai-text h2 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .zl-tc { font-size: 1.5rem; }
  .zl-status { font-size: .62rem; }
  .zl-flaeche { padding-left: 32px; background-position: 32px 0; }
  .zl-spur b { left: -32px; }
  .zl-geist span { font-size: .55rem; letter-spacing: .14em; }
  .zl-fuss { font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) {
  .angekommen .h-tiefe, .zl-start .ai-glanz { animation: none; }
}


/* ---------- Startseite 28.11.: gleich breite Knöpfe, längerer weicher Übergang zum Unscharfen ---------- */
.start-wahl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(1000px, calc(100vw - 32px)); max-width: none; }
.start-wahl button { min-width: 0; width: 100%; }
.start-spalte {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .25) 6%, rgba(0, 0, 0, .7) 15%, #000 27%, #000 73%, rgba(0, 0, 0, .7) 85%, rgba(0, 0, 0, .25) 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .25) 6%, rgba(0, 0, 0, .7) 15%, #000 27%, #000 73%, rgba(0, 0, 0, .7) 85%, rgba(0, 0, 0, .25) 94%, transparent 100%);
}
.weich { position: absolute; top: 0; bottom: 0; width: 30%; pointer-events: none; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.weich-l { left: 0; -webkit-mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 100%); mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 100%); }
.weich-r { right: 0; -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 100%); mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 100%); }
.kompakt .weich { display: none; }
.start-unscharf { filter: blur(44px) brightness(.5) saturate(1.25); }
/* Kopfleiste der Hauptseite: auf dem Handy bleibt "Contact me" sichtbar */
@media (max-width: 820px) {
  .leiste nav.nur-kontakt { display: flex; }
  .start-wahl button { font-size: .66rem; letter-spacing: .1em; line-height: 1.3; }
}

/* AI-Bühne: Bild nicht über den Rand laufen lassen, Überschrift in zwei Zeilen */
.ai-kamera { overflow: hidden; }
.ai-text { max-width: 700px; }
.ai-text h2 { font-size: clamp(2.3rem, min(4.7vw, 8.2vh), 4.9rem); }
.ai-text h2 .zeile:first-child > span { white-space: nowrap; }
@media (max-width: 820px) { .ai-text h2 .zeile:first-child > span { white-space: normal; } }


/* ---------- Sprachwechsel EN/DE ---------- */
.sprache {
  display: inline-flex; align-items: center; gap: 0; min-height: 36px; padding: 0 4px; border: 1px solid rgba(239, 231, 214, .35); border-radius: 999px;
  background: rgba(7, 8, 11, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 600 .62rem/1 var(--sans); letter-spacing: .16em; color: rgba(239, 231, 214, .5);
}
.sprache span { padding: .7em .7em .7em .85em; border-radius: 999px; transition: background .25s ease, color .25s ease; }
html[lang="en"] .sprache .sp-en, html[lang="de"] .sprache .sp-de { background: rgba(240, 160, 75, .18); color: var(--bernstein); }
.sprache:hover { border-color: var(--bernstein); color: var(--creme); }
.start-oben { position: absolute; top: clamp(14px, 2.6vh, 28px); right: clamp(14px, 3vw, 46px); z-index: 4; display: flex; align-items: center; gap: 10px; }
.start-oben .start-kontakt { position: static; }
.faehrt .start-oben { opacity: 0; transition: opacity .35s ease; }
.leiste nav .sprache { margin-left: 6px; }
.leiste nav { align-items: center; }
@media (max-width: 820px) {
  .start-oben { top: calc(clamp(14px, 2.6vh, 28px) + env(safe-area-inset-top)); right: 12px; gap: 8px; }
  .start-oben .start-kontakt { padding: .7em .9em; letter-spacing: .14em; }
  .start-recht a + a { display: none; }          /* Handy: nur "Impressum" oben links, Datenschutz ist dort verlinkt */
  .leiste nav { display: flex !important; gap: 10px; }
  .leiste nav a:not([data-ziel="kontakt"]) { display: none; }
}

/* Handy: Kontakt bleibt in der Kopfleiste, Zeitleisten-Status in eigener Zeile; online ohne fertiges Impressum keine Rechts-Links */
@media (max-width: 820px) {
  .leiste nav.nur-kontakt a[data-ziel="kontakt"] { display: inline-block; padding: 10px 0; font-size: .66rem; }
  .zl-kopf { flex-wrap: wrap; row-gap: 8px; }
  .zl-status { order: 3; flex-basis: 100%; }
  .zl-tc { flex: 1; }
}
html[data-recht="aus"] .recht-links, html[data-recht="aus"] .start-recht { display: none; }


/* ---------- AI-Bühne 28.11. (2): Balken statt Zeitleiste, nur Hände und Kamera ---------- */
.h-platte { transform: scale(1.13); }
.ai-kamera { width: min(40vw, 640px); }
.ai-kamera img { height: 100%; }
.ai-kamera::after {
  background: linear-gradient(to right, #040405 0%, rgba(4, 4, 5, .7) 22%, rgba(4, 4, 5, 0) 55%), linear-gradient(to top, #040405 0%, rgba(4, 4, 5, 0) 26%), linear-gradient(to bottom, #040405 0%, rgba(4, 4, 5, 0) 14%);
}
.ai-vergleich { position: relative; z-index: 3; grid-column: 1; grid-row: 2; align-self: end; max-width: 640px; opacity: 0; transform: translateY(16px); transition: opacity 1s ease .9s, transform 1s cubic-bezier(.16, 1, .3, 1) .9s; }
.zl-start .ai-vergleich { opacity: 1; transform: none; }
.ai-vergleich .vergleich { max-width: none; gap: 18px; margin-bottom: 1.4em; }
.ai-vergleich .v-zeile span { font-size: .72rem; letter-spacing: .22em; }
.ai-vergleich .v-zeile i { height: 12px; border-radius: 6px; animation: none; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.16, 1, .3, 1) 1.2s; }
.ai-vergleich .v-neu i { transition-delay: 1.7s; }
.zl-start .ai-vergleich .v-zeile i { transform: scaleX(1); }
.ai-vergleich .v-zeile b { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
@media (max-width: 820px) {
  .ai-kamera { width: auto; left: 18%; }
  .ai-kamera img { right: 0; }
}
.ai-kamera::after {
  background: linear-gradient(to right, #040405 0%, #040405 14%, rgba(4, 4, 5, .65) 32%, rgba(4, 4, 5, 0) 62%), linear-gradient(to top, #040405 0%, rgba(4, 4, 5, 0) 26%), linear-gradient(to bottom, #040405 0%, rgba(4, 4, 5, 0) 14%);
}


/* ---------- Scroll-Hinweis im Kopfbild ---------- */
.h-scroll {
  position: absolute; z-index: 4; left: 50%; bottom: calc(var(--balken) + 14px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 64px; min-height: 44px; padding: 6px 0 0 .38em;
  font: 600 .6rem/1 var(--sans); letter-spacing: .38em; text-transform: uppercase; color: rgba(239, 231, 214, .78);
  opacity: calc(1 - var(--weg, 0) * 2.2); transition: color .25s ease;
}
.h-scroll:hover, .h-scroll:focus-visible { color: var(--bernstein); }
.h-scroll > * { opacity: 0; }
.angekommen .h-scroll > * { animation: hsEin 1s ease 1.5s forwards; }
@keyframes hsEin { to { opacity: 1; } }
.h-scroll i { position: relative; display: block; width: 1px; height: 52px; background: rgba(239, 231, 214, .2); overflow: hidden; }
.h-scroll i::after {
  content: ""; position: absolute; left: -1px; top: -20px; width: 3px; height: 20px; border-radius: 2px;
  background: linear-gradient(rgba(240, 160, 75, 0), var(--bernstein)); box-shadow: 0 0 10px rgba(240, 160, 75, .8);
  animation: hsPunkt 2s cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes hsPunkt { 0% { top: -20px; } 65%, 100% { top: 52px; } }
@media (max-width: 820px) {
  .h-scroll { left: auto; right: 14px; transform: none; bottom: calc(var(--balken) + 18px); }
  .h-scroll i { height: 40px; }
  @keyframes hsPunkt { 0% { top: -20px; } 65%, 100% { top: 40px; } }
}
@media (prefers-reduced-motion: reduce) { .h-scroll i::after { animation: none; top: 16px; } }
@media (max-width: 820px) {
  .h-scroll { bottom: calc(var(--balken) + 2px); gap: 10px; }
  .h-scroll i { height: 34px; }
  @keyframes hsPunkt { 0% { top: -20px; } 65%, 100% { top: 34px; } }
}


/* =====================================================================
   28.11. (3): Energie-Ansicht, Lage der AI-Bühne, Kleinigkeiten
   ===================================================================== */
/* Startseite: Nummern und Namen mittig, Hinweis direkt neben dem Mauszeiger */
.start-wahl button { align-items: center; text-align: center; }
.klick-hinweis { left: calc(92% + 6px); top: 80%; }

/* AI-Bühne: Text weiter nach rechts, Kamera weiter nach links */
.ai-buehne { padding-left: clamp(20px, 11vw, 210px); }
.ai-kamera { right: clamp(0px, 8vw, 150px); transform: none !important; }
.ai-kamera img { top: 0; transform: none; height: 100%; }
.ai-text h2 { font-size: clamp(2.3rem, min(4.3vw, 8vh), 4.7rem); }
.ai-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
/* Mit Energie-Ansicht: Das Foto liegt nur noch schwach darunter und erscheint, wenn sich die Form gefunden hat */
.ai-buehne:not(.kein-fx) .ai-kamera { opacity: 0; filter: none; transition: opacity 1.5s ease; }
.ai-buehne.fx-form:not(.kein-fx) .ai-kamera { opacity: .3; }
.ai-buehne:not(.kein-fx) .ai-kabel, .ai-buehne:not(.kein-fx) .ai-glanz { display: none; }
.ai-buehne::before {                                    /* Glühen hinter der Form: links Cyan, rechts Rot */
  content: ""; position: absolute; top: 4%; bottom: 8%; right: clamp(0px, 4vw, 90px); width: min(54vw, 860px); pointer-events: none; opacity: 0; transition: opacity 2s ease;
  background: radial-gradient(ellipse 42% 46% at 44% 44%, rgba(60, 190, 255, .16), transparent 70%), radial-gradient(ellipse 36% 44% at 76% 46%, rgba(255, 80, 70, .14), transparent 70%);
}
.ai-buehne.fx-form::before { opacity: 1; }
@media (max-width: 820px) {
  .ai-buehne { padding-left: 20px; }
  .ai-kamera { right: 0; }
  .ai-buehne::before { top: 0; bottom: auto; height: min(60vh, 480px); right: 0; width: 100%; }
}


/* Scroll-Hinweis sitzt jetzt unter den Reitern (Fabian 28.11.) */
.h-scroll { position: relative; left: auto; right: auto; bottom: auto; transform: none; width: max-content; margin: 18px auto 0; gap: 10px; }
.h-scroll i { height: 36px; }
@keyframes hsPunkt { 0% { top: -20px; } 65%, 100% { top: 36px; } }
@media (max-width: 820px) {
  .h-scroll { left: auto; right: auto; bottom: auto; margin: 14px auto 0; }
  .h-scroll i { height: 30px; }
}


/* Energie nur als Hauch (Fabian 28.11.): Das Foto trägt das Bild */
.ai-buehne.fx-form:not(.kein-fx) .ai-kamera { opacity: .95; }
.ai-buehne::before { background: radial-gradient(ellipse 42% 46% at 44% 44%, rgba(60, 190, 255, .06), transparent 70%), radial-gradient(ellipse 36% 44% at 76% 46%, rgba(255, 80, 70, .05), transparent 70%); }
.ai-fx { opacity: .9; }


/* =====================================================================
   28.11. (4): Startbild mit Tiefe, Scroll-Knopf, Handy-Feinschliff
   ===================================================================== */
.start-spalte .start-platte, .start-spalte .start-person { will-change: transform; user-select: none; -webkit-user-drag: none; }
.start-spalte .start-platte { transform: scale(1.1); }

/* Scroll als echter Knopf */
.h-scroll {
  flex-direction: row; gap: 12px; padding: .85em 1.5em .85em 1.7em; border: 1px solid rgba(240, 160, 75, .55); border-radius: 999px;
  background: rgba(240, 160, 75, .08); color: var(--creme); letter-spacing: .32em; transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.h-scroll:hover, .h-scroll:focus-visible { background: rgba(240, 160, 75, .2); border-color: var(--bernstein); color: var(--creme); transform: translateY(2px); }
.h-scroll i { display: none; }
.h-scroll svg { width: 16px; height: 16px; fill: none; stroke: var(--bernstein); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: pfeilNicken 1.8s ease-in-out infinite; }
@keyframes pfeilNicken { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.feld { scroll-margin-top: 76px; }

@media (max-width: 820px) {
  /* Startseite: Rollen untereinander, grauer, mit dezentem Linsen-Icon */
  .start-titel p { flex-direction: column; align-items: center; gap: .55em; max-width: none; color: rgba(239, 231, 214, .62); font-weight: 500; }
  .start-titel p span::before, .start-titel p span + span::before {
    display: inline-block; content: ""; width: .95em; height: .95em; margin: 0 .75em 0 0; vertical-align: -.14em; opacity: .85;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.3' fill='none' stroke='%23f0a04b' stroke-width='1.3'/%3E%3Ccircle cx='8' cy='8' r='2.3' fill='%23f0a04b'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  /* Kopfbild: Zeile über der Überschrift in einer Linie */
  .h-titel .marke { font-size: .56rem; letter-spacing: .12em; white-space: nowrap; }
  /* Ausrüstung: jedes Teil mit Icon */
  .ausruestung { gap: .5em 1.3em; }
  .ausruestung li:not(.a-marke)::before, .ausruestung .a-marke + li::before {
    display: inline-block; content: ""; width: .85em; height: .85em; margin: 0 .55em 0 0; vertical-align: -.1em; opacity: .8;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.3' fill='none' stroke='%23f0a04b' stroke-width='1.3'/%3E%3Ccircle cx='8' cy='8' r='2.3' fill='%23f0a04b'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  /* AI-Bühne: Linse mittig, links nicht mehr schwarz */
  .ai-buehne { --kh: min(60vh, 480px); }
  .ai-kamera { left: 0; right: 0; width: auto; }
  .ai-kamera img { right: auto; left: calc(50% - var(--kh) * .6027 * .773); height: 100%; }
  .ai-kamera::after { background: linear-gradient(to top, #040405 0%, rgba(4, 4, 5, .65) 18%, rgba(4, 4, 5, 0) 46%), linear-gradient(to right, rgba(4, 4, 5, .45), rgba(4, 4, 5, 0) 22%); }
  .ai-buehne::before { opacity: 1; background: radial-gradient(ellipse 60% 40% at 30% 22%, rgba(60, 190, 255, .1), transparent 70%), radial-gradient(ellipse 50% 36% at 82% 26%, rgba(255, 80, 70, .07), transparent 70%); }
  .h-scroll { padding: .8em 1.3em .8em 1.5em; }
}
