/* nw-suite.com, Neubau November 2026, Richtung „Das Produkt spricht“.
   Die Seite benutzt die Bausteine der Suite 1.43.0: Hintergrundbild, ruhiges Blatt, Karten, Töne (aus kontur.css).
   Schriften liegen auf der Seite (Instrument Sans, Manrope; OFL). Kein Inline-Skript, nichts von fremden Servern. */

@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('fonts/instrument-sans.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('fonts/manrope.woff2') format('woff2'); }

/* ---------- Werte, hell ---------- */
:root {
  --schrift: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --ziffern: 'Manrope', var(--schrift);
  --motiv: url('img/motiv-kueste.webp');
  --schleier: rgb(4 12 16 / 0);

  --tinte: #12161d;
  --gedaempft: #44505a; /* etwas dunkler als bisher (#4b5760): hält auf dem offeneren Glas überall mindestens 4,5:1 */
  --blatt: #f1f4f3;
  --blatt-deckung: 80%; /* wie viel vom Blatt deckt; der Rest ist Glas, durch das der Hintergrund scheint (gemessen: neubau/glas/) */
  --karte: #ffffff;
  --karte-2: #f6f8f7;
  --linie: rgb(22 48 46 / .11);
  --linie-fest: #dfe6e4;
  --knopf-tinte: #1b2430;
  --knopf-tinte-hover: #26323f;
  --knopf-tinte-text: #ffffff;
  --blatt-kante: rgb(255 255 255 / .6);
  --hoehe-1: 0 1px 2px rgb(16 40 38 / .06), 0 2px 6px -2px rgb(16 40 38 / .07);
  --hoehe-2: 0 2px 4px rgb(16 40 38 / .06), 0 10px 24px -10px rgb(16 40 38 / .2);
  --hoehe-3: 0 4px 10px rgb(16 40 38 / .08), 0 24px 56px -16px rgb(16 40 38 / .34);
  --hoehe-blatt: 0 1px 0 rgb(255 255 255 / .7) inset, 0 30px 70px -30px rgb(4 20 26 / .6), 0 6px 18px -8px rgb(4 20 26 / .28);
  --pille: rgb(18 22 29 / .72);
  --pille-hover: rgb(18 22 29 / .86);
  --pille-rand: rgb(255 255 255 / .16);
  --bezel: #10151c;
  /* Nummern an Rahmen und Notizen: dunkle Tonfläche mit weißer Ziffer (mindestens 6:1) */
  --nr-ziffer: #ffffff;

  --neutral: #5d6f76; --neutral-text: #44555c; --neutral-flaeche: #edf1f1;
  --info: #2f6fde;    --info-text: #1e4fb0;    --info-flaeche: #e7effc;
  --erfolg: #1f9d57;  --erfolg-text: #14693a;  --erfolg-flaeche: #e3f4ea;
  --warnung: #c2780c; --warnung-text: #8a4b06; --warnung-flaeche: #fcf0db;
  --gefahr: #d9412f;  --gefahr-text: #a82a1b;  --gefahr-flaeche: #fce9e6;
  --violett: #7a55d9; --violett-text: #5b36b8; --violett-flaeche: #efeafc;
  --gold: #b98a12;    --gold-text: #7a5a08;    --gold-flaeche: #fbf1d3;

  --r-blatt: 26px; --r-karte: 16px; --r: 12px;
  --rand: clamp(8px, 1.6vw, 24px);
  --innen: clamp(18px, 3.6vw, 60px);
  --breite: 1320px;
  --kopf-h: 68px;
  color-scheme: light;
}

/* ---------- Werte, dunkel (folgt der Systemeinstellung) ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --schleier: rgb(4 12 16 / .5);
    --tinte: #e8eef0;
    --gedaempft: #a9b7bb;
    --blatt: #0f191d;
    --blatt-deckung: 70%;
    --karte: #19272b;
    --karte-2: #1f2f34;
    --linie: rgb(222 240 236 / .1);
    --linie-fest: #2b3b3f;
    --knopf-tinte: #e8eef0;
    --knopf-tinte-hover: #ffffff;
    --knopf-tinte-text: #12161d;
    --blatt-kante: rgb(222 240 236 / .12);
    --hoehe-1: 0 1px 0 rgb(255 255 255 / .04) inset, 0 1px 2px rgb(0 0 0 / .3), 0 3px 8px -3px rgb(0 0 0 / .35);
    --hoehe-2: 0 1px 0 rgb(255 255 255 / .05) inset, 0 2px 4px rgb(0 0 0 / .3), 0 12px 28px -10px rgb(0 0 0 / .55);
    --hoehe-3: 0 1px 0 rgb(255 255 255 / .06) inset, 0 4px 10px rgb(0 0 0 / .35), 0 26px 60px -16px rgb(0 0 0 / .7);
    --hoehe-blatt: 0 1px 0 rgb(255 255 255 / .07) inset, 0 30px 70px -30px rgb(0 0 0 / .8), 0 6px 18px -8px rgb(0 0 0 / .5);
    --bezel: #04070a;
    --nr-ziffer: #0d1216;
    --neutral: #8ea1a6; --neutral-text: #c3d0d2; --neutral-flaeche: #26363a;
    --info: #5b9bf5;    --info-text: #a9c9fb;    --info-flaeche: #1d3350;
    --erfolg: #3fbf78;  --erfolg-text: #8fe0b3;  --erfolg-flaeche: #173a2b;
    --warnung: #e8a23b; --warnung-text: #f5cd8a; --warnung-flaeche: #40321a;
    --gefahr: #f0705f;  --gefahr-text: #f9b3a9;  --gefahr-flaeche: #472420;
    --violett: #a78bf0; --violett-text: #cdbdf8; --violett-flaeche: #2e2a4d;
    --gold: #e0b341;    --gold-text: #f2d588;    --gold-flaeche: #3d3216;
    color-scheme: dark;
  }
}

/* ---------- Töne: ein Ton, eine Bedeutung ---------- */
.ton-neutral { --t: var(--neutral); --t-text: var(--neutral-text); --t-flaeche: var(--neutral-flaeche); }
.ton-info    { --t: var(--info);    --t-text: var(--info-text);    --t-flaeche: var(--info-flaeche); }
.ton-erfolg  { --t: var(--erfolg);  --t-text: var(--erfolg-text);  --t-flaeche: var(--erfolg-flaeche); }
.ton-warnung { --t: var(--warnung); --t-text: var(--warnung-text); --t-flaeche: var(--warnung-flaeche); }
.ton-gefahr  { --t: var(--gefahr);  --t-text: var(--gefahr-text);  --t-flaeche: var(--gefahr-flaeche); }
.ton-violett { --t: var(--violett); --t-text: var(--violett-text); --t-flaeche: var(--violett-flaeche); }
.ton-gold    { --t: var(--gold);    --t-text: var(--gold-text);    --t-flaeche: var(--gold-flaeche); }
/* Fläche der Nummer: hell die dunkle Textfarbe des Tons, dunkel der helle Ton selbst (Ziffer dann dunkel) */
.ton-neutral, .ton-info, .ton-erfolg, .ton-warnung, .ton-gefahr, .ton-violett, .ton-gold { --nr-flaeche: var(--t-text); }
@media (prefers-color-scheme: dark) {
  .ton-neutral, .ton-info, .ton-erfolg, .ton-warnung, .ton-gefahr, .ton-violett, .ton-gold { --nr-flaeche: var(--t); }
}

/* ---------- Grund ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 16px); }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: #3d5560; color: var(--tinte);
  font: 400 1rem/1.6 var(--schrift);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--info); outline-offset: 3px; border-radius: 6px; }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.anker { display: block; position: relative; top: -8px; height: 0; }

.sprung { position: absolute; left: 12px; top: -80px; z-index: 60; padding: 10px 14px; border-radius: var(--r);
  background: var(--karte); color: var(--tinte); text-decoration: none; font-weight: 650; }
.sprung:focus { top: 12px; }

/* Der persönliche Hintergrund wie in der Suite (künstlerisches Motiv) */
.grund { position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(var(--schleier), var(--schleier)), #3d5560 var(--motiv) center 30% / cover no-repeat; }

/* ---------- Kopf: Pillen wie die Navigation der Suite, auf einem deckenden Streifen des Hintergrunds ---------- */
.kopf {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(var(--schleier), var(--schleier)), #3d5560 var(--motiv) center 30% / cover no-repeat fixed;
  transition: box-shadow .25s ease;
}
.kopf.gerollt { box-shadow: 0 1px 0 rgb(255 255 255 / .1), 0 10px 28px -14px rgb(0 0 0 / .55); }
/* Fokus im Kopf: weißer Ring mit dunkler Kante, trägt auf jedem Motiv */
.kopf :focus-visible { outline: 2px solid #fff; outline-offset: 0; box-shadow: 0 0 0 4.5px #12161d; }
.kopf__innen {
  display: flex; align-items: center; gap: 8px; height: var(--kopf-h);
  max-width: calc(var(--breite) + 2 * var(--innen) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand);
}
.pille {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--pille-rand); border-radius: 14px;
  background: var(--pille); color: #fff; text-decoration: none;
  font-size: .9375rem; font-weight: 560; letter-spacing: -.005em; white-space: nowrap;
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  transition: background-color .18s ease;
}
a.pille:hover, summary.pille:hover { background: var(--pille-hover); }
/* Logo wie auf der Buchungsseite der Suite: Das Bild (720 × 232) trägt oben und unten Luft; object-fit schneidet das Band
   mit Zeichen, Wortmarke und Unterzeile aus (y 54 bis 178), so steht die Wortmarke lesbar statt winzig. */
.marke-logo { display: block; height: 34px; width: auto; max-width: none; aspect-ratio: 718 / 125; object-fit: cover; object-position: 50% 50%; }
.pille--marke { padding: 0 14px 0 12px; }
.pille--hell { background: #fff; color: #12161d; border-color: #fff; font-weight: 650; -webkit-backdrop-filter: none; backdrop-filter: none; }
a.pille--hell:hover { background: #eef2f1; }
.kopf__nav { display: flex; gap: 6px; margin: 0 auto; }
.kopf__rechts { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.kopf__nav + .kopf__rechts { margin-left: 0; }
.sprachen { gap: 2px; padding: 0 5px; }
.sprachen a { display: inline-grid; place-items: center; min-width: 34px; min-height: 34px; border-radius: 9px;
  color: rgb(255 255 255 / .8); text-decoration: none; font-size: .8125rem; font-weight: 650; }
.sprachen a:hover { color: #fff; background: rgb(255 255 255 / .1); }
.sprachen a[aria-current] { color: #fff; background: rgb(255 255 255 / .18); }

/* Menü für kleinere Fenster: ein <details>, funktioniert auch ohne Skript */
.menue { position: relative; display: none; }
.menue summary { list-style: none; cursor: pointer; width: 44px; padding: 0; justify-content: center; }
.menue summary::-webkit-details-marker { display: none; }
.menue summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.menue__blatt {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 2 * var(--rand)));
  display: grid; gap: 14px; padding: 14px; border-radius: 18px;
  background: var(--karte); color: var(--tinte); border: 1px solid var(--linie); box-shadow: var(--hoehe-3);
}
.menue__blatt nav { display: grid; }
.menue__blatt nav a { display: flex; align-items: center; min-height: 46px; padding: 0 10px; border-radius: 10px; text-decoration: none; font-weight: 560; }
.menue__blatt nav a:hover { background: var(--karte-2); }
.menue__sprachen { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px; padding-top: 10px; border-top: 1px solid var(--linie); }
.menue__sprachen svg { width: 20px; height: 20px; margin: 0 4px 0 6px; fill: none; stroke: var(--gedaempft); stroke-width: 1.6; }
.menue__sprachen a { min-height: 44px !important; padding: 0 10px !important; }
.menue__sprachen a[aria-current] { background: var(--karte-2); font-weight: 650; }
.menue__blatt .knopf { width: 100%; }

@media (max-width: 1179px) {
  .kopf__nav { display: none; }
  .kopf__nav + .kopf__rechts { margin-left: auto; }
  .menue { display: block; }
}
@media (max-width: 699px) {
  :root { --kopf-h: 60px; }
  .sprachen, .kopf__anmelden { display: none; }
  .kopf__innen { gap: 6px; padding: 0 10px; }
  .pille { min-height: 44px; padding: 0 12px; font-size: .875rem; border-radius: 13px; }
  .pille--marke { padding: 0 11px 0 9px; }
  .pille--marke .marke-logo { height: 26px; }
  .kopf__rechts { gap: 6px; }
  /* Safari am Telefon zeichnet „background-attachment: fixed“ wie „scroll“: Der Kopf bekäme einen anderen Ausschnitt als
     der Hintergrund. Stattdessen liegt im Kopf eine stehende Kopie des Hintergrunds (gleiche Box wie .grund),
     zugeschnitten auf die Kopfhöhe. Der Kopf bleibt deckend, die Kante zum Hintergrund verschwindet. */
  .kopf { background: none; }
  .kopf::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(var(--schleier), var(--schleier)), #3d5560 var(--motiv) center 30% / cover no-repeat;
    clip-path: inset(0 0 calc(100% - var(--kopf-h)) 0); }
}

/* ---------- Blatt: die ruhige Arbeitsfläche; darüber bleibt ein Streifen des Hintergrunds frei ---------- */
.blatt {
  position: relative; margin: clamp(14px, 13vh, 150px) var(--rand) var(--rand);
  padding: clamp(28px, 3.4vw, 56px) var(--innen) clamp(22px, 3vw, 36px);
  border: 1px solid var(--blatt-kante); border-radius: var(--r-blatt);
  background: color-mix(in srgb, var(--blatt) var(--blatt-deckung), transparent);
  -webkit-backdrop-filter: blur(24px) saturate(1.25); backdrop-filter: blur(24px) saturate(1.25);
  box-shadow: var(--hoehe-blatt);
}
.blatt > * { max-width: var(--breite); margin-left: auto; margin-right: auto; }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .blatt { background: var(--blatt); } }

/* ---------- Schrift ---------- */
h1 {
  margin-top: 14px; max-width: 13em;
  font-size: clamp(2.3rem, 1.1rem + 3.4vw, 4.4rem); font-weight: 620; line-height: 1.0; letter-spacing: -.045em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.95rem, 1.15rem + 2.4vw, 3.3rem); font-weight: 620; line-height: 1.05; letter-spacing: -.038em; text-wrap: balance; }
.vorspann { max-width: 56ch; color: var(--gedaempft); font-size: clamp(1.0625rem, 1rem + .28vw, 1.25rem); line-height: 1.55; text-wrap: pretty; }
.ziffer { font-family: var(--ziffern); font-weight: 680; letter-spacing: -.025em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.klein { color: var(--gedaempft); font-size: .8125rem; line-height: 1.5; }
.zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--gedaempft); font-size: .9375rem; font-weight: 600; letter-spacing: -.005em; }
.punkt { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--t, var(--neutral)); }
.mini-pfad { display: inline-flex; gap: 3px; }
.mini-pfad i { width: 14px; height: 3px; border-radius: 2px; background: var(--linie-fest); }
.mini-pfad i.an { background: var(--info); }

/* ---------- Knöpfe wie in der Suite ---------- */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px;
  border: 0; border-radius: 12px; text-decoration: none; text-align: center; cursor: pointer;
  font-size: 1rem; font-weight: 630; letter-spacing: -.01em; line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.knopf--tinte { background: var(--knopf-tinte); color: var(--knopf-tinte-text); box-shadow: var(--hoehe-2); }
.knopf--tinte:hover { background: var(--knopf-tinte-hover); transform: translateY(-1px); box-shadow: var(--hoehe-3); }
.knopf--karte { background: var(--karte); color: var(--tinte); border: 1px solid var(--linie-fest); box-shadow: var(--hoehe-1); }
.knopf--karte:hover { background: var(--karte-2); }
.knopf--klein { min-height: 44px; padding: 0 16px; font-size: .9375rem; }
.knopf--gross { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.ziel-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--tinte); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Karte ---------- */
.karte { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r-karte); box-shadow: var(--hoehe-2); }
.kachel { flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--t-flaeche); color: var(--t-text); }
.kachel svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.etikett { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; margin-right: 10px; border-radius: 999px;
  background: var(--neutral-flaeche); color: var(--neutral-text); font-size: .8125rem; font-weight: 650; white-space: nowrap; }
.etikett--kunde { background: var(--gold-flaeche); color: var(--gold-text); }

/* ---------- Bühne: Satz, Karte „So beginnen Sie“ und darunter die Übersicht der Suite ---------- */
.buehne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); grid-template-areas: "text karte" "bild bild";
  gap: 0 clamp(28px, 5vw, 72px); align-items: end; }
.buehne__text { grid-area: text; }
.buehne .vorspann { margin-top: 18px; max-width: 60ch; }
.buehne .knoepfe { margin-top: 26px; }
.buehne__preis { display: none; }
.buehne__preis strong { color: var(--tinte); font-weight: 650; }
/* Nur am Telefon: kurzer Satz, drei Marken zum Preis, der lange Satz unter der Aufnahme */
.buehne__kurz, .buehne__marken, .buehne__nachtrag { display: none; }
.stand { grid-area: karte; padding: 14px 20px 16px; }
.stand__titel { font-size: 1rem; font-weight: 650; letter-spacing: -.012em; line-height: 1.3; }
.stand__zeilen { margin-top: 6px; }
.stand__zeilen > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--linie); }
.stand__zeilen dt { color: var(--gedaempft); font-size: .9375rem; }
.stand__zeilen dd { font-weight: 620; font-size: .9375rem; text-align: right; white-space: nowrap; }
.stand__preis { align-items: center !important; border-bottom: 0 !important; }
.stand__preis .gross { font-size: 1.75rem; line-height: 1.1; }
.stand .klein { margin-top: 6px; line-height: 1.45; text-wrap: pretty; }
.buehne__bild { grid-area: bild; margin-top: clamp(24px, 2.6vw, 36px); }
.buehne__rahmen { border-radius: 16px; overflow: hidden; box-shadow: var(--hoehe-3); }
.buehne__rahmen img { width: 100%; outline: 1px solid var(--linie); outline-offset: -1px; border-radius: 16px; }
.buehne__bild figcaption { margin-top: 12px; color: var(--gedaempft); font-size: .8125rem; }
@media (max-width: 899px) {
  .buehne { grid-template-columns: 1fr; grid-template-areas: "text" "bild" "karte"; align-items: start; }
  .buehne__preis { display: block; margin-top: 14px; max-width: 46ch; color: var(--gedaempft); font-size: .9375rem; line-height: 1.45; }
  .stand { margin-top: 28px; max-width: 480px; }
}

/* ---------- Wegweiser: die Stufenanzeige der Suite, jede Station ein Sprung ---------- */
.weg { margin-top: clamp(32px, 4vw, 56px); padding: 18px clamp(14px, 2.4vw, 28px) 12px; border-radius: var(--r-karte);
  background: var(--karte); border: 1px solid var(--linie); box-shadow: var(--hoehe-1); }
.weg ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.weg li { position: relative; display: flex; justify-content: center; }
.weg li + li::before { content: ''; position: absolute; top: 21px; right: calc(50% + 17px); width: calc(100% - 34px); height: 2px;
  border-radius: 2px; background: var(--info); transform-origin: left center; }
.weg li + li::after { content: ''; position: absolute; top: 21px; right: calc(50% + 17px); width: calc(100% - 34px); height: 2px;
  border-radius: 2px; background: var(--linie-fest); z-index: -1; }
.weg ol a { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; min-width: 64px; min-height: 44px; padding: 6px 4px;
  border-radius: 10px; text-decoration: none; }
.weg__punkt { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--info-text); color: var(--nr-ziffer);
  box-shadow: 0 0 0 4px var(--karte); font: 750 .875rem/1 var(--ziffern); }
@media (prefers-color-scheme: dark) { .weg__punkt { background: var(--info); } }
.weg__name { font-size: .9375rem; font-weight: 620; letter-spacing: -.01em;
  text-decoration: underline; text-decoration-color: var(--linie-fest); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.weg ol a:hover .weg__name { color: var(--info-text); text-decoration-color: currentColor; }
.weg p { margin-top: 6px; text-align: center; color: var(--gedaempft); font-size: .875rem; }
.weg__preise { display: inline-flex; align-items: center; min-height: 44px; color: var(--tinte); font-weight: 650; text-underline-offset: 3px; }
@media (max-width: 520px) {
  .weg { padding-left: 6px; padding-right: 6px; }
  .weg ol a { min-width: 0; max-width: 100%; padding-left: 2px; padding-right: 2px; }
  .weg__name { font-size: .78rem; text-underline-offset: 4px; text-align: center; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
  .weg li + li::before, .weg li + li::after { right: calc(50% + 15px); width: calc(100% - 30px); }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding-top: clamp(64px, 10vw, 152px); }
.abschnitt--erst { padding-top: clamp(64px, 8vw, 120px); }
.abschnitt__kopf { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px clamp(32px, 5vw, 80px);
  align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.abschnitt__kopf h2 { margin-top: 14px; max-width: 17ch; }
.abschnitt__kopf .vorspann { padding-bottom: 6px; }
.abschnitt__kopf .vorspann strong { color: var(--tinte); font-weight: 640; }
.abschnitt__kopf--kurz { display: block; }
@media (max-width: 999px) { .abschnitt__kopf { grid-template-columns: 1fr; } }
.zwischen { margin: clamp(56px, 7vw, 96px) 0 22px; font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem); font-weight: 630; letter-spacing: -.028em; line-height: 1.2; }

/* ---------- Lupen: Nahaufnahmen in ihrer eigenen Größe (Übersicht) ---------- */
.lupen { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 40px); }
.lupen__teil { width: min(100%, var(--b)); }
.lupen__bild { width: fit-content; max-width: 100%; border-radius: 14px; overflow: hidden; background: var(--karte);
  box-shadow: var(--hoehe-3); outline: 1px solid var(--linie); outline-offset: -1px; }
.lupen figcaption { margin-top: 16px; max-width: 46ch; }
.lupen h3 { font-size: 1.125rem; font-weight: 640; letter-spacing: -.018em; line-height: 1.3; }
.lupen p { margin-top: 6px; color: var(--gedaempft); font-size: .9375rem; line-height: 1.55; }

/* ---------- Platte: Aufnahme mit nummerierten Rahmen und Notizen ---------- */
.platte { display: grid; column-gap: clamp(28px, 3.4vw, 56px); }
.platte--links { grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "unter unter" "bild notizen"; }
.platte--rechts { grid-template-columns: 340px minmax(0, 1fr); grid-template-areas: "unter unter" "notizen bild"; }
.platte--voll { grid-template-columns: minmax(0, 1fr); grid-template-areas: "unter" "bild" "notizen"; }
.unterschrift { grid-area: unter; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--gedaempft);
  font-size: .875rem; font-weight: 600; line-height: 1.4; }
.unterschrift::before { content: ''; flex: none; width: 18px; height: 2px; border-radius: 2px; background: var(--linie-fest); }
.platte > .platte__bild { grid-area: bild; align-self: start; }
.platte__bild { position: relative; border-radius: 14px; box-shadow: var(--hoehe-3); }
.platte__bild img { width: 100%; border-radius: 14px; outline: 1px solid var(--linie); outline-offset: -1px; }
.platte > .notizen { grid-area: notizen; align-self: start; padding-top: 4px; }
.platte--voll > .notizen { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 40px); }
.notizen { display: flex; flex-direction: column; gap: clamp(26px, 3vw, 36px); }
.notiz h3 { display: flex; align-items: flex-start; gap: 10px; font-size: 1.0625rem; font-weight: 640; letter-spacing: -.015em; line-height: 1.3; }
.notiz p { margin-top: 6px; padding-left: 34px; color: var(--gedaempft); font-size: .9375rem; line-height: 1.55; }
.nr { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-top: -1px; border-radius: 50%;
  background: var(--nr-flaeche); color: var(--nr-ziffer); font: 750 .75rem/1 var(--ziffern); }
/* Notiz ohne Rahmen auf der Aufnahme: keine Nummer, als ruhige Karte abgesetzt */
.notiz--frei { padding: 16px 18px 18px; border-radius: 14px; background: var(--karte-2); border: 1px solid var(--linie); }
.notiz--frei p { padding-left: 0; }
.lupe { width: fit-content; max-width: 100%; margin-bottom: 14px; border-radius: 12px; overflow: hidden;
  background: var(--karte); box-shadow: var(--hoehe-3); outline: 2px solid var(--t); }
.lupe img { border-radius: 12px; }

/* Rahmen: liegt mit 4 Pixeln Abstand um das Element; die Nummer sitzt außerhalb (Lage aus zuschnitte.json) */
.marke { --nb: 24px; position: absolute; left: calc(var(--x) - 4px); top: calc(var(--y) - 4px);
  width: calc(var(--w) + 8px); height: calc(var(--h) + 8px);
  border: 2px solid var(--t); border-radius: 9px; pointer-events: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--t) 18%, transparent);
  transition: box-shadow .25s ease; }
.marke__nr { position: absolute; left: calc(4px - var(--nb)); top: calc(4px - var(--nb)); display: grid; place-items: center;
  width: var(--nb); height: var(--nb); border-radius: 50%; background: var(--nr-flaeche); color: var(--nr-ziffer);
  font: 750 .75rem/1 var(--ziffern); box-shadow: 0 0 0 2.5px var(--karte), var(--hoehe-2); }
.nr-l > .marke__nr { left: auto; right: calc(100% + 6px); top: -3px; }
.nr-r > .marke__nr { left: calc(100% + 6px); top: -3px; }
.nr-ro > .marke__nr { left: auto; right: calc(4px - var(--nb)); }
.nr-lu > .marke__nr { top: auto; bottom: calc(4px - var(--nb)); }
.nr-ru > .marke__nr { left: auto; right: calc(4px - var(--nb)); top: auto; bottom: calc(4px - var(--nb)); }
.marke.hervor { box-shadow: 0 0 0 6px color-mix(in srgb, var(--t) 30%, transparent); }
.marke.nur-tel { display: none; }
.schnitt { width: fit-content; max-width: 100%; border-radius: 12px; overflow: hidden; box-shadow: var(--hoehe-3); outline: 1px solid var(--linie); outline-offset: -1px; }

@media (min-width: 1000px) {
  .platte--links > .platte__bild, .platte--rechts > .platte__bild { position: sticky; top: calc(var(--kopf-h) + 24px); }
}
@media (max-width: 999px) {
  .platte--links, .platte--rechts { grid-template-columns: 1fr; grid-template-areas: "unter" "bild" "notizen"; }
  .platte > .notizen { margin-top: 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px 28px; }
}
@media (max-width: 699px) {
  .platte--ohne-tel .platte__bild, .platte--ohne-tel .unterschrift { display: none; }
  .platte--ohne-tel > .notizen { margin-top: 0; }
  .platte--mit-tel .lupe { display: none; }
  .platte > .notizen { margin-top: 26px; grid-template-columns: 1fr; }
  .platte__bild.hat-tel { width: min(100%, 330px); margin: 0 auto; border: 6px solid var(--bezel); border-radius: 34px; }
  .platte__bild.hat-tel img { border-radius: 28px; outline: 0; }
  .hat-tel .marke { --nb: 22px; left: calc(var(--tx) - 3px); top: calc(var(--ty) - 3px); width: calc(var(--tw) + 6px); height: calc(var(--th) + 6px); }
  .hat-tel .marke > .marke__nr { left: calc(3px - var(--nb)); right: auto; top: calc(3px - var(--nb)); bottom: auto; }
  .hat-tel .tnr-l > .marke__nr { left: auto; right: calc(100% + 5px); top: -3px; }
  .hat-tel .tnr-r > .marke__nr { left: calc(100% + 5px); top: -3px; }
  .hat-tel .tnr-ro > .marke__nr { left: auto; right: calc(3px - var(--nb)); }
  .hat-tel .tnr-lu > .marke__nr { top: auto; bottom: calc(3px - var(--nb)); }
  .hat-tel .tnr-ru > .marke__nr { left: auto; right: calc(3px - var(--nb)); top: auto; bottom: calc(3px - var(--nb)); }
  .hat-tel .marke.nur-gross { display: none; }
  .hat-tel .marke.nur-tel { display: block; }
  .notiz p { padding-left: 0; }
  .notiz--ohne-tel .nr { display: none; }
  .buehne__rahmen { width: min(100%, 330px); margin: 0 auto; border: 6px solid var(--bezel); border-radius: 34px; }
  .buehne__rahmen img { border-radius: 28px; outline: 0; }
  .buehne__bild figcaption { text-align: center; }
}

/* Telefon im Rahmen */
.telefon { border: 7px solid var(--bezel); border-radius: 38px; box-shadow: var(--hoehe-3); }
.telefon img { border-radius: 31px; outline: 0; }

/* ---------- Paar: In der Suite und beim Kunden ---------- */
.paar { display: grid; grid-template-columns: minmax(0, 345px) minmax(0, 300px) minmax(260px, 1fr);
  grid-template-areas: "a b notizen"; gap: 0 clamp(24px, 3vw, 48px); align-items: start; }
.paar__teil:nth-of-type(1) { grid-area: a; }
.paar__teil:nth-of-type(2) { grid-area: b; }
.paar > .notizen { grid-area: notizen; align-self: start; }
.paar__kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; min-height: 32px; margin-bottom: 14px; font-size: .9375rem; font-weight: 620; }
.paar__teil--karte .platte__bild { max-width: 345px; }
.karte-bild img { border-radius: 14px; outline: 1px solid var(--linie); outline-offset: -1px; }
.paar__teil--tel .platte__bild { max-width: 300px; }
.paar--breit { grid-template-columns: minmax(0, 1fr) minmax(0, 290px); grid-template-areas: "a b" "notizen notizen"; }
.paar--breit > .notizen { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (min-width: 1000px) { .paar:not(.paar--breit) > .notizen { margin-top: 46px; } }
@media (max-width: 1099px) {
  .paar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "a b" "notizen notizen"; }
  .paar > .notizen { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
  .paar--breit { grid-template-columns: minmax(0, 1fr) minmax(0, 240px); }
  .paar--breit > .notizen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .paar, .paar--breit { grid-template-columns: 1fr; grid-template-areas: "a" "b" "notizen"; }
  .paar__teil + .paar__teil { margin-top: 36px; }
  .paar__teil--tel .platte__bild { margin: 0 auto; width: min(100%, 300px); }
  .paar__teil--karte .platte__bild { width: min(100%, 345px); }
  .paar > .notizen, .paar--breit > .notizen { grid-template-columns: 1fr; }
}

/* ---------- Film „newways.suite und SENYA“: ein ruhiger Block wie eine Aufnahme (Rundung und Schatten der Platte) ----------
   Feste Seitenverhältnisse, damit nichts springt. Telefone im Hochformat bekommen das Hochformat (dieselbe Abfrage steht
   in bauen.py als FILM_HOCH). Nach dem Klick hält .film--quer bzw. .film--hoch das gewählte Format fest. */
.film { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "buehne text";
  column-gap: clamp(28px, 3.4vw, 56px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.film__text { grid-area: text; }
.film__text h3 { margin-top: 12px; font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem); font-weight: 630; letter-spacing: -.028em; line-height: 1.2; text-wrap: balance; }
.film__text p:not(.zeile) { margin-top: 10px; color: var(--gedaempft); max-width: 52ch; }
.film__text .film__hinweis { margin-top: 12px; }
.film__text .nb { white-space: nowrap; }
.film__buehne { grid-area: buehne; position: relative; aspect-ratio: 16 / 9; border-radius: 14px; background: var(--bezel); box-shadow: var(--hoehe-3); }
.film__start { display: block; position: relative; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 14px;
  background: none; color: #fff; text-decoration: none; text-align: left; cursor: pointer; }
.film__start picture, .film__start img { width: 100%; height: 100%; }
.film__start img, .film__buehne video { object-fit: cover; border-radius: 14px; outline: 1px solid var(--linie); outline-offset: -1px; }
.film__buehne video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.film__knopf { position: absolute; left: clamp(12px, 2.6%, 28px); bottom: clamp(12px, 4.4%, 28px); display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 6px 18px 6px 6px; border: 1px solid var(--pille-rand); border-radius: 16px;
  background: var(--pille); color: #fff; font-size: 1rem; font-weight: 620; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap;
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); transition: background-color .18s ease; }
.film__start:hover .film__knopf { background: var(--pille-hover); }
.film__play { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #fff; color: #12161d; }
.film__play svg { width: 20px; height: 20px; margin-left: 2px; fill: currentColor; }
.film__dauer { color: rgb(255 255 255 / .78); font-weight: 520; }
.film__dauer::before { content: '·'; margin-right: 12px; color: rgb(255 255 255 / .5); }
@media (max-width: 999px) {
  .film { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "buehne"; }
  .film__text { margin-bottom: 24px; }
}
@media (max-width: 699px) and (orientation: portrait) {
  .film:not(.film--quer) .film__buehne { aspect-ratio: 9 / 16; width: min(100%, 340px); margin: 0 auto; }
}
@media (max-width: 699px) {
  .film { margin-top: 44px; }
  .film__knopf { gap: 10px; font-size: .9375rem; }
}
@media (max-width: 359px) { .film__dauer { display: none; } }
.film--hoch .film__buehne { aspect-ratio: 9 / 16; width: min(100%, 340px); margin: 0 auto; }
.film--quer .film__buehne { aspect-ratio: 16 / 9; }
@media (forced-colors: active) { .film__knopf { border-color: ButtonText; } }

/* ---------- Zwei Bilder nebeneinander ---------- */
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 405px); gap: clamp(28px, 4vw, 56px); margin-top: clamp(56px, 7vw, 96px); align-items: start; }
.zwei figcaption { margin-top: 18px; }
.zwei h3 { font-size: 1.1875rem; font-weight: 640; letter-spacing: -.02em; }
.zwei p { margin-top: 6px; color: var(--gedaempft); max-width: 52ch; }
@media (max-width: 899px) { .zwei { grid-template-columns: 1fr; } .zwei__teil--schmal .schnitt { max-width: 405px; } }

/* ---------- Detailkarten: ein ruhiger Ton für alle ---------- */
.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.details--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 56px); }
.detail { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 22px; }
.detail--text { padding-top: 22px; }
.detail__probe { flex: 1 0 auto; display: grid; place-items: center; min-height: 170px; padding: clamp(16px, 2.4vw, 28px); margin-bottom: 18px;
  background: var(--karte-2); border-bottom: 1px solid var(--linie); }
.detail__probe img { border-radius: 10px; box-shadow: var(--hoehe-2); outline: 1px solid var(--linie); outline-offset: -1px; }
.detail h3 { padding: 0 22px; font-size: 1.0625rem; font-weight: 640; letter-spacing: -.018em; line-height: 1.3; }
.detail p { padding: 0 22px; margin-top: 7px; color: var(--gedaempft); font-size: .9375rem; line-height: 1.55; }
@media (max-width: 899px) { .details { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .details, .details--zwei { grid-template-columns: 1fr; }
  .details--kompakt { gap: 0; border-top: 1px solid var(--linie); }
  .details--kompakt .detail { padding: 14px 0 16px; border: 0; border-bottom: 1px solid var(--linie); border-radius: 0; background: none; box-shadow: none; }
  .details--kompakt .detail h3, .details--kompakt .detail p { padding: 0 2px; }
  .detail__probe { min-height: 0; }
  .detail--text { padding-top: 18px; padding-bottom: 18px; }
  .detail--text h3, .detail--text p { padding: 0 18px; }
}

/* Dauer: drei Schreibweisen, ein Wert */
.detail__probe--dauer { align-content: center; gap: 14px; }
.dauer { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.eingabe { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--linie-fest); border-radius: 10px;
  background: var(--karte); box-shadow: var(--hoehe-1); font: 650 1.125rem/1 var(--ziffern); letter-spacing: -.01em; }
.dauer__gleich { color: var(--erfolg-text); font: 650 1rem/1.3 var(--ziffern); text-align: center; }

/* Töne */
.toene { display: grid; justify-items: start; gap: 10px; }
.ton-marke { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--t-flaeche); color: var(--t-text); font-size: .875rem; font-weight: 650; }
.ampel { width: 8px; height: 8px; border-radius: 50%; background: var(--t); }

/* Glas: dieselbe Stelle der Übersicht am Telefon, Regler „Glasfläche“ auf der Vorgabe 50 % und am durchsichtigen Ende 35 % */
.detail__probe--glas { display: flex; gap: 14px; align-items: center; justify-content: center; overflow: hidden; }
.glas-bild { display: grid; justify-items: center; gap: 8px; width: 46%; margin: 0; }
.glas-wert { color: var(--gedaempft); font-size: .75rem; font-weight: 650; white-space: nowrap; }
#oberflaeche .glas-bild img { max-height: 172px; width: auto; max-width: 100%; height: auto; }

.hinweis-satz { margin-top: 22px; max-width: 80ch; color: var(--gedaempft); font-size: .8125rem; line-height: 1.55; }

/* ---------- Vorführung: Summenleiste und Zahlung ---------- */
.vorfuehrung { display: grid; gap: clamp(28px, 3.4vw, 44px); }
.probe { padding: clamp(18px, 2.6vw, 30px); }
.probe__marke { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-text); font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.probe__marke::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }
.probe__titel { margin-top: 10px; font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); font-weight: 640; letter-spacing: -.03em; line-height: 1.15; }
.probe__text { margin-top: 6px; color: var(--gedaempft); }
.summen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; border: 1px solid var(--linie-fest); border-radius: 14px; overflow: hidden; background: var(--karte); }
.summe { display: grid; gap: 6px; align-content: start; min-height: 86px; padding: 14px 16px; border: 0; border-right: 1px solid var(--linie-fest); background: none;
  text-align: left; cursor: pointer; transition: background-color .15s ease; }
.summe:last-child { border-right: 0; }
.summe:hover { background: var(--karte-2); }
.summe[aria-pressed="true"] { background: var(--karte-2); box-shadow: inset 0 -3px 0 var(--tinte); }
.summe__kopf { display: flex; align-items: center; gap: 7px; color: var(--gedaempft); font-size: .875rem; font-weight: 600; line-height: 1.25; }
.summe__zahl { margin-left: auto; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--neutral-flaeche); color: var(--neutral-text); font: 700 .75rem/1 var(--ziffern); }
.summe strong { font: 700 1.25rem/1.2 var(--ziffern); letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: proportional-nums; }
.ampel--blau { background: var(--info); } .ampel--rot { background: var(--gefahr); } .ampel--gelb { background: var(--warnung); }
.ampel--gruen { background: var(--erfolg); } .ampel--grau { background: var(--neutral); }
.probe__raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 16px; align-items: start; }
.probe.mit-dialog .probe__raster { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); }
.liste { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.liste th { padding: 10px 8px; border-bottom: 1px solid var(--linie-fest); color: var(--gedaempft); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-align: left; }
.liste td { padding: 12px 8px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.liste .zahl { text-align: right; font-family: var(--ziffern); font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.liste td.rot { color: var(--gefahr-text); font-weight: 650; }
.liste tr.geaendert td { background: var(--erfolg-flaeche); transition: background-color 1.2s ease; }
.zelle-kunde { display: flex; align-items: center; gap: 10px; }
.zeile-name { display: grid; line-height: 1.25; }
.zeile-name small { color: var(--gedaempft); font-size: .8125rem; }
.kuerzel { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 700 .75rem/1 var(--ziffern); }
.kuerzel--a { background: #e3ecfb; color: #2a57a8; } .kuerzel--b { background: #fbe3ee; color: #a3305f; } .kuerzel--c { background: #e2f3ea; color: #1f6e45; }
.kuerzel--d { background: #f3ecdc; color: #7b5a12; } .kuerzel--e { background: #e6f0ef; color: #255e5a; } .kuerzel--f { background: #efe7fa; color: #5b3aa3; }
@media (prefers-color-scheme: dark) {
  .kuerzel--a { background: #1f3352; color: #a9c6f5; } .kuerzel--b { background: #47243a; color: #f2b0cd; } .kuerzel--c { background: #173a2b; color: #8fe0b3; }
  .kuerzel--d { background: #3d3216; color: #f2d588; } .kuerzel--e { background: #1d3a38; color: #9fd8d2; } .kuerzel--f { background: #2e2a4d; color: #cdbdf8; }
}
.stand-zelle { display: inline-grid; gap: 5px; vertical-align: middle; }
.status { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: .8125rem; font-weight: 650; white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--rot { background: var(--gefahr-flaeche); color: var(--gefahr-text); }
.status--blau { background: var(--info-flaeche); color: var(--info-text); }
.status--gelb { background: var(--warnung-flaeche); color: var(--warnung-text); }
.status--gruen { background: var(--erfolg-flaeche); color: var(--erfolg-text); }
.mini-stufen { display: inline-flex; gap: 3px; }
.mini-stufen i { width: 12px; height: 3px; border-radius: 2px; background: var(--linie-fest); }
.mini--rot i.an { background: var(--gefahr); } .mini--blau i.an { background: var(--info); } .mini--gelb i.an { background: var(--warnung); } .mini--gruen i.an { background: var(--erfolg); }
.zeilen-knopf { margin-left: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--linie-fest); border-radius: 10px; background: var(--karte);
  font-size: .875rem; font-weight: 620; cursor: pointer; vertical-align: middle; white-space: nowrap; }
.zeilen-knopf:hover { background: var(--karte-2); }
.zeilen-knopf[aria-expanded="true"] { border-color: var(--info); box-shadow: 0 0 0 3px var(--info-flaeche); }
.liste-leer { padding: 28px 8px; color: var(--gedaempft); }
.zahlung { align-self: start; border: 1px solid var(--linie-fest); border-radius: 16px; background: var(--karte); box-shadow: var(--hoehe-3); overflow: hidden; }
.zahlung__kopf { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--linie); }
.zahlung__kopf h4 { font-size: 1.0625rem; font-weight: 650; }
.zahlung__zu { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; cursor: pointer; }
.zahlung__zu:hover { background: var(--karte-2); }
.zahlung__zu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.zahlung__beleg { display: grid; gap: 2px; margin: 14px 18px 0; padding: 12px 14px; border-radius: 12px; background: var(--karte-2); border: 1px solid var(--linie); font-size: .875rem; }
.zahlung__beleg span { color: var(--gedaempft); font-size: .8125rem; }
.feld { padding: 14px 18px 0; }
.feld label { display: block; margin-bottom: 6px; font-weight: 650; font-size: .9375rem; }
.feld label span { color: var(--gefahr); }
.feld input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--linie-fest); border-radius: 10px; background: var(--karte); color: var(--tinte);
  font: 600 1.0625rem/1 var(--ziffern); }
.feld input:focus { outline: 2.5px solid var(--info); outline-offset: 1px; }
.feld input[aria-invalid="true"] { border-color: var(--warnung); }
.feld__hilfe { margin-top: 6px; color: var(--gedaempft); font-size: .8125rem; }
.hinweis { display: flex; gap: 10px; margin: 12px 18px 0; padding: 12px 14px; border-radius: 12px; background: var(--warnung-flaeche); color: var(--warnung-text); font-size: .875rem; line-height: 1.45; }
.hinweis svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.haken { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 8px 18px 0; font-size: .9375rem; cursor: pointer; }
.haken input { width: 20px; height: 20px; accent-color: var(--knopf-tinte); }
.zahlung__fuss { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding: 14px 18px; border-top: 1px solid var(--linie); }
.probe__fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; margin-top: 12px; }
.probe__meldung { min-height: 1.5em; color: var(--erfolg-text); font-weight: 600; }
.probe__neu { min-height: 44px; margin-left: auto; padding: 0 2px; border: 0; background: none; color: var(--gedaempft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.probe__ohne-skript { display: none; margin-top: 16px; color: var(--gedaempft); }
html:not(.js) .probe__ohne-skript { display: block; }
html:not(.js) .summen, html:not(.js) .probe__neu, html:not(.js) .zeilen-knopf, html:not(.js) .probe__text { display: none; }
.vorfuehrung__seite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 48px); align-items: start; }
.beleg-bild figcaption { display: grid; gap: 6px; margin-bottom: 12px; color: var(--gedaempft); font-size: .875rem; line-height: 1.45; }
.beleg-bild .etikett { justify-self: start; margin-right: 0; }
@media (max-width: 899px) {
  .probe.mit-dialog .probe__raster { grid-template-columns: 1fr; }
  .vorfuehrung__seite { grid-template-columns: 1fr; }
}
@media (max-width: 699px) {
  .summen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summe { min-height: 78px; padding: 12px; border-bottom: 1px solid var(--linie-fest); }
  .summe:nth-child(2n) { border-right: 0; }
  .summe strong { font-size: 1.0625rem; }
  .liste thead { display: none; }
  .liste, .liste tbody, .liste tr, .liste td { display: block; }
  .liste tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 2px; border-bottom: 1px solid var(--linie); }
  .liste tr[hidden] { display: none; }
  .liste td { padding: 0; border: 0; }
  .liste td:nth-child(1) { grid-column: 1 / -1; }
  .liste td:nth-child(2) { grid-column: 2; grid-row: 2; }
  .liste td:nth-child(3) { grid-column: 2; grid-row: 3; text-align: right; }
  .liste td:nth-child(4) { grid-column: 1; grid-row: 2 / span 2; }
  .zeilen-knopf { margin: 8px 0 0; display: flex; align-items: center; }
  .zeilen-knopf[hidden] { display: none; }
  .liste tr.geaendert { background: var(--erfolg-flaeche); transition: background-color 1.2s ease; }
}
@media (max-width: 359px) {
  .summe { padding: 10px; }
  .summe__kopf { flex-wrap: wrap; gap: 4px 7px; }
  .summe__zahl { margin-left: 0; }
  .summe strong { font-size: 1rem; }
}

/* ---------- Posteingang: Post, Telefon, Briefe in einem Absatz ---------- */
.post { max-width: 980px; margin-top: clamp(40px, 5vw, 60px); padding-top: 22px; border-top: 1px solid var(--linie); }
.post__titel { font-size: 1.0625rem; font-weight: 650; letter-spacing: -.012em; }
.post p { margin-top: 8px; color: var(--gedaempft); font-size: .9375rem; line-height: 1.65; }
.post strong { color: var(--tinte); font-weight: 650; }

/* ---------- Ihr Arbeitsplatz ---------- */
.arbeitsplatz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(24px, 4vw, 56px); align-items: center; }
.vorschau { position: relative; overflow: hidden; padding: clamp(36px, 7%, 72px) 6% 0; border-radius: 20px; box-shadow: var(--hoehe-3);
  background: linear-gradient(var(--schleier), var(--schleier)), #3d5560 var(--vorschau-motiv, var(--motiv)) center / cover no-repeat; }
.vorschau__blatt { padding: clamp(14px, 2.4vw, 28px); border: 1px solid var(--blatt-kante); border-bottom: 0; border-radius: 18px 18px 0 0;
  background: color-mix(in srgb, var(--blatt) 92%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); box-shadow: var(--hoehe-blatt); }
.vorschau__titel { font-size: clamp(1.1rem, .9rem + .9vw, 1.6rem); font-weight: 640; letter-spacing: -.03em; }
.vorschau__karten { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(10px, 1.6vw, 18px); margin-top: clamp(10px, 1.6vw, 18px); }
.vorschau__karte { width: min(100%, var(--b)); }
.vorschau__karte img { width: 100%; border-radius: 12px; box-shadow: var(--hoehe-2); }
.motive__titel { font-weight: 650; }
.motive__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.motiv { display: grid; gap: 6px; width: 100%; padding: 5px 5px 8px; border: 1px solid var(--linie-fest); border-radius: 12px; background: var(--karte);
  text-align: left; font-size: .8125rem; font-weight: 600; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.motiv img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.motiv span { padding: 0 4px; }
.motiv:hover { border-color: var(--neutral); }
.motiv[aria-pressed="true"] { border-color: var(--info); box-shadow: 0 0 0 2px var(--info); }
.motive__stand { min-height: 1.4em; margin-top: 12px; font-size: .875rem; font-weight: 600; }
.motive .klein { margin-top: 6px; }
html:not(.js) .motiv { pointer-events: none; }
.js .motive__ohne-skript { display: none; }
.arbeitsplatz + .details { margin-top: clamp(36px, 5vw, 64px); }
#oberflaeche .detail__probe { flex: 0 0 auto; height: 250px; min-height: 0; }
#oberflaeche .detail__probe img { max-height: 200px; width: auto; }
@media (max-width: 899px) { .arbeitsplatz { grid-template-columns: 1fr; } }
@media (max-width: 639px) { #oberflaeche .detail__probe { height: auto; } }

/* ---------- Preise ---------- */
.preise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.stufen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.stufe { display: flex; flex-direction: column; padding: 24px 22px 22px; }
.stufe h3 { font-size: 1.25rem; font-weight: 660; letter-spacing: -.02em; }
.stufe__satz { margin-top: 2px; color: var(--gedaempft); font-size: .9375rem; }
.stufe__preis { display: grid; margin-top: 18px; }
.stufe__preis .ziffer { font-size: clamp(2.2rem, 1.7rem + 1.2vw, 2.8rem); line-height: 1.05; font-variant-numeric: proportional-nums; }
.stufe__je { color: var(--gedaempft); font-size: .875rem; }
.stufe__danach { margin-top: 6px; color: var(--tinte); font-size: .875rem; font-weight: 600; }
.haken-liste { display: grid; gap: 10px; margin: 18px 0 22px; padding-top: 16px; border-top: 1px solid var(--linie); }
.haken-liste li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .9375rem; line-height: 1.4; }
.haken-liste svg { width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--erfolg); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.stufe .knopf { margin-top: auto; padding-left: 12px; padding-right: 12px; }
.jede { display: flex; flex-direction: column; padding: 24px 22px 22px; background: var(--karte-2); box-shadow: none; }
.jede h3 { font-size: 1.0625rem; font-weight: 650; }
.jede .haken-liste { margin-bottom: 0; }
.jede .demo { margin-top: auto; padding-top: 22px; color: var(--gedaempft); font-size: .875rem; line-height: 1.5; }
.jede .demo a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tinte); font-weight: 650; text-underline-offset: 3px; }
@media (min-width: 800px) { .stufe__satz { min-height: 3em; } }
.bedingungen { display: grid; gap: 8px; max-width: 92ch; margin-top: 22px; color: var(--gedaempft); font-size: .8125rem; line-height: 1.55; }
.bedingungen .ziel-link { font-size: .875rem; }
@media (max-width: 1099px) { .preise { grid-template-columns: 1fr; } }
@media (max-width: 799px) { .stufen { grid-template-columns: 1fr; } }

/* Einstiegsaktion: ohne Skript der Normalpreis mit Hinweis, mit Skript bis 31.12.2026 der Aktionspreis */
.preis-aktion { display: none; }
.aktion .preis-aktion { display: inline; }
.aktion .preis-normal { display: none; }
.nur-aktion { display: none; }
.aktion .nur-aktion { display: block; }
.js .ohne-skript { display: none; }
.js:not(.aktion) .nur-aktion-oder-ohne { display: none; }

/* ---------- Fragen ---------- */
#fragen .abschnitt__kopf { margin-bottom: 28px; }
.fragen-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(28px, 4vw, 64px); align-items: start; }
.fragen { display: grid; max-width: 920px; border-top: 1px solid var(--linie-fest); }
.fragen details { border-bottom: 1px solid var(--linie-fest); }
.fragen summary { position: relative; display: flex; align-items: center; min-height: 60px; padding: 14px 52px 14px 2px; cursor: pointer; list-style: none;
  font-size: 1.0625rem; font-weight: 620; letter-spacing: -.012em; line-height: 1.35; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ''; position: absolute; right: 12px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--gedaempft); border-bottom: 2px solid var(--gedaempft); transform: rotate(45deg); transition: transform .2s ease; }
.fragen details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.fragen summary:hover { color: var(--info-text); }
.fragen p { max-width: 72ch; padding: 0 2px 20px; color: var(--gedaempft); }
.fragen p a { color: var(--tinte); font-weight: 600; text-underline-offset: 3px; }
.fragen__seite { display: grid; gap: 12px; padding: 24px 22px 18px; }
.fragen__seite h3 { font-size: 1.1875rem; font-weight: 650; letter-spacing: -.02em; }
.fragen__seite p { color: var(--gedaempft); font-size: .9375rem; line-height: 1.55; }
.fragen__seite .knopf { width: 100%; margin-top: 4px; }
.fragen__seite .ziel-link { justify-self: center; font-size: .9375rem; }
@media (max-width: 899px) { .fragen-raster { grid-template-columns: 1fr; } .fragen__seite { max-width: 480px; } }

/* ---------- Schluss und Fuß ---------- */
.schluss { margin-top: clamp(84px, 11vw, 160px); padding: clamp(36px, 6vw, 72px) clamp(20px, 4vw, 48px); border-radius: 22px; text-align: center;
  background: var(--karte); border: 1px solid var(--linie); box-shadow: var(--hoehe-2); }
.schluss h2 { max-width: 18ch; margin: 0 auto; }
.schluss__preis { max-width: 62ch; margin: 16px auto 0; color: var(--gedaempft); font-size: 1.125rem; }
.schluss .knoepfe { justify-content: center; margin-top: 26px; }
.schluss .klein { margin-top: 14px; }
.fuss { display: grid; gap: 18px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--linie); color: var(--gedaempft); font-size: .875rem; }
.fuss__marke { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; line-height: 1.5; }
.fuss__marke .marke-logo { flex: none; height: 32px; }
.fuss__marke strong { color: var(--tinte); font-weight: 640; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.fuss nav a, .fuss__sprachen a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.fuss__sprachen { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
.fuss__sprachen a[aria-current] { color: var(--tinte); font-weight: 650; text-decoration: none; }

/* 404 */
.seite-fehler .blatt--fehler { max-width: 860px; margin: clamp(40px, 12vh, 140px) auto; }
.blatt--fehler .vorspann { margin-top: 16px; }
.blatt--fehler .knoepfe { margin-top: 30px; }

/* ---------- Telefon ---------- */
@media (max-width: 699px) {
  .blatt { margin-top: 12px; }
  .buehne .knoepfe .knopf--karte { display: none; }
  .buehne .knoepfe { margin-top: 22px; }
  .buehne .knoepfe .knopf { width: 100%; }
  .buehne .vorspann { margin-top: 14px; font-size: 1rem; line-height: 1.5; }
  /* Erstes Bild am Telefon: Oberzeile, Überschrift, ein kurzer Satz, Knopf, drei Marken, dann gleich die Suite */
  .buehne { grid-template-areas: "text" "bild" "mehr" "karte"; }
  .buehne__lang { display: none; }
  .buehne__kurz { display: inline; }
  .buehne .buehne__preis { display: none; }
  .buehne .zeile { font-size: .8125rem; letter-spacing: -.01em; }
  .buehne .knoepfe { margin-top: 18px; }
  .buehne__marken { display: block; margin-top: 12px; }
  .fakten { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  .fakt { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 999px;
    background: var(--neutral-flaeche); color: var(--neutral-text); font-size: .8125rem; font-weight: 620; letter-spacing: -.005em; white-space: nowrap; }
  .fakt--null { background: var(--erfolg-flaeche); color: var(--erfolg-text); font-weight: 680; }
  /* Verweis auf die Bedingungen: unauffällig, Trefferfläche 44 px über Innenabstand */
  .fakten__verweis { display: inline-flex; align-items: center; min-height: 44px; margin: -7px 0; padding: 0 2px;
    color: var(--tinte); font-size: .8125rem; font-weight: 620; text-underline-offset: 3px; }
  .buehne__ohne { margin-top: 6px; color: var(--gedaempft); font-size: .8125rem; line-height: 1.45; }
  .buehne__bild { margin-top: 18px; }
  .buehne .buehne__nachtrag { display: block; grid-area: mehr; margin-top: 22px; }
  .buehne .stand { margin-top: 22px; max-width: none; }
  .fragen__seite { display: none; }
  .abschnitt { padding-top: 52px; }
  .abschnitt__kopf { margin-bottom: 26px; gap: 14px; }
  .notizen { gap: 22px; }
  .stufe { padding: 20px 18px 18px; }
  .stufe__preis { margin-top: 12px; }
  .detail__probe { padding: 14px; margin-bottom: 14px; }
  .vorschau__karte + .vorschau__karte { display: none; }
  .vorfuehrung__seite { display: none; }
  .haken-liste { gap: 7px; margin: 14px 0 18px; padding-top: 12px; }
  .zwischen { margin-top: 40px; margin-bottom: 16px; }
  h1 { font-size: clamp(2.05rem, 1.25rem + 4vw, 2.5rem); margin-top: 10px; }
  .nur-gross-bild { display: none; }
}

/* ---------- Bewegung: einmal beim Hineinrollen, nie beim Lesen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .buehne__text > * { animation: auftauchen .7s cubic-bezier(.2, .7, .2, 1) both; }
  .buehne__text > :nth-child(2) { animation-delay: .06s; }
  .buehne__text > :nth-child(3) { animation-delay: .12s; }
  .buehne__text > :nth-child(4) { animation-delay: .18s; }
  .buehne__text > :nth-child(6) { animation-delay: .22s; }
  .stand { animation: auftauchen .8s .22s cubic-bezier(.2, .7, .2, 1) both; }
  .buehne__bild { animation: auftauchen .9s .3s cubic-bezier(.2, .7, .2, 1) both; }

  .js .weg:not(.gefuellt) li + li::before { transform: scaleX(0); }
  .js .weg:not(.gefuellt) .weg__punkt { background: var(--karte); color: var(--gedaempft); box-shadow: 0 0 0 4px var(--karte), inset 0 0 0 2px var(--linie-fest); }
  .weg li + li::before { transition: transform .45s cubic-bezier(.4, 0, .2, 1) calc(var(--i) * .32s - .26s); }
  .weg__punkt { transition: background-color .25s ease calc(var(--i) * .32s), color .25s ease calc(var(--i) * .32s), box-shadow .25s ease calc(var(--i) * .32s); }

  .js .kommt { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .js .kommt.ist-da { opacity: 1; transform: none; }
  .sofort .kommt { transition: none !important; }

  .js [data-platte] .marke { opacity: 0; transform: scale(1.06); transition: opacity .45s ease, transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease; }
  .js [data-platte] .lupe { opacity: 0; transform: translateY(10px) scale(.96); filter: blur(5px);
    transition: opacity .5s ease, transform .7s cubic-bezier(.2, .7, .2, 1), filter .6s ease; }
  .js [data-platte].ist-da .marke, .js [data-platte].ist-da .lupe { opacity: 1; transform: none; filter: none; }
  .js [data-platte].ist-da [data-folge="2"] { transition-delay: .3s; }
  .js [data-platte].ist-da [data-folge="3"] { transition-delay: .6s; }
  .js [data-platte].ist-da [data-folge="4"] { transition-delay: .85s; }
}
@keyframes auftauchen { from { opacity: 0; transform: translateY(14px); } }
/* „Bewegung reduzieren“: nichts hebt sich, nichts gleitet */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .knopf--tinte:hover { transform: none; }
}

@media (forced-colors: active) {
  .marke { border-color: Highlight; }
  .marke__nr, .nr, .weg__punkt { forced-color-adjust: none; }
  .lupe { outline-color: Highlight; }
}
@media print {
  .grund, .kopf, .menue, .probe__neu { display: none !important; }
  .blatt { margin: 0; box-shadow: none; border: 0; }
}

/* Telefone unter 390 px: Logo etwas kleiner, damit der Kopf seinen Rand behält */
@media (max-width: 389px) {
  .pille--marke .marke-logo { height: 24px; }
}

/* Sehr schmale Telefone (unter 360 px): Logo und Abstände im Kopf kleiner, damit nichts über den Rand läuft */
@media (max-width: 359px) {
  .kopf__innen { gap: 4px; padding: 0 8px; }
  .pille { padding: 0 9px; }
  .pille--marke { padding: 0 8px; }
  .pille--marke .marke-logo { height: 20px; }
}
