/* GEO-Seite, zweite Fassung (30.11.2026, nach Senols Vorlagen): dunkler, strukturierter Grund wie auf den
   Immoanker-Team-Seiten (Foto in niedriger Deckkraft, Raster, Korn), Serif-Titel, Bento-Kacheln, Ticket,
   Quittung, Ablauf an der Linie, schwebende Leiste. Dashboard als Glasflächen über einem unscharfen Raum
   (Reel «Admin Dashboard V25»). Eine Akzentfarbe, umschaltbar über html[data-farbe]. */
@font-face { font-family: Gambetta; src: url(/schrift/Gambetta.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(/schrift/WorkSans.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Mono; src: url(/schrift/mono.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --grund: #0d0c0b; --flaeche: #181614; --text: #fff; --neben: #f3efe8; --linie: rgba(255, 255, 255, 0.22);
  --glas: rgba(20, 18, 16, 0.8); --glas-stark: rgba(20, 18, 16, 0.9);
  --akzent: #8b98ff; --akzent-text: #bcc4ff; --akzent-fl: #3646d4; --auf-akzent: #fff; --akzent-zart: rgba(124, 140, 255, 0.22);
  --voll: #f1eadb; --voll-text: #17140f; --voll-neben: #3a3429;
  --hell: #f6f3ec; --hell-text: #1a1814; --hell-neben: #3f3a32; --hell-linie: rgba(0, 0, 0, 0.14);
  --gut: #46d39a; --mangel: #ff7a66; --warn: #f2c14e;
  --rand: 20px; --kurve: cubic-bezier(0.16, 1, 0.3, 1);
  --titel: Gambetta, "Iowan Old Style", Georgia, serif; --lauf: "Work Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
html[data-farbe="gold"] { --akzent-text: #ecd29a; --akzent: #d2b06a; --akzent-fl: #c9a55a; --auf-akzent: #17140f; --akzent-zart: rgba(210, 176, 106, 0.16); }
html[data-farbe="smaragd"] { --akzent-text: #8af3c6; --akzent: #4fe0a4; --akzent-fl: #38d394; --auf-akzent: #0d1a14; --akzent-zart: rgba(79, 224, 164, 0.15); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--grund); color: var(--text); font: 450 17.5px/1.5 var(--lauf); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; padding: 0; border: 0; }
ol, ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 6px; }
.versteckt { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.r { width: min(1120px, 100%); margin-inline: auto; padding-inline: var(--rand); }

/* Grund: Raum unscharf, darüber Raster und Korn */
.grund { position: fixed; inset: 0; z-index: -1; background: linear-gradient(rgba(13, 12, 11, 0.72), rgba(13, 12, 11, 0.72)), #0d0c0b url(/media/raum_dunkel.jpg) center / cover no-repeat; }
.grund::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 56px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 56px); }
.grund::after { content: ""; position: absolute; inset: 0; opacity: 0.07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"); }

/* Schrift */
h2 { font: 500 clamp(29px, 4.6vw, 46px)/1.06 var(--titel); letter-spacing: -0.02em; text-wrap: balance; }
h3 { font: 600 17px/1.25 var(--lauf); }
.klein { font-size: 16px; line-height: 1.45; color: var(--neben); }
.marke { display: block; font: 600 14px/1.2 var(--lauf); letter-spacing: 0.14em; text-transform: uppercase; color: var(--akzent-text); margin-bottom: 12px; }
.mono { font-family: Mono, ui-monospace, monospace; font-size: 15px; }
.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Knöpfe und Felder */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; background: var(--akzent-fl); color: var(--auf-akzent); font: 600 16.5px/1 var(--lauf); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 0.12s ease-out, background 0.2s; }
.knopf:active { transform: scale(0.97); }
.knopf.rand { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: var(--linie); }
.knopf.voll { background: var(--voll); color: var(--voll-text); }
.knopf[disabled] { opacity: 0.6; cursor: wait; }
.feld { width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--linie); background: rgba(10, 9, 8, 0.86); color: #fff; font-size: 17px; }
.feld::placeholder { color: #e6e1d8; }
.feld:focus { outline: 2px solid var(--akzent); outline-offset: 0; }
select.feld { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23fff' stroke-width='1.8'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
label.zeile > span, .zeilenname { display: block; font-size: 15px; font-weight: 600; margin: 0 0 6px 2px; color: var(--neben); }
.glas { background: var(--glas); border: 1px solid var(--linie); border-radius: 22px; -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }

/* ---------- 1. Titel ---------- */
.titel { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto minmax(250px, 1fr) auto; overflow: clip; isolation: isolate; }
.titel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(/media/raum.jpg) center / cover no-repeat; opacity: 0.55; }
.titel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 12, 11, 0.5) 0%, rgba(13, 12, 11, 0.05) 26%, rgba(13, 12, 11, 0.92) 56%, #0d0c0b 100%); }
.kopf { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--rand); position: relative; z-index: 6; }
.wortmarke { font: 600 21px/1 var(--titel); letter-spacing: -0.01em; text-decoration: none; color: #fff; display: flex; align-items: center; gap: 8px; }
.wortmarke i { width: 9px; height: 9px; border-radius: 50%; background: var(--akzent); }
.kopf a.tel { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; text-decoration: none; }
.buehne { position: relative; }
.riesig { position: absolute; left: 0; right: 0; top: 2%; text-align: center; font: 600 clamp(64px, 23vw, 250px)/0.86 var(--titel); letter-spacing: -0.03em; text-transform: uppercase; color: #fff; white-space: nowrap; z-index: 1; opacity: 0.94; }
.riesig span { display: inline-block; transition: opacity 0.5s, transform 0.7s var(--kurve); }
.riesig span.weg { opacity: 0; transform: translateY(18%); }
.wolke { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.kachel { position: absolute; left: 0; top: 0; width: var(--g, 96px); height: var(--g, 96px); will-change: transform; }
.kachel img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.55)); }
.kachel.fern img { filter: blur(1.5px) drop-shadow(0 12px 12px rgba(0, 0, 0, 0.45)); opacity: 0.9; }
.unten { position: relative; z-index: 5; padding: 0 var(--rand) 22px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(10, 9, 8, 0.86); border: 1px solid var(--linie); font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--gut); }
.titel h1 { font: 500 clamp(34px, 9.4vw, 78px)/1.02 var(--titel); letter-spacing: -0.025em; text-wrap: balance; }
.titel h1 .marke { margin-bottom: 10px; }
.wechsel { color: var(--akzent-text); display: inline-block; min-width: 4.6em; transition: opacity 0.35s, transform 0.5s var(--kurve); }
.wechsel.weg { opacity: 0; transform: translateY(0.25em); }
.pruefform { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 18px; max-width: 560px; position: relative; z-index: 6; }
.pruefform .knopf { min-height: 56px; padding: 0 18px; }
.pruefform .feld { min-height: 56px; }
.pruefform .meldung { grid-column: 1 / -1; min-height: 20px; font-size: 16px; color: var(--warn); }
.beleg { display: flex; align-items: center; gap: 10px; margin-top: 2px; font-size: 15px; color: var(--neben); }
.beleg > span { display: flex; flex: none; }
.beleg img { width: 26px; height: 26px; margin-right: -5px; }
@media (min-width: 960px) {
  .titel { grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 20px; padding-inline: max(0px, calc((100vw - 1120px) / 2)); }
  .kopf { grid-column: 1 / -1; }
  .unten { grid-column: 1; grid-row: 2; align-self: center; padding-bottom: 60px; }
  .buehne { grid-column: 2; grid-row: 2; }
  .riesig { top: 16%; font-size: clamp(90px, 11vw, 170px); }
  .titel::after { background: linear-gradient(90deg, #0d0c0b 0%, rgba(13, 12, 11, 0.72) 46%, rgba(13, 12, 11, 0.12) 100%); }
}

/* ---------- Abschnitte ---------- */
.ab { padding: clamp(56px, 9vw, 110px) 0; position: relative; }
.ab.hell { background-color: var(--hell); color: var(--hell-text); background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.045) 0 1px, transparent 1px 56px), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.045) 0 1px, transparent 1px 56px); }
.ab.hell .klein { color: var(--hell-neben); }
.ab.hell .marke { color: #2b359e; }
html[data-farbe="gold"] .ab.hell .marke { color: #8f7130; } html[data-farbe="smaragd"] .ab.hell .marke { color: #157a52; }
.ab > .r > h2 + p { margin-top: 12px; max-width: 34em; color: var(--neben); }
.ab.hell > .r > h2 + p { color: var(--hell-neben); }
[data-auf] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--kurve), transform 0.9s var(--kurve); transition-delay: calc(var(--i, 0) * 70ms); }
[data-auf].da, .ohne-js [data-auf] { opacity: 1; transform: none; }

/* 2. Bänder */
.baender { padding: 14px 0 6px; overflow: hidden; display: grid; gap: 8px; }
.band { display: flex; gap: 8px; width: max-content; animation: lauf 46s linear infinite; }
.band.zurueck { animation-direction: reverse; animation-duration: 58s; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--linie); background: rgba(20, 18, 16, 0.9); font-size: 16px; font-weight: 500; white-space: nowrap; }
.chip img { width: 24px; height: 24px; }
.chip .ic { width: 16px; height: 16px; color: var(--akzent-text); }
@keyframes lauf { to { transform: translateX(-50%); } }

/* 3. Punkte-Zahl und Bento */
.punkte { position: relative; height: clamp(150px, 42vw, 300px); margin-top: 18px; touch-action: pan-y; }
.punkte canvas { width: 100%; height: 100%; }
.punkte-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 6px; }
.punkte-t b { font: 600 20px/1.2 var(--lauf); }
.vollkarte { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; margin-top: 18px; padding: 18px; border-radius: 20px; background: var(--voll); color: var(--voll-text); }
.vollkarte img { width: 56px; height: 56px; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.25)); }
.vollkarte b { display: block; font: 500 34px/1 var(--titel); letter-spacing: -0.02em; }
.vollkarte span { font-size: 16px; color: var(--voll-neben); }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.bento li { padding: 14px 12px 16px; border-radius: 18px; border: 1px solid var(--linie); background: rgba(20, 18, 16, 0.9); display: grid; gap: 6px; align-content: start; }
.bento b { font: 500 clamp(26px, 6vw, 40px)/1 var(--titel); color: var(--akzent-text); letter-spacing: -0.02em; }
.bento span { font-size: 14px; line-height: 1.3; color: var(--neben); }
.quelle { margin-top: 14px; font-size: 14px; color: #e6e1d8; max-width: 46em; }
.quelle a { text-underline-offset: 3px; }

/* 4. Check in drei Schritten (Karte) */
.checkkarte { margin-top: 22px; padding: 22px 18px; }
.schritte3 { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; margin-bottom: 20px; }
.schritte3::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 22px; height: 1px; background: var(--linie); }
.schritte3 li { display: grid; justify-items: center; gap: 8px; font-size: 15px; font-weight: 600; position: relative; }
.schritte3 i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--akzent); display: grid; place-items: center; background: var(--grund); color: var(--akzent-text); }

/* 5. Wischkarten: sieben Gruppen */
.wisch { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--rand) 8px; margin: 22px calc(var(--rand) * -1) 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.wisch::-webkit-scrollbar { display: none; }
.wkarte { flex: none; width: min(80vw, 330px); min-height: 440px; scroll-snap-align: center; padding: 18px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; position: relative; overflow: hidden; }
.wkarte .nr { font: 500 15px/1 Mono, monospace; padding: 6px 9px; border-radius: 9px; background: rgba(0, 0, 0, 0.45); justify-self: start; }
.wkarte h3 { font: 500 25px/1.08 var(--titel); letter-spacing: -0.015em; }
.wkarte .gitter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 4px; align-content: center; }
.wkarte .gitter figure { display: grid; justify-items: center; gap: 2px; font-size: 14px; line-height: 1.15; text-align: center; color: var(--neben); }
.wkarte .gitter img { width: 50px; height: 50px; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.5)); }
.wkarte p { font-size: 16px; color: var(--neben); }
.balken { height: 3px; background: rgba(255, 255, 255, 0.16); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.balken i { display: block; height: 100%; width: 14%; background: var(--akzent); border-radius: 2px; transform-origin: 0 50%; transition: width 0.3s; }

/* 6. Vorteile */
.vt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.vt li { display: grid; gap: 8px; align-content: start; padding: 14px 14px 16px; border: 1px solid var(--linie); border-radius: 18px; background: rgba(20, 18, 16, 0.9); }
.vt .paar { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.vt .paar img { width: 40px; height: 40px; }
.vt .paar u { flex: 1; max-width: 26px; border-top: 2px dashed var(--akzent); height: 0; }
.vt .paar i { width: 40px; height: 40px; border-radius: 12px; background: var(--akzent-fl); color: var(--auf-akzent); display: grid; place-items: center; }
.vt b { font: 600 16.5px/1.2 var(--lauf); }
.vt span { font-size: 14px; line-height: 1.3; color: var(--neben); }
@media (min-width: 860px) { .vt { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .bento { gap: 14px; } }

/* 7. Ticket */
.ticket { position: relative; display: grid; grid-template-columns: 44px 1fr; margin-top: 22px; border-radius: 20px; background: var(--voll); color: var(--voll-text); overflow: hidden; }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 34px; width: 20px; height: 20px; border-radius: 50%; background: var(--grund); }
.ticket::before { top: -10px; } .ticket::after { bottom: -10px; }
.ticket .seite { writing-mode: vertical-rl; transform: rotate(180deg); display: grid; place-items: center; font: 700 14px/1 var(--lauf); letter-spacing: 0.2em; border-left: 2px dashed rgba(23, 20, 15, 0.35); }
.ticket .inhalt { padding: 18px 18px 18px 22px; display: grid; gap: 2px; }
.ticket .inhalt small { font: 600 14px/1 var(--lauf); letter-spacing: 0.14em; text-transform: uppercase; color: var(--voll-neben); }
.ticket .inhalt b { font: 500 46px/1 var(--titel); letter-spacing: -0.02em; }
.ticket .inhalt span { font-size: 16px; font-weight: 600; }
.ticket .inhalt em { font-style: normal; font-size: 15px; color: var(--voll-neben); }

/* 8. Kostenrechner mit Quittung */
.rechner { margin-top: 22px; padding: 18px; display: grid; gap: 14px; }
.schalter { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--linie); background: rgba(10, 9, 8, 0.82); cursor: pointer; }
.schalter b { font: 600 16px/1.2 var(--lauf); }
.schalter span { grid-column: 1; font-size: 15px; color: var(--neben); }
.schalter input { position: absolute; opacity: 0; pointer-events: none; }
.kipp { grid-row: 1 / span 2; grid-column: 2; width: 52px; height: 32px; border-radius: 16px; background: rgba(255, 255, 255, 0.18); position: relative; transition: background 0.25s; }
.kipp::after { content: ""; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform 0.35s var(--kurve); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }
input:checked + .kipp { background: var(--akzent-fl); }
input:checked + .kipp::after { transform: translateX(20px); }
input:focus-visible + .kipp { outline: 2px solid var(--akzent); outline-offset: 3px; }
.drucker { position: relative; padding-top: 14px; }
.drucker .schlitz { height: 14px; border-radius: 8px; background: #050505; border: 1px solid rgba(255, 255, 255, 0.14); position: relative; z-index: 2; }
.bon-fenster { overflow: hidden; margin: -7px 10px 0; }
.bon { background: var(--voll); color: var(--voll-text); padding: 20px 16px 70px; font: 500 16px/1.45 Mono, ui-monospace, monospace; position: relative; transform-origin: 50% 0; -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, radial-gradient(circle at 8px 0, #000 7px, transparent 7.5px) bottom left / 16px 10px repeat-x; mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, radial-gradient(circle at 8px 0, #000 7px, transparent 7.5px) bottom left / 16px 10px repeat-x; }
.bon .zl { display: flex; justify-content: space-between; gap: 12px; }
.bon .zl span:last-child { white-space: nowrap; }
.bon hr { border: 0; border-top: 1px dashed rgba(23, 20, 15, 0.45); margin: 10px 0; }
.bon .summe { font-weight: 700; font-size: 17px; }
.bon .kopfz { text-align: center; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 8px; }
.stempel { position: absolute; right: 16px; bottom: 26px; padding: 6px 10px; border: 2.5px solid #c8321c; color: #c8321c; border-radius: 6px; font: 800 15px/1 var(--lauf); letter-spacing: 0.14em; transform: rotate(-12deg) scale(1); opacity: 0.9; }
.stempel.neu { animation: stempeln 0.5s var(--kurve); }
@keyframes stempeln { from { transform: rotate(-12deg) scale(2.4); opacity: 0; } }
@keyframes drucken { from { transform: translateY(-100%); } }
.bon.neu { animation: drucken 0.9s var(--kurve); }

/* 9. Ablauf an der Linie (helles Papier) */
.linie { position: relative; margin-top: 30px; display: grid; gap: 20px; }
.linie svg.weg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.linie svg.weg path { fill: none; stroke: #b9a988; stroke-width: 2; }
.linie li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; position: relative; z-index: 1; }
.linie li:nth-child(even) { grid-template-columns: 1fr 52px; }
.linie li:nth-child(even) .nrk { order: 2; }
.linie li:nth-child(even) .kt { text-align: right; justify-items: end; }
.nrk { width: 52px; height: 52px; border-radius: 50%; background: var(--hell-text); color: var(--hell); display: grid; place-items: center; font: 500 22px/1 var(--titel); }
.kt { background: #fff; border: 1px solid var(--hell-linie); border-radius: 16px; padding: 12px 14px; display: grid; gap: 6px; }
.kt b { font-weight: 600; }
.kt em { font-style: normal; justify-self: start; font-size: 14px; font-weight: 600; padding: 3px 8px; border-radius: 7px; background: #ece5d6; color: #5a4a22; }
.linie li:nth-child(even) .kt em { justify-self: end; }

/* 10. Dashboard-Vorschau */
.vorschau { margin-top: 22px; padding: 14px; position: relative; overflow: hidden; background: url(/media/raum.jpg) center / cover; border-radius: 26px; border: 1px solid var(--linie); }
.vorschau .muster { position: absolute; right: 14px; top: 14px; z-index: 3; font: 700 14px/1 var(--lauf); letter-spacing: 0.14em; padding: 6px 9px; border-radius: 8px; background: #fff; color: #17140f; }

/* 11. Fragen */
.fragen { margin-top: 22px; padding: 6px 18px; }
.fragen details + details { border-top: 1px solid var(--linie); }
.fragen summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--akzent); border-bottom: 2px solid var(--akzent); transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--kurve); }
.fragen details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.fragen details p { padding: 0 0 18px; color: var(--neben); font-size: 16.5px; }

/* 12. Schluss */
.schluss { padding: 22px 18px; display: grid; gap: 14px; position: relative; overflow: hidden; }
.schluss h2 { font-size: clamp(30px, 6vw, 52px); }
.kontakt-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kontakt-raster a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--linie); text-decoration: none; font-size: 16px; font-weight: 500; background: rgba(10, 9, 8, 0.82); }
.kontakt-raster .ic { color: var(--akzent-text); }
.fuss { padding: 30px 0 120px; font-size: 15px; color: #e6e1d8; border-top: 1px solid var(--linie); }
.fuss .r { display: grid; gap: 14px; }
.fuss .links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.fuss a { text-underline-offset: 3px; color: var(--neben); }

/* Schwebende Leiste */
.leiste { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; display: grid; grid-template-columns: 1fr 54px; gap: 8px; padding: 8px; border-radius: 20px; background: var(--glas-stark); border: 1px solid var(--linie); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); transform: translateY(150%); transition: transform 0.6s var(--kurve); max-width: 560px; margin-inline: auto; }
.leiste.da { transform: none; }
.leiste .knopf { min-height: 52px; }
.leiste .knopf.rand { padding: 0; }

/* Blatt (Bestätigen, Anfrage) */
.schleier { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.schleier.da { opacity: 1; pointer-events: auto; }
.blatt { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(24, 22, 20, 0.94); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); border: 1px solid var(--linie); border-bottom: 0; border-radius: 26px 26px 0 0; padding: 22px var(--rand) calc(22px + env(safe-area-inset-bottom)); max-height: 94dvh; overflow-y: auto; transform: translateY(104%); transition: transform 0.55s var(--kurve); }
.blatt.da { transform: none; }
.blatt .innen2 { width: min(100%, 560px); margin: 0 auto; display: grid; gap: 14px; }
.blatt h2 { font-size: clamp(26px, 5.4vw, 36px); }
.blatt .zwei { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.blatt .herkunft { font-size: 14px; color: #e6e1d8; margin: 5px 0 0 2px; }
.blatt .zu { position: absolute; right: 10px; top: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 26px; cursor: pointer; color: #fff; }
.stufen { display: flex; gap: 14px; font-size: 15px; font-weight: 600; color: #e6e1d8; }
.stufen span { display: flex; align-items: center; gap: 6px; }
.stufen i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-style: normal; font-size: 14px; }
.stufen .an { color: #fff; } .stufen .an i { background: var(--akzent-fl); border-color: var(--akzent-fl); color: var(--auf-akzent); }
.aufbau { display: flex; justify-content: center; gap: 6px; height: 74px; align-items: center; }
.aufbau img { width: 58px; height: 58px; opacity: 0.18; transform: scale(0.8) translateY(8px); transition: opacity 0.5s, transform 0.7s var(--kurve); filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.5)); }
.aufbau img.an { opacity: 1; transform: none; }
.wahlraster { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wahlraster button { min-height: 52px; padding: 8px 12px; text-align: left; border-radius: 14px; border: 1px solid var(--linie); background: rgba(10, 9, 8, 0.82); font-size: 16px; font-weight: 500; cursor: pointer; transition: transform 0.12s, background 0.2s, border-color 0.2s; }
.wahlraster button:active { transform: scale(0.97); }
.wahlraster button[aria-pressed="true"] { background: var(--akzent-zart); border-color: var(--akzent); }
.haken { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 16px; color: var(--neben); }
.haken input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--akzent-fl); }
.meldung { min-height: 20px; font-size: 16px; color: var(--warn); }
@media (min-width: 760px) { .blatt { left: 50%; right: auto; bottom: auto; top: 50%; width: 620px; border-radius: 26px; border-bottom: 1px solid var(--linie); transform: translate(-50%, -46%) scale(0.96); opacity: 0; pointer-events: none; transition: transform 0.45s var(--kurve), opacity 0.25s; } .blatt.da { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; } }

/* ---------- Textseiten ---------- */
.u-kopf { position: relative; padding: 0 0 46px; overflow: clip; isolation: isolate; }
.u-kopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(/media/raum.jpg) center / cover; opacity: 0.4; }
.u-kopf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 12, 11, 0.3), #0d0c0b); }
.u-kopf h1 { font: 500 clamp(36px, 8vw, 72px)/1.02 var(--titel); letter-spacing: -0.025em; text-wrap: balance; margin-top: 40px; }
.u-kopf p.lead { margin-top: 14px; max-width: 34em; color: var(--neben); font-size: 18px; }
.u-kacheln { display: flex; margin-top: 22px; }
.u-kacheln img { width: 64px; height: 64px; margin-right: -8px; filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.5)); }
.text { padding: 34px 0 70px; }
.text .r { max-width: 800px; }
.text h2 { font-size: clamp(26px, 4.4vw, 36px); margin: 40px 0 12px; }
.text p { color: var(--neben); } .text p + p { margin-top: 12px; }
.text ul, .text ol { padding-left: 20px; display: grid; gap: 8px; color: var(--neben); }
.text ul { list-style: disc; } .text ol { list-style: decimal; }
.text table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 16.5px; }
.text th, .text td { text-align: left; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--linie); vertical-align: top; color: var(--neben); }
.text th { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--akzent-text); }
.text td:first-child { color: #fff; font-weight: 500; }
.text a { color: var(--akzent-text); text-underline-offset: 3px; }
.ortzeile { display: grid; grid-template-columns: 56px 1fr; gap: 2px 14px; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.ortzeile img { width: 56px; height: 56px; grid-row: span 3; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.45)); }
.ortzeile h3 { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  [data-auf], .blatt, .leiste, .wechsel, .riesig span { transition: opacity 0.2s ease !important; transform: none !important; }
  .band, .bon.neu, .stempel.neu { animation: none !important; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-transparency: reduce) { .glas, .leiste, .blatt { background: #181614; backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* ---------- Dritte Runde (30.11.2026): Bild statt Text ---------- */
/* Chat-Beispiel: Frage, Antwort mit drei Treffern, der dritte Platz ist die Firma des Besuchers */
.chat { margin-top: 20px; padding: 16px; display: grid; gap: 12px; }
.chat-kopf { display: flex; align-items: center; justify-content: space-between; }
.chat .pwahl { display: flex; gap: 6px; }
.chat .pwahl button { width: 48px; height: 48px; padding: 3px; border-radius: 15px; border: 2px solid transparent; background: rgba(255, 255, 255, 0.08); cursor: pointer; transition: border-color 0.2s, transform 0.12s; }
.chat .pwahl button:active { transform: scale(0.94); }
.chat .pwahl button[aria-pressed="true"] { border-color: #fff; }
.chat .pwahl img { width: 100%; height: 100%; }
.muster2 { font: 700 13px/1 var(--lauf); letter-spacing: 0.14em; padding: 7px 9px; border-radius: 8px; background: #fff; color: #17140f; }
.blase { max-width: 88%; padding: 12px 16px; border-radius: 20px; font: 500 18px/1.3 var(--lauf); }
.blase.ich { justify-self: end; background: var(--akzent-fl); color: var(--auf-akzent); border-bottom-right-radius: 6px; }
.blase.ki { justify-self: start; width: 88%; background: rgba(255, 255, 255, 0.1); border-bottom-left-radius: 6px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.treffer { display: grid; gap: 10px; }
.treffer li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.5s var(--kurve); }
.chat.an .treffer li { opacity: 1; transform: none; }
.chat.an .treffer li:nth-child(2) { transition-delay: 0.25s; } .chat.an .treffer li:nth-child(3) { transition-delay: 0.5s; }
.treffer i { width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 255, 255, 0.22); display: grid; place-items: center; font-style: normal; font-weight: 700; }
.treffer u { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.28); text-decoration: none; display: block; }
.treffer .du { padding: 8px; margin: 0 -8px; border-radius: 14px; border: 2px dashed var(--akzent-text); }
.treffer .du i { background: var(--akzent-fl); color: var(--auf-akzent); }
.treffer .du b { font-weight: 600; color: var(--akzent-text); }
/* Scanner: Kacheln drehen sich der Reihe nach und bekommen ihr Zeichen */
.scanner { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 16px; }
.sc { position: relative; display: grid; place-items: center; }
.sc img { width: 100%; max-width: 60px; height: auto; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.5)); }
.sc em { position: absolute; right: 0; top: -4px; min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; font: 700 14px/1 var(--lauf); font-style: normal; transform: scale(0); transition: transform 0.4s var(--kurve); background: #fff; color: #17140f; }
.sc.fertig em { transform: scale(1); }
.sc[data-b="ok"] em { background: #14593c; color: #d9ffee; } .sc[data-b="mangel"] em { background: #8a2a1e; color: #ffe6e0; }
.bento li img { width: 40px; height: 40px; margin-bottom: 2px; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, 0.45)); }
.vt b { font: 600 16px/1.2 var(--lauf); }
.schalter span { font: 500 16px/1.2 Mono, ui-monospace, monospace; color: var(--akzent-text); }
.klein-d summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--akzent-text); list-style: none; padding: 6px 0; }
.klein-d summary::-webkit-details-marker { display: none; }
.kt { grid-template-columns: 1fr auto; align-items: center; }
.kt b { font: 500 22px/1.1 var(--titel); }
.linie li:nth-child(even) .kt em { justify-self: start; }
/* Zwei Telefone mit dem Dashboard */
.geraete { display: flex; justify-content: center; margin-top: 26px; padding-bottom: 20px; }
.telefon { width: min(58vw, 270px); border-radius: 34px; padding: 7px; background: #060606; border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 30px 50px rgba(0, 0, 0, 0.6); transform: rotate(-5deg); position: relative; z-index: 2; }
.telefon img { width: 100%; height: auto; border-radius: 28px; }
.telefon.zwei { transform: rotate(6deg) translateY(34px); margin-left: -22%; z-index: 1; }
@media (min-width: 860px) { .telefon { width: 300px; } .telefon.zwei { margin-left: -60px; } .chat { max-width: 620px; } }
.telefon img { height: min(96vw, 470px); object-fit: cover; object-position: top; }
.wkarte { min-height: 0; grid-template-rows: auto auto auto; align-content: start; }
