@import url('fonts.css');

/* ==========================================================================
   KANZLEI WESTEND – Redaktionelles Editorial-Design
   Elfenbein · Bordeauxrot · Schwarz · gedämpfte Grautöne
   ========================================================================== */

:root {
    --elfenbein:      #f3efe6;
    --elfenbein-2:    #faf8f2;
    --elfenbein-3:    #e9e3d6;
    --bordeaux:       #6d1526;
    --bordeaux-dark:  #4e0e1a;
    --bordeaux-light: #8d2237;
    --tinte:          #f0e4e2;
    --schwarz:        #16130f;
    --graphit:        #2b2723;
    --grau-700:       #454039;
    --grau-500:       #625c52;
    --grau-400:       #6e685d;
    --grau-300:       #a9a296;
    --grau-200:       #d5cec1;
    --linie:          #d5cec1;
    --linie-hell:     #e5dfd4;

    --serif: 'Source Serif 4', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

    --breite: 1240px;
    --spalte: 720px;
    --radius: 0px;

    --schritt: 1.55;
    --kopf-versatz: 104px;
}

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

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--kopf-versatz) + 24px);
}

body {
    margin: 0;
    background: var(--elfenbein-2);
    color: var(--schwarz);
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 400;
    line-height: var(--schritt);
    font-feature-settings: 'kern' 1, 'liga' 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--bordeaux);
    text-decoration: none;
    border-bottom: 1px solid rgba(109, 21, 38, 0.32);
    transition: border-color .18s ease, color .18s ease;
}
a:hover { color: var(--bordeaux-light); border-bottom-color: var(--bordeaux-light); }

h1, h2, h3, h4, h5 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.16;
    color: var(--schwarz);
    margin: 0 0 .55em;
    letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem); }
h3 { font-size: clamp(1.28rem, 1.1rem + 0.7vw, 1.6rem); }
h4 { font-size: 1.12rem; }

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

ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: .5em; }
li::marker { color: var(--bordeaux); }

hr {
    border: 0;
    border-top: 1px solid var(--linie);
    margin: 2.6rem 0;
}

blockquote {
    margin: 2.2rem 0;
    padding: 0 0 0 1.6rem;
    border-left: 2px solid var(--bordeaux);
    font-family: var(--serif);
    font-size: 1.22rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--graphit);
}
blockquote cite {
    display: block;
    margin-top: .7rem;
    font-family: var(--sans);
    font-size: .74rem;
    font-style: normal;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--grau-500);
}

small { font-size: .82rem; }
code, kbd {
    font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
    font-size: .88em;
    background: var(--elfenbein-3);
    padding: .1em .35em;
}

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--bordeaux); color: var(--elfenbein-2); }

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

/* Sprungmarke für Tastaturbedienung: nur bei Fokus sichtbar */
.sprungmarke {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--schwarz);
    color: var(--elfenbein-2);
    padding: .8rem 1.2rem;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-bottom: 0;
}
.sprungmarke:focus {
    left: 0;
}

/* --------------------------------------------------------------------------
   Layout-Bausteine
   -------------------------------------------------------------------------- */

.wrap {
    width: 100%;
    max-width: var(--breite);
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 56px);
}
.wrap--narrow { max-width: 900px; }

.raster {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(24px, 3vw, 44px);
}

.abschnitt { padding-block: clamp(56px, 8vw, 104px); }
.abschnitt--kompakt { padding-block: clamp(40px, 5vw, 68px); }
.abschnitt--rand { border-top: 1px solid var(--linie); }
.abschnitt--rand-unten { border-bottom: 1px solid var(--linie); }
.abschnitt--elfenbein { background: var(--elfenbein); }
.abschnitt--dunkel { background: var(--graphit); color: var(--elfenbein-3); }
.abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: var(--elfenbein-2); }
.abschnitt--dunkel a { color: #e6c9c0; border-bottom-color: rgba(230,201,192,.4); }
.abschnitt--dunkel .lede { color: #cdc6bb; }

.spalte-4  { grid-column: span 4; }
.spalte-5  { grid-column: span 5; }
.spalte-6  { grid-column: span 6; }
.spalte-7  { grid-column: span 7; }
.spalte-8  { grid-column: span 8; }
.spalte-9  { grid-column: span 9; }
.spalte-12 { grid-column: span 12; }

/* --------------------------------------------------------------------------
   Typografische Bausteine
   -------------------------------------------------------------------------- */

.kicker {
    display: block;
    font-family: var(--sans);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .19em;
    text-transform: uppercase;
    color: var(--bordeaux);
    margin-bottom: .9rem;
}
.kicker--neutral { color: var(--grau-500); }
.kicker--hell { color: #c8a9a0; }

.titel-block { margin-bottom: clamp(32px, 4vw, 56px); }

.lede {
    font-family: var(--serif);
    font-size: clamp(1.14rem, 1rem + .55vw, 1.42rem);
    line-height: 1.56;
    color: var(--graphit);
    font-weight: 300;
    max-width: 46ch;
}
.abschnitt--dunkel .lede { color: #d7cfc4; }

.zwischen {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.12rem;
    color: var(--grau-700);
}

.fehler { color: var(--bordeaux); font-weight: 500; }

.regel-titel {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    border-bottom: 2px solid var(--schwarz);
    padding-bottom: .65rem;
    margin-bottom: 1.8rem;
}
.regel-titel h2, .regel-titel h3 { margin: 0; }
.regel-titel__nr {
    font-family: var(--sans);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .16em;
    color: var(--bordeaux);
    text-transform: uppercase;
}
.regel-titel__rest { flex: 1; }

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

.kopf {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--elfenbein-2);
    border-bottom: 1px solid var(--linie);
}
.kopf__zeile-oben {
    border-bottom: 1px solid var(--linie-hell);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--grau-500);
}
.kopf__zeile-oben .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 38px;
}
.kopf__zeile-oben a { color: var(--grau-500); border-bottom-color: transparent; }
.kopf__zeile-oben a:hover { color: var(--bordeaux); }

.kopf__marke {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-block: .95rem;
}

.marke { display: flex; align-items: baseline; gap: .85rem; }
.marke__name {
    font-family: var(--serif);
    font-size: 1.42rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--schwarz);
    border-bottom: 0;
}
.marke__name:hover { color: var(--bordeaux); }
.marke__zusatz {
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--grau-500);
    padding-left: .85rem;
    border-left: 1px solid var(--linie);
}

.kopf__werkzeug { display: flex; align-items: center; gap: 1.1rem; }

.suche-form {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--linie);
    background: var(--elfenbein);
    transition: border-color .18s ease;
}
.suche-form:focus-within { border-color: var(--bordeaux); }
.suche-form input {
    border: 0;
    background: transparent;
    padding: .5rem .8rem;
    width: 190px;
    font-size: .82rem;
    color: var(--schwarz);
}
.suche-form input:focus { outline: 0; }
.suche-form button {
    border: 0;
    background: var(--graphit);
    color: var(--elfenbein-2);
    padding: 0 .85rem;
    cursor: pointer;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background .18s ease;
}
.suche-form button:hover { background: var(--bordeaux); }

.knopf {
    display: inline-block;
    padding: .72rem 1.4rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: 1px solid var(--schwarz);
    background: var(--schwarz);
    color: var(--elfenbein-2);
    cursor: pointer;
    border-radius: var(--radius);
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.knopf:hover { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.knopf--hell { background: transparent; color: var(--schwarz); }
.knopf--hell:hover { background: var(--schwarz); color: var(--elfenbein-2); border-color: var(--schwarz); }
.knopf--bordeaux { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.knopf--bordeaux:hover { background: var(--bordeaux-dark); border-color: var(--bordeaux-dark); }
.knopf--klein { padding: .48rem .95rem; font-size: .66rem; }
.knopf--breit { display: block; text-align: center; width: 100%; }

/* Navigation */
.nav { border-top: 1px solid var(--linie-hell); }
.nav__liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.nav__liste > li { margin: 0; }
.nav__liste > li > a {
    display: block;
    padding: .78rem 1.05rem;
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--graphit);
    border-bottom: 2px solid transparent;
    border-left: 0; border-right: 0; border-top: 0;
}
.nav__liste > li:first-child > a { padding-left: 0; }
.nav__liste > li > a:hover { color: var(--bordeaux); border-bottom-color: var(--bordeaux); }
.nav__liste > li.aktiv > a { color: var(--bordeaux); border-bottom-color: var(--bordeaux); }

/* Dropdown für Rechtsgebiete */
.nav__gruppe { position: relative; }
.nav__unter {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 330px;
    background: var(--elfenbein-2);
    border: 1px solid var(--linie);
    box-shadow: 0 18px 40px -24px rgba(20,19,15,.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    z-index: 70;
}
.nav__gruppe:hover .nav__unter,
.nav__gruppe:focus-within .nav__unter {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__unter a {
    display: block;
    padding: .6rem 1.05rem;
    font-size: .8rem;
    color: var(--graphit);
    border-bottom: 1px solid var(--linie-hell);
    border-left: 0; border-right: 0; border-top: 0;
}
.nav__unter a:hover { background: var(--elfenbein); color: var(--bordeaux); }
.nav__unter li:last-child a { border-bottom: 0; }
.nav__unter--breit { min-width: 640px; display: grid; grid-template-columns: 1fr 1fr; }
.nav__unter--breit li:nth-child(odd) { border-right: 1px solid var(--linie-hell); }

.kopf__burger {
    display: none;
    background: none;
    border: 1px solid var(--linie);
    padding: .5rem .7rem;
    cursor: pointer;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--graphit);
}

/* --------------------------------------------------------------------------
   Startseite – Typografischer Auftakt
   -------------------------------------------------------------------------- */

.auftritt { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.auftritt__zeile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: clamp(28px, 5vw, 72px);
    align-items: end;
}
.auftritt__marke {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--grau-500);
    margin-bottom: 1.6rem;
}
.auftritt__marke::before {
    content: '';
    width: 34px;
    height: 1px;
    background: var(--bordeaux);
}
.auftritt h1 { margin-bottom: .45em; }
.auftritt__zusatz {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.05rem, .95rem + .6vw, 1.32rem);
    color: var(--bordeaux);
    margin-bottom: 1.6rem;
}
.auftritt__text {
    font-size: 1.02rem;
    color: var(--grau-700);
    max-width: 56ch;
    line-height: 1.72;
}
.auftritt__fakten {
    border-top: 2px solid var(--schwarz);
    font-size: .84rem;
}
.auftritt__fakten dl { margin: 0; }
.auftritt__fakten div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .62rem 0;
    border-bottom: 1px solid var(--linie-hell);
}
.auftritt__fakten dt { color: var(--grau-500); }
.auftritt__fakten dd { margin: 0; color: var(--graphit); font-weight: 500; text-align: right; }

.auftritt__fussnote {
    margin-top: 1.2rem;
    font-size: .76rem;
    color: var(--grau-400);
    font-style: italic;
}

/* Themenraster */
.themen { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.themen > li { margin: 0; }
.themen__link {
    display: block;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--linie);
    color: inherit;
    border-left: 0; border-right: 0; border-top: 0;
    transition: padding-left .2s ease;
}
.themen__link:hover { color: inherit; padding-left: .5rem; }
.themen__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.themen__name {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--schwarz);
}
.themen__link:hover .themen__name { color: var(--bordeaux); }
.themen__nr {
    font-size: .68rem;
    letter-spacing: .14em;
    color: var(--grau-400);
}
.themen__text {
    margin: .45rem 0 0;
    font-size: .9rem;
    color: var(--grau-500);
    max-width: 54ch;
}

/* Beitragsraster */
.beitraege { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 3vw, 40px); }
.beitrag { border-top: 2px solid var(--schwarz); padding-top: 1.05rem; }
.beitrag__rubrik {
    font-size: .66rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--bordeaux);
    margin-bottom: .6rem;
}
.beitrag__titel {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .55rem;
}
.beitrag__titel a { color: inherit; border-bottom: 0; }
.beitrag__titel a:hover { color: var(--bordeaux); }
.beitrag__text { font-size: .88rem; color: var(--grau-500); line-height: 1.65; }
.beitrag__meta {
    margin-top: .8rem;
    font-size: .72rem;
    letter-spacing: .06em;
    color: var(--grau-400);
    text-transform: uppercase;
}

/* Porträts */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 34px); }
.person { border-top: 1px solid var(--linie); padding-top: 1.2rem; }
.person__initialen {
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1;
    color: var(--elfenbein-3);
    -webkit-text-stroke: 1px var(--grau-300);
    margin-bottom: 1rem;
}
.person__name {
    font-family: var(--serif);
    font-size: 1.14rem;
    font-weight: 600;
    margin-bottom: .25rem;
}
.person__funktion {
    font-size: .68rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--bordeaux);
    margin-bottom: .7rem;
}
.person__text { font-size: .86rem; color: var(--grau-500); line-height: 1.6; }
.person__felder { margin: .9rem 0 0; font-size: .78rem; color: var(--grau-500); }
.person__felder span { color: var(--grau-400); }

/* Infokasten */
.kaesten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.kaeste {
    padding: 1.8rem 1.6rem;
    border-left: 1px solid var(--linie);
}
.kaesten .kaeste:first-child { border-left: 0; padding-left: 0; }
.kaesten .kaeste:last-child { padding-right: 0; }
.kaeste__titel {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: .55rem;
}
.kaeste__text { font-size: .9rem; color: var(--grau-500); line-height: 1.68; }
.kaeste__text p { margin-bottom: .8em; }
.kaeste__text p:last-child { margin-bottom: 0; }
.kaeste__links { list-style: none; margin: .9rem 0 0; padding: 0; }
.kaeste__links li { margin-bottom: .4rem; font-size: .86rem; }
.kaeste__links a { border-bottom-color: rgba(109,21,38,.25); }

/* Zitat-Band */
.zitat {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2.05rem);
    font-weight: 300;
    line-height: 1.42;
    color: var(--elfenbein-2);
    max-width: 26ch;
}
.zitat-band {
    background: var(--graphit);
    padding-block: clamp(48px, 6vw, 80px);
    position: relative;
    overflow: hidden;
}
.zitat-band::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/treppe.webp');
    background-size: cover;
    background-position: center;
    opacity: .1;
    mix-blend-mode: luminosity;
}
.zitat-band .wrap { position: relative; z-index: 1; }
.zitat-band__quelle {
    margin-top: 1.4rem;
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #b9b0a3;
}

/* Kontaktband */
.kontaktband { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.kontaktband__zeile { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 1.6rem; }
.kontaktangabe { min-width: 180px; }
.kontaktangabe__label {
    font-size: .66rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--grau-500);
    margin-bottom: .3rem;
}
.kontaktangabe__wert { font-size: .96rem; color: var(--graphit); line-height: 1.55; }
.kontaktangabe__wert a { border-bottom-color: rgba(109,21,38,.28); }

/* --------------------------------------------------------------------------
   Unterseiten
   -------------------------------------------------------------------------- */

.breadcrumb { font-size: .72rem; letter-spacing: .06em; color: var(--grau-500); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.breadcrumb li { margin: 0; display: flex; gap: .45rem; align-items: center; }
.breadcrumb li + li::before { content: '/'; color: var(--grau-300); }
.breadcrumb a { color: var(--grau-500); border-bottom-color: transparent; }
.breadcrumb a:hover { color: var(--bordeaux); }
.breadcrumb [aria-current] { color: var(--graphit); }

.seitenkopf {
    padding-block: clamp(28px, 4vw, 52px) clamp(36px, 5vw, 66px);
    border-bottom: 1px solid var(--linie);
    background: var(--elfenbein);
}
.seitenkopf__raster {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(32px, 5vw, 72px);
    align-items: end;
}
.seitenkopf h1 { margin-bottom: .35em; }
.seitenkopf__zusatz { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--bordeaux); margin-bottom: 1rem; }
.seitenkopf__text { font-size: 1rem; color: var(--grau-700); max-width: 62ch; }
.seitenkopf__zusatz + .seitenkopf__text { max-width: 58ch; }
.seitenkopf__stichwort { font-size: .82rem; color: var(--grau-500); }
.seitenkopf__stichwort strong { display: block; color: var(--graphit); font-weight: 500; }

.inhalt-raster {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}
.inhalt-raster--mitte { grid-template-columns: 230px minmax(0, 1fr); }

/* Rechte Spalte: alle Blöcke auf einer gemeinsamen linken Achse */
.inhalt-raster > aside { display: flex; flex-direction: column; }
.inhalt-raster > aside > .schiene { padding-left: 0; }
.inhalt-raster > aside > .schiene + .schiene { margin-top: 2.2rem; }

.fluss { max-width: 68ch; }
.fluss > h2 { margin-top: 2.6rem; }
.fluss > h2:first-child { margin-top: 0; }
.fluss > h3 { margin-top: 2rem; }
.fluss p, .fluss li { font-size: 1.03rem; line-height: 1.74; color: var(--graphit); }
.fluss > p.lede { font-size: 1.16rem; }
.fluss > section > p { max-width: 66ch; }
.fluss > .lede { max-width: 58ch; }

.absatz { margin-bottom: 1.5rem; }

.liste-fach {
    list-style: none;
    margin: 0 0 1.6rem;
    padding: 0;
    border-top: 1px solid var(--linie);
}
.liste-fach li {
    display: grid;
    grid-template-columns: 2.6rem 1fr;
    gap: 1rem;
    padding: .95rem 0;
    border-bottom: 1px solid var(--linie-hell);
    margin: 0;
    font-size: .96rem;
    line-height: 1.68;
}
.liste-fach li::before {
    counter-increment: fachzaehler;
    content: counter(fachzaehler, decimal-leading-zero);
    font-size: .7rem;
    letter-spacing: .1em;
    color: var(--bordeaux);
    padding-top: .28rem;
}
.liste-fach { counter-reset: fachzaehler; }

/* Seitenschiene */
.schiene { position: sticky; top: calc(var(--kopf-versatz) + 18px); font-size: .86rem; }
.schiene + .schiene { margin-top: 2rem; }
.schiene__titel {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--schwarz);
    border-bottom: 1px solid var(--schwarz);
    padding-bottom: .5rem;
    margin-bottom: .9rem;
}
.schiene ol, .schiene ul { list-style: none; margin: 0; padding: 0; }
.schiene li { margin-bottom: .55rem; line-height: 1.5; }
.schiene li a { color: var(--grau-700); border-bottom-color: transparent; }
.schiene li a:hover { color: var(--bordeaux); border-bottom-color: rgba(109,21,38,.35); }
.schiene li.aktiv > a { color: var(--bordeaux); font-weight: 500; border-bottom-color: var(--bordeaux); }

/* Inhaltsverzeichnis der Fachseite: Links zurücknehmen, nur der aktive Abschnitt tritt hervor */
.verzeichnis li a { color: var(--grau-500); }
.verzeichnis li a:hover { color: var(--bordeaux); }
.verzeichnis li.aktiv > a {
    color: var(--bordeaux);
    font-weight: 500;
    border-bottom-color: var(--bordeaux);
}
.schiene__kontakt {
    background: var(--elfenbein);
    border: 1px solid var(--linie);
    padding: 1.3rem;
}
.schiene__kontakt p { font-size: .86rem; color: var(--grau-700); line-height: 1.6; margin-bottom: .9rem; }
.schiene__kontakt strong { display: block; font-family: var(--serif); font-size: 1.05rem; margin-bottom: .3rem; }

/* Hinweisboxen */
.hinweis {
    margin: 2rem 0;
    padding: 1.15rem 1.35rem;
    background: var(--elfenbein);
    border-left: 3px solid var(--bordeaux);
    font-size: .9rem;
    line-height: 1.65;
    color: var(--grau-700);
}
.hinweis p { margin: 0; }
.hinweis__label {
    display: inline-block;
    font-family: var(--sans);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--bordeaux);
    margin-right: .6rem;
}
.hinweis--pruef { background: var(--tinte); border-left-color: var(--bordeaux); }
.hinweis--demo { background: #f0efe9; border-left-color: var(--grau-400); }
.hinweis--demo .hinweis__label { color: var(--grau-500); }
.hinweis--tipp { background: var(--elfenbein-3); border-left-color: var(--graphit); }
.hinweis--tipp .hinweis__label { color: var(--graphit); }

/* Beispielkasten */
.beispiel {
    margin: 2.2rem 0;
    padding: 1.6rem 1.8rem;
    background: var(--elfenbein);
    border-top: 1px solid var(--linie);
    border-bottom: 1px solid var(--linie);
}
.beispiel__label {
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--bordeaux);
    margin-bottom: .8rem;
}
.beispiel p { font-size: .98rem; line-height: 1.7; color: var(--graphit); }
.beispiel p:last-child { margin-bottom: 0; }

/* FAQ */
.faq { margin: 2rem 0; }
.faq__frage {
    border-top: 1px solid var(--linie);
    padding-top: 1.1rem;
    margin-top: 1.4rem;
}
.faq__frage:first-child { margin-top: 0; }
.faq__frage summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--serif);
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--schwarz);
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    align-items: baseline;
    line-height: 1.4;
}
.faq__frage summary::-webkit-details-marker { display: none; }
.faq__frage summary::after {
    content: '+';
    font-family: var(--sans);
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--bordeaux);
    line-height: 1;
    flex: 0 0 auto;
}
.faq__frage[open] summary::after { content: '–'; }
.faq__frage summary:hover { color: var(--bordeaux); }
.faq__antwort { padding: .9rem 0 .3rem; }
.faq__antwort p { font-size: .97rem; line-height: 1.72; color: var(--grau-700); }
.faq__antwort p:last-child { margin-bottom: 0; }

/* Tabellen */
.tabelle-huelle { overflow-x: auto; margin: 2rem 0; }
table.tabelle {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
    background: var(--elfenbein-2);
}
table.tabelle caption {
    text-align: left;
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--grau-500);
    padding-bottom: .7rem;
}
table.tabelle th {
    text-align: left;
    font-weight: 600;
    font-size: .72rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--elfenbein-2);
    background: var(--graphit);
    padding: .7rem .9rem;
}
table.tabelle td {
    padding: .75rem .9rem;
    border-bottom: 1px solid var(--linie);
    vertical-align: top;
    line-height: 1.6;
}
table.tabelle tr:last-child td { border-bottom: 0; }
table.tabelle tbody tr:nth-child(even) { background: var(--elfenbein); }

/* Abbildungen */
.foto { margin: 2.4rem 0; }
.foto img { width: 100%; }
.foto figcaption {
    margin-top: .8rem;
    font-size: .76rem;
    line-height: 1.55;
    color: var(--grau-500);
    border-top: 1px solid var(--linie);
    padding-top: .6rem;
}
.foto--schmal { max-width: 520px; }

/* Fußnoten */
.fussnoten {
    margin-top: 3rem;
    border-top: 1px solid var(--linie);
    padding-top: 1.2rem;
    font-size: .82rem;
    line-height: 1.6;
    color: var(--grau-500);
}
.fussnoten ol { padding-left: 1.2em; }
.fussnoten li { margin-bottom: .4rem; }
.fussnoten sup, .fluss sup {
    font-size: .68em;
    color: var(--bordeaux);
    font-weight: 600;
    vertical-align: super;
}

/* --------------------------------------------------------------------------
   Wissensdatenbank, Filter, Suche
   -------------------------------------------------------------------------- */

.filterleiste {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--linie);
    align-items: center;
}
.filterleiste__label {
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--grau-500);
    margin-right: .4rem;
}
.chip {
    display: inline-block;
    padding: .38rem .85rem;
    border: 1px solid var(--linie);
    background: transparent;
    font-size: .76rem;
    color: var(--grau-700);
    cursor: pointer;
    border-radius: 999px;
    transition: all .16s ease;
    font-family: var(--sans);
}
.chip:hover { border-color: var(--bordeaux); color: var(--bordeaux); }
.chip.aktiv { background: var(--schwarz); border-color: var(--schwarz); color: var(--elfenbein-2); }

.artikelliste { list-style: none; margin: 0; padding: 0; }
.artikelliste > li { margin: 0; }
.artikelliste__eintrag {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 200px;
    gap: 1.6rem;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--linie-hell);
    align-items: start;
}
.artikelliste__rubrik {
    font-size: .66rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--bordeaux);
    padding-top: .35rem;
}
.artikelliste__titel {
    font-family: var(--serif);
    font-size: 1.28rem;
    font-weight: 600;
    line-height: 1.32;
    margin-bottom: .5rem;
}
.artikelliste__titel a { color: inherit; border-bottom: 0; }
.artikelliste__titel a:hover { color: var(--bordeaux); }
.artikelliste__text { font-size: .92rem; color: var(--grau-500); line-height: 1.68; }
.artikelliste__meta { font-size: .74rem; color: var(--grau-400); text-align: right; padding-top: .35rem; }
.artikelliste__meta span { display: block; }
.artikelliste__eintrag.versteckt { display: none; }

.trefferzahl {
    font-size: .82rem;
    color: var(--grau-500);
    padding: 1rem 0;
    border-bottom: 1px solid var(--linie);
    margin-bottom: .5rem;
}
.trefferzahl strong { color: var(--schwarz); }

.suchfeld-gross {
    width: 100%;
    padding: .9rem 1.1rem;
    border: 1px solid var(--linie);
    background: var(--elfenbein-2);
    font-size: 1rem;
    color: var(--schwarz);
    transition: border-color .18s ease;
}
.suchfeld-gross:focus { outline: 0; border-color: var(--bordeaux); }

.leeresuchergebnis {
    padding: 2.5rem 0;
    text-align: center;
    color: var(--grau-500);
    border-bottom: 1px solid var(--linie);
}

/* Glossar */
.glossar { list-style: none; margin: 0; padding: 0; }
.glossar__eintrag {
    border-top: 1px solid var(--linie);
    padding: 1.3rem 0;
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 1.6rem;
    align-items: start;
}
.glossar__eintrag.versteckt { display: none; }
.glossar__begriff {
    font-family: var(--serif);
    font-size: 1.16rem;
    font-weight: 600;
    color: var(--schwarz);
    margin-bottom: .3rem;
}
.glossar__zusatz { font-size: .74rem; color: var(--grau-400); }
.glossar__definition { font-size: .95rem; line-height: 1.72; color: var(--grau-700); }
.glossar__definition p { margin-bottom: .7em; }
.glossar__definition p:last-child { margin-bottom: 0; }
.glossar__quelle { margin-top: .5rem; font-size: .78rem; color: var(--grau-400); font-style: italic; }

/* --------------------------------------------------------------------------
   Mahnverfahren – interaktive Schritte
   -------------------------------------------------------------------------- */

.schrittweg { counter-reset: schritt; margin: 0; padding: 0; list-style: none; }
.schrittweg > li {
    counter-increment: schritt;
    position: relative;
    padding: 0 0 2rem 4.2rem;
    margin: 0;
    border-left: 1px solid var(--linie);
}
.schrittweg > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.schrittweg > li::before {
    content: counter(schritt, decimal-leading-zero);
    position: absolute;
    left: -1.15rem;
    top: -.15rem;
    width: 2.3rem;
    height: 2.3rem;
    display: grid;
    place-items: center;
    background: var(--schwarz);
    color: var(--elfenbein-2);
    font-family: var(--serif);
    font-size: .88rem;
    font-weight: 600;
    border-radius: 50%;
}
.schrittweg__titel { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: .5rem; }
.schrittweg__meta {
    font-size: .74rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--grau-400);
    margin-bottom: .7rem;
}
.schrittweg__text { font-size: .97rem; line-height: 1.7; color: var(--grau-700); }

.schrittumschalter {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2.2rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--linie);
}
.schrittumschalter__knopf {
    flex: 1 1 190px;
    text-align: left;
    padding: .9rem 1.1rem;
    border: 1px solid var(--linie);
    background: var(--elfenbein-2);
    cursor: pointer;
    font-family: var(--sans);
    transition: all .18s ease;
    color: var(--graphit);
}
.schrittumschalter__knopf:hover { border-color: var(--bordeaux); }
.schrittumschalter__knopf[aria-selected='true'] {
    background: var(--schwarz);
    border-color: var(--schwarz);
    color: var(--elfenbein-2);
}
.schrittumschalter__nr {
    display: block;
    font-size: .64rem;
    letter-spacing: .14em;
    opacity: .65;
    margin-bottom: .35rem;
}
.schrittumschalter__name { font-family: var(--serif); font-size: 1.02rem; font-weight: 600; }
.schrittweg .schritt-detail { display: none; }
.schrittweg .schritt-detail.offen { display: block; }

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

.formular { max-width: 78ch; }
.formular__feld { margin-bottom: 1.5rem; }
.formular__feld label {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--graphit);
    margin-bottom: .45rem;
}
.formular__feld .pflicht { color: var(--bordeaux); }
.formular__hinweis { font-size: .8rem; color: var(--grau-500); margin-top: .4rem; }
.formular__pflicht { font-size: .8rem; color: var(--grau-500); margin-bottom: 1.6rem; }

input[type='text'], input[type='email'], input[type='tel'], input[type='date'],
input[type='number'], select, textarea {
    width: 100%;
    padding: .72rem .9rem;
    border: 1px solid var(--linie);
    background: var(--elfenbein-2);
    font-size: .95rem;
    color: var(--schwarz);
    transition: border-color .18s ease, background .18s ease;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234a453e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .9rem center;
    padding-right: 2.4rem;
}
textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--bordeaux); background: #fff; }
input::placeholder, textarea::placeholder { color: var(--grau-400); }

.formular__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.formular__gruppe {
    border: 1px solid var(--linie);
    padding: 1.4rem 1.5rem;
    margin-bottom: 1.8rem;
    background: var(--elfenbein-2);
}
.formular__gruppe legend {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0 .5rem;
    color: var(--schwarz);
}

.checkreihe { display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; }
.checkreihe label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    color: var(--grau-700);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    margin: 0;
    cursor: pointer;
}
.checkreihe input[type='checkbox'], .checkreihe input[type='radio'] {
    width: auto;
    margin: 0;
    accent-color: var(--bordeaux);
}

.formular__meldung {
    padding: 1.1rem 1.3rem;
    border-left: 3px solid var(--bordeaux);
    background: var(--tinte);
    margin-bottom: 1.8rem;
    font-size: .92rem;
}
.formular__meldung--erfolg { border-left-color: #2f6b3a; background: #e9f0e7; }

/* --------------------------------------------------------------------------
   Downloadbereich
   -------------------------------------------------------------------------- */

.downloads { list-style: none; margin: 0; padding: 0; }
.download {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr) 150px;
    gap: 1.5rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--linie-hell);
    align-items: start;
}
.download__typ {
    font-size: .66rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bordeaux);
    border: 1px solid var(--linie);
    padding: .3rem .5rem;
    text-align: center;
}
.download__titel { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; margin-bottom: .4rem; }
.download__text { font-size: .9rem; color: var(--grau-500); line-height: 1.62; }
.download__meta { font-size: .76rem; color: var(--grau-400); text-align: right; }

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

.fuss {
    background: var(--schwarz);
    color: #a79f93;
    padding-block: clamp(48px, 6vw, 76px) 0;
    font-size: .87rem;
}
.fuss__raster {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: clamp(24px, 3vw, 48px);
    padding-bottom: 3rem;
}
.fuss__marke {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--elfenbein-2);
    margin-bottom: .6rem;
}
.fuss__zusatz { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #7d756a; margin-bottom: 1.1rem; }
.fuss__text { max-width: 38ch; line-height: 1.7; }
.fuss h4 {
    font-family: var(--sans);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--elfenbein-3);
    margin-bottom: .9rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid #33302b;
}
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .45rem; }
.fuss a { color: #a79f93; border-bottom-color: transparent; }
.fuss a:hover { color: var(--elfenbein-2); }
.fuss__kontakt li { line-height: 1.55; }
.fuss__zeile {
    border-top: 1px solid #2c2925;
    padding-block: 1.4rem 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    align-items: center;
    font-size: .76rem;
    color: #7d756a;
}
.fuss__zeile ul { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.fuss__zeile li { margin: 0; }
.fuss__demo {
    margin-top: 1.2rem;
    padding: .9rem 1.1rem;
    border: 1px solid #33302b;
    font-size: .78rem;
    color: #918a7e;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    .team { grid-template-columns: repeat(2, 1fr); }
    .fuss__raster { grid-template-columns: 1fr 1fr; }
    .artikelliste__eintrag { grid-template-columns: 130px minmax(0, 1fr); }
    .artikelliste__meta { grid-column: 2; text-align: left; }
}

@media (max-width: 900px) {
    :root { --kopf-versatz: 64px; }
    .auftritt__zeile, .seitenkopf__stichwort, .kontaktband, .seitenkopf__raster {
        grid-template-columns: 1fr;
    }
    .auftritt__zeile { align-items: start; }
    .inhalt-raster, .inhalt-raster--mitte { grid-template-columns: 1fr; }
    .schiene { position: static; }
    .beitraege, .kaesten { grid-template-columns: 1fr 1fr; }
    .kaesten .kaeste:nth-child(3) { border-left: 0; padding-left: 0; }
    .kaesten .kaeste { border-top: 1px solid var(--linie); }
    .kaesten .kaeste:first-child { border-top: 0; }
    .glossar__eintrag { grid-template-columns: 1fr; gap: .6rem; }
    .download { grid-template-columns: 110px minmax(0, 1fr); }
    .download__meta { grid-column: 2; text-align: left; }
    .kopf__zeile-oben { display: none; }
    .marke__zusatz { display: none; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .kopf__marke { flex-wrap: wrap; gap: .8rem; }
    .kopf__werkzeug { width: 100%; }
    .suche-form { flex: 1; }
    .suche-form input { width: 100%; }
    .suche-form button { display: none; }
    .kopf__burger { display: block; }
    .nav__liste { display: none; flex-direction: column; padding-bottom: .6rem; }
    .nav__liste.offen { display: flex; }
    .nav__liste > li > a { padding: .7rem 0; }
    .nav__unter {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none;
        min-width: 0;
        border: 0;
        border-left: 1px solid var(--linie);
        margin: 0 0 .4rem .5rem;
        display: block;
    }
    .nav__unter--breit { grid-template-columns: 1fr; }
    .nav__unter--breit li:nth-child(odd) { border-right: 0; }
    .beitraege, .kaesten, .team { grid-template-columns: 1fr; }
    .kaesten .kaeste { border-left: 0; padding: 1.4rem 0; }
    .formular__reihe { grid-template-columns: 1fr; gap: 0; }
    .fuss__raster { grid-template-columns: 1fr; }
    .artikelliste__eintrag { grid-template-columns: 1fr; gap: .5rem; }
    .artikelliste__meta { grid-column: 1; }
    .schrittweg > li { padding-left: 3.2rem; }
    .schrittweg > li::before { width: 2rem; height: 2rem; font-size: .8rem; }
    .kontaktband__zeile { gap: 1.2rem; }
}

@media print {
    .kopf, .fuss, .schiene, .filterleiste, .knopf { display: none !important; }
    body { background: #fff; font-size: 11pt; }
    .inhalt-raster { grid-template-columns: 1fr; }
}
