/* Twinmotion bei FirstInVision (ENT-217, Nachtrag 1 und 2), zweite Fassung der Gestaltung.
   Leitbild: heller Karton, Tusche, feine Linien, die Renderings liegen als große Blätter darauf.
   Kein Gitter und kein Punktraster als Hintergrund: das ist das Erkennungszeichen von cascados.de (ENT-217 Nachtrag 2).
   Magenta ist die Akzentfarbe, wie auf der alten Seite: Regler, Markierungen, Verweise. Schrift Inter vom eigenen Server.

   1 Schrift   2 Werte   3 Grundlagen   4 Bausteine (Knöpfe, Listen, Blatt, Film, Symbole)   5 Kopfleiste   6 Auftakt mit Vergleich
   7 Schritte   8 Kameraflug   9 Werkzeuge   10 Bildtafel   11 CAD   12 Lizenz   13 Präsentation und Video   14 System und Fragen
   15 Schluss und Fuß   16 Textseiten   17 Anfrageformular (Klassen des Plugins cascados-anfragen)   18 Bewegung und Druck */

/* ───────── 1. Schrift: Inter, nur der lateinische Zeichensatz, vom eigenen Server ───────── */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter/inter-latin-700-normal.woff2") format("woff2"); }

/* ───────── 2. Werte ───────── */
:root {
  color-scheme: light;           /* Eingabefelder und Rollbalken bleiben hell, auch wenn das Gerät dunkel eingestellt ist */

  --karton: #fbfaf7;             /* Grund der Seite */
  --karton-2: #f2f0ea;           /* zweite Fläche */
  --weiss: #ffffff;
  --tusche: #15171b;             /* Text, Knöpfe, dunkle Flächen */
  --tusche-2: #2c3036;
  --blei: #5b6068;               /* Nebentext, 6,0:1 auf dem Karton */
  --linie: #dedbd3;
  --linie-2: #c9c5bb;
  --rand-feld: #8a8d93;          /* Rahmen von Eingabefeldern, 3,3:1 auf Weiß */
  --magenta: #e74592;            /* Akzent, der Ton der alten Seite: nur Linien und Marken (3,2:1 auf der zweiten Fläche, für Text zu hell) */
  --magenta-text: #c21969;       /* derselbe Farbton dunkler: Text und Flächen mit weißer Schrift, mindestens 5,0:1 */
  --magenta-tief: #991453;
  --auf-dunkel: #ffffff;
  --auf-dunkel-2: #c5c7cc;
  --linie-dunkel: rgba(255, 255, 255, 0.18);
  --fokus: var(--magenta-text);
  --ecke: 6px;
  --schatten: 0 0 0 1px var(--linie), 0 32px 64px -40px rgba(21, 23, 27, 0.5);

  --rand: max(clamp(20px, 5vw, 56px), env(safe-area-inset-left), env(safe-area-inset-right));   /* Rand, bei Geräten mit Kerbe mindestens deren Aussparung */
  --kopf-hoehe: 68px;

  /* Namen, die das Plugin cascados-anfragen für sein Fenster erwartet */
  --bg-light: var(--weiss);
  --orange: var(--magenta-text);
  --orange-d: var(--magenta-tief);
  --charcoal: var(--tusche);
  --charcoal2: var(--blei);
  --white: #ffffff;
}

/* ───────── 3. Grundlagen ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-hoehe) + 16px); -webkit-tap-highlight-color: rgba(231, 69, 146, 0.18); }
a, button, summary, select, input, textarea { touch-action: manipulation; }   /* kein Warten auf den Doppeltipp */
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tusche);
  background: var(--karton);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3 { margin: 0; text-wrap: balance; overflow-wrap: break-word; }
@media (max-width: 479.98px) { h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; } }   /* lange Wörter wie „Systemanforderungen“ trennen statt überlaufen */
/* Spalten der Raster dürfen schmaler werden als ihr längstes Wort */
.auftakt__seite > *, .schritte__kopf > *, .schritt > *, .werkzeuge__raster > *, .cad__raster > *, .lizenz__raster > *, .vorfuehrung__raster > *, .kino__raster > *, .system__raster > *, .fragen__raster > *, .schluss__raster > *, .fuss__raster > *, .kontakt__raster > * { min-width: 0; }
h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.25rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
img, video, svg { max-width: 100%; }
img, video { height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: var(--magenta-text); color: var(--weiss); }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 3px; }
input, textarea, select { caret-color: var(--magenta-text); }
[hidden] { display: none !important; }   /* eigene display-Angaben würden das Attribut sonst aufheben */

.breite { width: min(100% - 2 * var(--rand), 1280px); margin-inline: auto; }
.zusammen { white-space: nowrap; }
.klein { font-size: 0.875rem; color: var(--blei); }
.klein a { color: var(--magenta-text); }
.nur-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sprung { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: var(--ecke); background: var(--tusche); color: var(--weiss); font-weight: 600; text-decoration: none; }
.sprung:focus { top: 12px; }

/* ───────── 4. Bausteine ───────── */
.symbol { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.symbol--abspielen { fill: currentColor; stroke: none; }
a > .symbol--extern { width: 0.95em; height: 0.95em; margin-left: 0.15em; vertical-align: -0.1em; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid var(--magenta-text); border-radius: var(--ecke);
  background: var(--magenta-text); color: var(--weiss);   /* der Hauptknopf trägt die Akzentfarbe, weiße Schrift darauf 5,8:1 */
  font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.knopf:hover { background: var(--magenta-tief); border-color: var(--magenta-tief); }
.knopf:active { transform: translateY(1px); }
.knopf--klein { min-height: 40px; padding: 8px 16px; font-size: 0.9375rem; white-space: nowrap; }
.knopf--rand { background: transparent; border-color: var(--tusche); color: var(--tusche); }
.knopf--rand:hover { background: var(--tusche); border-color: var(--tusche); color: var(--weiss); }
.knopfzeile { display: flex; flex-wrap: wrap; gap: 12px; }

/* Listen: ein kurzer Strich in Magenta vor jedem Punkt, feine Linien dazwischen */
.liste { list-style: none; margin-block: 8px 20px; }
.liste li { position: relative; padding: 11px 0 11px 28px; border-top: 1px solid var(--linie); }
.liste li:last-child { border-bottom: 1px solid var(--linie); }
.liste li::before { content: ""; position: absolute; left: 0; top: calc(11px + 0.8em - 1px); width: 14px; height: 2px; background: var(--magenta); }

.pfeillink { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 2px solid var(--magenta); font-weight: 600; text-decoration: none; }
.pfeillink .symbol { transition: transform 0.2s ease; }
.pfeillink:hover .symbol { transform: translateX(4px); }

/* Blatt: ein Bild, das wie ein aufgelegtes Blatt auf dem Karton liegt */
.blatt { overflow: hidden; border-radius: var(--ecke); background: var(--karton-2); box-shadow: var(--schatten); }
.blatt picture, .blatt img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Film: Standbild, darüber das Video, sobald es geladen ist (assets/main.js). Der Knopf hält das Video an. */
.film { position: relative; overflow: hidden; background: var(--tusche-2); }
.film picture, .film img, .film__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__video { position: absolute; inset: 0; }
.film__knopf {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%;
  background: rgba(21, 23, 27, 0.7); color: var(--auf-dunkel); cursor: pointer;
  --fokus: #ffffff;
}
.film__knopf:hover { background: var(--tusche); }
.film__knopf .symbol--abspielen, .film--steht .film__knopf .symbol--pause { display: none; }
.film--steht .film__knopf .symbol--abspielen { display: block; }

/* ───────── 5. Kopfleiste ───────── */
.kopf { position: sticky; top: 0; z-index: 60; background: var(--karton); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.kopf--schatten { border-bottom-color: var(--linie); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--kopf-hoehe); }
.kopf__logo { flex: none; display: block; text-decoration: none; }
.marke { display: inline-flex; align-items: center; gap: 14px; }
.marke__tm { width: auto; height: 22px; }
.marke__fiv { width: auto; height: 14px; }
.marke__strich { width: 1px; height: 24px; background: var(--linie-2); }
.kopf__nav ul { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; }
.kopf__nav a { display: block; padding: 8px 0; color: var(--blei); font-size: 0.9375rem; font-weight: 500; text-decoration: none; transition: color 0.18s ease; }
.kopf__nav a:hover { color: var(--tusche); text-decoration: underline; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
.kopf__aktion { display: flex; align-items: center; gap: 8px; }
.kopf__menue { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--tusche); cursor: pointer; }
.kopf__menue .symbol { width: 26px; height: 26px; }
.kopf__menue .symbol--zu, .kopf__menue[aria-expanded="true"] .symbol--menue { display: none; }
.kopf__menue[aria-expanded="true"] .symbol--zu { display: block; }

@media (max-width: 899.98px) {
  :root { --kopf-hoehe: 60px; }
  .marke { gap: 10px; }
  .marke__tm { height: 18px; }
  .marke__fiv { height: 11px; }
  .marke__strich { height: 20px; }
  .kopf__menue { display: inline-flex; }
  .kopf__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 4px var(--rand) 28px; background: var(--karton); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
  .kopf--offen .kopf__nav { display: block; }
  .kopf__nav ul { flex-direction: column; gap: 0; }
  .kopf__nav a { padding: 16px 0; border-bottom: 1px solid var(--linie); font-size: 1.125rem; color: var(--tusche); }
}
@media (max-width: 479.98px) {
  .kopf__innen { gap: 8px; }
  .marke__fiv, .marke__strich { display: none; }   /* auf dem Handy steht FirstInVision im Text darunter und im Fuß */
  .kopf__aktion { gap: 2px; }
  .kopf .knopf--klein { padding-inline: 12px; font-size: 0.875rem; }
}

/* ───────── 6. Auftakt: Aussage, Knöpfe, Vergleich von CAD-Modell und Rendering ───────── */
.auftakt {
  position: relative;
  padding-block: clamp(28px, 5vw, 72px) clamp(40px, 6vw, 80px);
  background: var(--karton);   /* glatte Fläche, bewusst ohne Muster */
}
.auftakt > .breite { position: relative; }
.auftakt__kopf { margin-bottom: clamp(28px, 4vw, 52px); }
.auftakt h1 { max-width: 15em; font-size: clamp(2.375rem, 1rem + 5vw, 5rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; text-wrap: wrap; }
.auftakt h1 > .unter { display: block; margin-top: 0.5em; color: var(--blei); font-size: 0.42em; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.auftakt__seite { display: grid; gap: 20px clamp(24px, 4vw, 64px); align-items: end; margin-top: clamp(20px, 2.6vw, 36px); }
.auftakt__lead { max-width: 38rem; margin: 0; color: var(--tusche-2); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.55; }
@media (min-width: 900px) {
  .auftakt__seite { grid-template-columns: minmax(0, 1fr) auto; }
  .auftakt__seite .knopfzeile { justify-content: flex-end; }
}

.vergleich { margin: 0; }
.vergleich__buehne { --pos: 52%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--ecke); background: var(--karton-2); box-shadow: var(--schatten); touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.vergleich__bild, .vergleich__bild picture, .vergleich__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.vergleich__bild, .vergleich__bild img { pointer-events: none; -webkit-user-drag: none; }   /* Die Bilder nehmen keinen Zeiger an, sonst zieht die Maus das Bild als Datei weg, statt den Regler zu führen */
.vergleich__bild--modell { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.vergleich__schild { position: absolute; top: 14px; z-index: 2; padding: 5px 11px; border-radius: 4px; background: var(--karton); box-shadow: 0 0 0 1px var(--linie-2); font-size: 0.8125rem; font-weight: 600; line-height: 1.3; pointer-events: none; }
.vergleich__schild--links { left: 14px; }
.vergleich__schild--rechts { right: 14px; }
.vergleich__regler { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }   /* für Tastatur und Screenreader, die Maus führt assets/main.js */
.vergleich__griff { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px; background: var(--magenta); pointer-events: none; }
.vergleich__knauf { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--weiss); color: var(--tusche); box-shadow: 0 0 0 2px var(--magenta), 0 10px 24px rgba(21, 23, 27, 0.35); transform: translate(-50%, -50%); }
.vergleich__knauf .symbol { width: 18px; height: 18px; margin: 0 -3px; stroke-width: 2.25; }
.vergleich__regler:focus-visible ~ .vergleich__griff .vergleich__knauf { outline: 3px solid var(--tusche); outline-offset: 3px; }
.vergleich figcaption, .flug figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; margin-top: 10px; color: var(--blei); font-size: 0.8125rem; }
@media (min-width: 700px) { .vergleich__buehne { aspect-ratio: 2 / 1; } }

.auftakt__fuss { display: grid; gap: 16px 48px; align-items: center; margin-top: clamp(24px, 3vw, 40px); padding-top: clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--linie); }
.haendler { display: flex; align-items: center; gap: 16px; margin: 0; color: var(--blei); font-size: 0.9375rem; line-height: 1.45; }
.haendler img { flex: none; width: 64px; height: 64px; }
.haendler span { max-width: 26rem; }
.auftakt__hinweis { margin: 0; color: var(--blei); font-size: 0.9375rem; }
.auftakt__hinweis a { color: var(--magenta-text); font-weight: 600; }
@media (min-width: 900px) {
  .auftakt__fuss { grid-template-columns: 1fr auto; }
  .auftakt__hinweis { text-align: right; }
}

/* ───────── 7. Vier Schritte vom Modell zur Präsentation ───────── */
.schritte { padding-block: clamp(56px, 8vw, 120px) clamp(24px, 4vw, 56px); }
.schritte__kopf { display: grid; gap: 16px clamp(24px, 4vw, 72px); align-items: end; }
.schritte__kopf p { max-width: 34rem; color: var(--blei); font-size: 1.125rem; }
@media (min-width: 900px) { .schritte__kopf { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.schritte__liste { list-style: none; display: grid; gap: clamp(64px, 9vw, 136px); margin-top: clamp(48px, 7vw, 104px); }
.schritt { display: grid; gap: clamp(28px, 4vw, 80px); align-items: center; width: min(100% - 2 * var(--rand), 1280px); margin-inline: auto; }
.schritt__bild { position: relative; margin: 0; }
.schritt__bild .film { aspect-ratio: 16 / 10; border-radius: var(--ecke); box-shadow: var(--schatten); }
.schritt__bild > .blatt { aspect-ratio: 16 / 10; }
.schritt__bild figcaption { margin-top: 10px; color: var(--blei); font-size: 0.8125rem; }
/* Die Nummer sitzt wie eine Achsmarke im Plan auf der Ecke des Blatts */
.schritt__nummer { position: absolute; top: -18px; left: 14px; z-index: 4; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--karton); box-shadow: 0 0 0 1.5px var(--tusche); font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.schritt__text h3 { margin-bottom: 0.55em; font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.1; }
.schritt__text > p { max-width: 34rem; }
.schritt__text .liste { max-width: 34rem; }
/* Zwei Blätter übereinander: Dämmerung hinten, Schnee vorn */
.schritt__bild--paar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.schritt__bild--paar .blatt { aspect-ratio: 16 / 10; }
.blatt--hinten { grid-column: 1 / span 10; grid-row: 1; }
.blatt--vorn { grid-column: 7 / span 6; grid-row: 1; align-self: end; z-index: 2; margin-bottom: -12%; box-shadow: 0 0 0 1px var(--linie), 0 24px 48px -20px rgba(21, 23, 27, 0.55); }
.schritt__bild--paar figcaption { grid-column: 1 / -1; margin-top: calc(12% + 10px); }
@media (min-width: 900px) {
  .schritt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .schritt--gedreht { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .schritt--gedreht .schritt__bild { order: 2; }
  .schritt__nummer { top: -22px; left: -22px; }
  .schritt--gedreht .schritt__nummer { left: auto; right: -22px; }
}

/* ───────── 8. Kameraflug ───────── */
.flug { margin: clamp(64px, 9vw, 136px) 0 0; }
.flug .film { aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .flug .film { aspect-ratio: 21 / 9; } }

/* ───────── 9. Werkzeuge für den Planungsalltag ───────── */
.werkzeuge { margin-top: clamp(56px, 8vw, 112px); background: var(--karton-2); padding-block: clamp(56px, 8vw, 120px); }
.werkzeuge__raster { display: grid; gap: clamp(28px, 4vw, 80px); align-items: start; }
.werkzeuge__kopf p { max-width: 30rem; margin-top: 18px; color: var(--blei); }
.werkzeuge__liste { display: grid; gap: 0 clamp(24px, 3vw, 56px); }
.werkzeuge__liste > div { padding: 20px 0; border-top: 1px solid var(--linie-2); }
.werkzeuge__liste dt { font-weight: 600; letter-spacing: -0.01em; }
.werkzeuge__liste dd { margin-top: 6px; color: var(--blei); font-size: 1rem; line-height: 1.55; }
@media (min-width: 600px) { .werkzeuge__liste { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .werkzeuge__raster { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); }
  .werkzeuge__kopf { position: sticky; top: calc(var(--kopf-hoehe) + 32px); }
}

/* ───────── 10. Bildtafel: sieben Bilder in einem festen Raster ───────── */
.tafel { padding-block: clamp(56px, 8vw, 120px); }
.tafel__raster { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1vw, 16px); margin-block: clamp(24px, 3vw, 44px) 14px; }
.tafel__bild { overflow: hidden; border-radius: var(--ecke); background: var(--karton-2); aspect-ratio: 1 / 1; }
.tafel__bild picture, .tafel__bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tafel__bild--a, .tafel__bild--e { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.tafel__bild--g { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
@media (min-width: 800px) {
  .tafel__raster { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(60px, 7vw, 104px); }
  .tafel__bild { aspect-ratio: auto; }
  .tafel__bild--a { grid-column: 1 / 8; grid-row: 1 / 5; aspect-ratio: auto; }
  .tafel__bild--b { grid-column: 8 / 13; grid-row: 1 / 7; }
  .tafel__bild--c { grid-column: 1 / 5; grid-row: 5 / 8; }
  .tafel__bild--d { grid-column: 5 / 8; grid-row: 5 / 8; }
  .tafel__bild--e { grid-column: 8 / 13; grid-row: 7 / 11; aspect-ratio: auto; }
  .tafel__bild--f { grid-column: 1 / 5; grid-row: 8 / 11; }
  .tafel__bild--g { grid-column: 5 / 8; grid-row: 8 / 11; aspect-ratio: auto; }
}

/* ───────── 11. CAD-Anbindung ───────── */
.cad { padding-block: clamp(56px, 8vw, 120px); border-top: 1px solid var(--linie); }
.cad__raster { display: grid; gap: clamp(28px, 4vw, 80px); align-items: start; }
.cad__kopf p { max-width: 30rem; margin-top: 18px; color: var(--blei); }
.cad__kopf .klein { margin-top: 14px; }
.cad__marken { margin-top: 14px; }
.cad__tabelle { width: 100%; border-collapse: collapse; text-align: left; }
.cad__tabelle th, .cad__tabelle td { padding: 15px 0; border-top: 1px solid var(--linie); vertical-align: middle; }
.cad__tabelle thead th { border-top: 0; padding-top: 0; color: var(--blei); font-size: 0.8125rem; font-weight: 500; }
.cad__tabelle tbody tr:last-child > * { border-bottom: 1px solid var(--linie); }
.cad__tabelle th[scope="row"] { width: 36%; padding-right: 16px; font-weight: 600; }
.cad__tabelle th img { display: inline-block; width: 30px; height: 30px; margin-right: 12px; object-fit: contain; vertical-align: middle; }
.cad__tabelle .cad__eigen th img { border-radius: 7px; }   /* nur die eigenen Zeichen: fremde Marken bleiben unbeschnitten */
.cad__tabelle td { color: var(--tusche-2); }
@media (min-width: 1000px) { .cad__raster { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); } }
@media (max-width: 479.98px) {
  .cad__tabelle th[scope="row"] { width: 40%; }
  .cad__tabelle th img { display: block; margin: 0 0 6px; }
}

/* ───────── 12. Lizenz und Preis ───────── */
.lizenz { background: var(--karton-2); padding-block: clamp(56px, 8vw, 120px); }
.lizenz__kopf { max-width: 44rem; }
.lizenz__kopf p { margin-top: 16px; color: var(--blei); font-size: 1.125rem; }
.lizenz__kopf .liste { margin-top: 20px; max-width: 34rem; }
.lizenz__raster { display: grid; gap: clamp(28px, 4vw, 80px); align-items: center; }   /* links Aussage und Leistungen von FirstInVision, rechts der Einzelplatz */
.tarif { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3.2vw, 44px); border: 1px solid var(--linie-2); border-radius: 10px; background: var(--weiss); }
.tarif h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; }
.tarif__preis { margin: 0; font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tarif__preis span { font-size: 1.125rem; font-weight: 500; letter-spacing: 0; }
.tarif > p { margin: 0; }
.tarif .liste { margin-block: 4px 12px; }
.tarif__aktion { margin-top: auto; }
.tarif--dunkel { border-color: var(--tusche); background: var(--tusche); color: var(--auf-dunkel); --fokus: #ffffff; }
.tarif--dunkel > p:not(.tarif__preis):not(.tarif__aktion) { color: var(--auf-dunkel-2); }
.tarif--dunkel .liste li { border-color: var(--linie-dunkel); }
.lizenz__kopf .lizenz__fuss { margin-top: 24px; color: var(--blei); font-size: 0.9375rem; }
.lizenz__fuss a { color: var(--magenta-text); }
@media (min-width: 800px) { .lizenz__raster { grid-template-columns: 1fr 1fr; } }

/* ───────── 13. Kostenlose Präsentation und Video von Epic Games ───────── */
.vorfuehrung { padding-block: clamp(56px, 8vw, 120px); }
.vorfuehrung__raster { display: grid; gap: clamp(24px, 3vw, 40px); align-items: center; }
.vorfuehrung__bild { margin: 0; }
.vorfuehrung__bild .blatt { aspect-ratio: 16 / 10; }
.vorfuehrung__bild figcaption { margin-top: 10px; color: var(--blei); font-size: 0.8125rem; }
.vorfuehrung__karte { padding: clamp(24px, 3.4vw, 48px); border-radius: 10px; background: var(--weiss); box-shadow: var(--schatten); }
.vorfuehrung__karte h2 { margin-bottom: 0.5em; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem); }
.vorfuehrung__karte .knopfzeile { margin-block: 24px 18px; }
@media (min-width: 900px) {
  .vorfuehrung__raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; }
  .vorfuehrung__karte { position: relative; z-index: 2; margin-left: -18%; }
}

.kino { background: var(--karton-2); padding-block: clamp(48px, 7vw, 104px); }
.kino__raster { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
.kino__text h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem); }
.kino__text p { margin-top: 14px; color: var(--blei); max-width: 26rem; }
.kino__film { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--ecke); background: var(--tusche); color: var(--auf-dunkel); box-shadow: var(--schatten); --fokus: #ffffff; }
.kino__film picture, .kino__film img { width: 100%; height: 100%; object-fit: cover; }
.kino__film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21, 23, 27, 0.9) 0%, rgba(21, 23, 27, 0.35) 46%, rgba(21, 23, 27, 0.2) 100%); pointer-events: none; }
.kino__start { position: absolute; left: 50%; top: 46%; z-index: 2; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 14px; padding: 8px 22px 8px 8px; border: 0; border-radius: 999px; background: var(--weiss); color: var(--tusche); font-weight: 600; cursor: pointer; transition: transform 0.2s ease; }
.kino__start:hover { transform: translate(-50%, -50%) scale(1.04); }
.kino__dreieck { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--magenta-text); color: var(--weiss); }
.kino__hinweis { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 16px 20px; font-size: 0.8125rem; line-height: 1.45; text-align: center; }
.kino__film iframe { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) { .kino__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); } }

/* ───────── 14. Systemanforderungen und häufige Fragen ───────── */
.system { padding-block: clamp(56px, 8vw, 112px); }
.system__raster { display: grid; gap: clamp(24px, 4vw, 72px); align-items: start; }
.system h2 { margin-bottom: 0.5em; }
.system p { max-width: 36rem; color: var(--blei); }
.system__links { list-style: none; }
.system__links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--linie); font-weight: 600; text-decoration: none; transition: color 0.18s ease; }
.system__links li:last-child a { border-bottom: 1px solid var(--linie); }
.system__links a:hover { color: var(--magenta-text); }
.system__links .symbol--extern { width: 1.25em; height: 1.25em; margin: 0; }
@media (min-width: 900px) { .system__raster { grid-template-columns: 1fr 1fr; } }

.fragen { padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--linie); }
.fragen__raster { display: grid; gap: clamp(24px, 4vw, 72px); align-items: start; }
.frage { border-top: 1px solid var(--linie); }
.frage:last-child { border-bottom: 1px solid var(--linie); }
.frage summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 1.125rem; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary .symbol { color: var(--magenta-text); stroke-width: 2.25; transition: transform 0.25s ease; }
.frage[open] summary .symbol { transform: rotate(45deg); }
.frage summary:hover { color: var(--magenta-text); }
.frage p { max-width: 62ch; margin: 0 0 22px; color: var(--tusche-2); }
.frage p a { color: var(--magenta-text); }
@media (min-width: 900px) {
  .fragen__raster { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); }
  .fragen__raster > h2 { position: sticky; top: calc(var(--kopf-hoehe) + 32px); }
}

/* ───────── 15. Schluss und Fuß ───────── */
.schluss { background: var(--karton-2); padding-block: clamp(64px, 9vw, 128px); }
.schluss__raster { display: grid; gap: clamp(32px, 5vw, 72px); align-items: end; }
.schluss h2 { max-width: 16ch; margin-bottom: 0.7em; }
.schluss__wege { list-style: none; display: grid; gap: 14px; }
.schluss__wege li { display: flex; align-items: center; gap: 14px; }
.schluss__wege .symbol { width: 28px; height: 28px; color: var(--magenta-text); }
.schluss__wege a { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; }
.schluss__wege a:hover { text-decoration: underline; text-decoration-color: var(--magenta); }
@media (min-width: 900px) { .schluss__raster { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }

.fuss { background: var(--tusche); color: var(--auf-dunkel-2); font-size: 0.9375rem; --fokus: #ffffff; }
.fuss__raster { display: grid; gap: 36px 48px; padding-block: clamp(40px, 6vw, 72px); }
.fuss .marke { margin-bottom: 20px; }
.fuss .marke__strich { background: rgba(255, 255, 255, 0.3); }
.fuss__marke p { max-width: 24rem; }
.fuss h2 { margin-bottom: 12px; color: var(--auf-dunkel); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.fuss ul { list-style: none; display: grid; gap: 8px; }
.fuss a { color: var(--auf-dunkel-2); text-decoration: none; }
.fuss a:hover { color: var(--auf-dunkel); text-decoration: underline; }
.fuss address { margin-bottom: 12px; }
.fuss__klein { padding-block: 22px 28px; border-top: 1px solid var(--linie-dunkel); font-size: 0.8125rem; }
.fuss__klein p { margin: 0 0 4px; }
@media (min-width: 700px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .fuss__raster { grid-template-columns: 1.5fr 1fr 0.8fr 1fr; } }

/* ───────── 16. Textseiten: Impressum, Datenschutz, AGB, Kontakt, Seite nicht gefunden ───────── */
.textseite { padding-block: clamp(48px, 7vw, 104px); }
.textseite__innen { max-width: 46rem; }
.textseite h1 { margin-bottom: 0.6em; font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.textseite__lead { margin-bottom: 2em; color: var(--blei); font-size: 1.1875rem; }
.textseite__inhalt { overflow-wrap: anywhere; }
.textseite__inhalt h2 { margin: 2.2em 0 0.6em; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.2; }
.textseite__inhalt h3 { margin: 1.8em 0 0.5em; font-size: 1.125rem; }
.textseite__inhalt > :first-child { margin-top: 0; }
.textseite__inhalt p, .textseite__inhalt li { line-height: 1.7; }
.textseite__inhalt ul, .textseite__inhalt ol { margin: 0 0 1em; padding-left: 1.3em; }
.textseite__inhalt li { margin-bottom: 0.4em; }
.textseite__inhalt a { color: var(--magenta-text); }
.textseite__inhalt address { margin-bottom: 1em; }
.textseite--kontakt .textseite__innen { max-width: 62rem; }
.kontakt__raster { display: grid; gap: clamp(28px, 5vw, 72px); }
.kontakt__raster h2 { margin-bottom: 0.8em; font-size: 1.5rem; letter-spacing: -0.02em; }
.kontakt__wege .schluss__wege { margin-bottom: 24px; }
.kontakt__anfrage p { color: var(--blei); }
.kontakt__knoepfe { list-style: none; display: grid; gap: 12px; justify-items: start; margin-top: 20px; }
@media (min-width: 800px) { .kontakt__raster { grid-template-columns: 1fr 1fr; } }

/* ───────── 17. Anfrageformular: Klassen, die das Plugin cascados-anfragen vom Theme erwartet ───────── */
.demo-form__title { margin: 0 0 6px; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.demo-form__sub { margin: 0 0 20px; color: var(--blei); font-size: 0.9375rem; }
.demo-form__form { display: flex; flex-direction: column; gap: 16px; }
.demo-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-form__field { display: flex; flex-direction: column; gap: 6px; }
.demo-form__field label { font-size: 0.875rem; font-weight: 600; }
.demo-form__field input { padding: 10px 14px; border: 1px solid var(--rand-feld); border-radius: var(--ecke); background: var(--weiss); color: var(--tusche); font: inherit; }
.demo-form__field input:focus { outline: none; border-color: var(--magenta-text); box-shadow: 0 0 0 3px rgba(194, 25, 105, 0.2); }
.demo-form__consent { color: var(--blei); font-size: 0.8125rem; line-height: 1.5; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: var(--ecke); background: var(--magenta-text); color: #ffffff; font-size: 1rem; font-weight: 600; text-decoration: none; transition: background-color 0.18s ease; }
.anfrage-fenster { border-radius: 10px; }
/* Gleiche Werte für Auswahl und Textfeld des Plugins: Rahmen mit genug Kontrast, Schrift 16 px (darunter zoomt iOS beim Antippen) */
.anfrage-form .demo-form__field input, .anfrage-form .demo-form__field select, .anfrage-form .demo-form__field textarea { border-color: var(--rand-feld); border-radius: var(--ecke); font-size: 1rem; color: var(--tusche); }
.anfrage-form .demo-form__field select:focus, .anfrage-form .demo-form__field textarea:focus { border-color: var(--magenta-text); box-shadow: 0 0 0 3px rgba(194, 25, 105, 0.2); }
@media (max-width: 479.98px) { .demo-form__row { grid-template-columns: 1fr; } }
@media (max-width: 599.98px) { .anfrage-fenster { border-radius: 0; } }

/* ───────── 18. Bewegung und Druck ───────── */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* Der eine gesetzte Moment: Beim ersten Erscheinen fährt der Regler des Vergleichs einmal zur Seite (assets/main.js). */
  .vergleich--faehrt .vergleich__griff, .vergleich--faehrt .vergleich__bild--modell { transition: left 1.3s cubic-bezier(0.22, 1, 0.36, 1), clip-path 1.3s cubic-bezier(0.22, 1, 0.36, 1); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .kopf, .film__knopf, .kino, .sprung, .vergleich__griff, .vergleich__regler { display: none !important; }
  .fuss, .tarif--dunkel { background: #ffffff !important; color: #000000 !important; }
}
