@charset "UTF-8";
/* Keyfiler for Web – Landing Page */

@font-face { font-family: "Saira"; src: url("../fonts/saira-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Saira"; src: url("../fonts/saira-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Saira"; src: url("../fonts/saira-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Variablennamen wie in der App (keyfiler.com/app, main.css); die Grüntöne sind dieselben wie dort */
  --button-color: #059862;           /* Grün: Schaltflächen, Akzente */
  --accent-color: #04724a;           /* dunkles Grün: Links, Hover */
  --accent-deep-color: #025e3c;      /* tiefes Grün: Verläufe, Text auf hellen Schaltflächen */
  --accent-soft-color: #e2f2eb;      /* zartes Grün: Hinterlegungen */
  --accent-light-color: #16b076;     /* helles Grün: Häkchen, Linien, Fokusrahmen (nur auf der Produktseite) */
  --strong-text-color: #3d3d3d;      /* dunkel: Überschriften, Hervorhebungen – wie in der App */
  --text-color: #5c5c5c;             /* mittel: Fließtext */
  --caption-color: #707070;          /* hell: Beschriftungen, Hinweise */
  --border-color: #e0e0e0;
  --background-color: #f4f4f4;
  --card-color: #ffffff;
  --font-stack: "Saira", system-ui, sans-serif;
  --font-content: "Saira", system-ui, sans-serif; /* Fließtext; Test: vorher "JetBrains Mono", ui-monospace, monospace (in der App ist --font-content JetBrains) */
  --radius: 14px;
  --page-maximum-width: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 28px rgba(0, 0, 0, .05);
  --transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height, 79px); overflow-x: clip; }
body {
  margin: 0;
  background: var(--background-color);
  color: var(--strong-text-color);
  font-family: var(--font-content);
  font-size: 1.1875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--font-stack); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; margin: 0; color: #1d1d1d; }
p { margin: 0; }
/* Fließtexte: keine einzelnen Wörter in der letzten Zeile */
p, li, dd, figcaption, address { text-wrap: pretty; }
a { color: var(--accent-color); }
/* Textlinks wie in der App: grün, unterstrichen erst beim Darüberfahren (Schaltflächen haben eine Klasse) */
a:not([class]) { text-decoration: none; }
a:not([class]):hover { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .2em; }
img { display: block; max-width: 100%; }
.accent { color: var(--button-color); }
.eyebrow { font-size: 0.9062rem; letter-spacing: .14em; text-transform: uppercase; color: var(--caption-color); margin-bottom: 14px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: .3em; border: 1.5px solid transparent;
  font: 500 1.0625rem/1 var(--font-content); letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: var(--transition);
}
.button:focus-visible, .share-target:focus-visible, a:focus-visible { outline: 2px solid var(--accent-light-color); outline-offset: 3px; }
.button-small { padding: 10px 18px; font-size: 1rem; }
.button-primary { background: var(--button-color); color: #fff; box-shadow: 0 6px 18px rgba(4, 152, 98, .25); }
.button-primary:hover { background: var(--accent-color); }
.button-secondary { background: var(--card-color); color: var(--strong-text-color); border-color: var(--border-color); }
.button-secondary:hover { border-color: var(--button-color); color: var(--button-color); }
.button-light { background: #fff; color: var(--accent-deep-color); }
.button-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.button-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.button-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Einheitliche Linien-Icons */
.line-icon { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--button-color); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
/* Kopf und Fuß in Anthrazit wie die Seitenleiste der App (Navigation dunkel, Inhalt hell); dort das Logo in der hellen
   Fassung. Zum Drucken die dunkle Fassung (.logo-print) auf weißem Grund. */
#header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(43, 45, 47, .96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.logo-print { display: none; }
.header-inner { max-width: var(--page-maximum-width); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; text-decoration: none; }
.brand-logo { height: 50px; width: auto; }
#navigation { display: flex; gap: 28px; margin-left: auto; }
#navigation a { color: #d6d8d9; text-decoration: none; font-size: 1.0312rem; transition: color .2s; }
#navigation a:hover { color: hsl(158 65% 72%); text-decoration: underline; text-decoration-color: hsl(158 65% 72%); text-underline-offset: .3em; }

/* Hero */
#hero {
  max-width: var(--page-maximum-width); margin: 0 auto;
  padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(60px, 8vw, 110px);
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center;
  position: relative;
}
#hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 26px; }
.lead { font-size: 1.3125rem; color: var(--text-color); max-width: 50ch; margin-bottom: 26px; }
.checklist { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 6px; font-size: 1.1875rem; color: var(--text-color); }
.checklist li::before, .box-features li::before { content: "\2713"; color: var(--accent-light-color); margin-right: 0.625rem; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Software-Box in reinem CSS-3D */
#stage {
  height: 33.75rem; display: grid; place-items: center;
  perspective: 87.5rem; position: relative;
}
#box {
  --box-width: 18.75rem; --box-height: 25rem; --box-depth: 3.75rem;
  width: var(--box-width); height: var(--box-height);
  position: relative; transform-style: preserve-3d;
  --rotate-x: 4deg; --rotate-y: -24deg;
  transform: rotateX(var(--rotate-x)) rotateY(var(--rotate-y));
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
  animation: float 7s ease-in-out infinite;
}
#box.dragging { transition: none; }
@keyframes float { 50% { translate: 0 -10px; } }
.box-face { position: absolute; backface-visibility: hidden; overflow: hidden; }
.box-front {
  inset: 0; transform: translateZ(calc(var(--box-depth) / 2));
  background: linear-gradient(160deg, #ffffff 0%, #f6f6f6 55%, #ececec 100%);
  display: flex; flex-direction: column; align-items: center;
  padding: 1.375rem 1.375rem 0; text-align: center;
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .14);
}
.box-version { align-self: flex-end; font-size: 0.5625rem; letter-spacing: .14em; text-transform: uppercase; color: #9a9a9a; }
.box-logo { width: 9.875rem; height: auto; margin-top: 0.5rem; filter: drop-shadow(0 0.3125rem 0.375rem rgba(0, 0, 0, .14)); }
.box-tagline { font-size: 0.6562rem; color: #777; margin-top: 1rem; line-height: 1.55; }
.box-features { list-style: none; padding: 0; margin: 0.5625rem 0 0; font-size: 0.525rem; line-height: 1.5; color: #888; display: grid; gap: 2px; }
.box-features li::before { margin-right: 0.375rem; }
.box-band {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4.125rem;
  background: linear-gradient(115deg, #36ad80 0%, var(--button-color) 22%, var(--accent-color) 80%, var(--accent-deep-color) 100%);
  border-top: 0.25rem solid var(--accent-light-color);
  color: #fff; display: grid; place-content: center; gap: 2px;
}
.box-band strong { font: 500 1rem/1.2 var(--font-stack); letter-spacing: .18em; text-transform: uppercase; }
.box-band span { font-size: 0.5312rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.box-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, 0) 60%);
  background-size: 250% 100%; background-position: var(--sheen, 80%) 0;
  mix-blend-mode: soft-light; transition: background-position .9s;
}
.box-spine {
  top: 0; left: calc((var(--box-width) - var(--box-depth)) / 2); width: var(--box-depth); height: var(--box-height);
  background: linear-gradient(90deg, #e3e3e3, #f1f1f1 40%, #dcdcdc);
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12);
  display: flex; flex-direction: column; align-items: center; padding-top: 1.125rem;
}
.box-spine-right { transform: rotateY(90deg) translateZ(calc(var(--box-width) / 2)); }
.box-spine-left { transform: rotateY(-90deg) translateZ(calc(var(--box-width) / 2)); }
.spine-lock { width: 2.125rem; height: auto; }
.spine-wordmark { height: 9.375rem; width: auto; margin-top: 2.125rem; }
.spine-version { margin-top: 1.125rem; font-size: 0.5625rem; letter-spacing: .1em; color: #999; writing-mode: vertical-rl; transform: rotate(180deg); }
.spine-band { position: absolute; left: 0; right: 0; bottom: 0; height: 4.125rem; background: linear-gradient(90deg, var(--accent-deep-color), var(--accent-color) 60%, #024a30); border-top: 0.25rem solid var(--accent-light-color); }
.box-top, .box-bottom {
  left: 0; top: calc((var(--box-height) - var(--box-depth)) / 2); width: var(--box-width); height: var(--box-depth);
  display: grid; place-items: center;
}
.box-top { transform: rotateX(90deg) translateZ(calc(var(--box-height) / 2)); background: linear-gradient(#fafafa, #e9e9e9); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); }
.top-wordmark { height: 1.375rem; width: auto; opacity: .85; }
.box-bottom { transform: rotateX(-90deg) translateZ(calc(var(--box-height) / 2)); background: linear-gradient(var(--accent-color), var(--accent-deep-color)); }
.box-bottom span { font-size: 0.5rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }

/* Rückseite */
.box-back {
  inset: 0; transform: rotateY(180deg) translateZ(calc(var(--box-depth) / 2));
  background: linear-gradient(200deg, #ffffff 0%, #f6f6f6 55%, #ececec 100%);
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .14);
  padding: 1.25rem 1.375rem 0; display: flex; flex-direction: column;
}
.back-head { display: flex; align-items: center; justify-content: space-between; }
.back-logo { height: 1.375rem; width: auto; }
.back-title { font: 500 1.0625rem/1.2 var(--font-stack); color: #1d1d1d; margin-top: 1.125rem; }
.back-text { font-size: 0.5375rem; line-height: 1.55; color: #666; margin-top: 0.5rem; }
.back-features { list-style: none; padding: 0; margin: 0.75rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.4375rem 0.75rem; }
.back-features li { font-size: 0.475rem; line-height: 1.35; color: #777; padding-left: 0.5625rem; border-left: 2px solid var(--accent-light-color); }
.back-features strong { display: block; font: 500 0.5625rem/1.3 var(--font-stack); color: #333; }
.back-requirements { margin-top: 0.875rem; padding-top: 0.625rem; border-top: 1px solid #dedede; display: flex; gap: 0.75rem; align-items: center; }
.back-requirements strong { display: block; font: 500 0.5375rem/1.3 var(--font-stack); color: #333; text-transform: uppercase; letter-spacing: .08em; }
.back-requirements span { display: block; font-size: 0.4625rem; line-height: 1.5; color: #888; margin-top: 2px; }
.back-qrcode { width: 2.875rem; height: 2.875rem; flex: none; padding: 0.1875rem; background: #fff; }
.back-band { gap: 2px; }
.box-shadow {
  position: absolute; bottom: 1.875rem; left: 50%; width: 22.5rem; height: 3.125rem; translate: -50% 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .1) 45%, rgba(0, 0, 0, 0) 70%);
  filter: blur(0.375rem); animation: shadow 7s ease-in-out infinite;
}
@keyframes shadow { 50% { transform: scale(.92); opacity: .8; } }

/* Abschnitte */
.section { max-width: var(--page-maximum-width); margin: 0 auto; padding: clamp(60px, 9vw, 110px) var(--gutter); }
.section-tinted {
  max-width: none; background: var(--card-color);
  padding-left: max(var(--gutter), calc((100% - var(--page-maximum-width)) / 2 + var(--gutter)));
  padding-right: max(var(--gutter), calc((100% - var(--page-maximum-width)) / 2 + var(--gutter)));
}
.section-head { max-width: 800px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.875rem, 3.8vw, 2.875rem); margin-bottom: 20px; }
.section-lead { font-size: 1.3125rem; color: var(--text-color); }

/* Regal (Abschnitt „Mehr als Passwörter“): links die Bereiche wie die Seitenleiste der App, rechts ein
   Beispiel-Dokument im Look der App; Schatten und Rahmen wie die Screenshots im Slider. Umschalten in main.js */
.shelf { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.shelf-tabs { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: var(--radius); background: #2f3133; }
.shelf-tab {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 10px 14px; border: 0; border-radius: 10px;
  background: none; color: #d6d8da; font: 500 1.1875rem var(--font-stack); text-align: left; cursor: pointer; transition: background .2s, color .2s;
}
.shelf-tab .line-icon { width: 24px; height: 24px; stroke: #9fe3c4; }
.shelf-tab:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.shelf-tab[aria-selected="true"] { background: var(--button-color); color: #fff; }
.shelf-tab[aria-selected="true"] .line-icon { stroke: #fff; }
.shelf-tab:focus-visible { outline: 2px solid var(--accent-light-color); outline-offset: 2px; }
/* Wechselt das Regal von selbst, läuft unten in der gewählten Registerkarte ein feiner Balken bis zum nächsten Wechsel */
.shelf-tab { position: relative; overflow: hidden; }
.shelf.autoplay .shelf-tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255, 255, 255, .55);
  transform-origin: left; animation: shelf-timer 6s linear both;
}
@keyframes shelf-timer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.shelf-title { display: none; }
.shelf-text { font-size: 1.1875rem; color: var(--text-color); max-width: 640px; margin: 6px 0 26px; }
.shelf-document {
  max-width: 640px; padding: 26px 30px 28px; border-radius: var(--radius); background: var(--card-color);
  border: 1px solid var(--border-color); box-shadow: var(--shadow); transform: rotate(-1deg);
}
.shelf-document-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 600 1.375rem var(--font-stack); color: var(--strong-text-color); }
.shelf-document-head svg { width: 22px; height: 22px; fill: none; stroke: var(--caption-color); stroke-width: 1.7; stroke-linejoin: round; }
.shelf-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; align-items: center; padding: 7px 0; }
.shelf-label { font-size: 1.0938rem; color: var(--caption-color); }
.shelf-value {
  padding: 8px 13px; border: 1px solid #d8d8d8; border-radius: 4px; font: 400 1rem "JetBrains Mono", ui-monospace, monospace;
  color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shelf-value.masked { letter-spacing: .08em; }
.shelf-attachment {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 12px; border-radius: 999px;
  background: var(--accent-soft-color); font-size: .95rem; color: var(--accent-deep-color);
}
.shelf-attachment svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.shelf-panel:not([hidden]) .shelf-document { animation: shelf-in .35s ease-out; }
@keyframes shelf-in { from { opacity: 0; transform: translateY(8px) rotate(-1deg); } to { opacity: 1; transform: rotate(-1deg); } }
.shelf-sample { margin-top: 16px; font-size: .875rem; color: var(--caption-color); }
@media (max-width: 860px) {
  .shelf { grid-template-columns: minmax(0, 1fr); }
  .shelf-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 8px; }
  .shelf-tabs::-webkit-scrollbar { display: none; }
  .shelf-tab { flex: none; min-height: 44px; font-size: 1.0625rem; }
  .shelf-document { transform: none; padding: 18px; }
  .shelf-panel:not([hidden]) .shelf-document { animation-name: shelf-in-straight; }
  .shelf-row { grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 5px 0; }
  .shelf-label { font-size: .95rem; }
  .shelf-value { padding: 6px 10px; font-size: .85rem; }
  .shelf-document-head { font-size: 1.125rem; }
}
@keyframes shelf-in-straight { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* Ausdruck: alle Bereiche untereinander, ohne Leiste und Beispiel-Dokumente */
@media print {
  .shelf { display: block; }
  .shelf-tabs, .shelf-document, .shelf-sample { display: none; }
  .shelf-panel[hidden] { display: block; }
  .shelf-title { display: block; font-size: 1.25rem; margin: 16px 0 4px; }
  .shelf-text { margin: 0; }
}

/* Vorsorgeordner */
.provision-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
/* Einheitlich für alle Abschnitte: Überschrift und Einleitung über die ganze Breite (.section-head),
   darunter Text und Grafik in zwei Spalten – die Grafik oben bündig mit der Aufzählung */
.provision-layout > .provision-figure, .moving-layout > .moving-figure, .film-figure { margin-top: 4px; }
.provision-points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 18px; }
.provision-points li { position: relative; padding-left: 30px; font-size: 1.1562rem; color: var(--text-color); }
.provision-points li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--accent-light-color); font-weight: 700; }
.provision-points strong { color: var(--strong-text-color); font-weight: 500; }
.provision-areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.provision-areas li { padding: 5px 13px; border-radius: 999px; background: var(--accent-soft-color); font-size: 0.9688rem; color: var(--accent-deep-color); }
.provision-figure { margin: 0; }
.provision-figure figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-top: 12px; font-size: 0.9688rem; color: var(--caption-color); }
/* Notfallzugang mit Erklärfilm: Film links, Text rechts (umgekehrt zur Übersicht darüber) */
.film-head { max-width: 800px; margin-top: clamp(48px, 7vw, 88px); }
.film-layout { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 28px; }
.film-figure { margin: 0; }
.film-figure figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-top: 12px; font-size: 0.9688rem; color: var(--caption-color); }
.film-head h3 { margin: 0 0 14px; font-size: 1.625rem; line-height: 1.3; }
.film-head p { margin: 0; font-size: 1.1875rem; color: var(--text-color); }
.film-text > p { margin: 0 0 24px; font-size: 1.1875rem; color: var(--text-color); }
.film-text .provision-points { margin-bottom: 0; }
@media (max-width: 900px) { .film-layout { grid-template-columns: 1fr; } .film-text { order: -1; } }
@media (max-width: 900px) { .provision-layout { grid-template-columns: 1fr; } }

/* Screenshot-Slider */
#gallery { margin-top: 0; }
.gallery-head { margin-top: 96px; }
.gallery-track {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none; position: relative; padding: 6px 2px 10px; outline: none;
  -webkit-user-select: none; user-select: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline: 2px solid var(--accent-light-color); outline-offset: 4px; border-radius: var(--radius); }
.gallery-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; }
/* Bild, Text und Navigation passen zusammen in die Fensterhöhe (Laptops): die Breite folgt der verfügbaren Höhe.
   22rem = Kopfzeile, Browserleiste im Rahmen, Bildunterschrift, Navigation und Luft; 1.6 = Seitenverhältnis der Screenshots */
.gallery-slide { --slide-width: max(26rem, calc((100svh - 22rem) * 1.6)); }
.gallery-slide > * { width: min(100%, var(--slide-width)); margin-inline: auto; }
.gallery-frame { background: var(--card-color); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-frame img { width: 100%; height: auto; pointer-events: none; }
.gallery-browser { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #efefef; border-bottom: 1px solid var(--border-color); }
.gallery-browser span { width: 10px; height: 10px; border-radius: 50%; background: #d2d2d2; }
.gallery-browser em { margin: 0 auto; padding: 2px 18px; border-radius: 6px; background: var(--card-color); font-style: normal; font-size: 0.8125rem; color: var(--caption-color); transform: translateX(-20px); }
.gallery-frame-phones {
  background: transparent; border: 0; box-shadow: none; overflow: visible;
  aspect-ratio: 2200 / 1420; display: flex; justify-content: center; align-items: center; gap: 4%;
}
.gallery-frame-phones .gallery-phone {
  width: auto; height: 94%; border-radius: 26px; border: 6px solid #2b2b2b; background: #2b2b2b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}
.gallery-slide figcaption { margin-top: 22px; max-width: 760px; font-size: 1.1562rem; color: var(--text-color); }
.gallery-slide figcaption strong { display: block; font: 500 1.5rem/1.2 var(--font-stack); letter-spacing: -.03em; color: #1d1d1d; margin-bottom: 4px; }
.gallery-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.gallery-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gallery-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #cfcfcf; cursor: pointer; transition: width .25s, background .25s; }
.gallery-dot:hover { background: var(--accent-light-color); }
.gallery-dot.on { width: 28px; background: var(--button-color); }
.gallery-counter { display: none; min-width: 4.5rem; text-align: center; font-size: 1.0625rem; color: var(--caption-color); }
@media (max-width: 640px) {
  .gallery-dots { display: none; }
  .gallery-counter { display: block; }
}

/* Merkmale */
/* Merkmale als Liste untereinander: links Symbol und Titel, rechts der Text, getrennt durch feine Linien */
/* Was Keyfiler anders macht: große Ziffern, zwei Spalten */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; }
.feature { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; gap: 8px 22px; }
/* Symbol im zartgrünen Kreis statt Ziffer – die Abschnitte sind schon nummeriert */
.feature-icon { grid-column: 1; grid-row: 1 / span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft-color); }
.feature-icon .line-icon { width: 26px; height: 26px; }
.feature h3, .feature p { grid-column: 2; }
.feature h3 { font-size: 1.5rem; }
.feature p { font-size: 1.1562rem; color: var(--text-color); }
.badges { list-style: none; padding: 0; margin: 60px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { padding: 8px 16px; border-radius: 999px; background: var(--card-color); font-size: 1.0312rem; color: var(--text-color); }
.badges li::before { content: "\2713\00a0"; color: var(--accent-light-color); font-weight: 700; }


/* Runde Schaltflächen im Stil der FAQ-Umschalter: feiner Kreis, Symbol aus zwei Strichen, grün beim Darüberfahren */
.round-button {
  position: relative; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1.5px solid var(--border-color); background: var(--card-color); cursor: pointer;
  transition: border-color .2s, transform .3s;
}
.round-button::before, .round-button::after {
  content: ""; position: absolute; top: 50%; left: 50%; border-radius: 1px; background: var(--strong-text-color);
  transition: transform .3s, background .2s;
}
/* Darüberfahren oder Tastaturfokus: nur der Rahmen wird grün – wie bei den FAQ-Umschaltern */
.round-button:hover, .round-button:focus-visible { border-color: var(--button-color); }
/* Angeklickt (Klasse „on“, kurz per Skript gesetzt): Symbol wird grün und bewegt sich */
.round-button.on { border-color: var(--button-color); }
.round-button.on::before, .round-button.on::after { background: var(--button-color); }

/* Pfeile: zwei Striche treffen sich in einer Spitze; beim Anklicken rückt der Pfeil in seine Richtung */
.gallery-previous::before, .gallery-previous::after, .gallery-next::before, .gallery-next::after { width: 11px; height: 2px; margin: -1px 0 0 -5.5px; }
.gallery-next::before { transform: translate(1px, -3.6px) rotate(45deg); }
.gallery-next::after { transform: translate(1px, 3.6px) rotate(-45deg); }
.gallery-previous::before { transform: translate(-1px, -3.6px) rotate(-45deg); }
.gallery-previous::after { transform: translate(-1px, 3.6px) rotate(45deg); }
.gallery-next.on::before { transform: translate(4px, -3.6px) rotate(45deg); }
.gallery-next.on::after { transform: translate(4px, 3.6px) rotate(-45deg); }
.gallery-previous.on::before { transform: translate(-4px, -3.6px) rotate(-45deg); }
.gallery-previous.on::after { transform: translate(-4px, 3.6px) rotate(45deg); }
.gallery-previous:disabled, .gallery-next:disabled { opacity: .35; cursor: default; border-color: var(--border-color); }
/* Pfeile reagieren schneller als die übrigen runden Buttons */
.gallery-previous::before, .gallery-previous::after, .gallery-next::before, .gallery-next::after { transition: transform .15s ease-out, background .15s; }

/* Nach oben (#upward): rund wie die übrigen Knöpfe, unten rechts; erscheint nach etwa anderthalb Bildschirmhöhen.
   Der grüne Ring füllt sich mit dem Scrollen (--scrolled kommt aus main.js), der Pfeil rückt beim Klicken nach oben. */
#upward {
  position: fixed; right: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom)); z-index: 40;
  width: 48px; height: 48px; border-color: transparent; box-shadow: var(--shadow), 0 2px 10px rgba(0, 0, 0, .08);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, visibility .25s, transform .25s, border-color .2s;
}
#upward.visible { opacity: 1; visibility: visible; transform: none; }
/* Solange der Hinweis „Keine Cookies, kein Tracking“ unten rechts steht, wartet der Knopf */
body:has(#notice:not([hidden])) #upward { opacity: 0; visibility: hidden; transform: translateY(12px); }
#upward::before, #upward::after { width: 11px; height: 2px; margin: -1px 0 0 -5.5px; transition: transform .15s ease-out, background .15s; }
#upward::before { transform: translate(-3.6px, 0) rotate(-45deg); }
#upward::after { transform: translate(3.6px, 0) rotate(45deg); }
#upward.on::before { transform: translate(-3.6px, -3px) rotate(-45deg); }
#upward.on::after { transform: translate(3.6px, -3px) rotate(45deg); }
#upward:hover, #upward:focus-visible { border-color: transparent; }
#upward:hover::before, #upward:hover::after, #upward:focus-visible::before, #upward:focus-visible::after { background: var(--button-color); }
#upward:focus-visible { outline: 2px solid var(--accent-light-color); outline-offset: 3px; }
.upward-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.upward-track, .upward-progress { fill: none; stroke-width: 2.5; }
.upward-track { stroke: var(--border-color); }
.upward-progress { stroke: var(--button-color); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--scrolled, 0)); }
@media print { #upward { display: none; } }

/* Schließen: ein Kreuz aus zwei Strichen. Ausnahme: Es dreht sich schon beim Darüberfahren um 90°,
   damit das Schließen selbst nicht auf eine Animation warten muss */
.close-button::before, .close-button::after { width: 16px; height: 2px; margin: -1px 0 0 -8px; }
.close-button::before { transform: rotate(45deg); }
.close-button::after { transform: rotate(-45deg); }
.close-button:hover, .close-button:focus-visible { transform: rotate(90deg); }

/* Ziehbare Flächen: Box, Großansicht und Screenshot-Slider */
#stage, .showcase-stage, .gallery-track { cursor: grab; }
#stage.grabbing, .showcase-stage.grabbing, .gallery-track.grabbing { cursor: grabbing; }

/* Datenschutz-Hinweis beim Öffnen der Seite: dezent unten rechts, kein Banner, nichts zu bestätigen */
#notice {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 30;
  display: flex; align-items: flex-start; gap: 14px; max-width: 400px; padding: 16px 16px 16px 18px;
  border: 1px solid var(--border-color); border-radius: var(--radius); background: var(--card-color);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
  opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s;
}
#notice.on { opacity: 1; transform: none; }
#notice[hidden] { display: none; }
.notice-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft-color); }
.notice-icon .line-icon { width: 19px; height: 19px; }
.notice-text { flex: 1; font-size: 1rem; line-height: 1.5; color: var(--text-color); }
.notice-text strong { display: block; font: 500 1.0625rem/1.3 var(--font-stack); color: #1d1d1d; margin-bottom: 2px; }
.notice-text a { color: var(--accent-color); }
.notice-close { width: 34px; height: 34px; }
.notice-close::before, .notice-close::after { width: 12px; margin-left: -6px; }

/* Häufige Fragen: links die Einleitung, rechts die aufklappbaren Fragen */
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.faq-layout .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq { border-bottom: 1px solid var(--border-color); }
.faq-item { border-top: 1px solid var(--border-color); }
.faq-item summary { display: flex; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { flex: 1; font-size: 1.375rem; transition: color .2s; }
.faq-item summary:hover h3, .faq-item[open] summary h3 { color: var(--accent-color); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent-light-color); outline-offset: 4px; border-radius: .3em; }
.faq-toggle { position: relative; flex: none; width: 32px; height: 32px; border: 1.5px solid var(--border-color); border-radius: 50%; transition: border-color .2s, transform .3s; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: var(--strong-text-color); transition: transform .3s, background .2s; }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item summary:hover .faq-toggle { border-color: var(--button-color); }
.faq-item[open] .faq-toggle { border-color: var(--button-color); transform: rotate(180deg); }
.faq-item[open] .faq-toggle::before, .faq-item[open] .faq-toggle::after { background: var(--button-color); }
.faq-item[open] .faq-toggle::after { transform: rotate(0deg); }
.faq-answer { padding: 0 52px 26px 0; }
.faq-answer p { font-size: 1.1562rem; color: var(--text-color); }
.faq-answer p + p { margin-top: 12px; }
/* Sanftes Auf- und Zuklappen, wo der Browser es kann */
:root { interpolate-size: allow-keywords; }
.faq-item::details-content { height: 0; overflow: hidden; transition: height .3s ease, content-visibility .3s allow-discrete; }
.faq-item[open]::details-content { height: auto; }

/* ---------------------------------------------------------------------------
   Sicherheit: Der Weg eines Kennworts
   --------------------------------------------------------------------------- */
#journey, #authenticator { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.journey-line { position: absolute; left: 16%; right: 16%; top: 150px; width: 68%; height: 20px; overflow: visible; }
.journey-line path { fill: none; stroke: var(--accent-light-color); stroke-width: 2; stroke-dasharray: 8 8; vector-effect: non-scaling-stroke; }
.journey-packet {
  position: absolute; top: 138px; left: 16%; z-index: 2; display: grid; place-items: center;
  width: 44px; height: 44px; margin-left: -22px; border-radius: .3em; background: var(--button-color);
  box-shadow: 0 8px 20px rgba(4, 152, 98, .35); opacity: 0;
  transition: left 1.6s cubic-bezier(.5, 0, .3, 1), opacity .3s, background .3s;
}
.journey-packet .line-icon { width: 22px; height: 22px; stroke: #fff; }
.journey-packet.plain { background: #8a8a8a; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.journey-station { position: relative; z-index: 1; margin-top: 40px; text-align: center; }
.journey-station h3 { font-size: 1.5rem; margin: 40px 0 10px; }
.journey-station p { font-size: 1.125rem; color: var(--text-color); max-width: 22rem; margin: 0 auto; }
.journey-visual { position: relative; height: 240px; display: grid; place-items: center; }

.journey-input {
  position: relative; width: 230px; padding: 24px 16px 12px; border: 1.5px solid var(--border-color); border-radius: .3em;
  background: var(--card-color); text-align: left; font-size: 1.0625rem; color: var(--strong-text-color); min-height: 64px;
}
.journey-input-label { position: absolute; top: 6px; left: 16px; font: 0.8125rem var(--font-content); color: var(--caption-color); }
.journey-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.15em; background: var(--button-color); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.journey-browser {
  position: relative; width: 250px; height: 150px; border-radius: .3em; overflow: hidden;
  background: var(--button-color); box-shadow: 0 14px 34px rgba(4, 152, 98, .28);
}
.journey-browser-bar { display: flex; gap: 6px; padding: 9px 12px; background: rgba(0, 0, 0, .14); }
.journey-browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.journey-browser-lock { width: 30px; height: 30px; margin: 14px auto 6px; display: block; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.journey-scramble { padding: 0 14px; font-size: 0.9375rem; color: #fff; word-break: break-all; line-height: 1.4; }

.journey-server { position: relative; width: 250px; height: 220px; display: grid; place-items: center; }
.journey-map { position: absolute; top: -50px; left: 50%; translate: -50% 0; height: 280px; width: auto; fill: var(--accent-soft-color); stroke: #b9e2cf; stroke-width: 3; }
.journey-rack {
  position: relative; width: 150px; padding: 10px; border-radius: .3em; background: #2b2b2b;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2); display: grid; gap: 6px;
}
.journey-rack > span { height: 14px; border-radius: 3px; background: #3c3c3c; position: relative; }
.journey-rack > span::after { content: ""; position: absolute; right: 8px; top: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent-light-color); }
.journey-stored { min-height: 2.6em; padding: 6px 4px 0; font-size: 0.6875rem; line-height: 1.3; color: #9fd3bb; word-break: break-all; text-align: left; }
.journey-nokey { position: absolute; bottom: -2px; left: 50%; translate: -50% 0; }

.journey-input, .journey-scramble, .journey-stored { font-family: "JetBrains Mono", ui-monospace, monospace; }
#journey { margin-bottom: 40px; }


/* Gemeinsamer Aufbau: Element oberhalb der Verlaufslinie, Abzeichen darunter.
   Die Linie liegt 120 px tief in der 240 px hohen Grafik; Element und Abzeichen haben je 22 px Abstand zu ihr. */
.station-stack { align-self: start; display: grid; justify-items: center; gap: 44px; margin-top: 34px; }
.station-stack > :first-child { height: 64px; }
.station-stack .journey-input { min-height: 0; padding-top: 22px; padding-bottom: 10px; white-space: nowrap; overflow: hidden; }

/* Schlüssel-Abzeichen wie in der Illustration: grüner Kreis, weißes Symbol */
.key-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--accent-color); white-space: nowrap; }
.key-badge-icon {
  position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--button-color);
}
.key-badge-icon .line-icon { width: 21px; height: 21px; stroke: #fff; }
.key-badge-muted { color: var(--caption-color); }
.key-badge-muted .key-badge-icon { background: var(--card-color); border: 1.5px solid #b5b5b5; }
.key-badge-muted .key-badge-icon .line-icon { stroke: #6e6e6e; }
.key-badge-muted .key-badge-icon::after {
  content: ""; position: absolute; left: 7px; right: 7px; top: 50%; height: 3px; margin-top: -1.5px;
  border-radius: 2px; background: #c0392b; transform: rotate(-135deg);
}
.authenticator-request { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.authenticator-request.on { opacity: 1; transform: none; }

/* Zwei-Faktor: Linie nur vom Handy zur Anmeldung – zwischen Anmeldung und Handy wird nichts übertragen */
.authenticator-line { left: 50%; width: 34%; }
.authenticator-packet { font: 500 1rem/1 "JetBrains Mono", ui-monospace, monospace; color: #fff; width: auto; min-width: 44px; padding: 0 12px; margin-left: 0; translate: -50% 0; white-space: nowrap; }

/* Klammer unter der Grafik: ordnet Schritte einem Faktor bzw. einem Ort zu */
.step-bracket { position: relative; width: 86%; height: 16px; margin: 22px auto 0; border: 2px solid #b9b9b9; border-top: 0; border-radius: 0 0 10px 10px; }
.step-bracket span { position: absolute; top: 100%; left: 50%; translate: -50% 0; margin-top: 6px; font-size: .9375rem; color: var(--caption-color); white-space: nowrap; }
.step-bracket strong { font-weight: 500; color: #1d1d1d; }
.step-bracket-highlight { border-color: var(--accent-light-color); }
.step-bracket + h3 { margin-top: 48px; }
/* Erste Grafik: Eine Klammer reicht von Schritt 1 über Schritt 2 (Spaltenbreite + Abstand + Spaltenbreite).
   Die Klammer in Schritt 2 hält nur den Platz frei; auf dem Handy, wo die Schritte untereinander stehen,
   bekommt jeder Schritt seine eigene Klammer. */
.step-bracket-wide { width: calc(186% + 48px); margin-left: 7%; }
.step-bracket-covered { visibility: hidden; }

/* Sicherheit: Zwei-Faktor-Anmeldung */
.security-subhead { margin: 56px 0 24px; padding-top: 48px; border-top: 1px solid var(--border-color); }
.security-subhead > * { max-width: 800px; }
.security-subhead h3 { font-size: clamp(1.625rem, 2.6vw, 2rem); margin-bottom: 14px; }
.security-subhead p { font-size: 1.1875rem; color: var(--text-color); }


.authenticator-dots { letter-spacing: .12em; }

/* Handy im schlanken Hochformat: ragt oben in den Abstand der Station, damit unten Luft zur Überschrift bleibt */
.authenticator-phone {
  position: relative; width: 170px; height: 280px; padding: 22px 10px 24px; border-radius: 28px; border: 6px solid #2b2b2b;
  background: var(--card-color); box-shadow: 0 18px 40px rgba(0, 0, 0, .16); text-align: left;
  display: grid; align-content: start; gap: 6px; translate: 0 -40px;
}
.authenticator-phone::before {
  content: ""; position: absolute; top: 7px; left: 50%; width: 44px; height: 6px; margin-left: -22px; border-radius: 3px; background: #2b2b2b;
}
.authenticator-phone::after {
  content: ""; position: absolute; bottom: 8px; left: 50%; width: 56px; height: 4px; margin-left: -28px; border-radius: 2px; background: #d0d0d0;
}
.authenticator-phone-bar { font: 500 .9375rem/1.2 var(--font-stack); color: #1d1d1d; padding: 0 4px 4px; border-bottom: 1px solid var(--border-color); }
.authenticator-entry { display: flex; align-items: center; gap: 8px; padding: 5px 4px; border-radius: .3em; transition: background .3s; }
.authenticator-entry.on { background: var(--accent-soft-color); }
.authenticator-entry-text { display: grid; flex: 1; min-width: 0; }
.authenticator-service { font-size: .8125rem; color: var(--caption-color); line-height: 1.3; }
.authenticator-code { white-space: nowrap; font: 500 1.25rem/1.2 "JetBrains Mono", ui-monospace, monospace; color: var(--accent-color); letter-spacing: .04em; }
.authenticator-entry-muted .authenticator-code { font-size: 1rem; color: #c4c4c4; }
.authenticator-timer { flex: none; width: 30px; height: 30px; transform: rotate(-90deg); }
.authenticator-timer circle { fill: none; stroke-width: 4; }
.authenticator-timer-track { stroke: #e6e6e6; }
.authenticator-timer-progress { stroke: var(--button-color); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.authenticator-timer-progress.ending { stroke: #d08a2b; }

.authenticator-verify { position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.authenticator-verify-label { position: absolute; bottom: 100%; left: 50%; translate: -50% 0; margin-bottom: -12px; font-size: .9375rem; color: var(--caption-color); }
.authenticator-digits { display: flex; gap: 6px; }
.authenticator-digits span {
  display: grid; place-items: center; width: 34px; height: 44px; border: 1.5px solid var(--border-color); border-radius: .3em;
  background: var(--card-color); font: 500 1.25rem/1 "JetBrains Mono", ui-monospace, monospace; color: var(--strong-text-color);
  transition: border-color .2s;
}
.authenticator-digits span.on { border-color: var(--button-color); }
.authenticator-result {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: .3em;
  background: var(--button-color); color: #fff; font-size: 1.0625rem; box-shadow: 0 10px 24px rgba(4, 152, 98, .28);
  opacity: 0; transform: scale(.92); transition: opacity .35s, transform .35s;
}
.authenticator-result.on { opacity: 1; transform: none; }
.authenticator-result .line-icon { width: 20px; height: 20px; stroke: #fff; }

/* Kontakt */

.contact-card {
  border-radius: 20px; padding: clamp(32px, 5vw, 60px);
  background: linear-gradient(120deg, #36ad80 0%, var(--button-color) 30%, var(--accent-deep-color) 100%);
  color: #fff; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: start;
  box-shadow: 0 24px 60px rgba(4, 152, 98, .28); position: relative; overflow: hidden;
}
.contact-card::after {
  content: ""; position: absolute; left: -120px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .06); pointer-events: none;
}
.contact-text { position: relative; z-index: 1; }
.contact-text h2 { color: #fff; font-size: clamp(1.625rem, 3.2vw, 2.375rem); margin-bottom: 16px; }
.contact-text p { color: rgba(255, 255, 255, .9); font-size: 1.1875rem; }
.contact-text .contact-direct { margin-top: 20px; font-size: 1.0625rem; color: rgba(255, 255, 255, .78); }
/* Auf dem grünen Kontaktband: weiß und kräftig, mit zarter Unterstreichung; beim Darüberfahren deutlich */
.contact-direct a { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-decoration-thickness: 1px; text-underline-offset: .25em; transition: text-decoration-color .2s; }
.contact-direct a:hover { text-decoration-color: #fff; text-decoration-thickness: 2px; }
.eyebrow-light { color: rgba(255, 255, 255, .72); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Kontaktformular */
.contact-panel {
  position: relative; z-index: 1; background: var(--card-color); color: var(--strong-text-color);
  border-radius: var(--radius); padding: clamp(22px, 3vw, 32px);
}
#message { display: grid; gap: 18px; }
#message[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; min-width: 0; }
.form-field label { font-size: 1rem; font-weight: 500; color: var(--strong-text-color); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: 400 1.0625rem/1.4 var(--font-content); color: var(--strong-text-color);
  background: var(--card-color); border: 1.5px solid var(--border-color); border-radius: .3em; padding: 11px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; min-height: 8.5rem; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: #c8c8c8; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--button-color); box-shadow: 0 0 0 3px rgba(4, 152, 98, .15);
}
.form-field [aria-invalid="true"], .form-field [aria-invalid="true"]:hover, .form-field [aria-invalid="true"]:focus { border-color: #c0392b; }
.form-field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, .15); }
.select-wrapper { position: relative; }
.form-field select { appearance: none; padding-right: 42px; cursor: pointer; }
.select-wrapper::after {
  content: ""; position: absolute; right: 17px; top: 50%; width: 8px; height: 8px; pointer-events: none;
  border-right: 1.8px solid var(--caption-color); border-bottom: 1.8px solid var(--caption-color); transform: translateY(-70%) rotate(45deg);
}
.field-error { margin: 0; font-size: .9375rem; color: #c0392b; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 12px 14px; border-radius: .3em; background: #fbeeec; color: #a93226; font-size: 1rem; }
.form-submit { justify-self: start; }
.form-submit[disabled] { opacity: .7; cursor: progress; }
.form-submit .button-icon { transition: transform .3s; }
.form-submit.sending .button-icon { animation: send-pulse 1s ease-in-out infinite; }
@keyframes send-pulse { 50% { transform: translate(3px, -3px); opacity: .5; } }
.form-note { margin: -4px 0 0; font-size: .9375rem; color: var(--caption-color); }
.form-note a { color: var(--accent-color); }
.form-success { display: grid; justify-items: start; gap: 12px; outline: none; padding: 8px 0; }
.form-success[hidden] { display: none; }
.form-success-icon { width: 48px; height: 48px; }
.form-success-icon .line-icon { width: 26px; height: 26px; }
.form-success h3 { font-size: 1.5rem; margin-top: 6px; }
.form-success p { margin: 0 0 10px; color: var(--text-color); }
.form-again { white-space: nowrap; }

/* Antwortseite ohne JavaScript */
.contact-result-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.contact-result { max-width: 34rem; display: grid; justify-items: start; gap: 18px; background: var(--card-color); border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); box-shadow: var(--shadow); }
.contact-result h1 { font-size: 2rem; }
.contact-result p, .contact-result-list { margin: 0; color: var(--text-color); }

/* Footer */
#footer { background: #2b2d2f; }
.footer-inner { max-width: var(--page-maximum-width); margin: 0 auto; padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 1.0312rem; color: #a0a3a5; }
.footer-logo { height: 30px; width: auto; }
.footer-links { margin-left: auto; display: flex; gap: 22px; }
.footer-links a { color: #d6d8d9; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: hsl(158 65% 72%); text-decoration: underline; text-underline-offset: .25em; }

/* Teilen-Dialog */
#share { border: 0; border-radius: 18px; padding: 0; width: min(460px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); font-family: var(--font-content); color: var(--strong-text-color); }
#share::backdrop { background: rgba(20, 20, 20, .4); backdrop-filter: blur(3px); }
.share-inner { padding: 24px; }
.share-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.share-head h2 { font-size: 1.375rem; }
.share-close { border: 0; background: none; font-size: 1.75rem; line-height: 1; cursor: pointer; color: #888; }
.share-link { display: flex; gap: 8px; margin-bottom: 16px; }
.share-link input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--border-color); border-radius: .3em; font: 1rem var(--font-content); color: #555; background: #fafafa; }
.share-targets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.share-target { padding: 12px; border-radius: .3em; border: 1.5px solid var(--border-color); text-align: center; text-decoration: none; color: var(--strong-text-color); font-size: 1.0312rem; transition: var(--transition); }
.share-target:hover { border-color: var(--button-color); color: var(--button-color); }
.share-note { min-height: 20px; margin-top: 12px; font-size: 0.9375rem; color: var(--button-color); }

/* Rechtstexte (legal/) */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(48px, 7vw, 90px) var(--gutter); }
.legal h1 { font-size: clamp(2.125rem, 4.4vw, 3.125rem); margin-bottom: 40px; }
.legal h2 { font-size: 1.75rem; margin: 48px 0 16px; }
.legal h3 { font-size: 1.3125rem; margin: 30px 0 10px; }
.legal p, .legal li { font-size: 1.1562rem; color: var(--text-color); }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; margin: 14px 0; display: grid; gap: 8px; }
.legal address { font-style: normal; font-size: 1.1562rem; color: var(--text-color); margin: 12px 0; }
.legal .legal-notice { text-transform: none; padding: 18px 22px; border-left: 3px solid var(--button-color); background: var(--card-color); border-radius: 0 10px 10px 0; }
.legal-date { margin-top: 56px !important; font-size: 1rem !important; color: var(--caption-color) !important; }
.guide-back { margin-left: auto; font-family: var(--font-stack); font-size: 1.0625rem; color: #d6d8d9; text-decoration: none; transition: color .2s; }
.guide-back:hover { color: hsl(158 65% 72%); text-decoration: underline; text-underline-offset: .3em; }
@media (max-width: 640px) {
  .guide-back { font-size: 0; white-space: nowrap; }
  .guide-back::before { content: "← Startseite"; font-size: 1rem; }
}

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s, border-color .2s; }
.reveal.on { opacity: 1; transform: none; }

/* Unsichtbarer Container für wiederverwendbare SVG-Grafiken */
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Responsive */
@media (max-width: 1000px) {
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-layout .section-head { position: static; }
  #navigation { display: none; }
  .header-inner .button { margin-left: auto; }
  #hero { grid-template-columns: 1fr; }
  #showroom { order: -1; }
  #stage { height: 27.5rem; }
  #box { scale: .82; }
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-actions .button { flex: 1 1 auto; justify-content: center; }
  .form-submit { justify-self: stretch; justify-content: center; }
  #notice { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: none; }
  #showroom { order: 0; margin-top: -32px; }
  body { font-size: 1.125rem; }
  .brand-logo { height: 30px; }
  #stage { height: 23.75rem; }
  #box { scale: .68; }
  .box-shadow { width: 16.25rem; bottom: 1.625rem; }
  .lead, .section-lead { font-size: 1.1875rem; }
  .faq-answer { padding-right: 0; }
  .feature { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 14px; }
  .feature-icon { width: 44px; height: 44px; }
  .feature-icon .line-icon { width: 22px; height: 22px; }
  .footer-inner { flex-direction: column; justify-content: center; gap: 14px; text-align: center; }
  .footer-signature { margin: 0; }
  .footer-links { margin-left: 0; justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 860px) {
  #journey, #authenticator { grid-template-columns: 1fr; gap: 40px; }
  .journey-station { margin-top: 0; }
  .journey-server { height: 300px; }
  .journey-map { top: 0; }
  .authenticator-verify { transform: none; }
  .authenticator-phone { translate: none; }
  .journey-line, .journey-packet { display: none; }
  .journey-station { display: flex; flex-direction: column; }
  .journey-station::before { order: -3; }
  .journey-station h3 { order: -2; margin: 0 0 8px; }
  .journey-station p { order: -1; margin-bottom: 18px; }
  .journey-visual { height: auto; min-height: 180px; }
  .station-stack { align-self: center; margin-top: 0; gap: 20px; }
  .step-bracket { order: 1; margin-bottom: 30px; }
  .step-bracket-wide { width: 86%; margin-left: auto; }
  .step-bracket-covered { visibility: visible; }
  .station-stack > :first-child { height: auto; }
  .authenticator-verify { padding-top: 26px; }
  .authenticator-verify-label { bottom: auto; top: 0; margin-bottom: 0; }
  .journey-station + .journey-station::before { content: "\2193"; display: block; margin: -24px 0 8px; font-size: 1.5rem; color: var(--accent-light-color); }
}
@media (prefers-reduced-motion: reduce) {
  .round-button, .round-button::before, .round-button::after { transition: none; }
  #upward { transform: none; }
  .faq-item::details-content { transition: none; }
  .journey-caret { animation: none; }
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Software-Box: Bedienleiste und Großansicht */
#showroom, #showcase { -webkit-user-select: none; user-select: none; }
#box img { -webkit-user-drag: none; pointer-events: none; }
.showroom-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: -6px; font-size: 0.9688rem; color: var(--caption-color); }
.showroom-zoom {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: .3em;
  border: 1.5px solid var(--border-color); background: var(--card-color); color: var(--strong-text-color);
  font: 500 0.9688rem/1 var(--font-content); cursor: pointer; transition: var(--transition);
}
.showroom-zoom:hover { border-color: var(--button-color); color: var(--button-color); }
.showroom-zoom .button-icon { width: 16px; height: 16px; }

#showcase {
  width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 45%, #ffffff 0%, rgba(240, 240, 240, .96) 70%);
  overflow: hidden;
}
#showcase[open] { display: grid; grid-template-rows: 1fr auto; animation: showcase-in .35s ease; }
#showcase::backdrop { background: rgba(244, 244, 244, .6); backdrop-filter: blur(6px); }
@keyframes showcase-in { from { opacity: 0; } }
.showcase-stage { perspective: 1800px; display: grid; place-items: center; position: relative; touch-action: none; }
.showcase-stage #box { scale: 1; zoom: var(--showcase-scale, 1.5); animation: none; }
.showcase-stage .box-shadow { bottom: auto; top: calc(50% + 12.5rem * var(--showcase-scale, 1.5) + 0.625rem); width: calc(22.5rem * var(--showcase-scale, 1.5)); height: 4.375rem; }
.showcase-hint { text-align: center; font-size: 1rem; color: var(--caption-color); padding: 0 16px calc(28px + env(safe-area-inset-bottom)); }
.showcase-close { position: absolute; top: calc(20px + env(safe-area-inset-top)); right: calc(20px + env(safe-area-inset-right)); z-index: 2; }

/* Großansicht der Screenshots: wie die Großansicht der Box, mit Blättern im Slider */
.gallery-frame img, .provision-figure img { cursor: zoom-in; }
.gallery-frame img { pointer-events: auto; -webkit-user-drag: none; }
#lightbox {
  width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 45%, #ffffff 0%, rgba(240, 240, 240, .97) 70%);
  overflow: hidden;
}
#lightbox[open] { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto; animation: showcase-in .35s ease; }
.lightbox-hint { display: none; margin: -16px 0 0; padding: 0 16px calc(24px + env(safe-area-inset-bottom)); text-align: center; font-size: 0.9375rem; color: var(--caption-color); }
#lightbox::backdrop { background: rgba(244, 244, 244, .6); backdrop-filter: blur(6px); }
.lightbox-stage { display: flex; align-items: center; justify-content: center; gap: 24px; min-width: 0; min-height: 0; padding: calc(52px + env(safe-area-inset-top)) 20px 0; }
.lightbox-track {
  flex: 1; align-self: stretch; display: flex; min-width: 0; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; outline: none;
  -webkit-user-select: none; user-select: none;
}
.lightbox-track::-webkit-scrollbar { display: none; }
.lightbox-slide { flex: 0 0 100%; display: grid; place-items: center; padding: 24px 0; box-sizing: border-box; scroll-snap-align: center; }
.lightbox-slide > .gallery-frame { width: var(--lightbox-width, 100%); margin: 0; }
/* Handy-Folie: wie auf der Seite – fester Seitenverhältnis-Rahmen, die Handys richten sich nach seiner Höhe */
.lightbox-slide img { cursor: zoom-out; -webkit-user-drag: none; user-select: none; }
.lightbox-track.grabbing, .lightbox-track.grabbing img { cursor: grabbing; }
.lightbox-caption { box-sizing: border-box; min-height: 120px; max-width: 900px; margin: 0 auto; padding: 8px 24px calc(28px + env(safe-area-inset-bottom)); text-align: center; font-size: 1.0625rem; color: var(--text-color); }
.lightbox-caption strong { color: var(--strong-text-color); font-weight: 500; margin-right: 6px; }
.lightbox-close { position: absolute; top: calc(20px + env(safe-area-inset-top)); right: calc(20px + env(safe-area-inset-right)); z-index: 2; }
#lightbox.single .lightbox-previous, #lightbox.single .lightbox-next { display: none; }
@media (max-width: 700px) {
  .lightbox-hint { display: block; }
  #lightbox.single .lightbox-hint { font-size: 0; }
  #lightbox.single .lightbox-hint::before { content: "Noch größer: Handy quer drehen oder mit zwei Fingern aufziehen"; font-size: 0.9375rem; }
  .lightbox-stage { gap: 0; padding-left: 10px; padding-right: 10px; }
  .lightbox-previous, .lightbox-next { display: none; }
}

/* Alle Funktionen */
.function-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 48px; }
.function-group { padding-top: 22px; border-top: 2px solid var(--border-color); transition: var(--transition); }
.function-group:hover { border-color: var(--button-color); }
.function-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.function-head h3 { font-size: 1.5rem; }
.function-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.function-list li { position: relative; padding-left: 22px; font-size: 1.0625rem; line-height: 1.5; color: var(--text-color); }
/* Schlichter grüner Punkt statt Häkchen – Häkchen gibt es auf der Seite schon reichlich */
.function-list li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-light-color); }
.function-list strong { color: var(--strong-text-color); font-weight: 500; }
.function-new { display: inline-block; margin-left: 4px; padding: 0 8px; border-radius: 999px; background: var(--button-color); color: #ffffff; font-size: 0.8125rem; letter-spacing: .04em; vertical-align: .12em; }
@media (max-width: 1000px) { .function-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .function-groups { grid-template-columns: 1fr; } }

/* Umzug aus anderen Programmen */
.moving-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.moving-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.moving-steps li { counter-increment: step; position: relative; padding-left: 44px; font-size: 1.1562rem; color: var(--text-color); }
.moving-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft-color); color: var(--accent-deep-color); font-weight: 500; text-align: center; line-height: 30px; font-size: 1rem; }
.moving-steps strong { color: var(--strong-text-color); font-weight: 500; }
.moving-sources { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.moving-sources li { padding: 5px 13px; border-radius: 999px; background: var(--accent-soft-color); font-size: 0.9688rem; color: var(--accent-deep-color); }
.moving-note { margin-top: 16px; font-size: 1rem; color: var(--caption-color); }
@media (max-width: 900px) { .moving-layout { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; gap: 36px; } }

/* Videoplayer im Keyfiler-Design (main.js, „Erklärfilm“): Bild vollständig, Steuerung darunter statt darüber –
   so bleiben Ränder und die Untertitel im Film frei */
.player { background: var(--card-color); border: 1px solid var(--border-color); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 10px 6px; }
.player-screen { position: relative; border-radius: 6px; overflow: hidden; background: #f4efe4; line-height: 0; }
/* object-fit cover und heller Hintergrund: keine dünne schwarze Linie durch Rundungsfehler beim Skalieren */
.player-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #f4efe4; cursor: pointer; }
.player-start {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: var(--button-color); color: #fff; cursor: pointer;
  box-shadow: 0 10px 30px rgba(4, 152, 98, .35); transition: var(--transition);
}
.player-start svg { width: 38px; height: 38px; margin-left: 5px; fill: currentColor; }
.player-start:hover, .player-start:focus-visible { background: var(--accent-color); transform: scale(1.06); }
.player.started .player-start { display: none; }
/* Großer Startknopf vorerst ausgeblendet, damit das Vorschaubild frei zu sehen ist (Start über die Leiste oder Klick ins Bild).
   Wieder einblenden: diese Zeile entfernen. */
.player-start { display: none; }
.player-bar { display: flex; align-items: center; gap: 6px; padding-top: 6px; }
.player-button {
  flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: none; color: var(--strong-text-color); cursor: pointer; transition: var(--transition);
}
.player-button:hover, .player-button:focus-visible { background: var(--accent-soft-color); color: var(--accent-color); }
.player-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.player-toggle svg path[d^="M8 5.5"] { fill: currentColor; }
.player-mute svg { width: 25px; height: 25px; stroke-width: 1.5; } /* Lautsprecher feiner, etwas größer */
.player-toggle svg { width: 24px; height: 24px; }
.player-icon-pause { stroke-width: 2.8 !important; }
.player-expand svg { stroke-width: 2.2; }
.player-icon-pause, .player.playing .player-icon-play { display: none; }
.player.playing .player-icon-pause { display: block; }
.player-icon-muted, .player.muted .player-icon-sound { display: none; }
.player.muted .player-icon-muted { display: block; }
.player-time { flex: none; min-width: 6.6em; font-size: 0.9375rem; font-variant-numeric: tabular-nums; color: var(--caption-color); }
.player-progress {
  --progress: 0%;
  flex: 1; min-width: 60px; height: 6px; margin: 0 8px; border-radius: 3px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background: linear-gradient(to right, var(--button-color) var(--progress), var(--border-color) var(--progress));
}
.player-progress::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--card-color); border: 3px solid var(--button-color); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.player-progress::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--card-color); border: 3px solid var(--button-color); }
.player-progress::-moz-range-track { height: 6px; background: transparent; }
.player-progress:focus-visible { outline: 2px solid var(--accent-light-color); outline-offset: 4px; }
/* Lautstärke: schmaler Regler neben dem Lautsprecher, gleiche Gestaltung wie die Zeitleiste */
.player-volume {
  --volume: 100%;
  flex: none; width: 76px; height: 5px; margin: 0 10px 0 0; border-radius: 3px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background: linear-gradient(to right, var(--button-color) var(--volume), var(--border-color) var(--volume));
}
.player-volume::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: var(--card-color); border: 3px solid var(--button-color); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.player-volume::-moz-range-thumb { width: 9px; height: 9px; border-radius: 50%; background: var(--card-color); border: 3px solid var(--button-color); }
.player-volume::-moz-range-track { height: 5px; background: transparent; }
.player-volume:focus-visible { outline: 2px solid var(--accent-light-color); outline-offset: 4px; }
@media (max-width: 480px) {
  /* Handy: Lautstärke über die Tasten am Gerät (iPhone lässt sie per Seite ohnehin nicht ändern), nur Ton an/aus */
  .player-volume { display: none; }
  .player-time { min-width: 0; font-size: 0.8125rem; }
  .player-button { width: 36px; height: 36px; }
  .player-start { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .player-start svg { width: 28px; height: 28px; margin-left: 4px; }
}
/* Vollbild: Bild so groß wie möglich, Steuerung darunter */
.player:fullscreen { display: flex; flex-direction: column; justify-content: center; border: 0; border-radius: 0; padding: 0 0 8px; background: #111; }
.player:fullscreen .player-screen { border-radius: 0; flex: 1; display: grid; place-items: center; background: #111; }
.player:fullscreen .player-video { width: 100%; height: 100%; max-height: calc(100vh - 64px); object-fit: contain; }
.player:fullscreen .player-bar { padding: 8px 16px 0; }
.player:fullscreen .player-button, .player:fullscreen .player-time { color: #eee; }

/* Erklärfilm in Großansicht: so groß wie das Fenster erlaubt, höchstens in Originalgröße (1920 × 1080) */
#cinema {
  width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 45%, #ffffff 0%, rgba(240, 240, 240, .97) 70%);
  overflow: hidden;
}
#cinema[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; animation: showcase-in .35s ease; }
#cinema::backdrop { background: rgba(244, 244, 244, .6); backdrop-filter: blur(6px); }
.cinema-stage { display: grid; place-items: center; min-height: 0; padding: calc(72px + env(safe-area-inset-top)) 20px 12px; }
/* Großansicht höchstens 1280 px breit (ähnlich den Screenshots mit 1440 px) – größer wirkt der Film grob */
.player-large { width: min(calc(100vw - 40px), calc((100dvh - 260px) * 16 / 9 + 22px), 1302px); }
.cinema-caption { margin: 0 auto; max-width: 900px; padding: 8px 24px calc(28px + env(safe-area-inset-bottom)); text-align: center; font-size: 1.0625rem; color: var(--text-color); }
.cinema-close { position: absolute; top: calc(20px + env(safe-area-inset-top)); right: calc(20px + env(safe-area-inset-right)); z-index: 2; }
@media (max-width: 600px) { .cinema-stage { padding-left: 8px; padding-right: 8px; } .player-large { width: min(calc(100vw - 16px), calc((100dvh - 260px) * 16 / 9 + 22px)); } }

/* Verweis auf die Anleitung „So funktioniert der Vorsorgeordner“ (provision.html) */
.provision-guide {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  margin-top: clamp(64px, 7vw, 96px); padding: 26px 30px; border-radius: var(--radius); background: var(--accent-soft-color);
}
.provision-guide h3 { font-size: 1.375rem; margin-bottom: 6px; }
.provision-guide p { color: var(--text-color); max-width: 620px; }
/* „Wichtig“ als Fußzeile im grünen Kasten, über die ganze Breite und durch eine feine Linie abgesetzt */
.provision-guide .guide-note { flex-basis: 100%; max-width: none; margin-top: 4px; padding-top: 18px; border-top: 1px solid rgba(5, 152, 98, .22); font-size: 1rem; }
.provision-guide .guide-note strong { color: var(--strong-text-color); font-weight: 600; }

/* Drucken: Kopf und Fuß ohne dunkle Fläche, Logo in der dunklen Fassung */
@media print {
  #header, #footer { position: static; background: none; backdrop-filter: none; }
  .brand-logo:not(.logo-print), .footer-logo:not(.logo-print) { display: none; }
  .logo-print { display: block; }
  #navigation a, .footer-inner, .footer-links a { color: #5c5c5c; }
}
