/*
 * Gestaltungsgrundlage (wird nach style.css geladen):
 * gemeinsame Maße, Farben und Schrift, Startseite, Fußzeile.
 * Prinzip: wenig Rahmen, viel Weißraum, Gold nur als Akzent.
 */

:root {
    --navy: #0b1e47;
    --navy-tief: #06122e;
    --gold: #d4af37;
    --gold-text: #8a6516;
    --tinte: #1f2937;
    --text: #3f4756;
    --leise: #6b7280;
    --linie: #e6e1d6;
    --papier: #fdfbf7;
    --weiss: #ffffff;
    --breite: 1200px;
    --rand: 1.5rem;
    --radius: 6px;
    --serif: 'Lora', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
    --weich: 180ms ease;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--sans);
    color: var(--tinte);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern', 'liga';
}

h1, h2, h3 {
    font-family: var(--serif);
    color: var(--navy);
    letter-spacing: -0.01em;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

a, button {
    transition: color var(--weich), background-color var(--weich), border-color var(--weich),
        box-shadow var(--weich), transform var(--weich), opacity var(--weich);
}

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

::selection {
    background: rgba(212, 175, 55, 0.28);
    color: var(--navy);
}

.rahmen {
    max-width: var(--breite);
    margin: 0 auto;
    padding: 0 var(--rand);
    box-sizing: border-box;
}

.kicker {
    display: block;
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.textlink {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(212, 175, 55, 0.55);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 5px;
}

.textlink:hover {
    text-decoration-color: var(--gold);
    color: var(--navy-tief);
}

.knopf {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    line-height: 1.2;
}

.knopf-gold {
    background: var(--gold);
    color: var(--navy-tief);
}

.knopf-gold:hover {
    background: #e2c158;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -10px rgba(212, 175, 55, 0.6);
}

.knopf-hell {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

.knopf-hell:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

/* ---------- Startseite: Kopfbereich ---------- */

.start-kopf {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 90% at 85% 10%, rgba(40, 72, 140, 0.55) 0%, transparent 60%),
        linear-gradient(165deg, #0d2252 0%, var(--navy-tief) 100%);
    color: #ffffff;
    padding: 5.5rem 0 6rem;
}

.start-kopf__raster {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 4.5rem;
    align-items: center;
}

.start-kopf .kicker {
    color: #e0c26a;
}

.start-kopf h1 {
    color: #ffffff;
    font-weight: 600;
    font-size: clamp(2.1rem, 3.6vw, 3.25rem);
    line-height: 1.14;
    margin: 1rem 0 1.4rem;
}

.start-kopf__text,
.start-kopf__text p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.12rem;
    line-height: 1.75;
    max-width: 36rem;
    margin: 0;
}

.start-kopf__knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.25rem;
}

.start-kopf__beleg {
    margin: 0;
    justify-self: end;
    max-width: 440px;
}

.start-kopf__beleg img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
    transform: rotate(-2.2deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), 0 30px 60px -20px rgba(0, 0, 0, 0.65);
}

.start-kopf__beleg figcaption {
    margin-top: 1.4rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
    text-align: right;
}

/* ---------- Startseite: Aktuelles ---------- */

.start-aktuell {
    background: var(--papier);
    padding: 5.5rem 0 5rem;
}

.start-aktuell__raster {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 5rem;
    align-items: start;
}

.start-beitrag h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 600;
    line-height: 1.22;
    margin: 0.75rem 0 1.6rem;
}

.start-beitrag figure {
    margin: 0 0 2rem;
}

.start-beitrag figure img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    object-position: left center;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(11, 30, 71, 0.08), 0 18px 40px -22px rgba(11, 30, 71, 0.35);
}

.start-beitrag figcaption {
    margin-top: 0.9rem;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--leise);
    font-style: italic;
}

.start-beitrag__text,
.start-beitrag__text p {
    font-size: 1.06rem;
    line-height: 1.8;
    color: var(--text);
    max-width: 65ch;
    margin: 0 0 1.75rem;
}

.start-termine__kopf {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--navy);
}

.start-termine__kopf h2 {
    font-size: 1.45rem;
    font-weight: 600;
    margin: 0;
}

.start-termine__kopf a {
    font-size: 0.9rem;
    white-space: nowrap;
}

.termin-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.termin {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--linie);
}

.termin__datum {
    text-align: left;
    line-height: 1;
}

.termin__tag {
    display: block;
    font-family: var(--serif);
    font-size: 2.3rem;
    font-weight: 500;
    color: var(--navy);
    font-variant-numeric: lining-nums;
}

.termin__monat {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.termin__jahr {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    color: var(--leise);
    font-variant-numeric: tabular-nums;
}

.termin h3 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0.1rem 0 0.35rem;
}

.termin__meta {
    font-size: 0.86rem;
    color: var(--leise);
    margin: 0 0 0.35rem;
}

.termin__text {
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

/* ---------- Startseite: Neu auf dieser Seite ---------- */

.start-neu {
    background: var(--weiss);
    border-top: 1px solid var(--linie);
    padding: 4.5rem 0 5rem;
}

.start-neu .neu-titel {
    font-size: 1.45rem;
    font-weight: 600;
    margin: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--navy);
}

.start-neu .neu-liste {
    border-top: 0;
}

.start-neu .neu-liste li {
    grid-template-columns: 7rem 10rem minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--linie);
    font-size: 0.97rem;
}

.start-neu .neu-datum {
    color: var(--leise);
}

.start-neu .neu-art {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--gold-text);
}

.start-neu .neu-liste a {
    color: var(--navy);
    font-weight: 500;
}

.start-neu .neu-liste a:hover {
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 4px;
}

/* ---------- Fußzeile ----------
 * .fuss__band: links BDPh-Logo, Mitte Inhalt (Inhaltsbreite), rechts ALL-INKL-Logo, beide mittig.
 */

.fuss {
    background: var(--navy-tief);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.fuss__band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--breite)) minmax(0, 1fr);
    align-items: center;
}

.fuss__seite {
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.fuss__seite a {
    display: inline-flex;
    opacity: 0.85;
}

.fuss__seite a:hover {
    opacity: 1;
}

.fuss__bdph img {
    height: 54px;
    width: auto;
    filter: brightness(0) invert(1);
}

.fuss__hosting img {
    height: 34px;
    width: auto;
    max-width: 100%;
}

.fuss__raster {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 3rem;
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
}

.fuss__marke {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    color: #ffffff;
    text-decoration: none;
}

.fuss__marke img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.fuss__marke span {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 600;
}

.fuss__beschreibung {
    line-height: 1.65;
    max-width: 22rem;
    margin: 0;
}

.fuss h2 {
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e0c26a;
    margin: 0.6rem 0 1.2rem;
}

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

.fuss li {
    margin: 0 0 0.7rem;
}

.fuss a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.fuss ul a:hover {
    color: #ffffff;
}

.fuss__unten {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fuss__unten .rahmen {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    padding-top: 1.4rem;
    padding-bottom: 1.6rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.fuss__unten a {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.fuss__unten a:hover {
    color: #ffffff;
}

/* Wenn neben dem Inhalt kein Platz ist: Logos als eigene Zeile unter den Spalten */
@media (max-width: 1580px) {
    .fuss__band {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .fuss__band > .rahmen {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
    }

    .fuss__seite {
        grid-row: 2;
        padding: 0 var(--rand) 2.5rem;
    }

    .fuss__seite--links {
        justify-content: flex-start;
        padding-left: max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand)));
    }

    .fuss__seite--rechts {
        justify-content: flex-end;
        padding-right: max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand)));
    }
}

/* ---------- Unterseiten: Bausteine ----------
 * .seitenkopf   Kopf jeder Unterseite: Brotkrumen, .kicker, h1, .seitenkopf__text, optional .beleg-bild rechts
 * .abschnitt    Inhaltsbereich mit einheitlichem Abstand (darin .rahmen)
 * .karte        ruhige Fläche für Formulare, Tabellen, Werkzeuge (kein Schatten, feine Linie)
 * .etikett      kleines Text-Etikett statt farbiger Pillen
 * .datum-gross  Datum als Typografie (wie Termine auf der Startseite)
 * .zeilen-liste Einträge durch Linien getrennt statt einzelner Karten
 */

.seitenkopf {
    background: var(--weiss);
    border-bottom: 1px solid var(--linie);
    padding: 3.5rem 0 3.25rem;
}

.seitenkopf__raster {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 4rem;
    align-items: center;
}

.seitenkopf h1 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 600;
    line-height: 1.15;
    margin: 0.75rem 0 1rem;
}

.seitenkopf__text,
.seitenkopf__text p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--text);
    max-width: 40rem;
    margin: 0;
}

.brotkrumen {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    font-size: 0.82rem;
    color: var(--leise);
}

.brotkrumen li + li::before {
    content: '/';
    margin-right: 0.4rem;
    color: var(--linie);
}

.brotkrumen a {
    color: var(--leise);
}

.brotkrumen a:hover {
    color: var(--navy);
}

.abschnitt {
    padding: 4rem 0;
}

.abschnitt + .abschnitt {
    padding-top: 0;
}

.abschnitt__titel {
    font-size: 1.45rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--navy);
}

.karte {
    background: var(--weiss);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    padding: 2rem;
}

.karte h2,
.karte h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

a.karte:hover,
.karte--link:hover {
    border-color: #cfc6b2;
    box-shadow: 0 14px 32px -22px rgba(11, 30, 71, 0.35);
}

.karten-raster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.etikett {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.etikett--leise {
    color: var(--leise);
}

.datum-gross {
    line-height: 1;
}

.datum-gross__tag {
    display: block;
    font-family: var(--serif);
    font-size: 2.3rem;
    font-weight: 500;
    color: var(--navy);
}

.datum-gross__monat {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.datum-gross__jahr {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    color: var(--leise);
}

.zeilen-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--linie);
}

.zeilen-liste > li {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: start;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--linie);
}

.zeilen-liste h3 {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0.1rem 0 0.4rem;
}

.zeilen-liste p {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}

.knopf-navy {
    background: var(--navy);
    color: #ffffff;
}

.knopf-navy:hover {
    background: #13306b;
}

.knopf-linie {
    color: var(--navy);
    border-color: #cfc6b2;
    background: transparent;
}

.knopf-linie:hover {
    border-color: var(--navy);
}

@media (max-width: 980px) {
    .seitenkopf__raster {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 2.5rem !important;
    }
}

@media (max-width: 640px) {
    .seitenkopf {
        padding: 2.5rem 0 2.25rem;
    }

    .abschnitt {
        padding: 2.75rem 0;
    }

    .karte {
        padding: 1.4rem;
    }

    .zeilen-liste > li {
        grid-template-columns: 3.4rem minmax(0, 1fr);
        gap: 1rem;
    }

    .zeilen-liste > li > :nth-child(3) {
        grid-column: 2;
    }
}

/* ---------- Unterseiten: Beleg als Kopfbild ---------- */

.beleg-bild {
    margin: 0;
    justify-self: end;
    max-width: 420px;
    width: 100%;
}

.beleg-bild img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
    transform: rotate(1.6deg);
    box-shadow: 0 2px 4px rgba(11, 30, 71, 0.12), 0 26px 50px -24px rgba(11, 30, 71, 0.45);
}

.beleg-bild figcaption {
    margin-top: 1.2rem;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--leise);
    text-align: right;
}

@media (max-width: 980px) {
    .beleg-bild {
        justify-self: center;
        max-width: 340px;
    }

    .beleg-bild figcaption {
        text-align: center;
    }
}

/* Abbildungen und Bildunterschriften im Lesetext / Fachaufsatz deutlich vom Fließtext abheben */
.lesetext figure,
.article-body figure {
    margin: 2.25rem 0 2.5rem;
}

.lesetext figure > img,
.article-body figure > img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(11, 30, 71, 0.08), 0 18px 40px -22px rgba(11, 30, 71, 0.35);
}

.lesetext figure figcaption,
.article-body figure figcaption {
    margin-top: 0.75rem;
    padding: 0.65rem 1rem;
    background: var(--flaeche);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--leise);
    font-style: italic;
    hyphens: manual;
}

.lesetext figure figcaption strong,
.article-body figure figcaption strong {
    font-style: normal;
    color: var(--navy);
}

/* ---------- Unterseiten: ruhigere Karten ---------- */

html body .card {
    border-color: var(--linie);
    border-radius: var(--radius);
    box-shadow: none;
}

html body .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -20px rgba(11, 30, 71, 0.35);
}

/* Lesetexte (z. B. Über uns): Abschnitte statt Kästen */
html body .article-card-clean {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--linie);
    border-radius: 0;
    box-shadow: none;
    padding: 3rem 0 1.5rem;
    margin: 0;
}

html body .article-card-clean:first-child {
    border-top: 0;
    padding-top: 0;
}

html body .article-card-clean p,
html body .article-card-clean li {
    max-width: 70ch;
}

/* ---------- Tauschbörse: Inserate als Kacheln ---------- */

.kacheln {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.kacheln > .liste-leer,
.kacheln > .archiv-leer {
    grid-column: 1 / -1;
}

.kachel {
    display: flex;
    flex-direction: column;
    background: var(--weiss);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--weich), box-shadow var(--weich), transform var(--weich);
}

.kachel:hover {
    border-color: #cfc6b2;
    box-shadow: 0 16px 34px -22px rgba(11, 30, 71, 0.4);
    transform: translateY(-2px);
}

.kachel__bild {
    aspect-ratio: 4 / 3;
    background: var(--papier);
    border-bottom: 1px solid var(--linie);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.kachel__bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kachel__bild--leer img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    opacity: 0.22;
}

/* Deckblatt für Dokumente ohne Bild (Rundschreiben usw.): Heftnummer groß */
.kachel__heft {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    min-height: 128px;
    padding: 1.25rem 1.4rem;
    background: var(--navy);
    background-image: linear-gradient(160deg, #13306b 0%, var(--navy-tief) 100%);
    color: #ffffff;
}

.kachel__heft-art {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e0c26a;
}

.kachel__heft-nr {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.05;
}

.kachel__heft-nr--text {
    font-size: 1.3rem;
}

.kachel__inhalt {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    padding: 1.1rem 1.25rem 1.2rem;
}

.kachel__kopf {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    min-height: 1.75rem;
}

.kachel h3 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

.kachel .inserat__text,
.kachel__text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kachel__fuss {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--linie);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
}

.kachel__fuss .inserat__meta,
.kachel__meta {
    font-size: 0.78rem;
    color: var(--leise);
    text-align: right;
    margin: 0;
}

.kachel h3 a {
    color: var(--navy);
}

.kachel:hover h3 a {
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 4px;
}

.kachel__fuss > :last-child:not(:first-child) {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.kachel .inserat__aktionen {
    margin-top: 0.25rem;
}

/* ---------- Inhaltsseiten: Gliederung mit Icons, Hinweisen und Stichpunkten ----------
 * .icon-kreis        runder Rahmen für ein Linien-Icon (SVG 18 px, stroke="currentColor", stroke-width 1.6)
 * .info-raster       2–3 Spalten mit .info-kachel (Icon, h3, Text, optional Textlink)
 * .hinweis           abgesetzter Hinweis mit Icon (Varianten --gold, --navy)
 * .stichpunkte       Aufzählung mit goldenem Häkchen
 * .fakten            kurze Kennzahlen/Fakten nebeneinander (Zahl groß, Beschriftung klein)
 * .einleitung        Einleitungstext mit Goldlinie links
 */

.icon-kreis {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--papier);
    border: 1px solid var(--linie);
    color: var(--gold-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-kreis svg {
    width: 23px;
    height: 23px;
}

.info-raster {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 0 0 2.5rem;
}

.info-kachel {
    background: var(--weiss);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    padding: 1.5rem 1.5rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.info-kachel h3 {
    font-size: 1.12rem;
    font-weight: 600;
    margin: 0.4rem 0 0;
}

.info-kachel p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text);
}

.info-kachel .textlink {
    margin-top: auto;
    padding-top: 0.5rem;
    align-self: flex-start;
    font-size: 0.9rem;
}

.hinweis {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #faf6ec;
    border: 1px solid #ecdfbf;
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.2rem 1.4rem;
    margin: 0 0 2rem;
}

.hinweis .icon-kreis {
    background: var(--weiss);
}

.hinweis__inhalt {
    flex: 1;
    min-width: 0;
}

.hinweis h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0.15rem 0 0.35rem;
}

.hinweis p {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.hinweis__aktion {
    align-self: center;
    flex-shrink: 0;
}

.hinweis--navy {
    background: var(--navy);
    border-color: var(--navy);
    border-left-color: var(--gold);
    color: #ffffff;
}

.hinweis--navy h3 {
    color: #ffffff;
}

.hinweis--navy p {
    color: rgba(255, 255, 255, 0.8);
}

.hinweis--navy .icon-kreis {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #e0c26a;
}

.stichpunkte {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
}

.stichpunkte li {
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem;
    line-height: 1.6;
    color: var(--text);
    border-bottom: 1px solid var(--linie);
}

.stichpunkte li:last-child {
    border-bottom: 0;
}

.stichpunkte li::before {
    content: '';
    position: absolute;
    left: 0.15rem;
    top: 0.8rem;
    width: 1rem;
    height: 1rem;
    background: var(--gold-text);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.stichpunkte strong {
    color: var(--navy);
}

.fakten {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
    margin: 0 0 2.5rem;
    padding: 1.4rem 0;
    border-top: 1px solid var(--linie);
    border-bottom: 1px solid var(--linie);
}

.fakten div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.fakten strong {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.1;
    font-variant-numeric: lining-nums;
}

.fakten span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--leise);
}

.einleitung {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--tinte);
    border-left: 3px solid var(--gold);
    padding: 0.2rem 0 0.2rem 1.4rem;
    margin: 0 0 2.5rem;
    max-width: 70ch;
}

@media (max-width: 640px) {
    .hinweis {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hinweis__aktion {
        align-self: flex-start;
    }

    .fakten strong {
        font-size: 1.6rem;
    }
}

/* ---------- Mobil ---------- */

@media (max-width: 980px) {
    .start-kopf {
        padding: 3.5rem 0 4rem;
    }

    .start-kopf__raster,
    .start-aktuell__raster {
        grid-template-columns: minmax(0, 1fr);
        gap: 3.5rem;
    }

    .start-kopf__beleg {
        justify-self: center;
        max-width: 380px;
    }

    .start-aktuell {
        padding: 3.5rem 0;
    }

    .fuss__raster {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.5rem 2rem;
        padding-top: 3.5rem;
    }

    .fuss__spalte-marke {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    :root {
        --rand: 1.25rem;
    }

    .start-kopf {
        padding: 2.75rem 0 3.25rem;
    }

    .start-kopf h1 {
        font-size: 2rem;
    }

    .start-kopf__text,
    .start-kopf__text p {
        font-size: 1.02rem;
    }

    .start-kopf__knoepfe .knopf {
        flex: 1 1 100%;
        justify-content: center;
    }

    .start-kopf__beleg {
        max-width: 300px;
    }

    .start-kopf__beleg figcaption {
        text-align: center;
    }

    .start-aktuell {
        padding: 3rem 0;
    }

    .termin {
        grid-template-columns: 3.4rem minmax(0, 1fr);
        gap: 1rem;
        padding: 1.25rem 0;
    }

    .termin__tag {
        font-size: 1.9rem;
    }

    .start-termine__kopf {
        flex-direction: column;
        gap: 0.4rem;
    }

    .start-neu {
        padding: 3rem 0 3.5rem;
    }

    html body .article-card-clean {
        padding: 2.25rem 0 1rem !important;
    }

    .start-neu .neu-liste li {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.2rem;
    }

    .fuss__raster {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .fuss__unten .rahmen {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
    }
}
