/* © 2026 Mike Pollow, Digitalroots. Alle Rechte vorbehalten. */
:root { --dock-klein: 56px; --dock-hoch: 132px; }
html { scroll-padding-bottom: calc(var(--dock-klein) + 16px); }

.n3 .regen { display: none; }
.dl-liste { list-style: none; margin: 32px 0 0; padding: 0; max-width: 560px; border-bottom: 1px solid var(--linie); }
.dl-liste li { padding: 16px 0; border-top: 1px solid var(--linie); }
.dl-name { display: flex; align-items: flex-start; gap: .5em; font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; color: var(--tinte); }
.dl-name::before { content: ''; flex: 0 0 auto; width: .38em; height: .38em; margin-top: .45em; background: var(--gruenspan); }
.downloads .kt-raster { --kt-rot: #F28B82; }
.kp-code { -webkit-text-security: disc; letter-spacing: .12em; }
#kundenportal { scroll-margin-top: calc(var(--kopf-hoehe) + 24px); }
.n3 .kopf { background-color: #050A0B; }
.n3 .fuss h2 { display: flex; align-items: center; gap: 9px; font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: -.005em; color: var(--tinte); margin-bottom: 14px; }
.n3 .fuss h2::before { content: ''; flex: 0 0 auto; width: 8px; height: 8px; background: var(--gruenspan); }
.n3 .fenster img.nachbau { filter: none; }
.n3 .fenster video { width: 100%; height: auto; display: block; }
.n3 .fenster { transition: border-color 160ms ease, box-shadow 160ms ease; }
@media (hover: hover) and (pointer: fine) {
  .n3 .fenster a:hover img { filter: brightness(.9) contrast(1.05); }
  .n3 .fenster a:hover img.nachbau { filter: none; }
  .n3 .fenster:has(a:hover) { border-color: var(--gruenspan-hell); box-shadow: 0 0 0 1px var(--gruenspan-hell), 0 18px 44px rgba(0, 0, 0, .45); }
}
.n3 .held { padding-bottom: calc(var(--dock-hoch) + 56px); }
.n3 .held-raster { grid-template-columns: minmax(0, 1fr); }
.n3 .held-text { max-width: 620px; }
.n3 .unterzeile { text-wrap: pretty; }
@media (min-width: 981px) and (max-height: 880px) {
  .n3 .held { padding-top: calc(var(--kopf-hoehe) + 24px); }
  .n3 .unterzeile { font-size: 18px; }
}
@media (min-width: 981px) and (max-height: 780px) {
  .n3 .held { padding-top: calc(var(--kopf-hoehe) + 12px); }
  .n3 .unterzeile { font-size: 17px; line-height: 1.45; }
}
@media (min-width: 981px) and (max-height: 700px) {
  .n3 .titel { font-size: clamp(44px, 9vh, 58px); }
}
.n3 .buehne-schleier { background:
  linear-gradient(180deg, rgba(4, 9, 10, .66) 0%, rgba(4, 9, 10, .1) 16%, rgba(4, 9, 10, .2) 58%, rgba(7, 13, 14, .9) 86%, #070D0E 100%),
  radial-gradient(ellipse 45% 55% at 27% 54%, rgba(4, 9, 10, .94) 0%, rgba(4, 9, 10, .9) 58%, rgba(4, 9, 10, .5) 82%, rgba(4, 9, 10, 0) 100%),
  linear-gradient(90deg, rgba(4, 9, 10, .4) 0%, rgba(4, 9, 10, .68) 46%, rgba(4, 9, 10, .8) 100%); }

.welle { --welle-ende: max(0px, calc((100vw - var(--breite)) / 2 - 420px)); position: absolute; z-index: 1; right: var(--welle-ende); top: 0; width: calc(62% - var(--welle-ende)); height: calc(100% - var(--dock-hoch)); pointer-events: none; }

.dock { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; background: #060B0C; border-top: 1px solid var(--linie-stark); transition: transform 280ms var(--kurve), opacity 200ms ease; }
.dock-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dock-feld { position: relative; display: grid; align-content: start; gap: 6px; min-height: var(--dock-klein); padding: 17px 20px 24px 24px; text-decoration: none; color: var(--tinte); transition: color 160ms ease; }
.dock-feld + .dock-feld { padding-left: 52px; border-left: 1px solid var(--linie); }
.dock-feld::before { content: ''; position: absolute; left: 0; top: 24px; width: 9px; height: 9px; background: var(--gruenspan); box-shadow: inset 0 0 0 1px var(--gruenspan); transition: background-color 160ms ease; }
.dock-feld + .dock-feld::before { left: 28px; }
.dock-name { display: grid; font-size: 20px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.dock-name > span { grid-area: 1 / 1; transition: opacity 160ms ease; }
.dock-name .kurz { opacity: 0; font-size: 16px; line-height: 23px; }
.dock-dinge { font-size: 14px; line-height: 1.4; color: var(--text); text-wrap: balance; transition: opacity 160ms ease; }
.dock.klein { transform: translateY(calc(100% - var(--dock-klein))); }
.dock.klein .lang, .dock.klein .dock-dinge { opacity: 0; }
.dock.klein .kurz { opacity: 1; }
.dock.klein .dock-feld { color: var(--text); }
.dock.klein .dock-feld::before { background: transparent; }
.dock.klein .dock-feld[aria-current] { color: var(--tinte); }
.dock.klein .dock-feld[aria-current]::before { background: var(--gruenspan); }
.dock.weg { transform: translateY(100%); opacity: 0; visibility: hidden; transition: transform 240ms var(--kurve), opacity 180ms ease, visibility 0s 240ms; }
.dock-feld:focus-visible { outline: 2px solid var(--gruenspan-hell); outline-offset: -3px; }
.dock-feld:active { color: var(--gruenspan-hell); }
@media (hover: hover) and (pointer: fine) {
  .dock-feld:hover, .dock.klein .dock-feld:hover { color: var(--gruenspan-hell); }
}

@media (min-width: 981px) and (max-width: 1199px) {
  .dock-feld { padding-right: 12px; }
  .dock-feld + .dock-feld { padding-left: 40px; }
  .dock-feld + .dock-feld::before { left: 18px; }
  .dock-name { font-size: 17px; }
  .dock-dinge { font-size: 13px; }
}

@media (max-width: 980px) {
  .n3 .held { align-items: flex-start; padding-bottom: calc(var(--dock-hoch) + 30svh + 24px); }
  .welle { left: 0; width: 100%; top: auto; bottom: var(--dock-hoch); height: 30svh; }
  .dock { padding-bottom: env(safe-area-inset-bottom); }
  .dock.klein { transform: none; }
  .dock-raster { grid-template-columns: repeat(4, auto); justify-content: space-between; padding-inline: 12px; }
  .dock-feld, .dock-feld + .dock-feld { place-content: center; justify-items: center; padding: 0 4px; border-left: 0; color: var(--text); }
  .dock-feld::before, .dock-feld + .dock-feld::before { left: 50%; top: 0; width: 22px; height: 2px; margin-left: -11px; background: transparent; box-shadow: none; }
  .dock-feld[aria-current] { color: var(--tinte); }
  .dock-feld[aria-current]::before, .dock.klein .dock-feld[aria-current]::before { background: var(--gruenspan); }
  .dock-name .lang, .dock-dinge { display: none; }
  .dock-name .kurz { opacity: 1; font-size: 14px; }
}

@media (max-width: 359px) {
  .dock-raster { padding-inline: 6px; }
  .dock-name .kurz { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .dock, .dock.weg, .dock-name > span, .dock-dinge, .dock-feld { transition: none; }
}
.n3 .fenster figcaption { padding: 14px 16px 16px; font-size: 15.5px; color: var(--tinte); background: rgba(108, 195, 204, .08); }
.n3 .fenster figcaption::before { content: ''; display: inline-block; width: .42em; height: .42em; margin-right: .55em; vertical-align: .14em; background: var(--gruenspan); }
.stufenflagge { flex: 0 0 auto; display: block; height: .8em; }
.stufenflagge svg { display: block; width: auto; height: 100%; }
.n3 .kt-tafel p.kp-neu { max-width: none; margin: 18px 0 0; font-size: 16px; line-height: 1.5; text-align: center; color: var(--text); }
.n3 .kt-tafel p.kp-neu a { font-weight: 600; color: var(--gruenspan-hell); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.n3 .kt-tafel p.kp-neu a:focus-visible { outline: 2px solid var(--gruenspan-hell); outline-offset: 3px; }
.n3 .fenster figcaption .randnotiz { font-size: .86em; color: var(--meta); }
.n3 .produkt-reihe h3 { margin: 0 0 16px; }
.n3 .produkt-reihe p { margin-top: 16px; }
.kp-dialog { --kt-rot: #F28B82; width: min(940px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: auto; color: var(--text); background: #050B0C; border: 1px solid var(--linie-stark); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.kp-dialog::backdrop { background: rgba(2, 6, 7, .74); }
.kp-dialog[open] { animation: kp-auf 240ms var(--kurve); }
.kp-dialog-innen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; align-items: start; padding: 44px 40px 40px; }
.kp-dialog .abschnitt-kopf { margin: 0; }
.kp-dialog .dl-liste { margin-top: 24px; }
.kp-dialog .kt-tafel { max-width: none; }
.kp-dialog-zu { position: absolute; top: 0; right: 0; margin: 0; }
.kp-dialog-zu button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: var(--text); background: none; border: 0; cursor: pointer; transition: color 140ms ease; }
.kp-dialog-zu svg { width: 16px; height: 16px; }
.kp-dialog-zu button:focus-visible { outline: 2px solid var(--gruenspan-hell); outline-offset: -4px; }
@keyframes kp-auf { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (hover: hover) and (pointer: fine) { .kp-dialog-zu button:hover { color: var(--tinte); } }
@media (max-width: 780px) { .kp-dialog-innen { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 44px 20px 24px; } }
@media (prefers-reduced-motion: reduce) { .kp-dialog[open] { animation: none; } }
