/* ==========================================================================
   Landesfenster – Stilblatt
   Eine Datei, gegliedert in Abschnitte: Schriften · Farben und Maße · Grundlagen ·
   Kopfzeile · Auftakt · Bänder · Raster und Karten · Schiene · Bilanz · Pult ·
   Bilder · Stimmen · Seitenkopf · Stück · Korb und Kasse · Formulare · Recht ·
   Fußzeile · Cookie-Hinweis · Einblenden
   ========================================================================== */


/* ---------- Schriften (selbst gehostet, Rückfall mit gemessenen Metriken) ---------- */

@font-face {
    font-family: "IBM Plex Serif";
    src: url("../fonts/ibm-plex-serif-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Serif Fallback";
    src: local("Georgia Bold"), local("Georgia-Bold");
    font-weight: 700;
    font-style: normal;
    size-adjust: 95.6%;   /* gemessen: Breite Plex Serif 700 / Georgia Bold bei 100 px */
    ascent-override: 102.5%;
    descent-override: 27.5%;
    line-gap-override: 0%;
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans-var.woff2") format("woff2");
    font-weight: 400 600;   /* variable Datei, ein Schnitt für alle Gewichte */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans Fallback";
    src: local("Arial"), local("ArialMT");
    font-weight: 400 600;
    font-style: normal;
    size-adjust: 101.2%;   /* gemessen gegen Arial bei 400 */
    ascent-override: 102.5%;
    descent-override: 27.5%;
    line-gap-override: 0%;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Mono Fallback";
    src: local("Courier New"), local("CourierNewPSMT");
    font-weight: 400 500;
    font-style: normal;
    size-adjust: 100%;
    ascent-override: 102.5%;
    descent-override: 27.5%;
    line-gap-override: 0%;
}


/* ---------- Farben und Maße ---------- */

:root {
    --lf-nacht: #0E0F12;
    --lf-hell: #F1F3F6;
    --lf-glas: #f7f8fa;
    --lf-tint: #ECEEF2;
    --lf-raster: #d3d7de;
    --lf-kante: #15171C;
    --lf-grau: #565c68;
    --lf-licht: #F5B800;
    --lf-licht-2: #dca500;
    --lf-linie-dunkel: #2A2D35;   /* Linien auf dunklem Grund */
    --lf-text-dunkel: #C9CED8;    /* Fließtext auf dunklem Grund */
    --lf-leise-dunkel: #9AA1AE;   /* Nebentext auf dunklem Grund */
    --lf-weiss: #FFFFFF;

    --lf-schrift-titel: "IBM Plex Serif", "IBM Plex Serif Fallback", Georgia, serif;
    --lf-schrift-text: "IBM Plex Sans", "IBM Plex Sans Fallback", Arial, sans-serif;
    --lf-schrift-mono: "IBM Plex Mono", "IBM Plex Mono Fallback", "Courier New", monospace;

    --lf-breite: 1240px;
    --lf-kopfhoehe: 64px;
    --lf-schatten: 0 18px 48px #0e0f1229, 0 4px 14px #0E0F121A;
}


/* ---------- Grundlagen ---------- */

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

html {
    scroll-padding-top: 92px;   /* klebende Kopfzeile verdeckt sonst Anker und Felder mit Fehler */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: var(--lf-glas);
}

body {
    min-height: 100vh;
    margin: 0;
    font: 400 1.0625rem/1.6 var(--lf-schrift-text);
    color: var(--lf-kante);
    background: var(--lf-glas);
}

body.lf-mit-hinweis {
    padding-bottom: var(--lf-hinweis-hoehe, 0px);   /* Platz unter dem Cookie-Hinweis */
}

body.lf-menue-offen {
    overflow: hidden;
}

html [hidden] {
    display: none;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--lf-schrift-titel);
    font-weight: 700;
    letter-spacing: -0.018em;
    text-wrap: balance;
}

h2 {
    font-size: clamp(1.7rem, 2.6vw, 2.45rem);
    line-height: 1.1;
}

h3 {
    font-size: 1.22rem;
    line-height: 1.25;
}

p {
    margin: 0 0 1em;
}

p:last-child {
    margin-bottom: 0;
}

ul,
ol {
    margin: 0 0 1em;
    padding-left: 1.2em;
}

a {
    color: inherit;
    text-decoration-color: var(--lf-licht);
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
}

a:hover {
    text-decoration-color: var(--lf-kante);
}

strong {
    font-weight: 600;
}

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

button {
    font: inherit;
}

address {
    font-style: normal;
}

.lf-rahmen {
    width: min(calc(100% - 40px), var(--lf-breite));
    margin-inline: auto;
}

.lf-unsichtbar {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.lf-sprung {
    position: absolute;
    top: -64px;
    left: 16px;
    z-index: 200;
    padding: 12px 18px;
    font-weight: 600;
    color: var(--lf-kante);
    background: var(--lf-licht);
}

.lf-sprung:focus {
    top: 8px;
}

.lf-dachzeile {
    display: block;
    margin: 0 0 12px;
    font: 500 0.8125rem/1.3 var(--lf-schrift-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lf-grau);
}

.lf-klein {
    font-size: 0.875rem;
    color: var(--lf-grau);
}

.lf-mono {
    font-family: var(--lf-schrift-mono);
}

html:not(.js) [data-nur-js] {
    display: none;
}


/* ---------- Knöpfe ---------- */

.lf-knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border: 2px solid var(--lf-kante);
    border-radius: 0;
    font: 600 1rem/1.1 var(--lf-schrift-text);
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
    color: var(--lf-kante);
    background: transparent;
    cursor: pointer;
}

.lf-knopf:hover {
    color: var(--lf-hell);
    background: var(--lf-kante);
}

.lf-knopf-licht {
    border-color: var(--lf-licht);
    color: var(--lf-kante);
    background: var(--lf-licht);
}

.lf-knopf-licht:hover {
    border-color: var(--lf-licht-2);
    color: var(--lf-kante);
    background: var(--lf-licht-2);
}

.lf-knopf-licht:focus-visible {
    outline-color: var(--lf-hell);
    box-shadow: 0 0 0 5px var(--lf-kante);
}

.lf-knopf-dunkel {
    color: var(--lf-hell);
    background: var(--lf-kante);
}

.lf-knopf-dunkel:hover {
    color: var(--lf-kante);
    background: var(--lf-glas);
}

.lf-knopf[disabled] {
    cursor: progress;
    opacity: 0.92;
}

.lf-textlink {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--lf-licht);
    text-decoration-thickness: 3px;
}


/* ---------- Kopfzeile ---------- */

.lf-kopf {
    position: sticky;
    top: 0;
    z-index: 150;
    border-bottom: 1px solid var(--lf-linie-dunkel);
    color: var(--lf-hell);
    background: var(--lf-nacht);
}

.lf-kopf-innen {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    width: min(calc(100% - 32px), var(--lf-breite));
    min-height: var(--lf-kopfhoehe);
    margin-inline: auto;
}

.lf-marke {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    font: 700 1.3rem/1 var(--lf-schrift-titel);
    letter-spacing: -0.01em;
    text-decoration: none;
    color: var(--lf-hell);
}

.lf-marke svg {
    width: 28px;
    height: 28px;
    flex: none;
}

.lf-marke:hover {
    color: var(--lf-licht);
}

.lf-menueknopf {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #3a3e48;
    border-radius: 0;
    color: var(--lf-hell);
    background: transparent;
    cursor: pointer;
}

.lf-menueknopf span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease;
}

.lf-menueknopf[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.lf-menueknopf[aria-expanded="true"] span:nth-child(2) {
    transform: scaleX(0);
}

.lf-menueknopf[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

html:not(.js) .lf-menueknopf {
    display: none;
}

.lf-korb-mobil {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 48px;
    height: 48px;
    text-decoration: none;
    color: var(--lf-hell);
}

.lf-korb-mobil svg {
    width: 24px;
    height: 24px;
}

.lf-korbzahl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    font: 500 0.75rem/1 var(--lf-schrift-mono);
    color: var(--lf-kante);
    background: var(--lf-licht);
}

.lf-nav {
    grid-column: 1 / -1;
    padding: 4px 0 14px;
}

.lf-nav-liste {
    display: flex;
    flex-wrap: wrap;
    gap: 0 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lf-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    border-bottom: 2px solid transparent;   /* reserviert, damit der aktive Punkt nicht springt */
    font: 500 0.8125rem/1.2 var(--lf-schrift-mono);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--lf-hell);
}

.lf-nav a:hover,
.lf-nav a[aria-current="page"] {
    border-bottom-color: var(--lf-licht);
    color: var(--lf-hell);
}

html.js .lf-nav {
    position: fixed;
    top: calc(var(--lf-kopfhoehe) + 1px);
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    padding: 20px 20px 48px;
    background: var(--lf-nacht);
    box-shadow: var(--lf-schatten);
    visibility: hidden;
    transform: translateY(-10px);
    transition: transform 0.2s ease, visibility 0s linear 0.2s;
}

html.js .lf-nav.js-open {
    visibility: visible;
    transform: none;
    transition: transform 0.2s ease;
}

html.js .lf-nav-liste {
    display: block;
}

html.js .lf-nav a {
    width: 100%;
    min-height: 58px;
    border-bottom: 1px solid var(--lf-linie-dunkel);
    font: 700 1.45rem/1.2 var(--lf-schrift-titel);
    letter-spacing: -0.01em;
    text-transform: none;
}

html.js .lf-nav a[aria-current="page"] {
    color: var(--lf-licht);
}

html.js .lf-nav-rechts {
    margin-top: 18px;
}

@media (min-width: 1040px) {
    .lf-kopf-innen {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        min-height: 76px;
    }

    .lf-menueknopf,
    .lf-korb-mobil {
        display: none;
    }

    .lf-nav,
    html.js .lf-nav {
        display: contents;   /* beide Listen werden Rasterzellen der Kopfzeile, die Marke steht dazwischen */
        visibility: visible;
    }

    .lf-nav-liste,
    html.js .lf-nav-liste {
        grid-row: 1;
        display: flex;
        gap: 0 26px;
    }

    .lf-nav-links {
        grid-column: 1;
        justify-self: start;
    }

    .lf-nav-rechts,
    html.js .lf-nav-rechts {
        grid-column: 3;
        justify-self: end;
        margin-top: 0;
    }

    html.js .lf-nav a {
        width: auto;
        min-height: 44px;
        border-bottom: 2px solid transparent;
        font: 500 0.8125rem/1.2 var(--lf-schrift-mono);
        letter-spacing: 0.07em;
        text-transform: uppercase;
    }

    html.js .lf-nav a:hover,
    html.js .lf-nav a[aria-current="page"] {
        border-bottom-color: var(--lf-licht);
        color: var(--lf-hell);
    }

    .lf-marke {
        font-size: 1.45rem;
    }
}


/* ---------- Auftakt (Startseite, nur Schrift) ---------- */

.lf-auftakt {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 40px 0 46px;
    color: var(--lf-hell);
    background: var(--lf-nacht);
}

.lf-auftakt::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: linear-gradient(#1A1D23 1px, transparent 1px), linear-gradient(90deg, #1a1d23 1px, transparent 1px);
    background-size: 112px 112px;
    background-position: -1px -1px;
}

.lf-auftakt-raster {
    display: grid;
    gap: 24px;
}

.lf-fensterzeichen {
    display: none;
}

.lf-auftakt-text {
    min-width: 0;
    container-type: inline-size;   /* Schriftgröße der Zeile richtet sich nach der Spaltenbreite */
}

.lf-auftakt .lf-dachzeile {
    color: var(--lf-leise-dunkel);
}

.lf-auftakt h1 {
    margin: 0;
    font-size: min(6.5rem, 10.6cqi);
    line-height: 1;
    letter-spacing: -0.028em;
}

.lf-h1-a,
.lf-h1-b {
    display: block;
}

.lf-h1-b {
    min-height: 1em;
    white-space: nowrap;
}

.lf-wechsel {
    position: relative;
    display: inline-block;
    color: var(--lf-licht);
}

.lf-wechsel::before {
    content: "";
    position: absolute;
    inset: -40% -14%;
    z-index: -1;
    background: radial-gradient(closest-side, #F5B8004D, #f5b80000);
}

.lf-wechsel-wort {
    display: inline-block;
}

.lf-wechsel-wort.lf-tausch {
    animation: lf-tausch 0.42s ease;
}

@keyframes lf-tausch {
    from {
        clip-path: inset(0 0 100% 0);
        transform: translateY(0.14em);
    }
    to {
        clip-path: inset(-0.3em 0 -0.3em 0);
        transform: none;
    }
}

.lf-auftakt-lead {
    max-width: 58ch;
    margin: 22px 0 0;
    font-size: 1.0625rem;
    color: var(--lf-text-dunkel);
}

.lf-auftakt-aktion {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    margin-top: 26px;
}

.lf-telefon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-height: 52px;
    font: 500 1.05rem/1.3 var(--lf-schrift-mono);
    text-decoration: none;
    color: var(--lf-hell);
}

.lf-telefon small {
    font: 400 0.75rem/1.3 var(--lf-schrift-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lf-leise-dunkel);
}

.lf-telefon:hover {
    color: var(--lf-licht);
}

@media (min-width: 1040px) {
    .lf-auftakt {
        padding: 46px 0 54px;
    }

    .lf-auftakt-raster {
        grid-template-columns: 168px minmax(0, 1fr);
        column-gap: clamp(36px, 4.2vw, 76px);
        align-items: start;
    }

    .lf-auftakt h1 {
        font-size: min(6.5rem, 9.4cqi, 11.2vh);   /* niedrige Bildschirme: Höhe begrenzt die Schrift */
    }

    .lf-fensterzeichen {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 104px 104px auto;
        gap: 3px;
        width: 168px;
        margin-top: 36px;
        padding: 3px;
        background: #3A3E48;
    }

    .lf-fensterzeichen span {
        background: var(--lf-nacht);
    }

    .lf-fensterzeichen .lf-fenster-licht {
        background: var(--lf-licht);
    }

    .lf-fensterzeichen::before {
        content: "";
        position: absolute;
        top: -50px;
        right: -70px;
        width: 220px;
        height: 220px;
        z-index: -1;
        background: radial-gradient(closest-side, #F5B80040, #F5B80000);
    }

    .lf-fenster-groessen {
        grid-column: 1 / -1;
        padding: 10px 8px 8px;
        font: 500 0.75rem/1.5 var(--lf-schrift-mono);
        letter-spacing: 0.06em;
        color: var(--lf-leise-dunkel);
        background: var(--lf-nacht);
    }
}


/* ---------- Bänder (Abschnitte) ---------- */

.lf-band {
    padding: 72px 0;
}

.lf-band-tint {
    background: var(--lf-tint);
}

.lf-band-nacht {
    color: var(--lf-text-dunkel);
    background: var(--lf-nacht);
}

.lf-band-nacht h2,
.lf-band-nacht h3 {
    color: var(--lf-hell);
}

.lf-band-nacht a {
    color: var(--lf-hell);
}

.lf-band-nacht a:hover {
    color: var(--lf-licht);
}

.lf-luft-knapp {
    padding: 48px 0 56px;
}

.lf-luft-weit {
    padding: 96px 0 104px;
}

.lf-luft-schief {
    padding: 60px 0 112px;
}

.lf-kopfzeile {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 14px 40px;
    margin-bottom: 28px;
}

.lf-kopfzeile h2 {
    max-width: 22ch;
}

.lf-kopfzeile p {
    max-width: 46ch;
    margin: 0;
    color: var(--lf-grau);
}

.lf-band-nacht .lf-kopfzeile p,
.lf-band-nacht .lf-dachzeile {
    color: var(--lf-leise-dunkel);
}

.lf-zweispaltig {
    display: grid;
    gap: 32px;
}

@media (min-width: 900px) {
    .lf-zweispaltig {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 48px;
    }
}

.lf-fliesstext {
    max-width: 68ch;
}

.lf-fliesstext h2 {
    margin: 0 0 18px;
}

.lf-fliesstext h3 {
    margin: 28px 0 10px;
}


/* ---------- Raster und Karten (sichtbare Zellgrenzen) ---------- */

.lf-gitter {
    display: grid;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--lf-kante);
    border-left: 1px solid var(--lf-kante);
    list-style: none;
}

.lf-gitter > * {
    min-width: 0;
    border-right: 1px solid var(--lf-kante);
    border-bottom: 1px solid var(--lf-kante);
}

.lf-karten {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 700px) {
    .lf-karten {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.lf-karte-info {
    grid-column: span 2;
}

.lf-zelle-dunkel .lf-stueckliste li + li {
    border-top-color: var(--lf-linie-dunkel);
}

.lf-zelle-dunkel .lf-stueckliste span {
    color: var(--lf-leise-dunkel);
}

.lf-zelle-dunkel .lf-stueckliste .lf-preis-betrag,
.lf-zelle-dunkel .lf-stueckliste strong {
    color: var(--lf-hell);
}

.lf-karte {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--lf-tint);
}

.lf-karte-link {
    display: block;
    padding: 12px 12px 0;
    text-decoration: none;
    color: inherit;
}

.lf-karte-bild {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--lf-weiss);
}

.lf-karte-bild img {
    width: 100%;
}

.lf-karte h3 {
    margin: 14px 0 4px;
    font-size: 1.08rem;
}

.lf-karte-farbe {
    display: block;
    font: 400 0.75rem/1.4 var(--lf-schrift-mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lf-grau);
}

.lf-karte-groessen {
    display: block;
    margin-top: 6px;
    font: 400 0.75rem/1.4 var(--lf-schrift-mono);
    color: var(--lf-grau);
}

.lf-preis {
    margin: 0;
    padding: 10px 12px 16px;
}

.lf-karte .lf-preis {
    margin-top: auto;
}

.lf-preis-betrag {
    display: block;
    font: 500 1rem/1.3 var(--lf-schrift-mono);
}

.lf-preis-zusatz {
    display: block;
    font: 400 0.75rem/1.5 var(--lf-schrift-mono);
    color: var(--lf-grau);
}

.lf-preis-zusatz a {
    text-decoration-thickness: 2px;
}

/* Harte Umkehrung der Zelle beim Überfahren, ohne Übergang */
.lf-karte:hover,
.lf-tafel:hover {
    color: var(--lf-hell);
    background: var(--lf-kante);
}

.lf-karte:hover .lf-karte-farbe,
.lf-karte:hover .lf-karte-groessen,
.lf-karte:hover .lf-preis-zusatz,
.lf-tafel:hover .lf-karte-farbe,
.lf-tafel:hover .lf-karte-groessen,
.lf-tafel:hover .lf-preis-zusatz {
    color: var(--lf-leise-dunkel);
}

.lf-karte:hover a,
.lf-tafel:hover a {
    color: var(--lf-hell);
}

.lf-karte:hover a:hover,
.lf-tafel:hover a:hover {
    color: var(--lf-licht);
}

.lf-sprungleiste {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}

.lf-sprungleiste a,
.lf-chips li {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--lf-kante);
    font: 500 0.8125rem/1.2 var(--lf-schrift-mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--lf-kante);
    background: var(--lf-glas);
}

.lf-sprungleiste a:hover {
    color: var(--lf-hell);
    background: var(--lf-kante);
}

.lf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lf-chips li {
    min-height: 36px;
    text-transform: none;
    letter-spacing: 0.02em;
}

.lf-band-nacht .lf-chips li {
    border-color: #3A3E48;
    color: var(--lf-hell);
    background: transparent;
}

.lf-gruppe + .lf-gruppe {
    margin-top: 64px;
}

.lf-gruppe-kopf {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    margin-bottom: 18px;
}

.lf-gruppe-kopf p {
    margin: 0;
    color: var(--lf-grau);
}

.lf-zellen {
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}

.lf-zelle {
    padding: 24px 22px 26px;
    background: var(--lf-glas);
}

.lf-band-tint .lf-zelle {
    background: var(--lf-tint);
}

.lf-zelle h3 {
    margin: 0 0 10px;
}

.lf-zelle .lf-dachzeile {
    margin-bottom: 8px;
}

.lf-zelle-dunkel {
    color: var(--lf-text-dunkel);
    background: var(--lf-kante);
}

.lf-band-tint .lf-zelle-dunkel {
    background: var(--lf-kante);
}

.lf-zelle-dunkel h3,
.lf-zelle-dunkel strong {
    color: var(--lf-hell);
}

.lf-zelle-dunkel .lf-dachzeile {
    color: var(--lf-leise-dunkel);
}

.lf-zelle-dunkel a {
    color: var(--lf-hell);
}

.lf-zelle-dunkel a:hover {
    color: var(--lf-licht);
}

.lf-grosszahl {
    display: block;
    margin-bottom: 6px;
    font: 700 clamp(2.2rem, 3.6vw, 3.2rem)/1 var(--lf-schrift-titel);
    letter-spacing: -0.03em;
}


/* ---------- Schiene (waagerechte Leiste mit Tafeln) ---------- */

.lf-schiene {
    padding: 36px 0 76px;
}

@media (min-width: 1040px) and (max-height: 840px) {
    .lf-auftakt {
        padding: 30px 0 38px;
    }

    .lf-auftakt-lead {
        margin-top: 16px;
    }

    .lf-auftakt-aktion {
        margin-top: 20px;
    }
}

.lf-schiene-kopf {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px 32px;
    margin-bottom: 22px;
}

.lf-schiene-kopf h2 {
    max-width: 18ch;
}

.lf-schiene-steuer {
    display: flex;
    align-items: center;
    gap: 0;
}

.lf-schiene-steuer button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-left: -1px;
    padding: 0;
    border: 1px solid var(--lf-kante);
    border-radius: 0;
    font: 500 1.25rem/1 var(--lf-schrift-mono);
    color: var(--lf-kante);
    background: var(--lf-glas);
    cursor: pointer;
}

.lf-schiene-steuer button:hover {
    color: var(--lf-hell);
    background: var(--lf-kante);
}

.lf-schiene-steuer button[disabled] {
    color: var(--lf-raster);
    background: var(--lf-glas);
    cursor: default;
}

.lf-schiene-steuer a {
    margin-left: 22px;
}

.lf-schiene-spur {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(292px, 74vw);   /* feste Breite, sonst stauchen sich die Tafeln */
    overflow-x: auto;
    overscroll-behavior-x: contain;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--lf-kante);
    border-left: 1px solid var(--lf-kante);
    list-style: none;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--lf-licht) transparent;
}

.lf-tafel {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--lf-kante);
    border-bottom: 1px solid var(--lf-kante);
    background: var(--lf-tint);
    scroll-snap-align: start;
}

.lf-tafel h3 {
    margin: 14px 0 4px;
    font-size: 1.1rem;
}

.lf-tafel .lf-preis {
    margin-top: auto;
}


/* ---------- Bilanz (Zahlenleiste) ---------- */

.lf-bilanz {
    padding: 0 0 4px;
    background: var(--lf-tint);
}

.lf-bilanz-titel {
    padding: 44px 0 20px;
}

.lf-bilanz-liste {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 52px;
}

@media (min-width: 900px) {
    .lf-bilanz-liste {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.lf-bilanz-zelle {
    position: relative;
    padding: 26px 22px 30px;
}

.lf-bilanz-zelle:first-child {
    color: var(--lf-hell);
    background: var(--lf-kante);
}

.lf-bilanz-zahl {
    display: block;
    font: 700 clamp(2.6rem, 5.2vw, 4.5rem)/1 var(--lf-schrift-titel);
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
}

.lf-bilanz-text {
    display: block;
    margin-top: 12px;
    font: 500 0.8125rem/1.4 var(--lf-schrift-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lf-grau);
}

.lf-bilanz-zelle:first-child .lf-bilanz-text {
    color: var(--lf-leise-dunkel);
}

.lf-bilanz-zelle:first-child .lf-bilanz-zahl {
    color: var(--lf-licht);
}


/* ---------- Pult (Reiter) ---------- */

.lf-pult-reiter {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--lf-kante);
    border-left: 1px solid var(--lf-kante);
}

html:not(.js) .lf-pult-reiter {
    display: none;
}

.lf-pult-tab {
    min-height: 58px;
    padding: 8px 12px;
    border: 0;
    border-top: 4px solid transparent;
    border-right: 1px solid var(--lf-kante);
    border-bottom: 1px solid var(--lf-kante);
    border-radius: 0;
    font: 700 1.1rem/1.2 var(--lf-schrift-titel);
    color: var(--lf-kante);
    background: var(--lf-glas);
    cursor: pointer;
}

.lf-pult-tab:hover {
    background: var(--lf-tint);
}

.lf-pult-tab[aria-selected="true"] {
    border-top-color: var(--lf-licht);
    color: var(--lf-hell);
    background: var(--lf-kante);
}

.lf-pult-feld {
    display: grid;
    grid-template-columns: minmax(0, 1fr);   /* Tabellen im Feld dürfen die Spalte nicht aufdrücken */
    border-right: 1px solid var(--lf-kante);
    border-bottom: 1px solid var(--lf-kante);
    border-left: 1px solid var(--lf-kante);
    background: var(--lf-glas);
}

html:not(.js) .lf-pult-feld + .lf-pult-feld {
    margin-top: 24px;
    border-top: 1px solid var(--lf-kante);
}

.lf-pult-teil {
    min-width: 0;
    padding: 26px 24px 28px;
}

.lf-pult-teil + .lf-pult-teil {
    border-top: 1px solid var(--lf-kante);
}

.lf-pult-teil h3 {
    margin: 0 0 10px;
}

.lf-pult-teil h4 {
    margin: 18px 0 6px;
    font: 500 0.8125rem/1.3 var(--lf-schrift-mono);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--lf-grau);
}

@media (min-width: 900px) {
    .lf-pult-feld {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    }

    .lf-pult-teil + .lf-pult-teil {
        border-top: 0;
        border-left: 1px solid var(--lf-kante);
    }
}

.lf-stueckliste {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lf-stueckliste li + li {
    border-top: 1px solid var(--lf-raster);
}

.lf-stueckliste a {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 10px 0;
    text-decoration: none;
}

.lf-stueckliste img {
    width: 64px;
    background: var(--lf-weiss);
}

.lf-stueckliste strong {
    display: block;
    font: 700 1.02rem/1.25 var(--lf-schrift-titel);
}

.lf-stueckliste span {
    font: 400 0.75rem/1.4 var(--lf-schrift-mono);
    color: var(--lf-grau);
}

.lf-stueckliste .lf-preis-betrag {
    font-size: 0.9375rem;
    color: var(--lf-kante);
}

.lf-stueckliste a:hover strong {
    text-decoration: underline;
    text-decoration-color: var(--lf-licht);
    text-decoration-thickness: 3px;
}


/* ---------- Bilder mit Bogen ---------- */

.lf-bogen-raster {
    display: grid;
    gap: 36px;
}

@media (min-width: 760px) {
    .lf-bogen-raster {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

@media (min-width: 1100px) {
    .lf-bogen-raster {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.85fr);
        gap: 40px;
    }
}

.lf-bogen {
    align-self: start;
    margin: 0;
}

.lf-bogen img {
    width: 100%;
    max-width: min(100%, 44vh, 420px);
    border-radius: 999px 999px 0 0;   /* Bogen oben, unten gerade Kante */
    background: var(--lf-raster);
}

.lf-bogen-versetzt {
    margin-top: 0;
}

@media (min-width: 760px) {
    .lf-bogen-versetzt {
        margin-top: 72px;
    }
}

.lf-bildtext {
    max-width: min(100%, 44vh, 420px);
    margin: 0;
    padding: 12px 0 0;
    border-top: 2px solid var(--lf-kante);
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--lf-grau);
}

.lf-bildtext b {
    display: block;
    margin-bottom: 2px;
    font: 500 0.75rem/1.4 var(--lf-schrift-mono);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--lf-kante);
}

.lf-bildkarte {
    padding: 26px 24px;
    color: var(--lf-text-dunkel);
    background: var(--lf-kante);
}

.lf-bildkarte h2 {
    margin-bottom: 14px;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    color: var(--lf-hell);
}

.lf-bildkarte a {
    color: var(--lf-hell);
}

.lf-bildkarte .lf-dachzeile {
    color: var(--lf-leise-dunkel);
}

.lf-bildkarte a:hover {
    color: var(--lf-licht);
}

.lf-breitbild {
    margin: 0;
}

.lf-breitbild img {
    width: 100%;
    max-height: clamp(300px, 54vh, 580px);
    object-fit: cover;
    border: 1px solid var(--lf-kante);
}

.lf-breitbild .lf-bildtext {
    max-width: 70ch;
}


/* ---------- Stimmen ---------- */

.lf-stimmen {
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .lf-stimmen {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 1fr);
    }
}

.lf-stimme {
    position: relative;
    margin: 0;
    padding: 70px 26px 26px;
    background: var(--lf-glas);
}

.lf-stimme:nth-child(2) {
    background: var(--lf-tint);
}

/* Das tiefe Anführungszeichen sitzt auf der Grundlinie, darum absolut über dem Text */
.lf-stimme::before {
    content: "„";
    position: absolute;
    top: -22px;
    left: 22px;
    font: 700 5.2rem/1 var(--lf-schrift-titel);
    color: var(--lf-licht-2);
}

.lf-stimme blockquote {
    margin: 0 0 18px;
    font-size: 1.08rem;
    line-height: 1.55;
}

.lf-stimme figcaption {
    font: 500 0.8125rem/1.3 var(--lf-schrift-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lf-grau);
}


/* ---------- Haus (Startseite) ---------- */

.lf-haus {
    display: grid;
    gap: 36px;
    align-items: center;
}

@media (min-width: 900px) {
    .lf-haus {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 64px;
    }
}

.lf-haus-text {
    position: relative;
    isolation: isolate;
}

.lf-haus-text::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -90px;
    width: 300px;
    height: 300px;
    z-index: -1;
    background: radial-gradient(closest-side, #F5B80033, #F5B80000);
}

.lf-haus-text h2 {
    margin-bottom: 18px;
}

.lf-haus-text .lf-chips {
    margin: 22px 0 26px;
}


/* ---------- Seitenkopf (Innenseiten) ---------- */

.lf-seitenkopf {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-content: center;
    padding: 40px 0 46px;
    color: var(--lf-hell);
    background: var(--lf-nacht);
}

.lf-seitenkopf::before {
    content: "";
    position: absolute;
    top: -160px;
    right: max(4%, calc(50% - 640px));
    width: 460px;
    height: 460px;
    z-index: -1;
    background: radial-gradient(closest-side, #F5B80038, #F5B80000);
}

.lf-seitenkopf::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: linear-gradient(#1A1D23 1px, transparent 1px), linear-gradient(90deg, #1A1D23 1px, transparent 1px);
    background-size: 112px 112px;
    background-position: -1px -1px;
}

.lf-seitenkopf .lf-dachzeile {
    color: var(--lf-leise-dunkel);
}

.lf-seitenkopf h1 {
    max-width: 24ch;
    font-size: clamp(2.1rem, 3.7vw, 3.5rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
}

.lf-seitenkopf-lead {
    max-width: 64ch;
    margin: 16px 0 0;
    color: var(--lf-text-dunkel);
}

.lf-seitenkopf-lead a {
    color: var(--lf-hell);
}

.lf-seitenkopf-lead a:hover {
    color: var(--lf-licht);
}

@media (min-width: 900px) {
    .lf-seitenkopf {
        min-height: 316px;   /* gleiche Höhe auf allen Innenseiten: gemessenes Maximum 308 px (2050 breit) + Luft */
        padding: 44px 0 48px;
    }
}

.lf-pfad {
    padding: 4px 0;
    font: 400 0.8125rem/1.5 var(--lf-schrift-mono);
    color: var(--lf-grau);
}

.lf-pfad a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;   /* Tippziel auf dem Telefon */
    color: var(--lf-kante);
}


/* ---------- Stück (Produktseite) ---------- */

.lf-stueck-band {
    padding: 8px 0 64px;
}

.lf-stueck {
    display: grid;
    border: 1px solid var(--lf-kante);
    background: var(--lf-glas);
}

.lf-stueck-bild {
    display: grid;
    place-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--lf-kante);
    background: var(--lf-tint);
}

.lf-stueck-bild img {
    width: min(100%, 48vh, 470px);
    background: var(--lf-weiss);
}

.lf-stueck-info {
    min-width: 0;
    padding: 24px 22px 28px;
}

@media (min-width: 960px) {
    .lf-stueck {
        grid-template-columns: min(52vh, 520px) minmax(0, 1fr);
    }

    .lf-stueck-bild {
        align-content: start;
        border-right: 1px solid var(--lf-kante);
        border-bottom: 0;
    }

    .lf-stueck-info {
        padding: 30px 36px 34px;
    }
}

.lf-stueck-info h1 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.lf-stueck-farbe {
    margin: 10px 0 0;
    font: 400 1rem/1.45 var(--lf-schrift-mono);
    color: var(--lf-grau);
}

.lf-stueck-preis {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
    margin: 18px 0 0;
    padding: 14px 0;
    border-top: 1px solid var(--lf-kante);
    border-bottom: 1px solid var(--lf-kante);
}

.lf-stueck-preis .lf-preis-betrag {
    font-size: 1.6rem;
}

.lf-stueck-preis .lf-preis-zusatz {
    font-size: 0.8125rem;
}

.lf-set {
    margin: 14px 0 0;
    padding: 10px 14px;
    border-left: 4px solid var(--lf-licht);
    font-size: 0.9375rem;
    background: var(--lf-tint);
}

.lf-kaufen {
    margin-top: 20px;
}

.lf-groessen {
    margin: 0;
    padding: 0;
    border: 0;
}

.lf-groessen legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 16px;
    width: 100%;
    margin-bottom: 10px;
    padding: 0;
    font: 500 0.8125rem/1.4 var(--lf-schrift-mono);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.lf-groessen legend a {
    letter-spacing: 0.02em;
    text-transform: none;
}

.lf-groessen-raster {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--lf-kante);
    border-left: 1px solid var(--lf-kante);
}

.lf-groesse {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 6px;
    border-right: 1px solid var(--lf-kante);
    border-bottom: 1px solid var(--lf-kante);
    cursor: pointer;
    background: var(--lf-glas);
}

.lf-groesse input {
    position: absolute;
    opacity: 0;   /* Radio bleibt fokussierbar, der Rahmen zeigt die Wahl */
    pointer-events: none;
}

.lf-gr-nr {
    font: 500 1.05rem/1.2 var(--lf-schrift-mono);
}

.lf-gr-stand {
    font: 400 0.6875rem/1.2 var(--lf-schrift-mono);
    letter-spacing: 0.03em;
    color: var(--lf-grau);
}

.lf-groesse:hover {
    background: var(--lf-tint);
}

.lf-groesse:has(input:checked) {
    color: var(--lf-hell);
    background: var(--lf-kante);
    box-shadow: inset 0 -4px 0 var(--lf-licht);
}

.lf-groesse:has(input:focus-visible) {
    outline: 3px solid var(--lf-licht);
    outline-offset: -3px;
}

.lf-groesse-leer {
    color: var(--lf-grau);
    background: repeating-linear-gradient(135deg, var(--lf-glas) 0 7px, var(--lf-tint) 7px 9px);
    cursor: not-allowed;
}

.lf-groesse-leer:hover {
    background: repeating-linear-gradient(135deg, var(--lf-glas) 0 7px, var(--lf-tint) 7px 9px);
}

.lf-menge-zeile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 18px;
}

.lf-menge-zeile label {
    font: 500 0.8125rem/1.4 var(--lf-schrift-mono);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.lf-menge {
    display: inline-grid;
    grid-template-columns: 48px 56px 48px;
    border: 1px solid var(--lf-kante);
}

.lf-menge button {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 0;
    font: 500 1.25rem/1 var(--lf-schrift-mono);
    color: var(--lf-kante);
    background: var(--lf-tint);
    cursor: pointer;
}

.lf-menge button:hover {
    color: var(--lf-hell);
    background: var(--lf-kante);
}

.lf-menge input {
    width: 56px;
    height: 48px;
    padding: 0;
    border: 0;
    border-right: 1px solid var(--lf-kante);
    border-left: 1px solid var(--lf-kante);
    border-radius: 0;
    font: 500 1rem/1 var(--lf-schrift-mono);
    text-align: center;
    color: var(--lf-kante);
    background: var(--lf-weiss);
    -moz-appearance: textfield;
    appearance: textfield;
}

.lf-menge input::-webkit-outer-spin-button,
.lf-menge input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.lf-menge-info {
    font-size: 0.8125rem;
    color: var(--lf-grau);
}

.lf-in-korb {
    width: 100%;
    margin-top: 18px;
}

.lf-hinweis-feld {
    margin: 12px 0 0;
    padding: 10px 14px;
    border-left: 4px solid var(--lf-licht);
    font-weight: 500;
    background: var(--lf-tint);
}

.lf-kurzinfo {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 22px 0 0;
    padding: 0;
    border-top: 1px solid var(--lf-kante);
    border-left: 1px solid var(--lf-kante);
    list-style: none;
}

.lf-kurzinfo li {
    padding: 10px 10px 12px;
    border-right: 1px solid var(--lf-kante);
    border-bottom: 1px solid var(--lf-kante);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.lf-kurzinfo b {
    display: block;
    font: 500 0.9375rem/1.3 var(--lf-schrift-mono);
}

.lf-kurzinfo a {
    text-decoration-thickness: 2px;
}

.lf-fakten {
    grid-template-columns: 1fr;
}

@media (min-width: 760px) {
    .lf-fakten {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .lf-fakten {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lf-fakten .lf-zelle-breit {
        grid-column: span 2;
    }
}

.lf-masse {
    width: 100%;
    margin: 6px 0 0;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.lf-masse th,
.lf-masse td {
    padding: 8px 0;
    border-bottom: 1px solid var(--lf-raster);
    text-align: left;
}

.lf-masse td {
    font-family: var(--lf-schrift-mono);
    text-align: right;
}

.lf-meldung {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 160;
    display: grid;
    gap: 12px;
    width: min(380px, calc(100% - 32px));
    padding: 18px 18px 16px;
    border: 1px solid var(--lf-kante);
    border-top: 4px solid var(--lf-licht);
    color: var(--lf-kante);
    background: var(--lf-glas);
    box-shadow: var(--lf-schatten);
}

body.lf-mit-hinweis .lf-meldung {
    bottom: calc(var(--lf-hinweis-hoehe, 0px) + 16px);
}

.lf-meldung p {
    margin: 0;
}

.lf-meldung-knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lf-meldung .lf-knopf {
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.9375rem;
}


/* ---------- Korb, Kasse, Bestätigung, Status ---------- */

.lf-laden-raster {
    display: grid;
    gap: 32px;
    align-items: start;
}

@media (min-width: 1000px) {
    .lf-laden-raster {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 40px;
    }
}

.lf-korbliste {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--lf-kante);
    list-style: none;
}

.lf-korb-zeile {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--lf-kante);
}

.lf-korb-bild img {
    width: 84px;
    background: var(--lf-weiss);
}

.lf-korb-text {
    min-width: 0;
}

.lf-korb-text > a {
    font: 700 1.1rem/1.25 var(--lf-schrift-titel);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.lf-korb-text > a:hover {
    text-decoration: underline;
    text-decoration-color: var(--lf-licht);
}

.lf-korb-angaben {
    display: block;
    margin-top: 4px;
    font: 400 0.8125rem/1.5 var(--lf-schrift-mono);
    color: var(--lf-grau);
}

.lf-korb-steuer {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
}

.lf-korb-summe {
    font: 500 1.05rem/1.2 var(--lf-schrift-mono);
}

.lf-korb-weg {
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    font: 500 0.8125rem/1 var(--lf-schrift-mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color: var(--lf-licht);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    color: var(--lf-kante);
    background: transparent;
    cursor: pointer;
}

@media (min-width: 640px) {
    .lf-korb-zeile {
        grid-template-columns: 96px minmax(0, 1fr) auto;
        align-items: center;
    }

    .lf-korb-bild img {
        width: 96px;
    }

    .lf-korb-steuer {
        grid-column: auto;
        justify-content: flex-end;
    }
}

.lf-summen {
    padding: 24px 22px 26px;
    border: 1px solid var(--lf-kante);
    background: var(--lf-tint);
}

@media (min-width: 1000px) {
    .lf-summen {
        position: sticky;
        top: 100px;
    }
}

.lf-summen h2 {
    margin-bottom: 14px;
    font-size: 1.5rem;
}

.lf-summen dl {
    margin: 0;
}

.lf-summen dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--lf-raster);
}

.lf-summen dt {
    min-width: 0;
}

.lf-summen dd {
    margin: 0;
    font-family: var(--lf-schrift-mono);
    white-space: nowrap;
}

.lf-summen .lf-summe-gesamt {
    padding-top: 12px;
    border-top: 2px solid var(--lf-kante);
    border-bottom: 0;
    font-weight: 600;
    font-size: 1.15rem;
}

.lf-summen .lf-klein {
    display: block;
    margin-top: 10px;
}

.lf-summen .lf-knopf {
    width: 100%;
    margin-top: 18px;
}

.lf-frei-info {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-left: 4px solid var(--lf-licht);
    font-size: 0.875rem;
    background: var(--lf-glas);
}

.lf-leer {
    display: grid;
    gap: 18px;
    justify-items: start;
    padding: 40px 28px 44px;
    border: 1px solid var(--lf-kante);
    background: var(--lf-tint);
}

.lf-leer h2 {
    max-width: 20ch;
}

.lf-leer-symbol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    width: 64px;
    height: 80px;
    padding: 3px;
    background: var(--lf-kante);
}

.lf-leer-symbol span {
    background: var(--lf-tint);
}

.lf-leer-symbol span:nth-child(2) {
    background: var(--lf-licht);
}

.lf-hinweisbox {
    margin: 0 0 22px;
    padding: 14px 16px;
    border: 1px solid var(--lf-kante);
    border-left: 6px solid var(--lf-licht);
    background: var(--lf-glas);
}

.lf-hinweisbox p {
    margin: 0;
}

.lf-hinweisbox ul {
    margin: 8px 0 0;
}

.lf-nojs {
    padding: 18px 20px;
    border: 1px solid var(--lf-kante);
    border-left: 6px solid var(--lf-licht);
    background: var(--lf-tint);
}

.lf-ordernummer {
    display: block;
    margin: 6px 0 0;
    font: 500 clamp(1.8rem, 3.6vw, 2.6rem)/1.1 var(--lf-schrift-mono);
    letter-spacing: 0.02em;
}

.lf-verlauf {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 18px 0 0;
    padding: 0;
    border-top: 1px solid var(--lf-kante);
    border-left: 1px solid var(--lf-kante);
    list-style: none;
}

@media (min-width: 700px) {
    .lf-verlauf {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.lf-verlauf li {
    padding: 14px 14px 16px;
    border-right: 1px solid var(--lf-kante);
    border-bottom: 1px solid var(--lf-kante);
    color: var(--lf-grau);
    background: var(--lf-glas);
}

.lf-verlauf b {
    display: block;
    font: 500 0.75rem/1.3 var(--lf-schrift-mono);
    letter-spacing: 0.06em;
}

.lf-verlauf li.js-seen {
    color: var(--lf-hell);
    background: var(--lf-kante);
}

.lf-verlauf li[aria-current="step"] {
    box-shadow: inset 0 -5px 0 var(--lf-licht);
}

.lf-ergebnis {
    padding: 24px 22px;
    border: 1px solid var(--lf-kante);
    background: var(--lf-glas);
}

.lf-ergebnis dl {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 8px 20px;
    margin: 16px 0 0;
}

.lf-ergebnis dt {
    font: 500 0.8125rem/1.6 var(--lf-schrift-mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--lf-grau);
}

.lf-ergebnis dd {
    margin: 0;
    font-family: var(--lf-schrift-mono);
}

.lf-positionen {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lf-positionen li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--lf-raster);
}

.lf-positionen li span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.lf-positionen li span:last-child {
    font-family: var(--lf-schrift-mono);
    white-space: nowrap;
}


/* ---------- Formulare ---------- */

.lf-formular {
    display: grid;
    gap: 20px;
}

.lf-formblock {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 24px 22px 26px;
    border: 1px solid var(--lf-kante);
    background: var(--lf-glas);
}

.lf-formblock legend {
    padding: 0 8px;
    font: 700 1.25rem/1.2 var(--lf-schrift-titel);
}

.lf-formblock-tint {
    background: var(--lf-tint);
}

.lf-feldreihe {
    display: grid;
    gap: 18px;
}

@media (min-width: 640px) {
    .lf-feldreihe {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .lf-feldreihe-plz {
        grid-template-columns: 160px minmax(0, 1fr);
    }
}

.lf-feld {
    display: grid;
    align-content: start;   /* sonst verteilt das Raster Leerraum zwischen Label und Feld */
    gap: 6px;
    min-width: 0;
}

.lf-feld > .lf-haken {
    font: 400 0.9375rem/1.5 var(--lf-schrift-text);
    letter-spacing: 0;
    text-transform: none;
}

.lf-kasse-raster {
    margin-top: 0;
}

@media (min-width: 1000px) {
    .lf-kasse-raster {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .lf-kasse-info {
        position: sticky;
        top: 100px;
    }
}

.lf-kasse-info .lf-zellen {
    grid-template-columns: 1fr;
}

.lf-ergebnis h2 {
    margin-bottom: 18px;
}

.lf-summen dt .lf-klein {
    display: inline;
    margin: 0;
}

.lf-feld > label {
    font: 500 0.75rem/1.4 var(--lf-schrift-mono);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.lf-feld > label small {
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--lf-grau);
}

.lf-eingabe {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--lf-kante);
    border-radius: 0;
    font: 400 1rem/1.4 var(--lf-schrift-text);
    color: var(--lf-kante);
    background: var(--lf-weiss);
}

textarea.lf-eingabe {
    min-height: 140px;
    resize: vertical;
}

.lf-eingabe:focus-visible {
    outline: 3px solid var(--lf-licht);
    outline-offset: 0;
}

.lf-eingabe[aria-invalid="true"] {
    border-width: 2px;
    outline: 3px solid var(--lf-licht);
    outline-offset: 0;
}

.lf-eingabe[readonly] {
    color: var(--lf-grau);
    background: var(--lf-tint);
}

.lf-feld-hilfe {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--lf-grau);
}

.lf-feld-fehler {
    margin: 0;
    padding: 8px 12px;
    border-left: 4px solid var(--lf-licht);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    background: var(--lf-tint);
}

.lf-haken {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    font: 400 0.9375rem/1.5 var(--lf-schrift-text);
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}

.lf-haken input {
    width: 22px;
    height: 22px;
    min-height: 0;
    margin: 2px 0 0;
    accent-color: var(--lf-kante);
}

.lf-honig {
    position: absolute;
    left: -9000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lf-zahlart {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 2px solid var(--lf-kante);
    background: var(--lf-weiss);
}

.lf-zahlart input {
    width: 22px;
    height: 22px;
    margin: 2px 0 0;
    accent-color: var(--lf-kante);
}

.lf-zahlart strong {
    display: block;
}

.lf-zahlart .lf-mono {
    white-space: nowrap;
}

.lf-formalarm {
    margin: 0;
    padding: 14px 16px;
    border: 2px solid var(--lf-kante);
    border-left: 8px solid var(--lf-licht);
    font-weight: 500;
    background: var(--lf-glas);
}

.lf-formalarm ul {
    margin: 8px 0 0;
}

.lf-kasse-summe {
    padding: 22px 22px 24px;
    border: 2px solid var(--lf-kante);
    background: var(--lf-tint);
}

.lf-kasse-summe h2 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.lf-kasse-summe dl {
    margin: 10px 0 0;
}

.lf-kasse-summe dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--lf-raster);
}

.lf-kasse-summe dd {
    margin: 0;
    font-family: var(--lf-schrift-mono);
    white-space: nowrap;
}

.lf-kasse-summe .lf-summe-gesamt {
    padding-top: 12px;
    border-top: 2px solid var(--lf-kante);
    border-bottom: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.lf-bestellknopf {
    width: 100%;
    min-height: 60px;
    font-size: 1.1rem;
}

.lf-kasse-seite {
    display: grid;
    gap: 22px;
}


/* ---------- Recht (Impressum, AGB, Datenschutz, Widerruf) ---------- */

.lf-recht {
    display: grid;
    gap: 28px;
    align-items: start;
}

@media (min-width: 1000px) {
    .lf-recht {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 44px;
    }
}

.lf-recht-index {
    padding: 18px 18px 20px;
    border: 1px solid var(--lf-kante);
    background: var(--lf-glas);
}

@media (min-width: 1000px) {
    .lf-recht-index {
        position: sticky;
        top: 100px;
    }
}

.lf-recht-index ol {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.lf-recht-index a {
    display: flex;
    align-items: center;
    min-height: 44px;
    border-bottom: 1px solid var(--lf-raster);
    font-size: 0.9375rem;
    text-decoration: none;
}

.lf-recht-index a:hover {
    text-decoration: underline;
    text-decoration-color: var(--lf-licht);
}

.lf-recht-karten {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.lf-recht-karte {
    min-width: 0;
    padding: 28px clamp(20px, 3vw, 40px) 30px;
    background: var(--lf-tint);
    scroll-margin-top: 100px;
}

.lf-recht-karte h2 {
    margin-bottom: 14px;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    hyphens: auto;
}

.lf-recht-karte h3 {
    margin: 22px 0 8px;
    font-size: 1.08rem;
}

.lf-recht-karte p,
.lf-recht-karte li {
    max-width: 75ch;
}

.lf-recht-karte ul,
.lf-recht-karte ol {
    padding-left: 1.3em;
}

.lf-recht-karte-dunkel {
    color: var(--lf-text-dunkel);
    background: var(--lf-kante);
}

.lf-recht-karte-dunkel h2,
.lf-recht-karte-dunkel h3,
.lf-recht-karte-dunkel strong {
    color: var(--lf-hell);
}

.lf-recht-karte-dunkel a {
    color: var(--lf-hell);
}

.lf-recht-karte-dunkel a:hover {
    color: var(--lf-licht);
}

.lf-recht-karte-dunkel .lf-dachzeile {
    color: var(--lf-leise-dunkel);
}

/* Helle Bausteine in dunkler Karte brauchen eigene Farben, sonst hell auf hell */
.lf-recht-karte-dunkel .lf-tabelle,
.lf-recht-karte-dunkel .lf-muster {
    color: var(--lf-kante);
}

.lf-recht-karte-dunkel .lf-tabelle a,
.lf-recht-karte-dunkel .lf-muster a {
    color: var(--lf-kante);
}

.lf-recht-karte-dunkel .lf-knopf-dunkel {
    border-color: var(--lf-licht);
    color: var(--lf-kante);
    background: var(--lf-licht);
}

.lf-recht-karte-dunkel .lf-klein {
    color: var(--lf-leise-dunkel);
}

.lf-recht-karte .lf-knopf {
    margin-top: 6px;
}

.lf-tabelle-huelle {
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--lf-licht) transparent;
}

.lf-tabelle {
    width: 100%;
    margin: 4px 0 0;
    border-collapse: collapse;
    font-size: 0.9375rem;
    background: var(--lf-glas);
}

.lf-tabelle caption {
    padding: 0 0 8px;
    font: 500 0.75rem/1.4 var(--lf-schrift-mono);
    letter-spacing: 0.07em;
    text-align: left;
    text-transform: uppercase;
    color: var(--lf-grau);
}

.lf-tabelle th,
.lf-tabelle td {
    padding: 11px 14px;
    border: 1px solid var(--lf-kante);
    text-align: left;
    vertical-align: top;
    overflow-wrap: break-word;
}

.lf-tabelle td a[href^="mailto"] {
    overflow-wrap: anywhere;   /* lange Adressen dürfen auf 360 px umbrechen */
}

.lf-tabelle thead th {
    font: 500 0.8125rem/1.3 var(--lf-schrift-mono);
    letter-spacing: 0.04em;
    color: var(--lf-hell);
    background: var(--lf-kante);
}

.lf-tabelle th[scope="row"] {
    width: 34%;
    font-weight: 600;
    background: var(--lf-tint);
}

.lf-tabelle-zahlen td {
    font-family: var(--lf-schrift-mono);
    white-space: nowrap;
}

.lf-tabelle-zahlen th[scope="row"] {
    width: auto;
}

.lf-muster {
    margin: 12px 0 0;
    padding: 22px 22px 24px;
    border: 2px dashed var(--lf-kante);
    background: var(--lf-glas);
}

.lf-muster ul {
    padding-left: 0;
    list-style: none;
}

.lf-muster li {
    padding: 6px 0;
}

.lf-schreiblinie {
    display: block;
    height: 28px;
    border-bottom: 1px solid var(--lf-kante);
}


/* ---------- Stufenliste mit großen Nummern ---------- */

.lf-schritte {
    display: grid;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--lf-kante);
    border-left: 1px solid var(--lf-kante);
    list-style: none;
    counter-reset: lf-schritt;
}

@media (min-width: 760px) {
    .lf-schritte {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .lf-schritte-vier {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.lf-schritte > li {
    position: relative;
    padding: 22px 22px 24px 22px;
    border-right: 1px solid var(--lf-kante);
    border-bottom: 1px solid var(--lf-kante);
    background: var(--lf-glas);
    counter-increment: lf-schritt;
}

.lf-band-tint .lf-schritte > li {
    background: var(--lf-tint);
}

.lf-schritte > li::before {
    content: counter(lf-schritt, decimal-leading-zero);
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 8px;
    font: 700 1.9rem/1 var(--lf-schrift-titel);
    letter-spacing: -0.02em;
    color: var(--lf-kante);
    background: var(--lf-licht);
}

.lf-schritte h3 {
    margin: 0 0 8px;
}

.lf-schritte p {
    margin: 0;
}


/* ---------- Ausklapper (FAQ) ---------- */

.lf-fragen {
    border-top: 1px solid var(--lf-kante);
}

.lf-fragen details {
    border-bottom: 1px solid var(--lf-kante);
}

.lf-fragen summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
    padding: 12px 0;
    font: 700 1.1rem/1.3 var(--lf-schrift-titel);
    cursor: pointer;
    list-style: none;
}

.lf-fragen summary::-webkit-details-marker {
    display: none;
}

.lf-fragen summary::after {
    content: "+";
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--lf-kante);
    font: 500 1.1rem/1 var(--lf-schrift-mono);
}

.lf-fragen details[open] summary::after {
    content: "–";
    color: var(--lf-kante);
    background: var(--lf-licht);
}

.lf-fragen details > div {
    max-width: 72ch;
    padding: 0 0 20px;
}


/* ---------- Zitat-Kasten ---------- */

.lf-merksatz {
    position: relative;
    margin: 0;
    padding: 28px 28px 26px 32px;
    border-left: 8px solid var(--lf-licht);
    font: 700 clamp(1.25rem, 2vw, 1.6rem)/1.35 var(--lf-schrift-titel);
    letter-spacing: -0.01em;
    color: var(--lf-hell);
    background: var(--lf-kante);
}


/* ---------- Fußzeile ---------- */

.lf-fuss {
    padding: 52px 0 28px;
    color: var(--lf-text-dunkel);
    background: var(--lf-nacht);
}

.lf-fuss-oben {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 32px;
    padding-bottom: 28px;
}

.lf-fuss-oben p {
    max-width: 52ch;
    margin: 0;
}

.lf-fuss-oben .lf-marke {
    justify-self: start;
}

.lf-fuss-spalten {
    display: grid;
    gap: 26px 32px;
    padding-top: 28px;
    border-top: 1px solid var(--lf-linie-dunkel);
}

@media (min-width: 700px) {
    .lf-fuss-spalten {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.lf-fuss h2 {
    margin: 0 0 8px;
    font: 500 0.75rem/1.4 var(--lf-schrift-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lf-leise-dunkel);
}

.lf-fuss ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lf-fuss li a {
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
    text-decoration: none;
    color: var(--lf-hell);
}

.lf-fuss li a:hover {
    text-decoration: underline;
    text-decoration-color: var(--lf-licht);
    color: var(--lf-licht);
}

.lf-fuss-unten {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 28px;
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--lf-linie-dunkel);
    font-size: 0.875rem;
    color: var(--lf-leise-dunkel);
}

.lf-fuss-unten p {
    margin: 0;
}

.lf-einstellung {
    min-height: 44px;
    padding: 0;
    border: 0;
    font: 500 0.8125rem/1.2 var(--lf-schrift-mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color: var(--lf-licht);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    color: var(--lf-hell);
    background: transparent;
    cursor: pointer;
}

.lf-einstellung:hover {
    color: var(--lf-licht);
}


/* ---------- Cookie-Hinweis (feste Leiste unten) ---------- */

.cc-pill {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 140;   /* unter Kopfzeile (150) und Korb-Meldung (160) */
    padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
    border-top: 2px solid var(--lf-kante);
    color: var(--lf-kante);
    background: var(--lf-glas);
    box-shadow: 0 -10px 36px #0E0F1224;
}

.lf-cc-innen {
    display: grid;
    gap: 12px 32px;
    width: min(calc(100% - 32px), var(--lf-breite));
    margin-inline: auto;
}

@media (min-width: 900px) {
    .lf-cc-innen {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

.lf-cc-text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.lf-cc-text strong {
    font-weight: 600;
}

.lf-cc-text a {
    color: var(--lf-kante);
}

.lf-cc-knoepfe {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.lf-cc-knoepfe .lf-knopf {
    min-width: 148px;
    min-height: 48px;
    padding: 0 18px;
}


/* ---------- Ergänzungen einzelner Seiten ---------- */

.lf-sprungband {
    padding: 40px 0 0;
}

.lf-gitter-dunkel,
.lf-gitter-dunkel > * {
    border-color: var(--lf-linie-dunkel);
}

.lf-nachsatz {
    margin: 22px 0 0;
}

.lf-fuss-oben p a {
    color: var(--lf-hell);
}

.lf-fuss-oben p a:hover {
    color: var(--lf-licht);
}

.lf-farben {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .lf-farben {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1040px) {
    .lf-farben {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.lf-farbzelle {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 16px 18px;
}

.lf-farbzelle img {
    width: 72px;
    background: var(--lf-weiss);
}

.lf-farbzelle h3 {
    margin: 0 0 4px;
}

.lf-farbzelle p {
    margin: 0 0 6px;
    color: var(--lf-grau);
}

.lf-kontakt-raster {
    grid-template-columns: 1fr;
}

@media (min-width: 1000px) {
    .lf-kontakt-raster {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

.lf-kontakt-raster h2 {
    margin-bottom: 16px;
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.lf-kontakt-zellen {
    margin-top: 22px;
}

.lf-zellen.lf-danke-zellen,
.lf-zellen.lf-kontakt-zellen {
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

.lf-danke-zellen {
    margin-top: 22px;
}

.lf-beispiele .lf-grosszahl {
    margin: 10px 0 0;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}

.lf-zweispaltig h2 {
    margin-bottom: 16px;
}

.lf-zahlenzeile {
    margin-top: 28px;
}

.lf-abschluss {
    margin: 28px 0 0;
}

.lf-gewebe {
    margin-top: 22px;
}

.lf-gewebe img {
    max-height: clamp(220px, 34vh, 360px);
}

.lf-summen-unter {
    margin: 22px 0 6px;
    font: 500 0.75rem/1.4 var(--lf-schrift-mono);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--lf-grau);
}

.lf-summen address,
.lf-summen > p {
    margin: 0;
}

.lf-summen .lf-positionen {
    margin-bottom: 10px;
}

.lf-summen .lf-stufen-text div {
    display: block;
}

.lf-stufen-text dt {
    font-weight: 600;
}

.lf-stufen-text dd {
    font-family: var(--lf-schrift-text);
    font-size: 0.9375rem;
    white-space: normal;
    color: var(--lf-grau);
}

[data-status-box] {
    display: grid;
    gap: 18px;
}

.lf-formblock h2 {
    font-size: 1.5rem;
}

.lf-zahlart span strong {
    margin-bottom: 2px;
}

.lf-leer p a + a {
    margin-left: 8px;
}


/* ---------- Einblenden (nur mit JavaScript, nur unterhalb der ersten Ansicht) ---------- */

.lf-spaet {
    opacity: 0;
    translate: 0 22px;
    transition: opacity 0.5s ease, translate 0.5s ease;
}

.lf-spaet.js-seen {
    opacity: 1;
    translate: none;
}

@media (prefers-reduced-motion: reduce) {
    .lf-spaet {
        opacity: 1;
        translate: none;
        transition: none;
    }

    .lf-wechsel-wort.lf-tausch {
        animation: none;
    }

    html.js .lf-nav,
    .lf-menueknopf span {
        transition: none;
    }
}


/* ---------- Fehlerseite ---------- */

.lf-fehlerzahl {
    display: block;
    font: 700 clamp(4rem, 12vw, 9rem)/0.9 var(--lf-schrift-titel);
    letter-spacing: -0.04em;
    color: var(--lf-licht);
}
