/* hurico.de · Richtung „Risikobericht“ · Phase 5 */

@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); }

:root {
  /* Marke */
  --tief: #0E1730;
  --tief-2: #0A1126;
  --navy: #1B2640;
  --navy-2: #24314F;
  --gold: #C9A13B;
  --gold-h: #E3BE5C;
  --gold-d: #7A5C14;
  --papier: #F2EFE7;
  --papier-2: #E8E3D6;
  --blatt: #FBFAF6;
  --linie: #D6CFBF;
  --text: #1B2640;
  --text-2: #4A5470;
  --text-hell: #FFFFFF;
  --text-hell-2: #BCC4D6;
  --stufe-erf: #C9A13B;
  --stufe-sinn: #8C98B0;
  --stufe-opt: #C8CCD6;

  /* Raster: Grundmodul 8 px */
  --m: 8px;
  --wrap: 1240px;
  --rand: 112px;           /* Spalte für die Gliederungsnummern */
  --gutter: 16px;
  --sec-pad: clamp(80px, 9vw, 136px);

  /* Einstieg (für das Regler-Panel in Phase 6) */
  --hero-pad-top: clamp(128px, 14vw, 184px);
  --hero-pad-bottom: clamp(172px, 14.5vw, 220px);
  --hero-h1: clamp(2.35rem, 1.1rem + 3.7vw, 4.1rem);
  --stapel-neigung: -2deg;

  --h2: clamp(1.85rem, 1.2rem + 2.1vw, 2.9rem);
  --h3: clamp(1.15rem, 1rem + .5vw, 1.375rem);
  --body: 1.0625rem;

  --radius: 3px;
  --schatten-blatt: 0 1px 2px rgba(14, 23, 48, .08), 0 18px 40px -12px rgba(14, 23, 48, .28);
  --schatten-tief: 0 2px 6px rgba(4, 8, 20, .25), 0 40px 90px -24px rgba(4, 8, 20, .7);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: "Manrope", system-ui, sans-serif; font-size: var(--body); line-height: 1.6;
  color: var(--text); background: var(--papier); font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
::selection { background: var(--gold-h); color: var(--tief); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html { scrollbar-color: var(--navy-2) var(--papier-2); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--gold); display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border-radius: var(--radius);
  font: 700 1rem/1.2 "Manrope", sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--tief); box-shadow: 0 2px 4px rgba(4, 8, 20, .25), 0 12px 24px -10px rgba(4, 8, 20, .55); }
.btn--gold:hover { background: var(--gold-h); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(4, 8, 20, .25), 0 18px 32px -12px rgba(4, 8, 20, .6); }
.btn--linie { color: var(--text-hell); border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--linie:hover { border-color: var(--gold-h); background: rgba(255, 255, 255, .09); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--tief); transform: translateY(-2px); }

/* ---------- Glas ---------- */
.glas {
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05) 55%, rgba(255, 255, 255, .08));
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(255, 255, 255, .05), var(--schatten-tief);
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-radius: 6px;
}
.glas--hell {
  background: linear-gradient(160deg, rgba(251, 250, 246, .86), rgba(242, 239, 231, .7));
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(14, 23, 48, .1), 0 30px 70px -24px rgba(14, 23, 48, .45);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: 6px;
}

/* ---------- Kopfzeile ---------- */
.kopf { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .4s, box-shadow .4s, backdrop-filter .4s; }
.kopf.is-scrolled {
  background: rgba(14, 23, 48, .8); box-shadow: 0 1px 0 rgba(227, 190, 92, .22), 0 12px 40px -20px rgba(0, 0, 0, .6);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.kopf__in { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.kopf__logo img { height: 40px; width: auto; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a, .nav button.nav__trigger {
  color: var(--text-hell); text-decoration: none; font: 500 .9375rem/1 "Manrope", sans-serif; padding: 12px 14px; border-radius: var(--radius);
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background-color .25s, color .25s;
}
.nav a:hover, .nav button.nav__trigger:hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, .08); color: var(--gold-h); }
.nav .btn { margin-left: 12px; padding: 12px 18px; font-size: .9375rem; }
.nav .btn:hover { color: var(--tief); background: var(--gold-h); }
.nav__drop { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: -12px; min-width: 300px; padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: opacity .25s, transform .35s var(--ease), visibility .25s;
  background: rgba(14, 23, 48, .82);
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu, .nav__drop.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px; }
.nav__menu small { color: var(--text-hell-2); font-size: .8125rem; font-weight: 400; }
.nav__chev { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav__drop:hover .nav__chev, .nav__drop.is-open .nav__chev { transform: rotate(180deg); }

.menu-btn { background: none; border: 1px solid rgba(255, 255, 255, .3); color: #fff; width: 48px; height: 48px; border-radius: var(--radius); cursor: pointer; display: grid; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-offen .menu-btn span { background: transparent; }
.menu-offen .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-offen .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobilmenu {
  position: fixed; inset: 80px 0 0 0; z-index: 49; padding: 24px var(--gutter) 40px; overflow-y: auto;
  background: rgba(10, 17, 38, .9); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.menu-offen .mobilmenu { opacity: 1; visibility: visible; transform: none; }
.mobilmenu a { display: block; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.25rem; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobilmenu .sub a { font-weight: 500; font-size: 1.0625rem; padding-left: 16px; color: var(--text-hell-2); }
.mobilmenu .btn { margin-top: 24px; width: 100%; justify-content: center; border: 0; font-size: 1rem; }
@media (min-width: 1040px) { .nav { display: block; } .menu-btn, .mobilmenu { display: none; } }

/* ---------- Einstieg ---------- */
.hero { position: relative; isolation: isolate; color: var(--text-hell); background: var(--tief); padding: var(--hero-pad-top) 0 var(--hero-pad-bottom); overflow: clip; }
.hero::before { /* Licht hinter dem Berichtsstapel */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 78% 42%, rgba(201, 161, 59, .16), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(45, 63, 106, .55), transparent 70%),
    linear-gradient(180deg, #0E1730 0%, #0B1329 100%);
}
.hero::after { /* Raster des Planpapiers, zur Mitte hin sichtbar */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(70% 80% at 70% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 80% at 70% 45%, #000 20%, transparent 75%);
}
.hero__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1100px) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; } }
.hero h1 { font-size: var(--hero-h1); letter-spacing: -.025em; max-width: 15ch; }
.hero__text { margin-top: 28px; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--text-hell-2); max-width: 54ch; }
.hero__aktion { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.signatur { margin-top: 44px; display: flex; align-items: center; gap: 16px; color: var(--text-hell-2); font-size: .9375rem; }
.signatur::before { content: ""; width: 40px; height: 1px; background: var(--gold); flex: none; }
.signatur strong { color: #fff; font-weight: 700; }

/* Berichtsstapel */
.stapel { position: relative; height: clamp(560px, 46vw, 640px); perspective: 1600px; margin: 0 auto; width: min(100%, 560px); }
.stapel__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.blatt {
  position: absolute; background: var(--blatt); color: var(--text); border-radius: 2px; box-shadow: var(--schatten-tief);
  transform-origin: 50% 60%; will-change: transform;
}
.blatt::after { /* Papierkante */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .6), transparent 30%, transparent 70%, rgba(14, 23, 48, .05));
}
.blatt--hinten { width: 78%; height: 82%; right: -2%; top: 2%; transform: translateZ(-160px) rotate(6deg); background: #E9E5DA; padding: 28px; }
.blatt--mitte { width: 80%; height: 84%; right: 6%; top: 6%; transform: translateZ(-80px) rotate(2.5deg); background: #F4F1E9; padding: 32px; }
.blatt--vorn { width: 86%; left: 0; top: 10%; transform: translateZ(0) rotate(var(--stapel-neigung)); padding: 32px 32px 28px 72px; }
.blatt--vorn::before { content: ""; position: absolute; left: 52px; top: 0; bottom: 0; width: 1px; background: var(--linie); }
.blatt__kopf { display: flex; justify-content: space-between; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: #5E6680; font-weight: 600; }
.blatt__titel { font-weight: 800; font-size: 1.5rem; margin: 20px 0 4px; letter-spacing: -.01em; }
.blatt__unter { font-size: .875rem; color: var(--text-2); margin-bottom: 18px; }
.zeile { position: relative; border-top: 1px solid var(--linie); padding: 16px 0 18px; }
.zeile__nr { position: absolute; left: -56px; top: 18px; width: 40px; text-align: right; font-size: .8125rem; color: #5E6680; }
.zeile__t { display: block; margin: 10px 0 4px; font-size: 1.0625rem; font-weight: 800; letter-spacing: -.005em; }
.zeile p { font-size: .875rem; color: var(--text-2); line-height: 1.5; }
.stempel {
  display: inline-block; font: 800 .6875rem/1 "Manrope", sans-serif; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 9px 5px; color: var(--tief); border-radius: 1px;
}
.stempel--erf { background: var(--stufe-erf); }
.stempel--sinn { background: var(--stufe-sinn); }
.stempel--opt { background: var(--stufe-opt); }
.lageplan { position: absolute; inset: 60px 28px 28px; }
.deckblatt__titel { margin-top: 64px; font-weight: 800; font-size: 1.75rem; letter-spacing: -.01em; color: var(--navy); }
.deckblatt__balken { margin-top: 18px; display: grid; gap: 10px; }
.deckblatt__balken i { display: block; height: 8px; background: #DDD7C8; border-radius: 1px; }
.stapel__marke { position: absolute; z-index: 3; left: -4%; top: 0; padding: 12px 16px; font-size: .8125rem; color: #fff; transform: translateZ(60px); display: flex; align-items: center; gap: 10px; }
.stapel__marke::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-h); }

/* Belege: Glasleiste über der Kante */
.belege { position: relative; z-index: 5; margin-top: calc(-1 * clamp(56px, 6vw, 72px)); }
.belege__in { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--blatt); border-radius: 4px; box-shadow: 0 2px 6px rgba(14, 23, 48, .12), 0 30px 60px -24px rgba(14, 23, 48, .45); }
@media (min-width: 900px) { .belege__in { grid-template-columns: repeat(4, 1fr); } }
.beleg { padding: 22px 24px; border-left: 1px solid rgba(27, 38, 64, .1); }
.beleg:first-child { border-left: 0; }
@media (max-width: 899px) { .beleg:nth-child(3) { border-left: 0; } .beleg:nth-child(n+3) { border-top: 1px solid rgba(27, 38, 64, .1); } }
.beleg b { display: block; font-weight: 800; font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem); letter-spacing: -.02em; color: var(--navy); line-height: 1.1; }
.beleg span { display: block; margin-top: 6px; font-size: .875rem; color: var(--text-2); line-height: 1.4; }

/* ---------- Abschnitte als Berichtsgliederung ---------- */
.sec { position: relative; padding: var(--sec-pad) 0; }
.sec--papier { background: var(--papier); }
.sec--papier2 { background: var(--papier-2); }
.sec--blatt { background: var(--blatt); }
.sec--dunkel { background: var(--tief); color: var(--text-hell); }
.sec--navy { background: var(--navy); color: var(--text-hell); }
.sec--dunkel p, .sec--navy p { color: var(--text-hell-2); }
.sec--dunkel h2, .sec--navy h2, .sec--dunkel h3, .sec--navy h3 { color: #fff; }
.sec + .sec { margin-top: -1px; }
.sec-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .sec-grid { grid-template-columns: var(--rand) minmax(0, 1fr); } }
.sec-nr { display: none; }
@media (min-width: 1100px) {
  .sec-nr { display: block; position: relative; }
  .sec-nr span {
    position: sticky; top: 120px; display: block; font: 800 3.5rem/1 "Manrope", sans-serif; letter-spacing: -.04em;
    color: rgba(27, 38, 64, .14); transition: color .6s var(--ease), transform .6s var(--ease);
  }
  .sec--dunkel .sec-nr span, .sec--navy .sec-nr span { color: rgba(255, 255, 255, .12); }
  .sec.is-aktiv .sec-nr span { color: var(--gold); }
  .sec-nr span::after { content: ""; display: block; width: 32px; height: 1px; margin-top: 16px; background: currentColor; }
}
.sec-kopf { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-kopf p { margin-top: 20px; font-size: 1.125rem; color: var(--text-2); max-width: 62ch; }
.sec--dunkel .sec-kopf p, .sec--navy .sec-kopf p { color: var(--text-hell-2); }
.mob-nr { display: inline-block; margin-right: 12px; color: var(--gold-d); font-variant-numeric: tabular-nums; }
.sec--dunkel .mob-nr, .sec--navy .mob-nr { color: var(--gold-h); }
@media (min-width: 1100px) { .mob-nr { display: none; } }
.fliess { max-width: 68ch; display: grid; gap: 18px; font-size: 1.0625rem; color: var(--text-2); }
.sec--dunkel .fliess, .sec--navy .fliess { color: var(--text-hell-2); }

/* 1 · Unabhängige Bewertung */
.unab { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .unab { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.leitsatz { font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.2; letter-spacing: -.02em; color: var(--navy); margin-top: 32px; max-width: 22ch; }
.leitsatz mark { background: linear-gradient(transparent 62%, rgba(201, 161, 59, .38) 62%); color: inherit; padding: 0 .05em; }
.bruecke { position: relative; padding: 32px 24px 24px; }
.bruecke svg { width: 100%; height: auto; overflow: visible; }
.bruecke .zug { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 1.8s var(--ease); }
.bruecke.is-sichtbar .zug { stroke-dashoffset: 0; }
.bruecke text { font-family: "Manrope", sans-serif; }

/* 2 · Anlässe als Prüfliste */
.pruefliste { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.pruefliste li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.pruefliste a {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 32px; gap: 16px; align-items: start; padding: 28px 16px; margin: 0 -16px;
  text-decoration: none; border-radius: 4px; transition: background-color .35s, transform .5s var(--ease);
}
@media (min-width: 900px) { .pruefliste a { grid-template-columns: 56px minmax(0, 5fr) minmax(0, 7fr) 40px; gap: 32px; padding: 32px 24px; margin: 0 -24px; } }
.pruefliste a:hover { background: rgba(255, 255, 255, .06); }
.pruefliste .bst { display: block; width: 24px; height: 2px; margin-top: 14px; background: var(--gold-h); }
.pruefliste h3 { color: #fff; }
.pruefliste p { font-size: 1rem; grid-column: 2; }
@media (min-width: 900px) { .pruefliste p { grid-column: auto; } }
.pruefliste .pfeil { grid-row: 1; grid-column: 3; justify-self: end; width: 24px; height: 24px; color: var(--gold-h); transition: transform .5s var(--ease); }
@media (min-width: 900px) { .pruefliste .pfeil { grid-column: 4; } }
.pruefliste a:hover .pfeil { transform: translateX(6px); }

/* 3 · Leistungen als Register */
.register { display: grid; gap: 32px; }
@media (min-width: 760px) { .register { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; } }
.reg {
  position: relative; display: flex; flex-direction: column; min-height: 280px; padding: 40px 32px 28px; text-decoration: none;
  background: var(--blatt); border-radius: 2px; box-shadow: var(--schatten-blatt); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  margin-top: 22px;
}
.reg::before, .reg::after { /* Blätter dahinter */
  content: ""; position: absolute; inset: 0; z-index: -1; background: #EEEAE0; border-radius: 2px; box-shadow: var(--schatten-blatt);
  transition: transform .6s var(--ease);
}
.reg::before { transform: translate(6px, 6px) rotate(.6deg); }
.reg::after { transform: translate(12px, 12px) rotate(1.2deg); background: #E6E1D4; z-index: -2; }
.reg:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(14, 23, 48, .08), 0 34px 60px -18px rgba(14, 23, 48, .38); }
.reg:hover::before { transform: translate(10px, 12px) rotate(1.4deg); }
.reg:hover::after { transform: translate(20px, 22px) rotate(2.6deg); }
.reg__tab {
  position: absolute; top: -22px; left: 24px; height: 22px; padding: 0 16px; display: flex; align-items: center;
  background: var(--navy); color: #fff; font-weight: 800; font-size: .8125rem; letter-spacing: .08em; border-radius: 3px 3px 0 0;
}

.reg h3 { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); letter-spacing: -.02em; }
.reg p { margin-top: 14px; color: var(--text-2); }
.reg__link { margin-top: auto; padding-top: 28px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.reg__link svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.reg:hover .reg__link { color: var(--gold-d); }
.reg:hover .reg__link svg { transform: translateX(6px); }
.software { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 24px; border-top: 1px solid var(--linie); color: var(--text-2); }
.software a { font-weight: 700; color: var(--navy); }

/* 4 · Bewertung: Glastafeln über dem Bericht */
.bewertung { position: relative; isolation: isolate; overflow: clip; }
.bewertung__grund { /* vergrößertes, unscharfes Berichtsblatt */
  position: absolute; z-index: -1; right: -8%; top: 8%; width: min(70vw, 820px); aspect-ratio: .78; background: var(--blatt);
  transform: rotate(-8deg); opacity: .14; filter: blur(2px); border-radius: 2px;
  background-image: repeating-linear-gradient(180deg, transparent 0 46px, rgba(14, 23, 48, .5) 46px 48px);
}
.bewertung__grund::before { content: "4.1   4.2   4.3"; position: absolute; left: 6%; top: 4%; font: 800 7rem/1 "Manrope", sans-serif; color: var(--tief); letter-spacing: -.04em; white-space: pre; }
.tafeln { display: grid; gap: 24px; margin-top: 8px; }
@media (min-width: 1000px) { .tafeln { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } .tafel:nth-child(2) { margin-top: 56px; } .tafel:nth-child(3) { margin-top: 112px; } }
.tafel { padding: 28px 28px 30px; color: #fff; will-change: transform; }
.tafel h3 { margin: 18px 0 10px; font-size: 1.3125rem; }
.tafel p { font-size: .9375rem; line-height: 1.55; }
.tafel .alt { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }
.tafel .alt b { color: #fff; font-weight: 700; }
.tafel__kopf { display: flex; justify-content: space-between; align-items: center; }
.tafel__nr { font-size: .8125rem; color: var(--text-hell-2); }
.beispiel { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-hell-2); }
.bewertung__fuss { margin-top: 56px; max-width: 62ch; font-size: 1.125rem; }

/* 5 · Ablauf als Strecke */
.strecke { position: relative; display: grid; gap: 40px; }
.strecke__linie { position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: var(--linie); }
.strecke__linie i { position: absolute; inset: 0 0 auto 0; height: calc(var(--fortschritt, 0) * 100%); background: var(--gold); transition: height .2s linear; }
@media (min-width: 1000px) {
  .strecke { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .strecke__linie { left: 0; right: 0; top: 27px; bottom: auto; height: 2px; width: auto; }
  .strecke__linie i { inset: 0 auto 0 0; height: auto; width: calc(var(--fortschritt, 0) * 100%); }
}
.schritt { position: relative; padding-left: 80px; }
@media (min-width: 1000px) { .schritt { padding-left: 0; padding-top: 88px; } }
.schritt__nr {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: var(--papier); border: 2px solid var(--linie); font-weight: 800; font-size: 1.125rem; color: var(--navy);
  transition: border-color .5s, background-color .5s, color .5s;
}
.schritt.is-erreicht .schritt__nr { border-color: var(--gold); background: var(--navy); color: var(--gold-h); }
.schritt h3 { font-size: 1.25rem; }
.schritt p { margin-top: 10px; color: var(--text-2); font-size: 1rem; }
.auszug { /* Ausschnitt des Ergebnisses in Originalgröße */
  margin-top: 20px; padding: 14px 16px; background: var(--blatt); border-radius: 2px; box-shadow: var(--schatten-blatt);
  font-size: .8125rem; color: var(--text-2); transform: rotate(-.6deg); transition: transform .5s var(--ease);
}
.schritt:nth-child(odd) .auszug { transform: rotate(.6deg); }
.schritt:hover .auszug { transform: rotate(0) translateY(-3px); }
.auszug__feld { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #E6E1D4; }
.auszug__feld:last-child { border-bottom: 0; }
.auszug__feld b { color: var(--navy); font-weight: 700; }
.haken { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.haken::before { content: ""; width: 14px; height: 14px; flex: none; border: 1.5px solid var(--navy); border-radius: 2px; background: linear-gradient(45deg, transparent 45%, var(--navy) 45% 58%, transparent 58%), linear-gradient(-45deg, transparent 45%, var(--navy) 45% 58%, transparent 58%); background-size: 70% 70%; background-repeat: no-repeat; background-position: center; }
.haken--offen::before { background: none; }

/* 6 · Qualifikation */
.quali { display: grid; gap: 56px; }
@media (min-width: 1000px) { .quali { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: start; } }
.kennzahlen { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kennzahl b { display: block; font-weight: 800; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); letter-spacing: -.03em; color: var(--navy); line-height: 1; }
.kennzahl span { display: block; margin-top: 10px; font-size: .875rem; color: var(--text-2); line-height: 1.4; }
.nachweis { position: relative; padding: 40px 32px 32px; background: var(--blatt); box-shadow: var(--schatten-blatt); border-radius: 2px; }
.nachweis::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--linie); pointer-events: none; }
.siegel {
  width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; text-align: center; margin-bottom: 24px;
  border: 1.5px solid var(--gold); box-shadow: inset 0 0 0 5px var(--blatt), inset 0 0 0 6px rgba(201, 161, 59, .5);
  color: var(--navy); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; line-height: 1.3;
}
.siegel b { display: block; font-size: 1.125rem; letter-spacing: -.01em; font-weight: 800; }
.nachweis ul { list-style: none; margin: 0; padding: 0; }
.nachweis li { position: relative; padding: 14px 0 14px 28px; border-top: 1px solid var(--linie); font-size: .9688rem; }
.nachweis li::before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 2px; background: var(--gold); }
.abgrenzung { margin-top: 32px; padding: 24px; background: rgba(27, 38, 64, .05); border-radius: 4px; color: var(--text-2); font-size: .9688rem; }

/* 7 · Ratgeber */
.artikel { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.artikel a { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--linie); text-decoration: none; transition: padding .5s var(--ease), color .3s; }
.artikel a:hover { padding-left: 12px; color: var(--gold-d); }
.artikel h3 { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); }
.artikel svg { width: 22px; height: 22px; flex: none; transition: transform .5s var(--ease); }
.artikel a:hover svg { transform: translateX(6px); }

/* 8 · Fragen */
.fragen { border-top: 1px solid var(--linie); max-width: 900px; }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-weight: 800; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); letter-spacing: -.01em; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary i { position: relative; width: 20px; height: 20px; flex: none; }
.frage summary i::before, .frage summary i::after { content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: var(--navy); transition: transform .4s var(--ease); }
.frage summary i::after { transform: rotate(90deg); }
.frage[open] summary i::after { transform: rotate(0); }
.frage summary:hover { color: var(--gold-d); }
.frage__a { padding: 0 0 26px; max-width: 68ch; color: var(--text-2); }
.sec--dunkel .fragen, .sec--dunkel .frage { border-color: rgba(255, 255, 255, .14); }
.sec--dunkel .frage summary i::before, .sec--dunkel .frage summary i::after { background: #fff; }
.sec--dunkel .frage__a { color: var(--text-hell-2); }

/* 9 · Anfrage */
.anfrage { position: relative; isolation: isolate; overflow: clip; }
.anfrage__bogen { position: absolute; z-index: -1; left: 50%; bottom: -10%; width: 1400px; transform: translateX(-50%); opacity: .5; pointer-events: none; }
.anfrage__grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .anfrage__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; } }
.kontakt { margin-top: 36px; display: grid; gap: 8px; }
.kontakt a { color: #fff; font-weight: 700; font-size: 1.125rem; text-decoration: none; display: inline-flex; gap: 12px; align-items: center; }
.kontakt a:hover { color: var(--gold-h); }
.kontakt svg { width: 20px; height: 20px; color: var(--gold-h); }
.kontakt__label { font-size: .875rem; color: var(--text-hell-2); margin-bottom: 4px; }

.formular { padding: clamp(24px, 3vw, 40px); }
.formular h3 { color: #fff; font-size: 1.375rem; margin-bottom: 24px; }
.felder { display: grid; gap: 18px; }
@media (min-width: 640px) { .felder { grid-template-columns: 1fr 1fr; } .feld--breit { grid-column: 1 / -1; } }
.feld label { display: block; font-size: .875rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.feld label small { font-weight: 400; color: var(--text-hell-2); }
/* Stern und „optional“ nur in der Gestaltung, damit die Formular-Mail von Netlify saubere Feldnamen zeigt */
.feld label[data-pflicht]::after { content: " *"; }
.feld label[data-optional]::after { content: " optional"; font-weight: 400; color: var(--text-hell-2); }
.feld input, .feld select, .feld textarea {
  width: 100%; font: 400 1rem/1.4 "Manrope", sans-serif; color: #fff; padding: 14px 16px; border-radius: 4px;
  background: rgba(10, 17, 38, .45); border: 1px solid rgba(255, 255, 255, .22); transition: border-color .25s, background-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.feld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23E3BE5C' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 44px; }
.feld select option { color: var(--text); background: #fff; }
.feld textarea { min-height: 136px; resize: vertical; }
.feld input::placeholder, .feld textarea::placeholder { color: #93A0BC; }
.feld input:hover, .feld select:hover, .feld textarea:hover { border-color: rgba(255, 255, 255, .4); }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--gold-h); background: rgba(10, 17, 38, .65); box-shadow: 0 0 0 3px rgba(227, 190, 92, .22); }
.feld__hinweis { margin-top: 6px; font-size: .8125rem; color: var(--text-hell-2); }
.feld__fehler { display: none; margin-top: 6px; font-size: .8125rem; color: #FFB4A8; font-weight: 600; }
.feld.has-error .feld__fehler { display: block; }
.feld.has-error input, .feld.has-error select, .feld.has-error textarea { border-color: #FF8F7E; }
.formular__fuss { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.formular__fuss p { font-size: .8125rem; color: var(--text-hell-2); max-width: 40ch; }
.formular__fuss a { color: #fff; }
.formular button[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-status { margin-top: 16px; font-size: .9375rem; }
.form-status.is-error { color: #FFB4A8; }
.form-status.is-error a { color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-wrap.is-sent form { display: none; }
.form-erfolg { padding: 8px 0; color: #fff; }
.form-erfolg h3 { margin-bottom: 12px; }
.form-erfolg p { color: var(--text-hell-2); }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--tief-2); color: var(--text-hell-2); padding: 72px 0 32px; font-size: .9375rem; }
.fuss__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .fuss__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.fuss img { height: 40px; width: auto; margin-bottom: 20px; }
.fuss h3 { color: #fff; font-size: .875rem; letter-spacing: .02em; margin-bottom: 14px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss a { text-decoration: none; color: var(--text-hell-2); }
.fuss a:hover { color: var(--gold-h); }
.fuss__claim { margin-top: 16px; color: var(--gold-h); font-weight: 600; }
.fuss__unten { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; font-size: .8125rem; }
.fuss__unten ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Leistungsseiten ---------- */
.hero--seite { padding-bottom: clamp(88px, 9vw, 128px); }
.hero--seite h1 { max-width: 18ch; }
.krumen { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--text-hell-2); margin-bottom: 28px; list-style: none; padding: 0; }
.krumen a { color: var(--text-hell-2); text-decoration: none; }
.krumen a:hover { color: var(--gold-h); }
.krumen li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.inhalt { padding: 28px; }
.inhalt__fuer { font-size: .875rem; color: var(--text-hell-2); }
.inhalt__fuer b { color: #fff; font-weight: 700; display: block; font-size: 1.0625rem; margin-top: 2px; }
.inhalt ol { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 2px; counter-reset: i; }
.inhalt a { display: grid; grid-template-columns: 32px 1fr; gap: 8px; padding: 9px 10px; margin: 0 -10px; border-radius: 4px; color: #fff; text-decoration: none; font-weight: 500; font-size: .9688rem; transition: background-color .25s, color .25s; }
.inhalt a span { color: var(--gold-h); font-variant-numeric: tabular-nums; font-weight: 700; }
.inhalt a:hover { background: rgba(255, 255, 255, .08); color: var(--gold-h); }
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--linie); }
.liste li { position: relative; padding: 16px 0 16px 40px; border-bottom: 1px solid var(--linie); }
.liste li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 16px; height: 16px; border: 1.5px solid var(--navy); border-radius: 2px; background: linear-gradient(45deg, transparent 45%, var(--gold) 45% 60%, transparent 60%), linear-gradient(-45deg, transparent 45%, var(--gold) 45% 60%, transparent 60%); background-size: 70% 70%; background-repeat: no-repeat; background-position: center; }
.sec--dunkel .liste, .sec--dunkel .liste li, .sec--navy .liste, .sec--navy .liste li { border-color: rgba(255, 255, 255, .14); }
.sec--dunkel .liste li::before, .sec--navy .liste li::before { border-color: #fff; }
.zwei { display: grid; gap: 40px; }
@media (min-width: 1000px) { .zwei { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.zielgruppen { display: grid; gap: 16px; }
@media (min-width: 900px) { .zielgruppen { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.zg { padding: 28px; }
.zg h3 { color: #fff; margin-bottom: 10px; }
.hinweis-zeile { margin-top: 24px; padding: 18px 20px; border-left: 0; background: rgba(201, 161, 59, .12); border-radius: 4px; color: var(--text); max-width: 68ch; }
.sec--dunkel .hinweis-zeile, .sec--navy .hinweis-zeile { color: #fff; background: rgba(227, 190, 92, .1); }

/* ---------- Danke ---------- */
.danke { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.danke .glas { max-width: 640px; padding: 48px 40px; }
.danke h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.danke p { margin-top: 16px; color: var(--text-hell-2); }
.danke .btn { margin-top: 32px; }

/* ---------- Bewegung ---------- */
html.js [data-zeigen] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--v, 0s) * .6); }
html.js [data-zeigen].is-sichtbar { opacity: 1; transform: none; }
html.js .blatt--vorn .stempel { opacity: 0; transform: scale(1.4) rotate(-4deg); transition: opacity .35s, transform .5s var(--ease); }
html.js .ist-geladen .blatt--vorn .stempel { opacity: 1; transform: none; }
html.js .ist-geladen .zeile:nth-of-type(2) .stempel { transition-delay: .9s; }
html.js .ist-geladen .zeile:nth-of-type(3) .stempel { transition-delay: 1.15s; }
html.js .ist-geladen .zeile:nth-of-type(4) .stempel { transition-delay: 1.4s; }
html.js .stapel__in { transform: rotateX(6deg) rotateY(-11deg) translateY(16px); opacity: 0; transition: transform 1.2s var(--ease), opacity .9s var(--ease); }
html.js .ist-geladen .stapel__in { transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -8deg)); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0s !important; }
  html.js [data-zeigen] { opacity: 1; transform: none; filter: none; }
  html.js .stapel__in { transform: rotateX(4deg) rotateY(-8deg); opacity: 1; }
  html.js .blatt--vorn .stempel { opacity: 1; transform: none; }
}
@media print { .kopf, .mobilmenu, .anfrage { display: none; } }
@media (min-width: 1000px) { .strecke--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nav a.btn--gold { background: var(--gold); color: var(--tief); font-weight: 700; }
.nav a.btn--gold:hover { background: var(--gold-h); color: var(--tief); }
.blatt--hinten .blatt__kopf, .blatt--mitte .blatt__kopf { opacity: .55; }
/* Handy: Berichtsstapel verkleinert, damit er nicht in die Belege ragt */
@media (max-width: 699px) {
  .stapel { height: 640px; width: 118%; margin-left: -9%; transform: scale(.84); transform-origin: 50% 0; margin-bottom: -96px; }
  .blatt--vorn { padding: 24px 20px 20px 56px; }
  .blatt--vorn::before { left: 40px; }
  .zeile__nr { left: -48px; }
  .stapel__marke { left: 4%; top: -12px; }
  .hero { padding-bottom: 136px; }
}

/* Leistungsseiten: Text mit Randelement */
.hero--seite h1 { font-size: clamp(2.1rem, 1rem + 3vw, 3.6rem); hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
.sec-zwei { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .sec-zwei { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; } }
.sec-zwei .liste { max-width: none; }
.karte { position: relative; padding: 28px 28px 24px; background: var(--blatt); border-radius: 2px; box-shadow: var(--schatten-blatt); }
.karte.glas { background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04) 60%); border-radius: 6px; color: #fff; }
.karte__titel { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5E6680; margin-bottom: 14px; }
.glas .karte__titel { color: var(--gold-h); }
.karte__liste { list-style: none; margin: 0; padding: 0; }
.karte__liste li { position: relative; padding: 14px 0 14px 28px; border-top: 1px solid var(--linie); font-weight: 600; color: var(--navy); }
.glas .karte__liste li { border-color: rgba(255,255,255,.14); color: #fff; }
.karte__liste li span { color: var(--gold-d); font-weight: 800; }
.glas .karte__liste li span { color: var(--gold-h); }
.karte--blatt { padding: 28px 28px 20px 72px; transform: rotate(1deg); }
.karte--blatt::before { content: ""; position: absolute; left: 52px; top: 0; bottom: 0; width: 1px; background: var(--linie); }
.karte--blatt .zeile:first-of-type { margin-top: 12px; }
.vgl { display: grid; gap: 24px; }
@media (min-width: 560px) { .vgl { grid-template-columns: 1fr 1fr; } }
.vgl ul { list-style: none; margin: 0; padding: 0; }
.vgl li { position: relative; padding: 10px 0 10px 24px; border-top: 1px solid var(--linie); font-size: .9375rem; color: var(--navy); font-weight: 600; }
.glas.vgl li { border-color: rgba(255,255,255,.14); color: #fff; }
.vgl li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 2px; background: var(--gold); }
.vgl__sp--nein li { color: var(--text-2); font-weight: 500; }
.glas .vgl__sp--nein li { color: var(--text-hell-2); }
.vgl__sp--nein li::before { background: var(--stufe-sinn); transform: rotate(45deg); box-shadow: 0 0 0 0 transparent; }
.vgl__sp--nein li::after { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 2px; background: var(--stufe-sinn); transform: rotate(-45deg); }
.zeitschema .zs__zeile { margin-top: 18px; }
.zeitschema .zs__zeile span { display: block; font-size: .875rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.zs__balken { position: relative; height: 22px; display: flex; border-radius: 2px; overflow: hidden; background: rgba(255,255,255,.06); }
.zs__haft { display: block; width: 62%; background: var(--gold); }
.zs__anlauf { display: block; width: 62%; background: var(--stufe-sinn); }
.zs__luecke { display: block; width: 28%; background: repeating-linear-gradient(45deg, rgba(227,190,92,.8) 0 6px, transparent 6px 12px); }
html.js .zeitschema i { transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) .3s; }
html.js .zeitschema .zs__luecke { transition-delay: 1.3s; }
html.js .zeitschema.is-sichtbar i { transform: none; }
.zs__legende { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: .875rem; }
.zs__legende i { width: 22px; height: 12px; background: repeating-linear-gradient(45deg, rgba(227,190,92,.8) 0 4px, transparent 4px 8px); }
.erg { position: relative; height: 400px; perspective: 1200px; }
.erg__blatt {
  position: absolute; left: calc(var(--i) * 6%); top: calc(var(--i) * 84px); width: 76%; padding: 22px 24px; background: var(--blatt);
  box-shadow: var(--schatten-blatt); border-radius: 2px; font-weight: 700; color: var(--navy); display: flex; gap: 16px; align-items: center; min-height: 72px; line-height: 1.3;
  transform: rotate(calc((var(--i) - 1.5) * 1.4deg)); transition: transform .6s var(--ease);
}
.erg__blatt span { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold-h); font-size: .875rem; }
.erg:hover .erg__blatt { transform: translateX(calc(var(--i) * 6px)) rotate(0); }
@media (prefers-reduced-motion: reduce) { html.js .zeitschema i { transform: none; } }
@media (max-width: 699px) {
  .erg { height: auto; display: grid; gap: 12px; }
  .erg__blatt { position: relative; left: auto; top: auto; width: calc(100% - var(--i) * 12px); margin-left: calc(var(--i) * 12px); }
}

.karte__liste li::before { content: ""; position: absolute; left: 0; top: 25px; width: 14px; height: 2px; background: var(--gold); }
.glas .karte__liste li::before { background: var(--gold-h); }
@media (max-width: 999px) { .tafeln { gap: 24px; } }
/* Stapel bei Einspaltigkeit: genug Höhe, Belege überdecken das Blatt nicht */
@media (max-width: 1099px) { .stapel { height: 640px; } }
/* Fokus auf hellem Grund in Navy (Gold erreicht dort nur 2,1:1) */
.sec--papier :focus-visible, .sec--papier2 :focus-visible, .sec--blatt :focus-visible, .belege :focus-visible { outline-color: var(--navy); }
.bruecke { background: var(--blatt); border-radius: 2px; box-shadow: var(--schatten-blatt); }

/* ---------- Phase 7 · Rechtstexte und Ratgeber (Text aus dem Altstand, Gestaltung neu) ---------- */
.hero--dok { padding-bottom: clamp(56px, 6vw, 88px); }
.hero--dok h1 { font-size: clamp(2rem, 1rem + 2.6vw, 3.25rem); max-width: 24ch; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.hero--dok .eyebrow { display: block; margin: 0 0 16px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-h); }
.hero--dok .meta, .hero__text { margin-top: 20px; color: var(--text-hell-2); font-size: .9375rem; max-width: 62ch; }
.dok { padding: clamp(56px, 7vw, 96px) 0 var(--sec-pad); }
.dok__in { max-width: 760px; overflow-wrap: break-word; }
.dok__in > * + * { margin-top: 16px; }
.dok__in h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); margin-top: 56px; line-height: 1.2; scroll-margin-top: 104px; }
.dok__in h3 { margin-top: 36px; scroll-margin-top: 104px; }
.dok__in h4, .dok__in .toc__t { font-size: 1rem; font-weight: 800; margin: 0 0 12px; }
.dok__in [id] { scroll-margin-top: 104px; }
.dok__in p, .dok__in li { color: var(--text); }
.dok__in ul, .dok__in ol { padding-left: 1.3em; }
.dok__in li + li { margin-top: 6px; }
.dok__in li::marker { color: var(--gold-d); }
.dok__in a { color: var(--navy); text-decoration-color: var(--gold); }
.dok__in a:hover { color: var(--gold-d); }
.dok__in strong { font-weight: 700; }
.dok__in .eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); margin-top: 56px; }
.dok__in .subtitle { color: var(--text-2); }
.dok__in .divider { border: 0; border-top: 1px solid var(--linie); margin: 72px 0 0; }
.dok__in .box, .dok__in .hint-box, .dok__in .notice, .dok__in .toc {
  background: var(--blatt); border: 1px solid var(--linie); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 20px 24px; margin-top: 28px;
}
.dok__in .box > * + *, .dok__in .hint-box > * + * { margin-top: 8px; }
.dok__in .toc ol { margin: 0; }
.dok__in .cta-inline { background: var(--navy); color: var(--text-hell); border-radius: 6px; padding: 28px; margin-top: 40px; }
.dok__in .cta-inline h2 { margin-top: 0; color: #fff; }
.dok__in .cta-inline p { color: var(--text-hell-2); margin-top: 12px; }
.dok__in .cta-inline .btn { margin: 20px 12px 0 0; background: var(--gold); color: var(--tief); }
.dok__in .cta-inline .btn:hover { background: var(--gold-h); }
.dok__in .author { display: flex; gap: 16px; align-items: flex-start; border-top: 1px solid var(--linie); padding-top: 28px; margin-top: 56px; }
.dok__in .avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold-h); display: grid; place-items: center; font-weight: 800; font-size: .9375rem; }
.dok__in .author p { margin: 0; font-size: .9375rem; color: var(--text-2); }
.dok__in .disclaimer, .dok__in .foot-note { font-size: .875rem; color: var(--text-2); }
.dok__in .table-scroll, .dok__in > table { overflow-x: auto; margin-top: 28px; }
.dok__in table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; }
.dok__in th, .dok__in td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--linie); }
.dok__in th { font-weight: 700; background: var(--papier-2); }
.dok__in tr.own td { background: rgba(201, 161, 59, .08); }
.dok__in .tag-own { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 2px; background: var(--gold); color: var(--tief); font-size: .75rem; font-weight: 700; vertical-align: middle; }
@media (max-width: 699px) { .dok__in > table { display: block; overflow-x: auto; min-width: 0; max-width: 100%; } }

/* ---------- Cookie-Hinweis ---------- */
.cookie { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 560px; padding: 24px; color: var(--text-hell); background-color: rgba(14, 23, 48, .92); }
.cookie[hidden] { display: none; }
.cookie p { font-size: .9375rem; color: var(--text-hell-2); }
.cookie a { color: #fff; }
.cookie .cookie__t { color: #fff; font-weight: 800; font-size: 1rem; margin-bottom: 8px; }
.cookie__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.cookie__knoepfe .btn { padding: 12px 20px; min-height: 44px; }
@media (min-width: 720px) { .cookie { left: 24px; bottom: 24px; } }
.fuss__cookie { background: none; border: 0; padding: 0; font: inherit; color: var(--text-hell-2); cursor: pointer; }
.fuss__cookie:hover { color: var(--gold-h); }
