/* Vereinseinsatz - Website
   Farben passen zum Mandanten-Branding der Anwendung (#1c4a39), damit Seite und
   Produkt zusammengehoeren.

   Formensprache: Register. Rechte Winkel, Linien statt Schatten, Archivo in den
   Ueberschriften. Das Gegenstueck ist helferheft.de - dort steht dieselbe Anwendung
   in einer Aushang-Anmutung mit Serifenschrift, Papier und leichten Schraegen. Wer
   hier etwas aendert, prueft, ob der Unterschied erhalten bleibt: Beide Seiten
   bewerben dasselbe Produkt und sollen trotzdem nicht wie zwei Farbvarianten
   derselben Seite wirken. */

:root {
    --ink: #13332a;
    --marke: #2a6b4c;
    --marke-tief: #1c4a39;
    --paper: #f5f2e9;
    --paper-deep: #e7e1d2;
    --akzent: #c47a31;
    --akzent-soft: #e8b57a;
    --rule: rgba(19, 51, 42, .16);
    --measure: 64ch;

    --step--1: clamp(.82rem, .79rem + .15vw, .92rem);
    --step-0: clamp(1rem, .95rem + .25vw, 1.15rem);
    --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.5rem);
    --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
    --step-3: clamp(1.8rem, 1.5rem + 1.7vw, 2.8rem);
    --step-4: clamp(2.3rem, 1.7rem + 2.9vw, 4.3rem);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Karla', 'Helvetica Neue', sans-serif;
    font-size: var(--step-0);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Papierkorn ueber allem — gibt der Flaeche Textur statt Farbfeld */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9;
    opacity: .16;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

h1,
h2,
h3 {
    font-family: 'Archivo', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.025em;
    margin: 0;
}

p {
    margin: 0 0 1.1em;
    max-width: var(--measure);
}

a {
    color: inherit;
}

.wrap {
    width: min(100% - 2.5rem, 1180px);
    margin-inline: auto;
}

.eyebrow {
    font-size: var(--step--1);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 700;
    color: var(--marke);
    display: flex;
    align-items: center;
    gap: .8rem;
}

.eyebrow::before {
    content: "";
    width: 2.2rem;
    height: 2px;
    background: var(--akzent);
    flex: none;
}

/* ---------- Kopfzeile ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(245, 242, 233, .88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
}

.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 0;
}

/* Das Logo bringt den Schriftzug und einen weissen Hintergrund mit (kein Alphakanal).
   Deshalb bewusst als weisses Feld gesetzt statt freigestellt — und ohne
   zusaetzlichen Text daneben, der ihn doppeln wuerde. */
.brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    color: var(--ink);
}

.brand svg {
    width: 34px;
    height: 34px;
    display: block;
    flex: none;
}

.brand b {
    font-family: 'Archivo', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 1.32rem;
    letter-spacing: -.012em;
    line-height: 1;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    font-size: var(--step--1);
    font-weight: 500;
}

nav a {
    text-decoration: none;
    opacity: .75;
    transition: opacity .2s;
}

nav a:hover {
    opacity: 1;
}

@media (max-width:760px) {
    nav .hide-sm {
        display: none;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.35rem;
    border-radius: 0;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    font-weight: 700;
    font-size: var(--step--1);
    font-family: inherit;
    border: 1px solid var(--ink);
    cursor: pointer;
    letter-spacing: .02em;
    transition: box-shadow .14s ease, transform .14s ease, background .18s ease;
}

.btn:hover {
    background: var(--marke-tief);
    border-color: var(--marke-tief);
    box-shadow: 4px 4px 0 var(--akzent);
    transform: translate(-1px, -1px);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--rule);
}

.btn-ghost:hover {
    background: var(--ink);
    color: var(--paper);
}

.btn-wide {
    width: 100%;
    justify-content: center;
}

/* ---------- Buehne ---------- */
.hero {
    position: relative;
    padding: clamp(3.5rem, 7vw, 7rem) 0 clamp(3rem, 6vw, 5.5rem);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(46vw, 640px);
    /* Karogitter wie auf einem Anwesenheitsbogen, nach links hin auslaufend. */
    background-image:
        linear-gradient(to right, rgba(28, 74, 57, .09) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(28, 74, 57, .09) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: linear-gradient(to left, #000, transparent 85%);
    mask-image: linear-gradient(to left, #000, transparent 85%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

@media (max-width:900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

h1 {
    font-size: var(--step-4);
    margin: 1.4rem 0 0;
}

h1 em {
    font-style: normal;
    color: var(--marke-tief);
    position: relative;
    white-space: nowrap;
    padding-bottom: .06em;
}

h1 em::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.02em;
    height: 4px;
    background: var(--akzent);
    z-index: 0;
    transform: scaleX(0);
    transform-origin: left;
    animation: swipe .8s cubic-bezier(.2, .8, .3, 1) 1s forwards;
}

@keyframes swipe {
    to {
        transform: scaleX(1);
    }
}

.lede {
    font-size: var(--step-1);
    line-height: 1.5;
    margin-top: 1.5rem;
    max-width: 46ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2rem;
}

/* Notizzettel-Karte: der Einsatz, wie ihn ein Elternteil sieht */
.card-note {
    position: relative;
    background: #fff;
    border: 1px solid var(--marke-tief);
    padding: 1.6rem 1.5rem 1.4rem;
    /* Kein Schlagschatten: Die Tiefe kommt aus einem versetzten zweiten Rahmen,
       wie bei einem aufgelegten Formular. */
    box-shadow: 10px 10px 0 -1px var(--paper-deep), 10px 10px 0 var(--rule);
}

.card-note::before {
    content: "";
    position: absolute;
    inset: 0;
    border-left: 5px solid var(--marke);
}

.card-note h3 {
    font-size: var(--step-1);
    margin-bottom: .2rem;
}

.note-meta {
    font-size: var(--step--1);
    opacity: .65;
    margin-bottom: 1.1rem;
}

.note-body {
    font-size: var(--step--1);
    opacity: .78;
    margin-bottom: 1.2rem;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1.2rem;
}

.chip {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .26rem .6rem;
    background: transparent;
    border: 1px solid rgba(42, 107, 76, .45);
    color: var(--marke-tief);
}

.chip-ochre {
    border-color: rgba(196, 122, 49, .55);
    color: #9a5c1f;
}

.slots {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-top: 1px dashed var(--rule);
    padding-top: .9rem;
    font-size: var(--step--1);
}

.slots b {
    font-family: 'Archivo', sans-serif;
    font-size: 1.5rem;
}

/* ---------- Problemaufriss ---------- */
.band {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.band h2 {
    font-size: var(--step-3);
    max-width: 20ch;
    margin-bottom: 1.5rem;
}

.band .eyebrow {
    color: var(--akzent-soft);
}

.band-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

@media (max-width:860px) {
    .band-grid {
        grid-template-columns: 1fr;
    }
}

.band p {
    opacity: .85;
}

.pains {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .1rem;
}

.pains li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(245, 242, 233, .16);
    font-size: var(--step-0);
}

.pains li:first-child {
    border-top: 1px solid rgba(245, 242, 233, .16);
}

.pains span {
    font-family: 'Archivo', sans-serif;
    color: var(--akzent-soft);
    font-size: .95rem;
    padding-top: .2rem;
    flex: none;
}

/* ---------- Abschnitte ---------- */
section {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.on-white {
    background: #fff;
    border-block: 1px solid rgba(19, 51, 42, .28);
}

.sec-head {
    margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.sec-head h2 {
    font-size: var(--step-3);
    margin-top: 1rem;
    max-width: 22ch;
}

.sec-head p {
    margin-top: 1rem;
    font-size: var(--step-1);
    line-height: 1.5;
    opacity: .8;
    max-width: 52ch;
}

/* Zwei Zielgruppen */
.audience {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.2rem, 3vw, 2.2rem);
}

.aud {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 0;
    padding: clamp(1.6rem, 3vw, 2.4rem);
    position: relative;
    overflow: hidden;
}

.aud::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--marke);
}

.aud.b::before {
    background: var(--akzent);
}

.aud h3 {
    font-size: var(--step-2);
    margin-bottom: .3rem;
}

.aud>p {
    opacity: .75;
    font-size: var(--step--1);
    margin-bottom: 1.4rem;
}

.aud ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .9rem;
}

/* Einrueckung statt Grid: In einem Grid-Container wird jeder Textabschnitt zu einem
   eigenen Element — der Fliesstext hinter dem <b> landete dadurch in der schmalen
   Markierungsspalte und brach nach jedem Wort um. */
.aud li {
    position: relative;
    padding-left: 1.5rem;
    font-size: var(--step--1);
    line-height: 1.55;
}

.aud li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .52rem;
    width: 9px;
    height: 9px;
    border-radius: 0;
    background: var(--marke);
    transform: rotate(45deg);
}

.aud.b li::before {
    background: var(--akzent);
}

.aud li b {
    display: block;
    font-weight: 700;
}

/* Ablauf */
.steps {
    counter-reset: s;
    display: grid;
    gap: 0;
}

.step {
    counter-increment: s;
    display: grid;
    grid-template-columns: clamp(3.5rem, 7vw, 6rem) minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2.5rem);
    padding: clamp(1.4rem, 3vw, 2.2rem) 0;
    border-top: 1px solid var(--rule);
    align-items: start;
}

.step:last-child {
    border-bottom: 1px solid var(--rule);
}

.step::before {
    content: "0" counter(s);
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: var(--step-3);
    font-variant-numeric: tabular-nums;
    color: var(--marke);
    line-height: .9;
    /* Trennstrich zur Beschreibung - die Schritte lesen sich dadurch wie Zeilen
       einer Tabelle statt wie lose Karten. */
    border-right: 1px solid var(--rule);
    padding-right: clamp(.8rem, 2vw, 1.6rem);
    align-self: stretch;
}

.step h3 {
    font-size: var(--step-1);
    margin-bottom: .4rem;
}

.step p {
    margin: 0;
    opacity: .78;
    font-size: var(--step--1);
    max-width: 58ch;
}

/* Merkmale — 300px Mindestbreite ergibt im 1180px-Raster genau drei Spalten (3x2)
   statt vier mit angebrochener zweiter Reihe. */
.feats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: 0;
    overflow: hidden;
}

.feat {
    background: var(--paper);
    padding: clamp(1.5rem, 3vw, 2.1rem);
    transition: background .25s ease;
}

.feat:hover {
    background: #fff;
}

.feat h3 {
    font-size: var(--step-1);
    margin-bottom: .55rem;
}

.feat p {
    margin: 0;
    font-size: var(--step--1);
    opacity: .78;
    line-height: 1.6;
}

.feat .ico {
    width: 30px;
    height: 30px;
    margin-bottom: 1rem;
    color: var(--marke);
}

/* Kontakt */
.contact {
    background: var(--paper-deep);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

@media (max-width:860px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-h {
    font-size: var(--step-3);
    margin: 1rem 0;
}

.contact-direct {
    margin-top: 1.6rem;
}

.contact-direct a {
    color: var(--marke);
    font-weight: 700;
}

form {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 0;
    padding: clamp(1.5rem, 3vw, 2.3rem);
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width:560px) {
    .row {
        grid-template-columns: 1fr;
    }
}

.fld {
    margin-bottom: 1.1rem;
}

label {
    display: block;
    font-size: var(--step--1);
    font-weight: 700;
    margin-bottom: .35rem;
}

input,
select,
textarea {
    width: 100%;
    font: inherit;
    font-size: var(--step--1);
    color: var(--ink);
    padding: .72rem .85rem;
    border: 1px solid var(--rule);
    border-radius: 0;
    background: var(--paper);
    transition: border-color .18s, box-shadow .18s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--marke);
    box-shadow: 0 0 0 3px rgba(42, 107, 76, .16);
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.consent {
    font-size: .8rem;
    opacity: .7;
    line-height: 1.5;
    margin: 0 0 1.2rem;
}

.prose {
    max-width: 70ch;
}

.prose h2 {
    font-size: var(--step-1);
    margin: 2.4rem 0 .7rem;
}

.prose h3 {
    font-size: var(--step-0);
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    margin: 1.6rem 0 .4rem;
}

.prose p,
.prose li {
    max-width: 70ch;
}

.prose ul {
    padding-left: 1.2rem;
}

.prose li {
    margin-bottom: .4rem;
}

.prose a {
    color: var(--marke);
    font-weight: 500;
}

/* Fusszeile */
footer {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
}

.foot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(245, 242, 233, .16);
}

footer nav {
    gap: 1.4rem;
    flex-wrap: wrap;
}

footer a {
    opacity: .8;
}

.foot-claim {
    opacity: .7;
    font-size: var(--step--1);
    margin: .8rem 0 0;
    max-width: 34ch;
}

.foot-note {
    padding-top: 1.5rem;
    font-size: var(--step--1);
    opacity: .6;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

/* Einblendungen — nur wenn JavaScript laeuft.
   Die Klasse "js" setzt ein Inline-Skript ganz oben im <head>. Ohne JavaScript
   greift keine dieser Regeln und die Seite ist vollstaendig sichtbar; andernfalls
   bliebe alles unterhalb der Buehne dauerhaft unsichtbar, weil das Einblenden
   vom IntersectionObserver abhaengt. */
.js .rise {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.2, .8, .3, 1), transform .7s cubic-bezier(.2, .8, .3, 1);
}

.js .rise.in {
    opacity: 1;
    transform: none;
}

.js .hero .rise {
    animation: rise .9s cubic-bezier(.2, .8, .3, 1) forwards;
    transition: none;
}

.js .hero .rise:nth-child(1) {
    animation-delay: .05s;
}

.js .hero .rise:nth-child(2) {
    animation-delay: .15s;
}

.js .hero .rise:nth-child(3) {
    animation-delay: .25s;
}

.js .hero .rise:nth-child(4) {
    animation-delay: .35s;
}

.js .hero-art {
    animation: rise 1s cubic-bezier(.2, .8, .3, 1) .45s forwards;
    opacity: 0;
}

@keyframes rise {
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-delay: 0ms !important;
        transition-duration: .01ms !important;
    }

    .js .rise,
    .js .hero-art {
        opacity: 1 !important;
        transform: none !important;
    }

    h1 em::after {
        transform: scaleX(1);
    }
}

.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 1rem;
    top: 1rem;
    z-index: 99;
    background: var(--ink);
    color: var(--paper);
    padding: .7rem 1rem;
    border-radius: 0;
}

/* Rueckmeldung unter dem Kontaktformular. Leer und damit unsichtbar, solange
   nichts zu melden ist — :empty verhindert, dass ein Abstand entsteht. */
.form-status {
    margin: .9rem 0 0;
    font-size: .95rem;
    line-height: 1.5;
    color: var(--ink);
}

.form-status:empty {
    display: none;
}

.form-status.ist-fehler {
    color: #8c3a1d;
}

.form-status.ist-fehler a {
    color: inherit;
}

/* ---------- Haeufige Fragen ----------
   <details>/<summary> statt JavaScript: klappt ohne Skript auf, ist per Tastatur
   bedienbar und Bildschirmleser kennen den Zustand von Haus aus. Der Browser
   findet beim Suchen (Strg+F) seit einiger Zeit auch Text in zugeklappten
   Abschnitten und oeffnet sie selbst. */
.faq {
    max-width: 78ch;
    border-top: 1px solid var(--rule);
}

.faq details {
    border-bottom: 1px solid var(--rule);
}

.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 1.15rem 2.5rem 1.15rem 0;
    position: relative;
    font-family: 'Archivo', sans-serif;
    font-size: var(--step-1);
    line-height: 1.35;
    transition: color .2s ease;
}

/* Das Standard-Dreieck beider Engines abschalten — wir zeichnen ein eigenes. */
.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary:hover {
    color: var(--marke);
}

.faq summary:focus-visible {
    outline: 2px solid var(--marke);
    outline-offset: 3px;
    border-radius: 0;
}

/* Plus, das beim Oeffnen zum Minus wird: zwei Striche, einer dreht sich weg. */
.faq summary::before,
.faq summary::after {
    content: "";
    position: absolute;
    right: .35rem;
    top: 50%;
    width: 15px;
    height: 2px;
    background: var(--akzent);
    transition: transform .25s ease, opacity .25s ease;
}

.faq summary::before {
    transform: translateY(-50%);
}

.faq summary::after {
    transform: translateY(-50%) rotate(90deg);
}

.faq details[open] summary::after {
    transform: translateY(-50%) rotate(0deg);
    opacity: 0;
}

.faq details[open] summary {
    color: var(--marke);
}

.faq details p {
    margin: 0 0 1.3rem;
    padding-right: 2.5rem;
    max-width: 62ch;
    opacity: .85;
}

@media (prefers-reduced-motion: reduce) {

    .faq summary,
    .faq summary::before,
    .faq summary::after {
        transition: none;
    }
}

/* Vier Kacheln: zwei Spalten statt auto-fit, sonst bleibt in der zweiten Reihe
   die Haelfte des Gitters leer. */
.feats.zwei {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width:760px) {
    .feats.zwei {
        grid-template-columns: 1fr;
    }
}

/* ---------- Referenz ----------
   Zweispaltig: links die Erzaehlung, rechts eine Karte mit nachpruefbaren Angaben.
   Die Karte ist bewusst schmal (keine 1fr-Haelfte) — sie soll wie ein Beleg neben
   dem Text wirken, nicht wie eine zweite Spalte Fliesstext. */
.ref-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

@media (max-width:860px) {
    .ref-grid {
        grid-template-columns: 1fr;
    }
}

.ref-grid h2 {
    font-size: var(--step-2);
    max-width: 22ch;
    margin: 0 0 1.2rem;
}

.ref-grid p {
    max-width: 56ch;
}

.ref-note {
    border-left: 3px solid var(--akzent-soft);
    padding-left: 1rem;
    opacity: .85;
}

.ref-karte {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 0;
    padding: 1.6rem 1.7rem;
    /* Leicht angehoben gegen den Text — die Karte ist der Beleg, nicht die Fussnote. */
    box-shadow: 0 18px 40px -32px rgba(19, 51, 42, .7);
}

.ref-k {
    font-family: 'Archivo', 'Helvetica Neue', sans-serif;
    font-size: var(--step-1);
    margin: 0 0 1.1rem;
    color: var(--marke);
}

.ref-fakten {
    margin: 0;
    display: grid;
    gap: .9rem;
}

.ref-fakten div {
    display: grid;
    gap: .1rem;
}

.ref-fakten dt {
    font-size: var(--step--1);
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .6;
}

.ref-fakten dd {
    margin: 0;
    font-weight: 600;
}

.ref-fuss {
    margin: 1.4rem 0 0;
    padding-top: 1.1rem;
    border-top: 1px solid var(--rule);
    font-size: var(--step--1);
    opacity: .75;
}

/* ================= Einblick: Bilder aus der Anwendung =================
   Eigener Hintergrund statt der Weiss/Papier-Abfolge — zwischen dem papierfarbenen
   Ueberblick und dem weissen Ablauf braucht der Abschnitt einen eigenen Ton, sonst
   stossen zwei gleiche Flaechen aneinander. Der tiefere Papierton laesst die hellen
   Screenshots ausserdem vortreten. */
#einblick {
    background: var(--paper-deep);
}

/* Alle Bilder in voller Breite untereinander. Zwei Spalten waren kompakter, aber in
   einem halbbreiten Screenshot ist die Schrift der Anwendung nicht mehr zu lesen —
   dann zeigt das Bild nichts mehr, es dekoriert nur. */
.shots {
    display: grid;
    gap: 3.4rem;
    margin-top: 3rem;
}

.shot {
    margin: 0;
    max-width: 1040px;
    margin-inline: auto;
    width: 100%;
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    border: 1px solid var(--rule);
    /* Weicher, tiefer Schatten — das Bild liegt auf dem Papier, es klebt nicht darauf */
    box-shadow: 0 30px 60px -40px rgba(19, 51, 42, .85);
    background: #fff;
}

.shot figcaption {
    margin-top: .9rem;
    font-size: var(--step--1);
    line-height: 1.6;
    color: rgba(19, 51, 42, .82);
    max-width: 58ch;
}

.shot figcaption b {
    color: var(--ink);
    font-weight: 700;
}

@media (max-width: 860px) {
    .shots {
        gap: 2.4rem;
    }
}

/* Lange Pfade duerfen auf schmalen Geraeten umbrechen, sonst schieben sie
   die Seite seitlich raus. */
@media (max-width: 520px) {
    .pfad {
        white-space: normal;
    }
}

/* Aufzaehlungen innerhalb einer Antwort — auf der Startseite gibt es die nicht. */
.faq details ul {
    margin: 0 0 1.3rem;
    padding-left: 1.2rem;
    max-width: 62ch;
    opacity: .85;
}

.faq details li {
    margin-bottom: .45rem;
}

.js .faq-suche {
    display: block;
    margin: 2.4rem 0 0;
}

.faq mark {
    background: rgba(232, 181, 122, .55);
    color: inherit;
    border-radius: 0;
    padding: 0 .1em;
}

/* Ein ausgeblendeter Abschnitt darf keinen Abstand hinterlassen. */
main section[hidden],
.faq details[hidden] {
    display: none;
}

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */


/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.legal {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
}

.legal h1 {
    font-size: var(--step-3);
    margin: 1rem 0 2rem;
}

/* Abstand zwischen den drei Themenbloecken der Anleitungsseite. */
.legal section+section {
    margin-top: clamp(3.5rem, 7vw, 5.5rem);
}