/* plissee-riese.eu — Lichtschnitt */
:root {
  --spalte: 1360px;              /* Breite der zentrierten Inhaltsspalte */
  --luft: 56px;                  /* Mindestabstand zum Fensterrand */
  --rand: max(var(--luft), calc((100% - var(--spalte)) / 2));
  --ueber: max(0px, calc((100% - var(--spalte)) / 2));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #F4F6F4; font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.62; color: #101713; -webkit-text-size-adjust: 100%; }
h1, h2, h3 { font-family: "Instrument Sans", system-ui, sans-serif; margin: 0; font-weight: 700; letter-spacing: -0.034em; line-height: 1.02; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 13 6 5; }
p { margin: 0; }
img { max-width: 100%; height: auto; }
a { color: #2E6B55; }
a:hover { color: #101713; }
button { font-family: inherit; }
dl, dd { margin: 0; }
[id] { scroll-margin-top: 74px; }

/* Raster und Abstände */
.aPad { padding: 80px var(--rand); }
.aScene { position: relative; min-height: max(600px, 34vw); display: flex; align-items: flex-end; }
.aDisplay { font-size: clamp(42px, 6.4vw, 96px); line-height: 0.99; letter-spacing: -0.04em; }
.aH2 { font-size: clamp(30px, 4vw, 56px); line-height: 1.04; }
.aH3 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -0.03em; }
.aLabel { overflow-wrap: break-word; font-size: 15px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.aRow { border-top: 1px solid #CBD3CE; padding: 26px 0; display: flex; flex-wrap: wrap; gap: 24px; align-items: baseline; }
.aSteck { border-top: 1px solid #CBD3CE; padding: 34px 0; display: flex; flex-wrap: wrap; gap: 34px; align-items: baseline; }
.aG2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.aG3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* Standzeile */
.nvWrap { position: sticky; top: 0; z-index: 40; }
.nvBar { width: 100%; border: 0; background: #101713; padding: 15px var(--rand); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; text-align: left; cursor: pointer; }
.nvBar:hover { background: #18271F; }
.nvBar:hover .nvWort { color: #FFFFFF; }
.nvBar:hover .nvChev { stroke: #A8CDB5; }
.nvBar:focus-visible { outline: 2px solid #A8CDB5; outline-offset: -4px; }
.nvNr { font-size: 16px; font-weight: 600; color: #8FA396; }
.nvName { font-size: 19px; font-weight: 600; color: #FFFFFF; letter-spacing: -0.025em; }
.nvDash { font-size: 19px; color: #2E6B55; }
.nvAbs { font-size: 19px; font-weight: 400; color: #C3CFC8; letter-spacing: -0.02em; }
.nvWort { font-size: 15px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8FA396; }
.nvTicks { display: flex; gap: 5px; }
.nvTick { width: 20px; height: 3px; background: #2A3A32; }
.nvTickOn { background: #2E6B55; }
.nvChev { stroke: #8FA396; transition: transform .18s ease; }
.nvBar[aria-expanded="true"] .nvChev { transform: rotate(180deg); }
.nvIndex { position: absolute; left: 0; right: 0; top: 100%; background: #F4F6F4; border-bottom: 1px solid #CBD3CE; padding: 10px var(--rand) 26px; }
.nvIndex[hidden] { display: none; }
.nvRow { display: flex; flex-wrap: wrap; gap: 20px; align-items: baseline; text-decoration: none; border-top: 1px solid #CBD3CE; padding: 15px 0 15px 17px; border-left: 3px solid transparent; }
.nvRow:hover { background: #E7EBE8; }
.nvRowOn { border-left-color: #2E6B55; padding-left: 14px; }
.nvRnr { flex: 0 0 36px; font-size: 16px; font-weight: 600; color: #6E7D74; }
.nvRname { flex: 0 0 200px; font-size: 21px; font-weight: 700; letter-spacing: -0.03em; color: #101713; }
.nvRnameOn { color: #2E6B55; }
.nvRabs { flex: 1 1 300px; min-width: 0; font-size: 16px; color: #49534D; }

/* Pfeil nach oben */
.toTop { position: fixed; right: max(28px, calc((100% - var(--spalte)) / 2 - 72px)); bottom: 28px; z-index: 50; width: 56px; height: 56px; background: #2E6B55; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.toTop:hover { background: #101713; }

/* Umbrüche */
@media (max-width: 980px) {
  :root { --luft: 24px; }
  .aScene { min-height: 400px; }
  .aPad { padding: 52px var(--rand); }
  .aG2, .aG3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .nvBar { padding: 13px var(--rand); }
  .nvIndex { padding: 10px var(--rand) 22px; }
  .nvAbs, .nvDash { display: none; }
}
@media (max-width: 660px) {
  :root { --luft: 20px; }
  .aLabel { letter-spacing: 0.13em; }
  .toTop { right: 16px; bottom: 16px; width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nvChev { transition: none; }
}
