:root {
    color-scheme: light;
    --nachtblau: #082f53;
    --tiefblau: #061f37;
    --tuerkis: #05aeb5;
    --helltuerkis: #54dfdb;
    --bernstein: #f6b34c;
    --eisweiss: #f5f9fc;
    --textdunkel: #10293f;
    --weiss: #fff;
    --linie: #b7cbd5;
    --kopfhoehe: 5.25rem;
    scroll-padding-top: calc(var(--kopfhoehe) + .5rem);
    --schrift: "Source Sans 3", "Segoe UI", Arial, sans-serif;
    font-family: var(--schrift);
    color: var(--textdunkel);
    background: var(--eisweiss);
    line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
p, h1, h2, h3 { margin: 0; }
p { max-width: 64ch; }
p + p { margin-top: .85em; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.65vw, 4.3rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.65rem, 2.8vw, 2.1rem); letter-spacing: -.025em; }
h2 + p, h3 + p { margin-top: 1.1rem; }
a { color: var(--nachtblau); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: .2rem solid var(--nachtblau); outline-offset: .2rem; }
.fuss :focus-visible, .einstieg :focus-visible, .liste :focus-visible {
    outline-color: var(--bernstein);
}
.rahmen { width: min(72rem, calc(100% - clamp(2rem, 8vw, 7rem))); margin-inline: auto; }
.sprunglink { position: fixed; z-index: 5; top: .5rem; left: 1rem; transform: translateY(-200%); background: white; padding: .6rem 1rem; }
.sprunglink:focus { transform: none; }
main:focus-visible { outline-offset: -.2rem; }
.startseite:focus-visible { outline-color: var(--bernstein); }
.kopf {
    position: sticky; top: 0; z-index: 4; display: flex; min-height: var(--kopfhoehe);
    background: var(--weiss); border-bottom: 1px solid var(--linie);
}
.fuss { background: var(--tiefblau); color: var(--eisweiss); }
.fuss a { color: var(--eisweiss); }
.kopfzeile, nav { display: flex; align-items: center; gap: .25rem clamp(.85rem, 3vw, 2.1rem); }
nav { flex-wrap: wrap; }
.kopfzeile {
    width: min(82rem, calc(100% - 2rem)); justify-content: space-between; gap: 1.25rem;
}
.kopf nav { flex-wrap: nowrap; gap: 1rem; }
.wortmarke img, .fusslogo { display: block; max-width: 100%; height: auto; }
.wortmarke img { width: 12rem; }
.marke-unter-kopf { display: none; }
.fusslogo { width: 12rem; margin-bottom: .5rem; }
nav a, .wortmarke { min-height: 2.75rem; min-width: 2.75rem; display: inline-flex; align-items: center; }
.kopf nav a { text-decoration: none; white-space: nowrap; }
.kopf nav a:hover, .kopf nav a[aria-current] { text-decoration: underline; text-underline-offset: .35em; }
.kopf nav a[aria-current] { text-decoration-thickness: .14em; }
.kopf .kopf-cta { min-height: 2.75rem; padding: .45rem .6875rem; line-height: 1.2; text-align: center; }
.menueschalter, .menuehilfe { display: none; }
.einstieg {
    display: flex; flex-direction: column; position: relative;
    background: var(--tiefblau); color: var(--weiss);
}
.einstieg picture { display: block; position: relative; height: clamp(8.5rem, 30vw, 14rem); }
.einstieg picture img {
    display: block; width: 100%; height: 100%; object-fit: cover; object-position: 68% 57%;
    filter: saturate(.62) brightness(.85);
}
.einstieg picture::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, var(--tiefblau), transparent 42%);
}
.hero-inhalt { order: -1; padding-block: clamp(2rem, 4vw, 4rem) 1.5rem; }
.hero-text { max-width: 38rem; }
.kennung, .aktenkopf, .telefonnotiz figcaption, .aktenvermerk {
    font-family: ui-monospace, Consolas, monospace; font-size: .78rem; letter-spacing: .07em;
}
.kennung { color: #b5d9d7; }
.einstieg h1 {
    margin-block: .9rem 1rem; max-width: 15ch;
    font-size: clamp(2.65rem, 4.9vw, 4.5rem); line-height: 1.01;
}
.einstieg h1 em {
    display: block; margin-top: .45em; color: #f1dbb8; font: italic .59em/1.15 Georgia, serif;
    letter-spacing: -.025em;
}
.untertitel { max-width: 48ch; color: #d2e2e8; }
.vorspann { max-width: 43ch; margin-top: 1.3rem; font-size: clamp(1.08rem, 1.48vw, 1.25rem); }
.einstiegslinks { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.4rem; margin-top: 1.5rem; }
.aktenlink { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--weiss); }
.schaltflaeche, button {
    display: inline-flex; align-items: center; justify-content: center; gap: .8rem; max-width: 100%;
    min-height: 2.9rem; border: 1px solid transparent; border-radius: .4rem; padding: .72rem 1.2rem;
    color: var(--tiefblau); background: var(--bernstein); text-decoration: none; font: inherit; font-weight: 700; cursor: pointer;
}
.schaltflaeche:hover, button:hover { background: #ffcb7b; }
.startseite { background: #faf9f5; overflow-wrap: anywhere; }
.abschnitt, .listenraster { padding-block: clamp(2.85rem, 6vw, 5.5rem); }
.fragen, .listenraster, .rundenablauf { display: grid; gap: clamp(1.7rem, 4vw, 4rem); align-items: start; }
.fragen > *, .listenraster > *, .rundenablauf > * { min-width: 0; }
.aktenablage { background: #dce4e1; }
.fall {
    max-width: 56rem; margin-inline: auto; padding: clamp(1.2rem, 4.3vw, 3.75rem);
    color: #252e30; background: #faf5e8; border: 1px solid #c5bdac;
    box-shadow: .18rem .25rem 0 #cec9bb, .35rem .65rem 1.4rem #24383324;
}
.aktenkopf {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem;
    border-bottom: 1px solid #9c9786; padding-bottom: .65rem; color: #4c544f; text-transform: uppercase;
}
.fall h2, .szenentitel, .markenspruch { font-family: Georgia, serif; }
.fall h2 { margin-block: 1.1rem 1.5rem; }
.akteninhalt { display: grid; align-items: start; gap: clamp(1.2rem, 3vw, 2.5rem); }
.telefonnotiz {
    margin: 0; padding: 1rem 1.25rem; background: #f3e2b6;
    border-inline-start: .2rem solid #9d702a;
}
.telefonnotiz blockquote { margin: 0; font: italic clamp(1.25rem, 2.1vw, 1.65rem)/1.25 Georgia, serif; }
.telefonnotiz figcaption { margin-top: .75rem; color: #534b3d; }
.schluss { margin-top: 1.5rem; font-weight: 700; }
.aktenfuss { margin-top: 1.4rem; border-top: 1px solid #c5bdac; padding-top: .75rem; color: #4c544f; font-size: .9rem; }
.nachbesprechung { background: #faf5e8; color: #252e30; border-block-end: 1px solid #c5bdac; }
.gespraech {
    display: grid; align-items: start; max-width: 56rem;
    gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.aktenvermerk { color: #4c544f; margin-bottom: .8rem; }
.gespraech h2 { font-family: Georgia, serif; }
.gespraech h2 span { display: block; }
.gespraech .unterzeile { margin-top: .65rem; font-size: 1.1rem; }
.gespraechstext { border-inline-start: .2rem solid #9d702a; padding-inline-start: clamp(1rem, 2.5vw, 2rem); }
.gespraechsschluss { font: italic 1.2rem/1.35 Georgia, serif; }
.feldwahl { gap: .25rem 1.2rem; margin-block: .8rem 1.5rem; }
.miniaturen, .weitere-felder, .varianten { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.miniaturen section { border-top: 2px solid #48616a; padding-top: .85rem; }
.miniaturen h3 { font: 700 .85rem/1.4 var(--schrift); letter-spacing: .045em; color: #395c62; }
.szenentitel { font-size: clamp(1.35rem, 2.1vw, 1.8rem); line-height: 1.2; margin-top: .7rem; }
.weitere-felder { margin-top: 2rem; border-top: 1px solid var(--linie); padding-top: 1.5rem; }
.weitere-felder h3, .varianten h3 { font-size: 1.15rem; }
.weitere-felder p, .varianten section p { margin-top: .5rem; }
.variantenband { background: #e7edeb; }
.varianten { margin-top: 1.75rem; gap: 1.5rem 2.5rem; }
.varianten section { border-inline-start: .2rem solid #657d78; padding-inline-start: 1.1rem; }
.variantenstand { margin-top: 1.25rem; color: #374f50; font-size: .95rem; }
.ablauf { margin: 0; padding-inline-start: 2rem; }
.ablauf li { padding: .65rem 0 .8rem .65rem; border-bottom: 1px solid var(--linie); }
.ablauf li:first-child { padding-top: 0; }
.ablauf li::marker { font: bold 1.15rem Georgia, serif; color: #395c62; }
.liste { background: var(--tiefblau); color: var(--eisweiss); }
.liste h2 { color: #f1dbb8; }
.liste a { color: var(--helltuerkis); }
form { display: grid; gap: 1rem; position: relative; }
form > a, form button { justify-self: start; }
.feld { display: grid; gap: .4rem; }
.feld label { font-weight: 700; }
input, select, textarea { font: inherit; }
.feld input, .feld select, .feld textarea {
    width: 100%; min-width: 0; min-height: 2.9rem; border: 1px solid var(--linie); border-radius: .35rem;
    padding: .6rem .75rem; background: var(--weiss); color: var(--textdunkel);
}
.kontaktseite { margin-inline: auto; }
.kontaktformular { margin-top: 2rem; padding-top: 1.5rem; border-top: 2px solid var(--nachtblau); }
.kontaktformular .feld { min-width: 0; }
.kontaktformular textarea { resize: vertical; }
.kontaktformular [aria-invalid="true"] { border-color: #99361f; }
.feldfehler { color: #862b16; font-weight: 600; }
.einwilligung { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.einwilligung input { flex: none; width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; accent-color: var(--helltuerkis); }
.formhinweis { font-size: .93rem; }
.zusatz { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.fragen details { border-top: 1px solid var(--linie); }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary {
    position: relative; display: block; list-style: none; padding: .9rem 2.25rem .9rem .3rem;
    font-weight: 700; cursor: pointer; color: var(--nachtblau);
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::before, .fragen summary::after {
    content: ""; position: absolute; top: 50%; right: .5rem; width: 1rem;
    border-top: 2px solid currentColor; transform: translateY(-50%);
}
.fragen summary::after { transform: translateY(-50%) rotate(90deg); }
.fragen details[open] > summary::after { display: none; }
.fragen details p { padding: 0 .3rem 1rem; }
.fusszeile {
    display: grid; grid-template-columns: minmax(0, 1fr); align-items: start;
    gap: 1.5rem 2.5rem; padding-block: 2rem 4.5rem;
}
.fusszeile nav { gap: 0 1rem; }
.fusszeile nav a[aria-current] { text-decoration-thickness: .15em; }
.instagram { gap: .5rem; }
.instagram svg { flex: none; color: var(--helltuerkis); }
.fussprojekte { grid-column: 1 / -1; padding-top: 1.25rem; border-top: 1px solid #547084; }
.fussprojekte h2 { margin-bottom: .25rem; font: 600 1.15rem/1.4 var(--schrift); letter-spacing: 0; }
.fussprojekte > div { display: grid; gap: .5rem 2.5rem; }
.fussprojekte p { margin: 0; }
.fussprojekte a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }
.fussprojekte span { display: block; color: #d2e2e8; font-size: .95rem; }
.markenspruch { max-width: 34ch; font-size: 1.1rem; }
.nach-oben-platz { position: absolute; width: 0; height: 0; }
#nach-oben {
    position: fixed; z-index: 3; width: 2.875rem; height: 2.875rem; padding: 0;
    right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
    border: 2px solid var(--weiss); border-radius: 50%;
    color: var(--weiss); background: var(--nachtblau); box-shadow: 0 2px 8px rgb(0 0 0 / .28);
}
#nach-oben[hidden] { display: none; }
#nach-oben:hover { background: var(--tiefblau); }
.anbieter { font-size: .95rem; }
.leseseite { max-width: 46rem; padding-block: clamp(2.5rem, 6vw, 5rem); overflow-wrap: anywhere; }
.leseseite h2 { margin: 1.7rem 0 .55rem; font-size: 1.55rem; }
.leseseite h1 { margin-bottom: 1.2rem; }
.leseseite .schaltflaeche { margin-top: 1.3rem; }
.meldung { background: #e3eff3; border-inline-start: .3rem solid var(--nachtblau); padding: 1.1rem 1.4rem; margin-block: 1rem; }
.meldung h2 { font-size: 1.5rem; }
.meldung p, .meldung a { margin-block: .5rem; }
.wochenbericht dt { font-weight: 700; }
.wochenbericht dd { margin: 0 0 1rem; }
.leseseite dl { margin: 1rem 0 0; }
.leseseite dt { margin-top: .75rem; font-weight: 700; }
.leseseite dt:first-child { margin-top: 0; }
.leseseite dd { margin: 0; }
.herkunftstabelle { overflow-x: auto; }
.herkunftstabelle table { border-collapse: collapse; width: 100%; }
.herkunftstabelle th, .herkunftstabelle td { padding: .4rem; text-align: right; }
.herkunftstabelle th:first-child { text-align: left; }
@media (min-width: 48rem) {
    .einstieg picture { position: absolute; inset: 0 0 0 auto; width: 50%; height: 100%; }
    .einstieg picture::after { background: linear-gradient(90deg, var(--tiefblau), transparent 40%); }
    .einstieg picture img { object-position: 68% center; }
    .hero-inhalt { padding-block: clamp(3.25rem, 5vw, 5rem); }
    .hero-text { max-width: min(47%, 38rem); }
    .fall { transform: rotate(-.45deg); }
    .akteninhalt { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
    .gespraech { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
    .miniaturen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .weitere-felder, .varianten, .listenraster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rundenablauf, .fragen { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
    .fusszeile, .fussprojekte > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fusszeile nav { justify-self: end; }
}
@media (width < 74rem) {
    .kopfmenue { margin-inline-start: auto; }
    .menueschalter:not([hidden]), .menuehilfe {
        display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem;
        padding: .4rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: .4rem;
        color: var(--nachtblau); text-decoration: none;
    }
    .menueschalter:not([hidden]) ~ .menuehilfe, .menueschalter:not([hidden]) ~ #hauptmenue .menuehilfe { display: none; }
    #hauptmenue {
        display: none; position: absolute; inset: 100% 0 auto auto; width: min(21rem, 100%);
        max-height: calc(100dvh - var(--kopfhoehe)); overflow-y: auto; overscroll-behavior: contain;
        padding: .5rem 1rem 1rem; background: var(--weiss);
        border: 1px solid var(--linie); box-shadow: 0 .5rem 1rem rgb(6 31 55 / .16);
    }
    .menueschalter[aria-expanded="true"] ~ #hauptmenue, .menueschalter[hidden] ~ #hauptmenue:target { display: block; }
    .kopf nav { display: grid; gap: 0; }
    .kopf nav a { padding: .45rem .6rem; white-space: normal; }
    .kopf nav a + a { border-top: 1px solid #dce5e8; }
    .kopf nav a[aria-current] { background: #e7f2f2; }
}
@media (width < 48rem) {
    :root { --kopfhoehe: 3.375rem; }
    .kopfzeile { width: calc(100% - 1.25rem); gap: .375rem; }
    .wortmarke img { width: clamp(5.5rem, calc(100vw - 17rem), 10rem); }
    .kopf .kopf-cta { font-size: .875rem; padding-inline: .4rem; }
}
@media screen and (width < 23rem) {
    .wortmarke img { width: 2.75rem; }
    .marke-unter-kopf { display: block; width: 9.5rem; height: auto; margin: .5rem 1rem; }
}
@media print {
    :root { scroll-padding-top: 0; }
    .kopf { position: static; min-height: 0; }
    .sprunglink, .kopfmenue, .kopf-cta, .nach-oben-platz { display: none; }
}
