/* STAVRON Start – Obsidian / Titan / Glas / Saphir
   Alle Licht-, Schatten- und Bewegungswerte sind Kalibrierungskandidaten (PROFESSIONAL_DISCRETION),
   keine Owner-Defaults. */

:root {
  --obsidian-0: #030405;
  --obsidian-1: #06080b;
  --obsidian-2: #0b0e13;
  --obsidian-3: #121720;

  --titan-hi: #dfe3e9;
  --titan: #9aa1ab;
  --titan-lo: #4a5059;
  --titan-deep: #23272e;

  --sapphire-hi: #a9c7ff;
  --sapphire: #4a86ff;
  --sapphire-mid: #2456c4;
  --sapphire-deep: #0d2a74;
  --sapphire-abyss: #071640;

  --emerald: #3cc595;

  --text: #eaedf1;
  --text-2: #b3bac4;
  --text-3: #8f97a2;
  --focus: #93b9ff;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --glint-ease: cubic-bezier(.45, .05, .35, 1);

  color-scheme: dark;
  scrollbar-gutter: stable;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--obsidian-0);
}

html.is-locked { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(70% 42% at 50% -6%, rgba(46, 86, 170, .16), transparent 70%),
    radial-gradient(60% 50% at 50% 108%, rgba(20, 30, 48, .55), transparent 72%),
    linear-gradient(180deg, #05070a 0%, var(--obsidian-0) 100%);
  background-color: var(--obsidian-0);
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  /* Lange Komposita und die E-Mail-Adresse dürfen nur dann umbrechen, wenn sie sonst überlaufen
     (z. B. 320 px bei 200 % Schrift); bei normaler Größe bleibt der Satz unverändert. */
  overflow-wrap: anywhere;
}

h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }

a { color: inherit; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* ------------------------------------------------------------------
   Materialkörper
   .skin       = Rahmenebene (Titan/Saphir-Fassung) + wandernder Kantenreflex (::before)
   .skin::after = Vorderfläche des Körpers, um die Rahmenbreite eingezogen
   .sheen      = optionaler Oberflächenreflex über der Vorderfläche
   Facettenform: große Fasen oben links / unten rechts, Mikrofasen an den anderen Ecken.
   ------------------------------------------------------------------ */

.skin {
  --c: 12px;          /* große Fase */
  --k: 2px;           /* Mikrofase */
  --rim-w: 1px;
  --glint-dur: 14s;
  --glint-delay: 0s;
  --glint: linear-gradient(100deg, transparent 0%, rgba(235, 240, 248, 0) 18%, rgba(235, 240, 248, .9) 50%, rgba(235, 240, 248, 0) 82%, transparent 100%);
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--rim);
  clip-path: polygon(var(--c) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--c));
}

.skin::before {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 36%;
  background: var(--glint);
  transform: translateX(-110%);
  animation: glint var(--glint-dur) var(--glint-ease) var(--glint-delay) infinite;
  will-change: transform;
}

.skin::after {
  content: "";
  position: absolute;
  inset: var(--rim-w);
  z-index: 1;
  background: var(--body);
  box-shadow: var(--bevel, none);
  clip-path: polygon(var(--c) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--c));
}

.sheen {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 46%;
  background: var(--sheen);
  transform: translateX(-110%);
  animation: glint var(--sheen-dur, var(--glint-dur)) var(--glint-ease) var(--sheen-delay, var(--glint-delay)) infinite;
  will-change: transform;
}

/* Reflex gleitet in ca. einem Fünftel der Periode über den Körper und ruht dann. */
@keyframes glint {
  0%   { transform: translateX(-110%); }
  22%  { transform: translateX(290%); }
  100% { transform: translateX(290%); }
}

/* Obsidian: polierter dunkler Grundkörper mit Titanfassung */
.skin--obsidian {
  --c: 22px;
  --k: 3px;
  --glint-dur: 19s;
  --glint-delay: 2.5s;
  --rim: linear-gradient(140deg, rgba(196, 202, 212, .55) 0%, rgba(74, 80, 89, .55) 22%, rgba(35, 39, 46, .7) 48%, rgba(120, 128, 140, .5) 78%, rgba(206, 212, 220, .45) 100%);
  --body:
    radial-gradient(120% 70% at 12% -8%, rgba(130, 160, 210, .085), transparent 58%),
    linear-gradient(122deg, transparent 0 28%, rgba(220, 230, 245, .028) 36%, transparent 47%),
    linear-gradient(180deg, #0e1218 0%, #090c10 55%, #06080b 100%);
  --bevel:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    inset 0 -1px 0 rgba(0, 0, 0, .7),
    inset 0 40px 60px -50px rgba(140, 170, 220, .10);
  --sheen: linear-gradient(105deg, transparent 0%, rgba(200, 214, 238, .045) 50%, transparent 100%);
  --sheen-dur: 27s;
  --sheen-delay: 0s;
}

/* Saphir: klarer Glaskörper mit Saphirfassung, Facette und Lichtfang */
.skin--sapphire {
  --c: 14px;
  --k: 2px;
  --rim-w: 1.5px;
  --glint-dur: 9s;
  --glint-delay: 1.2s;
  --glint: linear-gradient(100deg, transparent 0%, rgba(214, 230, 255, 0) 15%, rgba(232, 241, 255, 1) 50%, rgba(214, 230, 255, 0) 85%, transparent 100%);
  --rim: linear-gradient(135deg, #b9d1ff 0%, #4a86ff 22%, #10307f 48%, #3f78f0 72%, #c7dbff 100%);
  --body:
    radial-gradient(circle at 93% 14%, rgba(226, 238, 255, .55) 0, rgba(226, 238, 255, 0) 7px),
    linear-gradient(180deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .03) 38%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(112deg, transparent 0 61%, rgba(170, 200, 255, .13) 61.4%, rgba(170, 200, 255, .04) 63%, transparent 72%),
    linear-gradient(162deg, #2f64d2 0%, #1d47aa 46%, #0e2c7f 78%, #0a2263 100%);
  --bevel:
    inset 0 1px 0 rgba(235, 243, 255, .55),
    inset 0 -1px 0 rgba(4, 12, 40, .75),
    inset 0 -12px 18px -10px rgba(3, 10, 36, .6),
    inset 0 10px 16px -12px rgba(190, 215, 255, .45);
  --sheen: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .13) 50%, transparent 100%);
  --sheen-delay: 1.35s;
}

/* Dünnes Glas: ruhigere Körper mit Titankante und sichtbarer Dickenkante */
.skin--glass {
  --c: 12px;
  --k: 2px;
  --rim: linear-gradient(135deg, rgba(226, 231, 238, .62) 0%, rgba(118, 126, 138, .34) 28%, rgba(52, 58, 68, .55) 55%, rgba(176, 184, 194, .45) 82%, rgba(110, 118, 128, .38) 100%);
  --body:
    linear-gradient(180deg, rgba(255, 255, 255, .075) 0%, rgba(255, 255, 255, .018) 38%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, rgba(24, 30, 39, .82) 0%, rgba(13, 17, 23, .9) 100%);
  --bevel:
    inset 0 1px 0 rgba(255, 255, 255, .13),
    inset 0 -2px 0 rgba(0, 0, 0, .55),
    inset 0 -3px 0 rgba(150, 160, 175, .07);
}

/* WhatsApp: gleicher dünner Glaskörper, seltener smaragdfarbener Kantenreflex */
.skin--emerald {
  --c: 10px;
  --glint-dur: 12s;
  --glint-delay: 4.2s;
  --glint: linear-gradient(100deg, transparent 0%, rgba(120, 230, 190, 0) 18%, rgba(150, 240, 205, .85) 50%, rgba(120, 230, 190, 0) 82%, transparent 100%);
}

/* Lesefläche: dichter, ruhiger, ohne Oberflächenreflex über dem Text */
.skin--reading {
  --c: 20px;
  --k: 3px;
  --glint-dur: 21s;
  --glint-delay: 1.5s;
  --rim: linear-gradient(140deg, rgba(206, 212, 222, .6) 0%, rgba(80, 87, 97, .55) 26%, rgba(36, 40, 47, .75) 52%, rgba(128, 136, 148, .5) 80%, rgba(206, 212, 220, .5) 100%);
  --body:
    linear-gradient(180deg, rgba(255, 255, 255, .045) 0, rgba(255, 255, 255, 0) 90px),
    linear-gradient(180deg, rgba(15, 19, 26, .975) 0%, rgba(9, 12, 16, .985) 100%);
  --bevel:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 0 rgba(0, 0, 0, .7);
}

/* ------------------------------------------------------------------
   Seitenaufbau
   ------------------------------------------------------------------ */

.scene {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding:
    max(20px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
}

.slab {
  position: relative;
  isolation: isolate;
  width: min(100%, 1040px);
  display: grid;
  gap: 30px;
  padding: clamp(22px, 5.4vw, 52px);
}

/* Kontaktschatten unter dem Obsidiankörper */
.slab::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8px 4px -2px;
  border-radius: 14px;
  box-shadow:
    0 2px 3px rgba(0, 0, 0, .9),
    0 28px 60px -18px rgba(0, 0, 0, .95),
    0 60px 120px -40px rgba(10, 20, 45, .7);
}

/* Körper hinter den Inhalt legen, ohne eigene Stacking-Kontexte für den Inhalt:
   so kann die Wortmarke (mix-blend-mode: screen) direkt mit dem Obsidian verrechnet werden. */
.slab > .skin { z-index: -1; }
.slab > :not(.skin) { position: relative; }

.slab__intro { min-width: 0; }
.slab__links { min-width: 0; display: grid; gap: 26px; align-content: start; }

@media (min-width: 900px) {
  .slab {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    column-gap: clamp(40px, 5vw, 64px);
    align-items: center;
  }
  /* Titan-Haarlinie zwischen Einleitung und Wegen */
  .slab__links::before {
    content: "";
    position: absolute;
    top: 6%;
    bottom: 6%;
    left: calc(clamp(40px, 5vw, 64px) / -2);
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(170, 178, 190, .32) 25%, rgba(170, 178, 190, .32) 75%, transparent);
  }
}

/* Marke */
.brand { font-weight: inherit; }

.brand__mark {
  position: relative;
  display: block;
  width: min(100%, 380px);
  aspect-ratio: 5 / 1;
  margin-left: -1.2%;
}

.brand__img {
  display: block;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  /* nur den leeren Bildhintergrund unter der Bodenspiegelung ausblenden, die Zeichen bleiben unberührt */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
}

.brand__fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  font-size: clamp(1.75rem, 9vw, 2.6rem);
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--titan-hi);
  background: linear-gradient(180deg, #eef1f5 0%, #9aa1ab 60%, #c9ced6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand__mark.is-fallback .brand__img { visibility: hidden; }
.brand__mark.is-fallback .brand__fallback { display: flex; }

.brand__claim {
  display: block;
  margin-top: 22px;
  font-size: clamp(1.625rem, 1.2rem + 1.9vw, 2.375rem);
  line-height: 1.14;
  font-weight: 560;
  letter-spacing: -.012em;
  text-wrap: balance;
}

.lead {
  margin-top: 14px;
  max-width: 34em;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

.hint {
  margin-top: 18px;
  max-width: 34em;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

/* ------------------------------------------------------------------
   Aktionen
   ------------------------------------------------------------------ */

.actions {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

@media (min-width: 520px) {
  .actions { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}

.act,
.tile,
.sheet__close {
  position: relative;
  isolation: isolate;
  text-decoration: none;
  color: var(--text);
  transition: transform .18s var(--ease);
  touch-action: manipulation;
}

/* weicher Kontaktschatten unter jedem Körper */
.act::before,
.tile::before,
.sheet__close::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 3px 2px 0;
  border-radius: 6px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, .75), 0 12px 22px -10px rgba(0, 0, 0, .9);
  transition: box-shadow .18s var(--ease), transform .18s var(--ease);
}

.act {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.act--primary { min-height: 56px; font-size: 1.0625rem; }
.act--primary::before { box-shadow: 0 2px 3px rgba(0, 0, 0, .8), 0 14px 26px -10px rgba(0, 0, 0, .95), 0 10px 26px -14px rgba(40, 90, 210, .5); }
.act--primary .act__label { text-shadow: 0 1px 1px rgba(2, 10, 40, .55); }

.act__label,
.act__icon,
.tile__body,
.tile__icon,
.sheet__close svg { position: relative; z-index: 3; }

.act__icon,
.tile__icon,
.sheet__close svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.act--secondary .act__icon { color: var(--text-2); }

/* Kacheln */
.tiles { display: grid; gap: 12px; }

.tile {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 14px 18px 15px 20px;
}

.tile__body { display: grid; gap: 3px; min-width: 0; flex: 1; }
.tile__title { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.tile__text { font-size: .875rem; line-height: 1.45; color: var(--text-2); }
.tile__icon { color: var(--titan); }

/* Kantenreflexe der Kacheln zeitlich versetzt, nie alle gleichzeitig */
.tiles li:nth-child(1) .skin { --glint-delay: 6s; }
.tiles li:nth-child(2) .skin { --glint-delay: 7.9s; --glint-dur: 15s; }
.tiles li:nth-child(3) .skin { --glint-delay: 9.8s; --glint-dur: 16s; }

/* Zustände: Hover nur bei echtem Zeiger, Druck auch auf Touch */
@media (hover: hover) {
  .act:hover,
  .tile:hover,
  .sheet__close:hover { transform: translateY(-1px); }
  .act:hover .skin,
  .tile:hover .skin,
  .sheet__close:hover .skin { filter: brightness(1.22) saturate(1.06); }
  .tile:hover .tile__icon { color: var(--titan-hi); }
  .act:hover::before,
  .tile:hover::before { box-shadow: 0 3px 4px rgba(0, 0, 0, .7), 0 18px 28px -12px rgba(0, 0, 0, .95); }
}

.act:focus-visible .skin,
.tile:focus-visible .skin,
.sheet__close:focus-visible .skin { filter: brightness(1.28); }

.act:active,
.tile:active,
.sheet__close:active { transform: translateY(1px); transition-duration: .06s; }
.act:active .skin::after,
.tile:active .skin::after,
.sheet__close:active .skin::after { filter: brightness(.82); }
.act:active::before,
.tile:active::before,
.sheet__close:active::before { box-shadow: 0 1px 1px rgba(0, 0, 0, .85), 0 4px 8px -4px rgba(0, 0, 0, .9); }

/* Kontakt */
.eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--titan);
}

.contact__list { margin-top: 8px; display: grid; gap: 2px; }

.contact__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
  text-decoration: underline;
  text-decoration-color: rgba(154, 161, 171, .45);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  user-select: text;
  -webkit-user-select: text;
  transition: text-decoration-color .15s;
}

@media (hover: hover) {
  .contact__link:hover { text-decoration-color: var(--sapphire-hi); }
}

/* Footer */
.foot {
  width: min(100%, 1040px);
  text-align: center;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--text-3);
  display: grid;
  gap: 4px;
}

.foot__note { font-size: .75rem; }

/* ruhiger Statushinweis zur Hauptwebsite: kein Link, kein Datum, keine eigene Aktion */
.foot__notice {
  justify-self: center;
  max-width: 34em;
  margin-bottom: 8px;
  font-size: .875rem;
  color: var(--text-2);
  text-wrap: balance;
}

/* Saphirschliff steht im Textfluss vor dem ersten Wort */
.foot__notice::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  vertical-align: .12em;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #c7dbff 0%, #4a86ff 45%, #0f2f86 100%);
}

/* ------------------------------------------------------------------
   Lesefläche (Leistungen & Preisorientierung)
   ------------------------------------------------------------------ */

.sheet {
  padding: 0;
  border: 0;
  margin: auto;
  width: min(760px, 100% - 32px);
  max-width: none;
  max-height: min(88dvh, 940px);
  overflow: visible;
  background: transparent;
  color: var(--text);
}

.sheet::backdrop {
  background: rgba(2, 3, 5, .74);
  -webkit-backdrop-filter: blur(6px) saturate(.85);
  backdrop-filter: blur(6px) saturate(.85);
}

.sheet__frame {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  max-height: inherit;
}

.sheet__frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10px 6px -2px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .8), 0 40px 90px -20px rgba(0, 0, 0, .95);
}

.sheet[open] .sheet__frame { animation: sheet-in .24s var(--ease); }

@keyframes sheet-in {
  from { opacity: 0; transform: translateY(10px) scale(.992); }
  to   { opacity: 1; transform: none; }
}

.sheet__head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 16px 14px 28px;
  border-bottom: 1px solid rgba(154, 161, 171, .16);
}

.sheet__title {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.sheet__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.sheet__close .skin { --c: 8px; --glint-dur: 23s; --glint-delay: 7s; }

.sheet__body {
  position: relative;
  z-index: 2;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 28px 30px;
  scrollbar-color: rgba(154, 161, 171, .35) transparent;
}

.sheet__body:focus-visible { outline-offset: -4px; }

.block + .block { margin-top: 30px; }

.block__title {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.005em;
}

.block__intro { margin-top: 8px; color: var(--text-2); max-width: 60ch; }

.services { margin-top: 16px; display: grid; gap: 16px; }

.services li {
  position: relative;
  padding-left: 22px;
  max-width: 62ch;
}

/* kleiner Saphirschliff als Aufzählungszeichen */
.services li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .5em;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #c7dbff 0%, #4a86ff 45%, #0f2f86 100%);
  box-shadow: 0 0 0 1px rgba(10, 30, 90, .6);
}

.services h4 { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.services p { margin-top: 4px; font-size: .9375rem; line-height: 1.55; color: var(--text-2); }

.prices { margin-top: 16px; border-top: 1px solid rgba(154, 161, 171, .16); }

.prices > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 20px;
  row-gap: 2px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(154, 161, 171, .16);
}

.prices dt { flex: 1 1 14rem; font-size: .9375rem; line-height: 1.45; }
.prices dd {
  font-size: .9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

/* Betragsbereich bleibt zusammen; "und mehr" darf bei großer Schrift umbrechen */
.prices .range { white-space: nowrap; }

.fine { margin-top: 14px; font-size: .875rem; line-height: 1.6; color: var(--text-2); max-width: 64ch; }
.fine--scope + .fine { margin-top: 8px; }

.block--cta p { margin-top: 8px; color: var(--text-2); max-width: 60ch; }
.block--cta .act { margin-top: 18px; width: 100%; max-width: 360px; }

@media (max-width: 640px) {
  .sheet {
    width: 100%;
    height: 100%;
    max-height: none;
    margin: 0;
  }
  .sheet__frame { height: 100%; max-height: none; }
  .sheet__frame::before { display: none; }
  .skin--reading { --c: 0px; --k: 0px; }
  .sheet__head { padding: max(12px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) 12px max(20px, env(safe-area-inset-left)); }
  .sheet__body { padding: 20px max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
  .sheet[open] .sheet__frame { animation-name: sheet-in-mobile; }
  @keyframes sheet-in-mobile {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
  }
  .block--cta .act { max-width: none; }
}

/* Ohne JavaScript oder ohne showModal bleibt die Lesefläche über den Anker inline erreichbar.
   Die Klasse has-modal setzt main.js erst nach bestandener Fähigkeitsprüfung. */
html:not(.has-modal) .sheet:target {
  display: block;
  position: static;
  margin: 24px auto 40px;
  max-height: none;
}
html:not(.has-modal) .sheet:target .sheet__frame { max-height: none; }
html:not(.has-modal) .sheet:target .sheet__body { overflow: visible; }
/* Im Inline-Fallback gibt es nichts zu schließen; keine wirkungslose Schaltfläche zeigen. */
html:not(.has-modal) .sheet__close { display: none; }

/* ------------------------------------------------------------------
   Bewegung, Sichtbarkeit und Darstellungswünsche
   ------------------------------------------------------------------ */

html[data-motion="paused"] .skin::before,
html[data-motion="paused"] .sheen { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  /* ruhende Materialvariante: Reflex steht fest an einer Kante */
  .skin::before { animation: none; transform: translateX(185%); }
  .sheen { animation: none; transform: translateX(190%); }
  .act, .tile, .sheet__close, .act::before, .tile::before { transition: none; }
  .act:hover, .tile:hover, .sheet__close:hover, .act:active, .tile:active, .sheet__close:active { transform: none; }
  .sheet[open] .sheet__frame { animation: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .skin--glass {
    --rim: linear-gradient(135deg, #c3c9d1 0%, #6a717c 30%, #3a3f48 55%, #9da4ae 82%, #5d646e 100%);
    --body: linear-gradient(180deg, #1c222b 0%, #141920 100%);
  }
  .skin--obsidian {
    --rim: linear-gradient(140deg, #8c939d 0%, #3a3f47 30%, #23272e 55%, #6f7681 100%);
    --body: linear-gradient(180deg, #0f1319 0%, #090c10 100%);
  }
  .skin--reading {
    --rim: linear-gradient(140deg, #9aa1ab 0%, #3a3f47 40%, #6f7681 100%);
    --body: #0d1116;
  }
  .sheen { display: none; }
  .sheet::backdrop {
    background: rgba(2, 3, 5, .94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (forced-colors: active) {
  .skin, .sheen, .act::before, .tile::before, .slab::before, .sheet__frame::before { display: none; }
  .act, .tile, .sheet__close { border: 1px solid ButtonText; }
  .slab, .sheet__frame { border: 1px solid CanvasText; }
  .brand__img { mix-blend-mode: normal; }
}

@media print {
  .skin, .sheen { display: none; }
  body { background: #fff; color: #000; }
}

/* Öffentliche Rechtslinks, mit ausreichender Zielfläche und sichtbarem Fokus. */
.foot__links { display:flex; flex-wrap:wrap; justify-content:center; gap:4px 22px; }
.foot__links a { display:inline-flex; align-items:center; min-height:44px; text-underline-offset:4px; }
