/* ═══════════════════════════════════════════════════════════
   Schriften — lokal eingebunden, NICHT von Google nachgeladen.
   Grund: Ohne Nachladen von fonts.gstatic.com wird beim Aufruf
   der Seite keine IP-Adresse an Google übertragen. Damit braucht
   es für die Schriften keine Einwilligung im Cookie-Banner.
   Dateien liegen in schriften/.
   ═══════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../schriften/inter-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../schriften/inter-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../schriften/inter-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../schriften/inter-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../schriften/outfit-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../schriften/outfit-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../schriften/outfit-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../schriften/outfit-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../schriften/outfit-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../schriften/outfit-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══════════════════════════════════════════════════════════
   personaltrainer-salzburg.info — Stylesheet
   Handgepflegtes CSS, deutsche Klassennamen.
   Aufbau: Farben → Grundgerüst → Bausteine → Abschnitte → Responsiv
   ═══════════════════════════════════════════════════════════ */

/* ── Farbpalette ──────────────────────────────────────────── */
:root {
    --hintergrund: oklch(14.5% 0.005 285);   /* fast schwarz */
    --flaeche:     oklch(30% 0.006 285);     /* Kartenfläche (18.08. von 20.5 auf 24 %, 22.08. auf 30 %) */
    --signal:      oklch(72% 0.1 145.5);     /* Signalgrün */
    --text:        oklch(96.7% 0.002 285);   /* fast weiß */
    --gedaempft:   oklch(70.5% 0.012 286);   /* graue Nebentexte */
    --linie:       oklch(27.4% 0.006 286);   /* Trennlinien */
    --offen:       oklch(80% 0.15 85);       /* gelb: noch offene Angabe */
    --rot:         oklch(65% 0.19 25);       /* rot: Widerspruch, bewusst gesetzt */
}

/* ── Grundgerüst ──────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    background: var(--hintergrund);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--signal); color: var(--hintergrund); }

/* Roter Widerspruch — bewusst die einzige rote Stelle der Seite. */
.rot { color: var(--rot); }

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    line-height: 1.15;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Sprungziele nicht unter der fixen Kopfzeile verstecken */
html { scroll-padding-top: 110px; }   /* Kopfzeile 88px + Puffer */
[id] { scroll-margin-top: 110px; }

.innen { max-width: 1280px; margin: 0 auto; padding: 0 32px; }


/* Grüne Vorzeile über Überschriften */
.vorzeile {
    color: var(--signal);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* Noch offene Angabe — im Entwurf sichtbar, damit nichts erfunden wirkt */
.offen {
    color: var(--offen);
    border-bottom: 1px dashed var(--offen);
    font-weight: 500;
}

/* Kurze Zahlenplatzhalter sollen nicht mitten im Wert umbrechen,
   lange Redaktionsnotizen dagegen schon. */
.offen.kurz { white-space: nowrap; }

/* ── Knöpfe ───────────────────────────────────────────────── */
.knopf {
    display: inline-block;
    background: var(--signal);
    color: var(--hintergrund);
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    padding: 15px 28px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s;
}
.knopf:hover { opacity: 0.85; }

/* Überschriften, die laut Vorgabe in einer Zeile stehen sollen */
@media (min-width: 1100px) { h2.einzeilig { white-space: nowrap; } }

/* Das Zitat in der Hauptüberschrift steht kursiv.
   ÄNDERUNG 18.08.2026: Früher hatte es eine eigene Zeile (display:block) und
   durfte nicht brechen (nowrap). Seit es mitten im Satz steht, ist beides weg —
   am laufenden Stand nachgemessen: mit nowrap braucht die Überschrift 3 Zeilen,
   Zeile 1 endet nach „mit“ mit 670px Lücke und „wollen.“ steht allein in Zeile 3.
   Ohne nowrap sind es 2 gleichmäßige Zeilen; das Zitat bricht dann nach „halt“,
   was die Kursivschrift optisch trägt. */
.held h1 .zitat {
    font-style: italic;
    font-size: 0.8em;   /* kleiner als der übrige Satz — sonst wird die Zeile
                           zu breit und bricht mitten im Zitat um */
}

/* Vorzeile im Hero: 40pt auf Wunsch. clamp() nur, damit sie auf schmalen
   Displays nicht über den Rand läuft — ab ca. 762px Breite sind es exakt 40pt. */
.held .vorzeile {
    font-size: clamp(20px, 5.2vw, 38px);
    line-height: 1.15;
    margin-bottom: 18px;
}

/* Größerer Knopf im Hero */
.held .knopf { font-size: 16px; padding: 18px 34px; }
.knopf:disabled { opacity: 0.5; cursor: default; }

.knopf-zweit {
    display: inline-block;
    border: 1px solid var(--linie);
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 26px;
    border-radius: 999px;
}
.knopf-zweit:hover { border-color: var(--signal); color: var(--signal); }

.pfeil-link { color: var(--signal); font-weight: 600; font-size: 15px; }
.pfeil-link:hover { text-decoration: underline; }

/* ── Kopfzeile ────────────────────────────────────────────── */
.kopfzeile {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: color-mix(in oklab, var(--hintergrund) 88%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--linie);
}

.kopfzeile .innen {
    max-width: 1280px;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 88px;          /* 18.08.2026 von 68px erhöht — mehr Luft oben und unten */
}

.marke {
    display: flex; align-items: center; gap: 13px;
    font-weight: 600; font-size: 20px;   /* vorher geerbte 17px */
    margin-right: auto;
}
.marke img { width: 48px; height: 48px; }   /* vorher 36px */
.marke .gruen { color: var(--signal); }

.hauptnav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 17px;          /* vorher 15px */
    font-weight: 600;         /* vorher normal */
    color: var(--gedaempft);
}

/* Mouseover: Text wird grün, dazu wächst ein Unterstrich von links ein.
   Deutlicher als der bisherige reine Helligkeitswechsel. */
.hauptnav a {
    position: relative;
    padding: 5px 0;
    transition: color 0.18s ease;
}
.hauptnav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--signal);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.22s ease;
}
.hauptnav a:hover,
.hauptnav a:focus-visible { color: var(--signal); }
.hauptnav a:hover::after,
.hauptnav a:focus-visible::after { transform: scaleX(1); }

/* Wer reduzierte Bewegung eingestellt hat, bekommt den Unterstrich ohne Animation */
@media (prefers-reduced-motion: reduce) {
    .hauptnav a::after { transition: none; }
}

.kopfzeile .knopf { padding: 12px 24px; font-size: 16px; }

.menue-knopf {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 26px;
    cursor: pointer;
}

/* ── Held (Hero) ──────────────────────────────────────────── */
.held {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 170px 0 80px;
    background: var(--hintergrund);
    overflow: hidden;          /* hält das vergrößerte Hintergrundbild im Rahmen */
}

/* Das Hintergrundbild liegt in einer eigenen Ebene, damit die Zoom-Animation
   nur das Bild betrifft und nicht den Text darüber mitskaliert.
   Langsamer Zoom nach außen: startet 8 % vergrößert, läuft auf Normalgröße.
   18 Sekunden, einmalig — kaum bewusst wahrnehmbar, wirkt aber lebendig. */
.held::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../bilder/hero-bg.jpg') center / cover no-repeat;
    transform: scale(1.08);
    animation: hero-zoom 18s ease-out forwards;
    will-change: transform;
}

@keyframes hero-zoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
}

/* Wer im System reduzierte Bewegung eingestellt hat, sieht ein Standbild.
   Bei einer Zielgruppe ab 40 keine Formsache, sondern Rücksicht. */
@media (prefers-reduced-motion: reduce) {
    .held::after { animation: none; transform: none; }
}

.held::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right,
        color-mix(in oklab, var(--hintergrund) 94%, transparent) 0%,
        color-mix(in oklab, var(--hintergrund) 78%, transparent) 55%,
        color-mix(in oklab, var(--hintergrund) 55%, transparent) 100%);
}

.held .innen { position: relative; z-index: 2; max-width: 1280px; }

.held .obenzeile { color: var(--gedaempft); font-style: italic; font-size: 21px; margin-bottom: 22px; }

.held h1 {
    font-weight: 600;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin-bottom: 32px;
}

.held .unterzeile {
    color: var(--gedaempft);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    margin-bottom: 44px;
}

/* Beweiszeile: drei Felder nebeneinander */
.beweiszeile {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding: 34px 0;
    border-top: 1px solid var(--linie);
    border-bottom: 1px solid var(--linie);
    margin-bottom: 44px;
}

.beweiszeile .wert {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.7rem, 2.4vw, 2.35rem);
    font-weight: 600;
    color: var(--signal);
    line-height: 1.1;
    margin-bottom: 6px;
}
.beweiszeile .label { color: var(--gedaempft); font-size: 16px; line-height: 1.45; }

/* ── Abschnitte allgemein ─────────────────────────────────── */
.abschnitt { padding: 100px 0; }
/* Getönte Abschnitte wechseln sich mit dem Seitengrund ab.
 *
 * Die Geschichte dieser Zeile: 22 % ergab 1,3 Helligkeitspunkte Unterschied
 * und war unsichtbar. Am 18.08.2026 auf 40 % angehoben — das sind 3,8 Punkte
 * und reichte immer noch nicht, die Seite wirkte weiter wie eine Fläche.
 *
 * Am 22.08.2026 gemessen und neu gerechnet. Jetzt drei klar getrennte Stufen:
 *
 *     Seitengrund      14,5 %
 *     getönter Abschnitt ~23 %   (+8,5 Punkte)
 *     Karten darin       30 %    (+7,0 Punkte)
 *
 * Der Anteil steht auf 55 %, weil --flaeche gleichzeitig von 24 auf 30 %
 * gestiegen ist — bei unverändertem Anteil wäre der Abstand zu den Karten
 * sonst zu klein geworden und die Ebenen hätten sich vermischt. */
.abschnitt.getoent { background: color-mix(in oklab, var(--flaeche) 55%, var(--hintergrund)); }

.abschnitt h2 {
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    margin-bottom: 20px;
}

.abschnitt .einleitung {
    color: var(--gedaempft);
    margin-bottom: 48px;
}

/* Fließtext-Absätze */
.fliesstext p { margin-bottom: 22px; color: var(--gedaempft); }
.fliesstext p.betont { color: var(--text); font-size: 1.15rem; }
.fliesstext p:last-child { margin-bottom: 0; }

/* ── Wegweiser ────────────────────────────────────────────── */
.wegweiser {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.wegweiser a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: 10px;
    padding: 22px 24px;
    font-weight: 500;
    transition: border-color 0.2s, transform 0.2s;
}
.wegweiser a:hover { border-color: var(--signal); transform: translateY(-2px); }
.wegweiser a::after { content: '→'; color: var(--signal); flex-shrink: 0; }

/* ── Drei Schritte (nummerierte Liste) ────────────────────── */
.schritte {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 44px 0 0;
    counter-reset: schritt;
}

.schritte li {
    counter-increment: schritt;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-top: 3px solid var(--signal);
    border-radius: 10px;
    padding: 28px 26px;
    color: var(--gedaempft);
    font-size: 15.5px;
}

.schritte li::before {
    content: '0' counter(schritt);
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--signal);
    margin-bottom: 12px;
}
.schritte li strong {
    color: var(--text);
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    line-height: 1.25;
    display: block;
    margin-bottom: 10px;
}

/* ── Die sechs Bereiche ───────────────────────────────────── */
/* Bereiche als Karten über die volle Breite.
   Bewusst ohne Bilder: die vorhandenen Motive passen nicht zur
   Ausrichtung. Sobald echte Fotos da sind, .bereich .bild wieder
   einsetzen (Regel steht unten, auskommentiert). */
.bereiche-liste { display: grid; gap: 24px; }

.bereich {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 32px;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: 12px;
    padding: 40px 44px;
    align-items: start;
}

.bereich .nummer {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--signal);
    font-size: 3.4rem;
    line-height: 0.9;
    opacity: 0.85;
}

.bereich h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    margin-bottom: 20px;
}
.bereich p { color: var(--gedaempft); margin-bottom: 16px; }
.bereich p:last-child { margin-bottom: 0; }

/* Für später, wenn echte Fotos vorliegen:
.bereich.mit-bild { grid-template-columns: 300px 1fr; }
.bereich .bild img { border-radius: 10px; border: 1px solid var(--linie); }
*/

/* Kurzer Klienten-Beleg am Ende eines Bereichs */
.beleg {
    border-left: 3px solid var(--signal);
    background: color-mix(in oklab, var(--signal) 8%, transparent);
    border-radius: 0 6px 6px 0;
    padding: 14px 18px;
    color: var(--text) !important;
    font-weight: 500;
    margin-top: 26px !important;
    display: inline-block;
}

/* ── Studios / Orte ───────────────────────────────────────── */
.orte { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }

.orte li {
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: 8px;
    padding: 16px 20px;
    color: var(--gedaempft);
}
.orte li strong { color: var(--text); font-weight: 500; }

/* ── Stimmen ──────────────────────────────────────────────── */
.stimmen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }

.stimme {
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: 10px;
    padding: 26px;
    display: flex;
    flex-direction: column;
}
.stimme blockquote { color: var(--text); font-size: 15.5px; margin-bottom: 18px; flex-grow: 1; }
.stimme .name { color: var(--signal); font-weight: 600; font-size: 14px; }

/* ── Über Michael ─────────────────────────────────────────── */
.portraet-block { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }

/* Google-Bewertung im Über-mich-Block — kam vom entfernten Trust-Streifen mit */
.portraet-block .bewertung { color: var(--gedaempft); font-size: 15.5px; margin-bottom: 24px; }
.portraet-block .bewertung .sterne { color: #f0b429; letter-spacing: 1px; margin-right: 7px; }
.portraet-block .bewertung strong { color: var(--text); }
.portraet-block img { border-radius: 10px; border: 1px solid var(--linie); }

/* ── Fotos im Fließtext ───────────────────────────────────────
   Alle drei tragen width/height im HTML gegen Layout-Sprünge —
   deshalb hier überall height:auto, sonst nimmt der Browser die
   Originalhöhe wörtlich und streckt das Bild. */

/* „Die Dosis“: Hochformat neben den drei Schritten */
.dosis-block {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 8px;
}
.dosis-block .bild img,
.orte-block .bild img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--linie);
    display: block;
}
.dosis-block .schritte { margin: 0; }

/* Breiter Bildstreifen als Zäsur zwischen zwei Abschnitten */
.bildstreifen {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.bildstreifen img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--linie);
    display: block;
}

/* „Wo“: Studio-Liste und Foto nebeneinander */
.orte-block {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.orte-block .orte { margin: 0; }

/* Auf schmalen Schirmen alles untereinander, Fotos nicht zu hoch */
@media (max-width: 980px) {
    .dosis-block, .orte-block { grid-template-columns: 1fr; gap: 28px; }
    .dosis-block .bild, .orte-block .bild { max-width: 420px; }
}

/* Porträt im Über-mich-Block: gleiche Absicherung */
.portraet-block img { width: 100%; height: auto; display: block; }

/* ── Preise ───────────────────────────────────────────────── */
.pakete { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; margin: 40px 0; }

.paket {
    position: relative;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: 10px;
    padding: 32px 26px;
}
.paket.empfohlen { border-color: var(--signal); }

.paket .abzeichen {
    position: absolute;
    top: -13px; left: 26px;
    background: var(--signal);
    color: var(--hintergrund);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 13px;
    border-radius: 999px;
}

.paket {
    display: flex;
    flex-direction: column;
    padding: 38px 30px;
}
.paket h3 { font-size: 1.3rem; margin-bottom: 12px; }
.paket.empfohlen h3 { color: var(--signal); }

.paket .preis {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 20px;
}
.paket .slogan {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 14px;
}
.paket p { color: var(--gedaempft); font-size: 15px; margin-bottom: 22px; }

/* Leistungen als Häkchen-Liste */
.paket ul { list-style: none; margin-bottom: 28px; flex-grow: 1; }
.paket li {
    position: relative;
    padding: 9px 0 9px 30px;
    font-size: 15px;
    color: var(--gedaempft);
    line-height: 1.5;
}
.paket li::before {
    content: '';
    position: absolute;
    left: 2px; top: 15px;
    width: 9px; height: 9px;
    background: var(--signal);
    border-radius: 2px;
}

/* Knopf sitzt bei allen drei Karten auf gleicher Höhe unten */
.paket .knopf {
    width: 100%;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--linie);
    border-radius: 6px;
}
.paket .knopf:hover { border-color: var(--signal); color: var(--signal); opacity: 1; }
.paket.empfohlen .knopf {
    background: var(--signal);
    color: var(--hintergrund);
    border-color: var(--signal);
}
.paket.empfohlen .knopf:hover { color: var(--hintergrund); opacity: 0.85; }

/* Zwischenüberschriften im Preis-Abschnitt */
.paket-ueberschrift {
    font-size: 1.4rem;
    margin-top: 52px;
    margin-bottom: 4px;
}

/* Preistabelle */
.preistabelle { width: 100%; border-collapse: collapse; margin: 28px 0; }
.preistabelle th, .preistabelle td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--linie); }
.preistabelle thead th { color: var(--gedaempft); font-weight: 500; font-size: 14px; }
.preistabelle tbody th { font-weight: 500; color: var(--text); }
.preistabelle td { color: var(--gedaempft); }
.preistabelle td.hervor { color: var(--signal); font-weight: 600; }

/* Markanter Block — für „Was noch passiert, während wir arbeiten“.
   Linksbündig, mit kräftigem Rahmen, hebt sich klar vom Fließtext ab. */
.markant {
    border: 2px solid var(--signal);
    border-radius: 14px;
    padding: 48px 52px;
    background: color-mix(in oklab, var(--signal) 6%, var(--hintergrund));
    max-width: 100%;
}
.markant h2 { margin-bottom: 24px; }


/* Kasten für Sicherheit / Hinweise */
.kasten {
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-left: 3px solid var(--signal);
    border-radius: 8px;
    padding: 26px 28px;
    margin-top: 32px;
}
.kasten h3 { font-size: 1.15rem; margin-bottom: 12px; }
.kasten p { color: var(--gedaempft); margin-bottom: 12px; }
.kasten p:last-child { margin-bottom: 0; }

/* ── Vorher-Nachher-Beleg ─────────────────────────────────── */
/* ── Beleg-Karten ─────────────────────────────────────────────
   Zwei verschiedene Klientinnen, bewusst gleich auffällig gestaltet:
   gleiche Fläche, gleicher Rahmen, gleiches Innenmaß. Der Unterschied
   ist nur, was die Blickfang-Spalte füllt — bei Natascha eine große
   Kennzahl, bei Jordis das Vorher-Nachher-Foto. */
.belege { display: grid; gap: 32px; margin-top: 36px; }

.beleg-karte {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 36px;
    align-items: center;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: 12px;
    padding: 36px 40px;
}

/* Blickfang links: große Zahl statt Bild */
.beleg-karte .kennzahl {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 220px;
    border: 1px solid var(--linie);
    border-radius: 8px;
    background: color-mix(in oklab, var(--signal) 8%, transparent);
    color: var(--gedaempft);
    font-size: 17px;
    line-height: 1.3;
}
.beleg-karte .kennzahl span {
    display: block;
    color: var(--signal);
    font-size: clamp(2.6rem, 4.5vw, 3.6rem);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 6px;
}

.beleg-karte img {
    border-radius: 8px;
    border: 1px solid var(--linie);
    width: 100%;
    height: auto;   /* MUSS bleiben: das <img> trägt width/height-Attribute gegen
                       Layout-Sprünge; ohne height:auto nimmt der Browser die 2160px
                       wörtlich und das Foto wird senkrecht gestreckt. */
}
.beleg-karte h3 { font-size: clamp(1.2rem, 1.9vw, 1.6rem); margin-bottom: 16px; }
.beleg-karte p { color: var(--gedaempft); margin-bottom: 14px; }
.beleg-karte .zahl { color: var(--signal); font-weight: 600; }
.beleg-karte blockquote {
    color: var(--text);
    font-size: 15.5px;
    line-height: 1.6;
    border-left: 3px solid var(--signal);
    padding-left: 18px;
    margin: 22px 0 14px;
}
.beleg-karte .name { color: var(--signal); font-weight: 600; font-size: 14px; margin-bottom: 0; }
.beleg-karte .name a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Platzhalter, solange die Bilddatei fehlt */
.bild-fehlt {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 280px;
    border: 2px dashed var(--offen);
    border-radius: 8px;
    padding: 28px;
    color: var(--offen);
    font-size: 15px;
    line-height: 1.5;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }

.faq-liste > div { padding: 24px 0; border-bottom: 1px solid var(--linie); }
.faq-liste > div:first-child { border-top: 1px solid var(--linie); }
.faq-liste h3 { font-size: 1.1rem; margin-bottom: 10px; }
.faq-liste p { color: var(--gedaempft); font-size: 15.5px; }

.faq .hinweis { color: var(--gedaempft); }
.faq .hinweis a { color: var(--signal); font-weight: 600; }

/* ── Kontakt ──────────────────────────────────────────────── */
.kontakt-bereich {
    position: relative;
    padding: 100px 0;
    background: url('../bilder/contact-bg.jpg') center / cover no-repeat;
}
.kontakt-bereich::before {
    content: '';
    position: absolute;
    inset: 0;
    background: color-mix(in oklab, var(--hintergrund) 92%, transparent);
}
.kontakt-bereich .innen { position: relative; }

.kontakt-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.kontakt-daten { list-style: none; margin-top: 28px; }
.kontakt-daten li { padding: 6px 0; color: var(--gedaempft); }
.kontakt-daten a { color: var(--signal); }

/* Formular */
.formular { display: grid; gap: 20px; }

.formular label { font-size: 15px; font-weight: 500; display: block; margin-bottom: 7px; }
.formular .freiwillig { color: var(--gedaempft); font-weight: 400; }

.formular input[type="text"],
.formular input[type="email"],
.formular input[type="tel"],
.formular textarea {
    width: 100%;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    color: var(--text);
    font-family: inherit;
    font-size: 16px;
    padding: 13px 15px;
    border-radius: 6px;
}
.formular input:focus, .formular textarea:focus { outline: 2px solid var(--signal); outline-offset: 0; }
.formular textarea { min-height: 130px; resize: vertical; }
.formular ::placeholder { color: color-mix(in oklab, var(--gedaempft) 65%, transparent); }

/* Pflicht-Checkbox Datenschutz */
.einwilligung { display: flex; gap: 12px; align-items: flex-start; }
.einwilligung input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--signal); flex-shrink: 0; }
.einwilligung label { font-size: 14.5px; color: var(--gedaempft); margin-bottom: 0; font-weight: 400; }
.einwilligung a { color: var(--signal); text-decoration: underline; }

/* Honigtopf: für Menschen unsichtbar, für Spam-Bots ein Köder.
   Absichtlich nicht display:none — das überspringen manche Bots. */
.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Rückmeldung nach dem Absenden */
.formular-meldung { display: none; }
.formular-meldung.sichtbar { display: block; padding: 14px 16px; border-radius: 6px; font-size: 15px; }
.formular-meldung.gut {
    background: color-mix(in oklab, var(--signal) 18%, var(--hintergrund));
    border: 1px solid var(--signal);
    color: var(--text);
}
.formular-meldung.fehler {
    background: color-mix(in oklab, oklch(60% 0.18 25) 18%, var(--hintergrund));
    border: 1px solid oklch(60% 0.18 25);
    color: var(--text);
}

.direkt-hinweis { margin-top: 24px; color: var(--gedaempft); font-size: 15px; }
.direkt-hinweis a { color: var(--signal); font-weight: 600; }

/* ── Fußzeile ─────────────────────────────────────────────── */
.fusszeile {
    background: color-mix(in oklab, var(--flaeche) 40%, var(--hintergrund));
    padding: 48px 0;
    font-size: 15px;
    color: var(--gedaempft);
}
.fusszeile .oben { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.fusszeile .marke { color: var(--text); }
.fusszeile a:hover { color: var(--text); }

/* ── Unterseiten ──────────────────────────────────────────── */
.unterseite { padding: 150px 0 100px; }
.unterseite h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 600; margin-bottom: 20px; }

.zertifikate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.zertifikate img { border: 1px solid var(--linie); border-radius: 8px; width: 100%; }

.textseite h2 { font-size: 1.45rem; margin: 40px 0 14px; }
.textseite h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.textseite p, .textseite li { color: var(--gedaempft); margin-bottom: 14px; }
.textseite ul { margin: 0 0 14px 22px; }
.textseite a { color: var(--signal); }

/* ── Responsiv ────────────────────────────────────────────── */
@media (max-width: 980px) {
    .schritte { grid-template-columns: 1fr; }
    .beleg-karte { grid-template-columns: 1fr; gap: 28px; }
    .beleg-karte .kennzahl { min-height: 150px; }
    .bereich { padding: 32px 28px; gap: 20px; }
    .portraet-block { grid-template-columns: 1fr; gap: 32px; }
    .portraet-block img { max-width: 420px; }
    .kontakt-raster, .faq { grid-template-columns: 1fr; gap: 40px; }
    .wegweiser, .stimmen, .pakete { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hauptnav {
        display: none;
        position: absolute;
        top: 68px; left: 0; right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: var(--hintergrund);
        border-bottom: 1px solid var(--linie);
        padding: 12px 24px;
    }
    .hauptnav.offen { display: flex; }
    .hauptnav a { padding: 13px 0; width: 100%; }
    .menue-knopf { display: block; }
    .kopfzeile .knopf { display: none; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .abschnitt { padding: 64px 0; }
    .held { padding: 148px 0 64px; }
    .beweiszeile { grid-template-columns: 1fr; gap: 20px; }
    .bereich { grid-template-columns: 1fr; }
    .bereich .nummer { font-size: 2.4rem; }
    .markant { padding: 32px 26px; }
    .beleg-karte { padding: 26px 22px; }
    .wegweiser, .stimmen, .pakete, .orte { grid-template-columns: 1fr; }
    .zertifikate { grid-template-columns: repeat(2, 1fr); }
    .preistabelle th, .preistabelle td { padding: 11px 10px; font-size: 15px; }
}

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


/* ═══════════════════════════════════════════════════════════════
   BLOG — 14 Beiträge, übernommen von der alten WordPress-Seite.
   Die Beiträge liegen in eigenen Ordnern, damit die bei Google
   indexierten Adressen (/rueckenprobleme/ usw.) erhalten bleiben.
   ═══════════════════════════════════════════════════════════════ */

.innen.schmal { max-width: 760px; }

/* ── Übersicht: drei Spalten wie auf der alten Seite ── */
.blogliste {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px 30px;        /* viel Luft nach unten — vorher 26px, das klebte */
    margin-top: 52px;
}
.blogkarte {
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.blogkarte-bild { position: relative; display: block; line-height: 0; }
.blogkarte-bild img {
    width: 100%;
    aspect-ratio: 16 / 10;    /* Format wie in Kalles Vorlage, statt fester Höhe */
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.blogkarte:hover .blogkarte-bild img { transform: scale(1.04); }

/* Themen-Schild oben rechts */
.blogkarte-kategorie {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--signal);
    color: var(--hintergrund);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
    line-height: 1.2;
}

/* Autoren-Avatar: kleiner Kreis über der Bildunterkante, wie im Vorbild.
   Alle Beiträge stammen von Michael — der Kreis zeigt sein Porträt. */
.blogkarte-autor {
    position: absolute;
    left: 20px; bottom: -24px;
    width: 52px; height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--flaeche);
    background: var(--flaeche);
}
.blogkarte-autor img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 20%;
}

.blogkarte-text {
    padding: 34px 22px 22px;  /* oben Platz für den Avatar-Kreis */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blogkarte-text .beitrag-datum { margin-bottom: 7px; font-size: 13px; }
.blogkarte-text h2 { font-size: 1.16rem; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.blogkarte-text h2 a { color: var(--text); text-decoration: none; }
.blogkarte-text h2 a:hover { color: var(--signal); }
.blogkarte-text > p { color: var(--gedaempft); font-size: 14.5px; line-height: 1.55; }
.blogkarte .weiterlesen {
    margin-top: auto;
    padding-top: 14px;
    color: var(--signal);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
}
.blogkarte .weiterlesen:hover { text-decoration: underline; }

/* ── Einzelbeitrag ── */
.beitrag { padding: 170px 0 90px; }
.beitrag .krume { margin-bottom: 16px; font-size: 14.5px; color: var(--gedaempft); }
.beitrag .krume a { color: var(--signal); text-decoration: none; }
.beitrag .krume a:hover { text-decoration: underline; }
.beitrag .krume span { margin: 0 6px; opacity: 0.6; }
.beitrag h1 {
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    line-height: 1.18;
    margin-bottom: 12px;
}
.beitrag-meta { color: var(--gedaempft); font-size: 14.5px; margin-bottom: 30px; }
.beitrag-meta .punkt { margin: 0 7px; opacity: 0.6; }
.beitrag-datum { color: var(--gedaempft); font-size: 14.5px; }

/* Titelbild bewusst begrenzt — es soll den Text nicht erschlagen */
.beitrag .titelbild {
    width: 100%;
    max-height: 230px;     /* vorher 330px — das Bild erschlug den Textanfang */
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--linie);
    margin-bottom: 36px;
}

/* Inhaltsverzeichnis bei langen Beiträgen */
.inhalt-uebersicht {
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-left: 3px solid var(--signal);
    border-radius: 10px;
    padding: 22px 26px;
    margin-bottom: 40px;
}
.inhalt-titel {
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.inhalt-uebersicht ol { margin: 0 0 0 18px; padding: 0; }
.inhalt-uebersicht li { margin-bottom: 8px; color: var(--gedaempft); font-size: 15.5px; }
.inhalt-uebersicht a { color: var(--gedaempft); text-decoration: none; }
.inhalt-uebersicht a:hover { color: var(--signal); text-decoration: underline; }

/* Fließtext */
.beitrag-text { font-size: 17.5px; line-height: 1.78; color: var(--gedaempft); }
.beitrag-text p { margin-bottom: 24px; }

/* Einleitung hebt sich ab und gibt dem Text einen Einstieg */
.beitrag-text p.lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 32px;
}

/* Zwischenüberschriften mit klarer Zäsur, damit der Text gegliedert wirkt */
.beitrag-text h2 {
    color: var(--text);
    font-size: clamp(1.3rem, 2.2vw, 1.65rem);
    line-height: 1.28;
    margin: 54px 0 18px;
    padding-top: 26px;
    border-top: 1px solid var(--linie);
    scroll-margin-top: 110px;
}
.beitrag-text h3 {
    color: var(--text);
    font-size: 1.18rem;
    margin: 34px 0 12px;
}
.beitrag-text ul, .beitrag-text ol { margin: 0 0 24px 22px; }
.beitrag-text li { margin-bottom: 11px; }
.beitrag-text a { color: var(--signal); }
.beitrag-text img {
    width: 100%; height: auto; display: block;
    border-radius: 10px; border: 1px solid var(--linie);
    margin: 32px 0;
}
.beitrag-text blockquote {
    border-left: 3px solid var(--signal);
    padding-left: 22px;
    margin: 30px 0;
    color: var(--text);
}

/* Aufruf am Ende jedes Beitrags */
.beitrag-abschluss {
    margin-top: 60px;
    padding: 34px 36px;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: 12px;
}
.beitrag-abschluss h2 { font-size: 1.35rem; margin-bottom: 12px; }
.beitrag-abschluss p { color: var(--gedaempft); margin-bottom: 22px; }

.hauptnav a.aktiv { color: var(--signal); }

@media (prefers-reduced-motion: reduce) {
    .blogkarte-bild img { transition: none; }
    .blogkarte:hover .blogkarte-bild img { transform: none; }
}

@media (max-width: 1100px) {
    .blogliste { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .blogliste { grid-template-columns: 1fr; gap: 22px; }
    .beitrag { padding: 148px 0 70px; }
    .beitrag .titelbild { max-height: 220px; }
    .beitrag-text p.lead { font-size: 18px; }
}


/* Weitere Kundenstimmen hinter einem Aufklapper */
.mehr-stimmen { margin-top: 56px; }
.mehr-stimmen summary {
    cursor: pointer;
    color: var(--signal);
    font-weight: 600;
    font-size: 15.5px;
    padding: 12px 0;
    list-style: none;
}
.mehr-stimmen summary::-webkit-details-marker { display: none; }
.mehr-stimmen summary::before { content: "+ "; font-weight: 700; }
.mehr-stimmen[open] summary::before { content: "– "; }
.mehr-stimmen summary:hover { text-decoration: underline; }
.mehr-stimmen .stimmen { margin-top: 20px; }

/* Zusage: der Satz, der die letzte Hemmung nimmt */
.zusage {
    background: color-mix(in oklab, var(--signal) 10%, var(--hintergrund));
    border: 1px solid color-mix(in oklab, var(--signal) 35%, transparent);
    border-radius: 12px;
    padding: 30px 34px;
    margin-top: 32px;
}
.zusage-kern {
    color: var(--text);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 14px;
}
.zusage p:last-child { color: var(--gedaempft); margin-bottom: 0; }




/* Seitenblättern unter der Blogübersicht */
.blaettern {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 56px;
}
.blaettern a, .blaettern .jetzt {
    padding: 6px 10px;
    font-size: 19px;
    font-weight: 600;
    text-decoration: none;
}
.blaettern a { color: var(--gedaempft); }
.blaettern a:hover { color: var(--signal); }
.blaettern .jetzt { color: var(--text); }

/* Anzahl der Beiträge — beantwortet „wie viel gibt es hier" */
.blogseite .einleitung .anzahl {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 11px;
    border: 1px solid var(--linie);
    border-radius: 999px;
    font-size: 14px;
    color: var(--signal);
    white-space: nowrap;
}

/* ── Abschnitte in Rechtstexten (22.08.2026) ───────────────────────────
 *
 * Die Datenschutzseite war eine einzige dunkle Fläche: acht Abschnitte
 * ohne jede optische Trennung, dazu graue Nebentext-Farbe auf fast
 * schwarzem Grund. Das liest sich schwer und wirkt erschlagend.
 *
 * Jeder Abschnitt bekommt jetzt dieselbe hellere Kartenfläche wie die
 * Kästen auf der Startseite (--flaeche, 24% gegen 14.5% Hintergrund).
 * Damit ist die Seite gegliedert, ohne dass eine neue Farbe nötig wäre.
 *
 * Der Fließtext steht hier auf --text statt --gedaempft: Auf der
 * helleren Fläche darf er kräftiger sein, und Rechtstexte will man
 * lesen können, nicht überfliegen. */
.rechtsabschnitt {
    /* 22.08.2026 nachgebessert: --flaeche (24 %) hob sich vom Hintergrund
     * (14,5 %) zu wenig ab — auf dunklen Seiten gewöhnt sich das Auge
     * schnell daran und die Seite wirkt wieder wie eine Fläche.
     *
     * Jetzt 31 % statt 24 %, dazu ein deutlich hellerer Rand und mehr
     * Abstand zwischen den Karten. Bewusst als eigener Wert und nicht
     * über --flaeche: Die Variable steuert ein Dutzend andere Kästen auf
     * der Startseite, die genau richtig sitzen. */
    background: oklch(31% 0.007 285);
    border: 1px solid oklch(40% 0.008 285);
    border-radius: 10px;
    padding: 26px 30px;
    margin-bottom: 22px;
}

.rechtsabschnitt p,
.rechtsabschnitt li { color: var(--text); }

/* Erste Überschrift und letzter Absatz ohne Aussenabstand, sonst
 * entsteht oben und unten in jeder Karte ein doppelter Rand. */
.rechtsabschnitt > h2:first-child { margin-top: 0; }
.rechtsabschnitt > :last-child    { margin-bottom: 0; }

/* ── Knopf "nach oben" (22.08.2026) ────────────────────────────────────
 *
 * Sitzt fest unten rechts und erscheint erst, wenn wirklich gescrollt
 * wurde — auf der Startseite ist das nach etwa einem Bildschirm.
 *
 * Bewusst ein <a href="#top">: Das ist im HTML-Standard als Sprung an
 * den Seitenanfang festgelegt, auch ohne Element mit dieser Kennung.
 * Der Knopf funktioniert dadurch selbst dann, wenn das Skript nicht
 * geladen wird — dann eben ohne weiches Scrollen und immer sichtbar.
 *
 * Der Pfeil ist ein Schriftzeichen, kein gezeichnetes Symbol — wie das
 * → in .pfeil-link. */
.nach-oben {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;                 /* unter der Kopfzeile (100) */

    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;

    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: 50%;
    color: var(--text);
    font-size: 20px;
    line-height: 1;
    text-decoration: none;

    transition: opacity .2s, visibility .2s, border-color .2s, color .2s;
}

.nach-oben:hover {
    border-color: var(--signal);
    color: var(--signal);
}

/* Standardmässig unsichtbar; das Skript setzt .sichtbar beim Scrollen.
 * Ohne Skript greift die Regel darunter und der Knopf bleibt sichtbar. */
.nach-oben { opacity: 0; visibility: hidden; }
.nach-oben.sichtbar { opacity: 1; visibility: visible; }

html:not(.js) .nach-oben { opacity: 1; visibility: visible; }

/* Auf schmalen Schirmen etwas kleiner und näher an die Ecke. */
@media (max-width: 600px) {
    .nach-oben { right: 16px; bottom: 16px; width: 42px; height: 42px; font-size: 18px; }
}

/* Mehr Abstand nach oben, wo ein Absatz sonst am Vorherigen klebt
 * (22.08.2026, für den betonten Satz unter der Studio-Liste). */
.luft-oben { margin-top: 48px; }

/* Die Formular-Bestätigung darf umbrechen, wo im Text ein Zeilenumbruch
 * steht. Die Meldung wird über textContent gesetzt, also ohne HTML —
 * pre-line ist der Weg, den Umbruch trotzdem sichtbar zu machen. */
.formular-meldung { white-space: pre-line; }
