/* ==========================================================================
   kalkbraeuer.de – Stylesheet
   Werte entsprechen dem Design-System „Kalkbräuer“ (tokens.json).
   ========================================================================== */

/* --- Schriften (selbst gehostet, kein Google-Server) ---------------------- */
@font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat-latin.woff2") format("woff2-variations"), url("../fonts/montserrat-latin.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat-latin-italic.woff2") format("woff2-variations"), url("../fonts/montserrat-latin-italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
/* Kursive Akzentschrift: EB Garamond (31 kB, dieselbe Datei wie in der Buchwelt) statt Newsreader (147 kB) */
@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/eb-garamond-latin-400-italic.woff") format("woff");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "JetBrains Mono";
    src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}

/* --- Tokens ---------------------------------------------------------------- */
:root {
    /* Flächen: tiefes Nachtblau */
    --ground: #0a1022;
    --surface: #121a33;
    --surface-raised: #1a2445;
    /* Text */
    --ink: #eef2fb;
    --ink-muted: #a9b4cf;
    /* Linien */
    --line: #232d52;
    --line-strong: #5f6e98;
    /* Primär: Türkis -> Blau (Buttons, Links, Licht) */
    --primary: #5ee6d6;
    --primary-hover: #9af0e6;
    --primary-2: #5b8cff;
    --on-primary: #0a1022;
    /* Akzent Apricot: die warme, menschliche Note – sparsam */
    --accent: #f2ab6d;
    /* Lichtfarben für Hintergrund und Kugeln (ohne Text darauf) */
    --licht-blau: #3b5bdb;
    --licht-tuerkis: #14b8c6;
    --focus: #9af0e6;
    --error: #ff9f8f;

    --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: var(--font-sans);
    --font-serif: "EB Garamond", Georgia, "Times New Roman", serif;
    --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

    --space-2: 8px;
    --space-4: 16px;
    --space-6: 24px;
    --space-12: 48px;
    --space-24: 96px;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-pill: 999px;

    --container: 1200px;
    --gutter: clamp(16px, 5vw, 80px);
    --section: clamp(64px, 10vw, 104px);
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16.5px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }

a { color: var(--primary); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-hover); }

:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
    border-radius: 2px;
}

::selection { background: var(--accent); color: var(--on-primary); }

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    left: var(--space-4);
    top: -100px;
    z-index: 10;
    padding: var(--space-2) var(--space-4);
    background: var(--primary);
    color: var(--on-primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.skip-link:focus { top: var(--space-4); }

/* H1 mit Überzeile: Abstand kommt vom Elternelement, Optik bleibt wie vorher (06.11.2026) */
.h1-stack { display: flex; flex-direction: column; gap: inherit; margin: 0; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* --- Typografie ------------------------------------------------------------- */
.label {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.display-xl {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 6.4vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(26px, 3.6vw, 38px);
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.h3 {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
}

.h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.lead {
    font-size: clamp(18px, 2vw, 20px);
    line-height: 1.6;
}

.small { font-size: 15px; line-height: 1.55; }
.muted { color: var(--ink-muted); }
.accent { color: var(--accent); }

.prose { display: flex; flex-direction: column; gap: var(--space-4); max-width: 640px; }

/* --- Buttons ---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 48px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn--secondary { border-color: var(--line-strong); color: var(--ink); font-weight: 500; }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn--small { min-height: 44px; padding: 8px 18px; font-size: 15px; }

/* Weiterführende Links als dezenter Glas-Button mit rundem Pfeil */
.link-arrow,
a.link-arrow,
.section--salbei a.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    min-height: 44px;
    padding: 6px 6px 6px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(94, 230, 214, .35);
    background: rgba(94, 230, 214, .07);
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.link-arrow::after {
    /* Pfeil als SVG statt Schriftzeichen: sitzt auf jedem Gerät exakt mittig */
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: url("../img/icon-pfeil.svg") center / 16px 16px no-repeat, var(--gradient-primary, linear-gradient(100deg, #5ee6d6, #5b8cff));
    transition: transform .2s ease;
}
a.link-arrow:hover,
.tile:hover .link-arrow,
.section--salbei a.link-arrow:hover {
    color: var(--ink);
    border-color: var(--primary);
    background: rgba(94, 230, 214, .14);
    box-shadow: 0 8px 24px rgba(94, 230, 214, .16);
}
a.link-arrow:hover::after,
.tile:hover .link-arrow::after { transform: translateX(3px); }
a.link-arrow:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    .link-arrow, .link-arrow::after { transition: none; }
}

/* --- Kopf ------------------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4) var(--space-6);
    padding-block: 20px;
}

.wordmark {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    font-size: 26px;
    line-height: 32px;
    color: var(--ink);
    text-decoration: none;
}
.wordmark:hover { color: var(--ink); }
.wordmark__dot { color: var(--accent); }
.wordmark--small { font-size: 22px; line-height: 28px; }

.site-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 28px;
    padding: 0;
    list-style: none;
    font-size: 15px;
}
.site-nav__list a { color: var(--ink); text-decoration: none; padding-block: 10px; display: inline-block; }
.site-nav__list a:hover { color: var(--primary); }


/* --- Abschnitte ------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section--salbei { background: var(--licht-tuerkis); color: var(--ground); }
.section--salbei .label { color: var(--ground); }
.section--salbei a { color: var(--ground); font-weight: 600; }
.section--salbei a:hover { color: var(--surface); }

.section__head { display: flex; flex-direction: column; gap: var(--space-4); max-width: 680px; margin-bottom: var(--space-12); }

.split {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-12);
    align-items: center;
}
.split > * { flex: 1 1 400px; min-width: 0; }

/* --- Hero ------------------------------------------------------------------- */
.hero { padding-block: clamp(56px, 9vw, 112px); }
.hero__text { display: flex; flex-direction: column; gap: var(--space-6); flex-basis: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); padding-top: var(--space-2); }

.hero__media { flex-basis: 380px; max-width: 520px; }
.hero__photo { border-radius: var(--radius-sm); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* Markengrafik, solange kein Foto da ist – reine Formen, dekorativ */
.brand-blocks {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(7, minmax(0, 1fr));
    gap: 0;
    aspect-ratio: 4 / 5;
    width: 100%;
    background-image:
        linear-gradient(var(--line), var(--line)),
        linear-gradient(var(--line), var(--line)),
        linear-gradient(var(--line), var(--line));
    background-size: 100% 1px, 100% 1px, 1px 100%;
    background-position: 0 14.28%, 0 71.42%, 16.66% 0;
    background-repeat: no-repeat;
}
.brand-blocks span { border-radius: var(--radius-sm); }
@media (max-width: 760px) {
    .hero__media--blocks { display: none; }
}
.brand-blocks .b1 { grid-column: 2 / 5; grid-row: 1 / 5; background: var(--licht-blau); }
.brand-blocks .b2 { grid-column: 5 / 7; grid-row: 2 / 6; background: var(--licht-tuerkis); }
.brand-blocks .b3 { grid-column: 3 / 5; grid-row: 5 / 7; background: var(--primary); }
.brand-blocks .b5 { grid-column: 5 / 6; grid-row: 6 / 7; background: var(--accent); border-radius: 50%; }
.brand-blocks .b4 { grid-column: 2 / 3; grid-row: 6 / 7; background: var(--ink); }

/* --- Haltung ---------------------------------------------------------------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-12) var(--space-12);
    padding: 0;
    list-style: none;
}
.pillar {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding-top: var(--space-6);
    border-top: 1px solid var(--line-strong);
}

.note {
    margin-top: var(--space-12);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    max-width: 760px;
}

/* --- Was ich mache ---------------------------------------------------------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    padding: 0;
    list-style: none;
}
/* Vier Karten: 2 × 2 statt 3 + 1 */
.cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) {
    .cards--four { grid-template-columns: minmax(0, 1fr); }
}
.card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: clamp(24px, 3vw, 32px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}
.card__list {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.card__list li::marker { color: var(--accent); }

/* --- Projekt ---------------------------------------------------------------- */
.project { align-items: flex-start; }
.project__media { flex-basis: 560px; }
.project__shot { border-radius: var(--radius-sm); border: 1px solid var(--line); width: 100%; }

.browser {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface-raised);
}
.browser__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.browser__url {
    margin-left: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 16px;
    color: var(--ink-muted);
}
.browser__body {
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: var(--space-2);
    padding: clamp(20px, 4vw, 40px);
    background:
        radial-gradient(120% 90% at 85% 10%, rgba(159, 184, 204, .30), transparent 60%),
        var(--surface-raised);
}
.browser__kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.browser__title { font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 38px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
.browser__title em { color: var(--accent); font-style: normal; }

.project__text { display: flex; flex-direction: column; gap: var(--space-6); flex-basis: 380px; }
.facts { display: flex; flex-direction: column; gap: var(--space-4); padding: 0; list-style: none; }
.facts li { padding-top: var(--space-4); border-top: 1px solid var(--line); }
.facts strong { display: block; font-weight: 600; }

.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; list-style: none; }
.tag {
    padding: 2px 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    font-size: 13px;
    line-height: 24px;
    color: var(--ink-muted);
}

/* --- Über mich -------------------------------------------------------------- */
.about__photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
    flex-basis: 360px;
    max-width: 480px;
}
.about__photos img, .about__ph {
    aspect-ratio: 3 / 4;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.about__photos > :nth-child(2) { margin-top: var(--space-12); }
.about__ph { background: var(--surface-raised); }
.about__ph--stahl { background: var(--licht-blau); }
.about__text { display: flex; flex-direction: column; gap: var(--space-4); flex-basis: 460px; }
.about__text--solo { max-width: 760px; }
.about__text p { max-width: 600px; }

/* --- Schreiben -------------------------------------------------------------- */
.writing {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6) var(--space-12);
    align-items: end;
    justify-content: space-between;
}
.writing__text { display: flex; flex-direction: column; gap: var(--space-4); flex: 1 1 480px; max-width: 680px; }
.writing__quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(22px, 2.6vw, 26px);
    line-height: 1.4;
    color: var(--ink);
}
.books { display: flex; gap: 12px; flex: 0 0 auto; }
.books span {
    width: 56px;
    height: 84px;
    border-radius: 2px var(--radius-sm) var(--radius-sm) 2px;
    background: var(--licht-blau);
    box-shadow: inset 4px 0 0 rgba(0, 0, 0, .18);
}
.books span:nth-child(2) { background: var(--surface-raised); transform: translateY(-12px); }
.books span:nth-child(3) { background: var(--surface-raised); border: 1px solid var(--line-strong); }

.book-thumb {
    flex: 0 0 auto;
    width: clamp(110px, 14vw, 150px);
    transform: rotate(-3deg);
    transition: transform .25s ease;
}
.book-thumb img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .5), inset 3px 0 0 rgba(0, 0, 0, .25);
}
.book-thumb:hover, .book-thumb:focus-visible { transform: rotate(0deg) translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .book-thumb { transition: none; } }

/* --- Kontakt ---------------------------------------------------------------- */
.contact { align-items: flex-start; gap: clamp(48px, 6vw, 80px); }
.contact__intro { display: flex; flex-direction: column; gap: var(--space-6); flex-basis: 340px; }
.contact__details { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6) 0 0; margin: 0; border-top: 1px solid var(--line); }
.contact__details div { display: flex; flex-direction: column; }
.contact__details dt { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.contact__details dd { margin: 0; font-weight: 500; }

.form {
    flex-basis: 520px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: clamp(24px, 4vw, 40px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-size: 15px; font-weight: 500; }
.field input, .field select, .field textarea {
    font: inherit;
    color: var(--ink);
    background: var(--ground);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    min-height: 48px;
    width: 100%;
}
.field textarea { resize: vertical; min-height: 150px; }
.field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
    padding-right: 44px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--focus); }
.field--error input, .field--error textarea { border-color: var(--error); }
.field__error { font-size: 14px; line-height: 22px; color: var(--error); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--primary); }

/* Honigtopf für Bots – für Menschen unsichtbar */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form .btn { align-self: flex-start; }

.alert { padding: var(--space-4) var(--space-6); border-radius: var(--radius-sm); }
.alert--success { background: var(--licht-tuerkis); color: var(--ground); }
.alert--error { background: var(--surface-raised); border: 1px solid var(--error); }

/* --- Fuß -------------------------------------------------------------------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6) var(--space-12);
    justify-content: space-between;
    align-items: center;
    padding-block: var(--space-12);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 2px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 0; list-style: none; font-size: 14px; }
.site-footer__links a { color: var(--ink-muted); display: inline-block; padding-block: 8px; }
.site-footer__links a:hover { color: var(--ink); }

/* --- Rechtsseiten ----------------------------------------------------------- */
.legal { max-width: 760px; display: flex; flex-direction: column; gap: var(--space-4); }
.legal h1 { margin-bottom: var(--space-6); }
.legal h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; font-size: 26px; line-height: 1.25; margin-top: var(--space-6); }
.legal h3 { font-size: 18px; line-height: 26px; font-weight: 600; margin-top: var(--space-4); }
.legal ul { padding-left: 20px; }
.legal p, .legal li { color: var(--ink); }
.legal .placeholder { padding: var(--space-6); border: 1px dashed var(--error); border-radius: var(--radius-md); }

/* --- Druck ------------------------------------------------------------------ */
@media print {
    body { background: #fff; color: #000; }
    .site-header nav, .site-header .btn, .form, .brand-blocks, .skip-link { display: none !important; }
    .section--surface, .section--salbei, .site-footer { background: none; color: #000; }
    a { color: #000; }
}

/* ==========================================================================
   Glasoptik
   Farbiges Licht im Hintergrund + durchscheinende, weichgezeichnete Flächen.
   Fällt ohne backdrop-filter oder bei „weniger Transparenz“ auf feste Flächen zurück.
   ========================================================================== */
:root {
    --glass-bg: rgba(18, 26, 51, 0.5);
    --glass-bg-strong: rgba(18, 26, 51, 0.78);
    --glass-border: rgba(238, 242, 251, 0.13);
    --glass-rim: inset 0 1px 0 rgba(255, 255, 255, 0.09);
    --glass-shadow: 0 24px 60px rgba(2, 5, 14, 0.45);
    --glass-blur: blur(22px) saturate(160%);
    --gradient-primary: linear-gradient(100deg, var(--primary) 0%, var(--primary-2) 100%);
}

/* Hintergrund-Licht */
.ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.ambient span {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}
.ambient span:nth-child(1) { width: 46vw; height: 46vw; min-width: 360px; min-height: 360px; top: -12vw; right: -10vw; background: var(--licht-blau); opacity: .55; }
.ambient span:nth-child(2) { width: 38vw; height: 38vw; min-width: 300px; min-height: 300px; bottom: -14vw; left: -12vw; background: var(--licht-tuerkis); opacity: .32; }
.ambient span:nth-child(3) { width: 16vw; height: 16vw; min-width: 160px; min-height: 160px; top: 52%; right: 22%; background: var(--accent); opacity: .12; }

/* Glasfläche als Baustein */
.glass,
.card,
.form,
.note,
.browser,
.site-header {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-rim), var(--glass-shadow);
}

/* Abschnitte lassen das Licht durch */
.section--surface {
    background: rgba(18, 26, 51, 0.35);
    border-block: 1px solid var(--glass-border);
}

/* Über mich: leicht türkis getöntes Glas */
.section--salbei {
    background: linear-gradient(120deg, rgba(20, 184, 198, 0.16), rgba(59, 91, 219, 0.14));
    color: var(--ink);
    border-block: 1px solid var(--glass-border);
}
.section--salbei .label { color: var(--ink-muted); }
.section--salbei a { color: var(--primary); }
.section--salbei a:hover { color: var(--primary-hover); }

/* Kopf: schwebende Glasleiste */
.site-header {
    position: sticky;
    top: 12px;
    z-index: 20;
    margin: 12px clamp(8px, 2vw, 24px) 0;
    border-radius: 16px;
    box-shadow: var(--glass-rim), 0 12px 40px rgba(2, 5, 14, 0.4);
}
.site-header__inner { padding-block: 12px; }
html { scroll-padding-top: 96px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex: 0 0 auto; }
.brand:hover .wordmark { color: var(--ink); }
.brand--small .brand__mark { width: 32px; height: 32px; }

/* Buttons: rund, Verlauf Türkis -> Blau */
.btn { border-radius: var(--radius-pill); }
.btn--primary {
    background: var(--gradient-primary);
    color: var(--on-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 30px rgba(91, 140, 255, .3);
}
.btn--primary:hover {
    background: linear-gradient(100deg, var(--primary-hover) 0%, #8fb0ff 100%);
    color: var(--on-primary);
}
.btn--secondary {
    background: rgba(238, 242, 251, 0.04);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-color: var(--glass-border);
}
.btn--secondary:hover { border-color: rgba(238, 242, 251, .45); }

/* Formularfelder: dunkles Glas */
.field input, .field select, .field textarea {
    background-color: rgba(10, 16, 34, 0.6);
    border-color: rgba(169, 180, 207, 0.45);
}

/* Kleine Details im neuen Look */
.alert--success { background: rgba(94, 230, 214, .16); color: var(--ink); border: 1px solid rgba(94, 230, 214, .5); }
.tag { border-color: var(--glass-border); background: rgba(238, 242, 251, .04); }
.browser__body { background: radial-gradient(120% 90% at 85% 10%, rgba(91, 140, 255, .35), transparent 60%), radial-gradient(80% 80% at 10% 100%, rgba(94, 230, 214, .22), transparent 60%), var(--surface-raised); }
.books span { background: var(--licht-blau); }
.books span:nth-child(2) { background: var(--licht-tuerkis); }
.books span:nth-child(3) { background: rgba(238, 242, 251, .06); border-color: var(--glass-border); }

/* --- Hero: Glaskugeln + Glaskarte ----------------------------------------- */
.orb-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 520px;
    margin-inline: auto;
}
.orb {
    position: absolute;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 26%, rgba(255, 255, 255, .8) 0, rgba(255, 255, 255, 0) 18%),
        radial-gradient(circle at 74% 76%, rgba(242, 171, 109, .45) 0, rgba(242, 171, 109, 0) 32%),
        radial-gradient(circle at 26% 72%, rgba(46, 230, 200, .9) 0, rgba(46, 230, 200, 0) 46%),
        radial-gradient(circle at 50% 42%, #5b8cff 0, #2238a8 55%, #0a1022 100%);
    box-shadow:
        inset -14px -24px 48px rgba(0, 0, 0, .45),
        inset 10px 12px 34px rgba(255, 255, 255, .18),
        0 40px 80px rgba(2, 5, 14, .55);
}
.orb--1 { width: 62%; height: 62%; top: 2%; right: 0; }
.orb--2 {
    width: 30%; height: 30%; bottom: 4%; right: 30%;
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .75) 0, rgba(255, 255, 255, 0) 22%),
        radial-gradient(circle at 70% 72%, rgba(91, 140, 255, .8) 0, rgba(91, 140, 255, 0) 50%),
        radial-gradient(circle at 50% 45%, #22d3ee 0, #156f9a 60%, #0a1022 100%);
}
.orb--3 {
    width: 14%; height: 14%; top: 10%; left: 6%;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, 0) 26%),
        radial-gradient(circle at 50% 50%, #f2ab6d 0, #b0683a 70%, #2a1a12 100%);
}
.glass-card {
    position: absolute;
    left: 0;
    top: 30%;
    width: 68%;
    padding: clamp(20px, 3vw, 32px);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(18, 26, 51, 0.3);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
    border: 1px solid rgba(238, 242, 251, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), var(--glass-shadow);
}
.glass-card__mark { width: 56px; height: 56px; }
.glass-card__name { font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.glass-card__code {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 20px;
    color: var(--ink-muted);
}
.glass-card__code b { color: var(--primary); font-weight: 500; }
.glass-card__bar { height: 6px; border-radius: 3px; background: rgba(238, 242, 251, .14); }
.glass-card__bar--short { width: 55%; background: var(--gradient-primary); opacity: .7; }

@media (max-width: 760px) {
    .hero__media--blocks { display: block; }
    .orb-stage { max-width: 340px; }
    .site-header { top: 8px; margin-inline: 8px; }
}

/* --- Fallbacks -------------------------------------------------------------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .card, .form, .note, .browser, .site-header, .glass { background: var(--surface); }
    .glass-card { background: var(--glass-bg-strong); }
}
@media (prefers-reduced-transparency: reduce) {
    .card, .form, .note, .browser, .site-header, .glass, .glass-card {
        background: var(--surface);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .ambient { display: none; }
}
@media print {
    .ambient, .orb-stage { display: none !important; }
    .site-header { position: static; box-shadow: none; }
}


/* Hinweis-Box mit Button (z. B. Konfigurator) */
.note--cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; max-width: none; }
.note--cta > div { display: flex; flex-direction: column; gap: 4px; flex: 1 1 320px; }

/* ==========================================================================
   Unterseiten
   ========================================================================== */
.site-nav__list a[aria-current="page"] { color: var(--primary); }
.site-nav__list a[aria-current="page"]::after {
    content: "";
    display: block;
    height: 2px;
    margin-top: 2px;
    border-radius: 2px;
    background: var(--gradient-primary);
}

.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(24px, 4vw, 48px); }
.page-hero__inner { display: flex; flex-direction: column; gap: var(--space-6); max-width: 820px; }

.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6) var(--space-12);
    padding: clamp(28px, 5vw, 56px);
    border-radius: 24px;
}
.cta-band__text { display: flex; flex-direction: column; gap: var(--space-4); flex: 1 1 420px; max-width: 640px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* Teaser-Kacheln auf der Startseite */
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
    padding: 0;
    list-style: none;
}
.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: clamp(24px, 3vw, 32px);
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-rim), var(--glass-shadow);
    transition: border-color .2s ease, transform .2s ease;
}
.tile:hover { border-color: rgba(94, 230, 214, .45); transform: translateY(-2px); }
.tile a.tile__link { color: var(--ink); text-decoration: none; }
.tile a.tile__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tile a.tile__link:focus-visible { outline: none; }
.tile:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.tile .link-arrow { margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } .tile:hover { transform: none; } }

/* Ablauf als Zeitstrahl: am Desktop waagerecht, am Handy senkrecht */
.steps {
    --node: 52px;
    display: grid;
    gap: var(--space-6);
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: step;
}
.steps li {
    position: relative;
    display: flex; flex-direction: column; gap: var(--space-2);
    counter-increment: step;
}
/* Knoten mit Nummer */
.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: relative; z-index: 1;
    display: grid; place-items: center;
    width: var(--node); height: var(--node);
    border-radius: 50%;
    font-weight: 700; font-size: 17px; letter-spacing: -.02em;
    color: var(--primary);
    background: var(--glass-bg);
    border: 1px solid rgba(94, 230, 214, .55);
    box-shadow: 0 0 0 6px rgba(94, 230, 214, .06), 0 0 22px rgba(94, 230, 214, .22), inset 0 1px 0 rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    margin-bottom: var(--space-4);
}
.steps li:last-child::before { color: #0b1022; background: var(--gradient-primary); border-color: transparent; }
/* Verbindungslinie zum nächsten Schritt */
.steps li:not(:last-child)::after {
    content: ""; position: absolute; z-index: 0;
    background: linear-gradient(90deg, rgba(94, 230, 214, .7), rgba(91, 140, 255, .45));
}
.steps h3 { margin-top: 0; }

@media (min-width: 900px) {
    .steps { grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--space-6); }
    .steps li { padding-right: var(--space-4); }
    .steps li:not(:last-child)::after {
        top: calc(var(--node) / 2 - 1px); height: 2px;
        left: calc(var(--node) + 10px);
        right: calc(-1 * var(--space-6) + 10px);
    }
}
@media (max-width: 899.98px) {
    .steps { gap: var(--space-6); }
    .steps li { padding-left: calc(var(--node) + var(--space-4)); min-height: var(--node); }
    .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
    .steps li h3 { padding-top: 14px; }
    .steps li:not(:last-child)::after {
        left: calc(var(--node) / 2 - 1px); width: 2px;
        top: calc(var(--node) + 8px);
        bottom: calc(-1 * var(--space-6) + 8px);
        background: linear-gradient(180deg, rgba(94, 230, 214, .7), rgba(91, 140, 255, .45));
    }
}

/* Häufige Fragen ohne JavaScript */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details {
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-rim);
}
.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--primary); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--ink-muted); }
.faq details > div p + p { margin-top: 10px; }

/* Zweispaltiger Text */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-12); }
.text-block { display: flex; flex-direction: column; gap: var(--space-4); }
.text-block p { max-width: 640px; }

.checklist { display: flex; flex-direction: column; gap: 16px; padding: 0; margin: 0; list-style: none; }
.checklist li { display: flex; gap: 14px; line-height: 1.55; }
.two-col--center { align-items: center; }
.checklist li::before { content: "✓"; color: var(--primary); font-weight: 700; flex: 0 0 auto; }

/* Zeitleiste für den Werdegang */
.timeline { display: flex; flex-direction: column; gap: 0; padding: 0; margin: 0; list-style: none; max-width: 760px; }
.timeline li { position: relative; padding: 0 0 var(--space-12) 32px; border-left: 1px solid var(--line-strong); }
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 6px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 0 0 4px var(--ground);
}
.timeline h3 { margin-bottom: 4px; }

.big-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(24px, 3.2vw, 34px);
    line-height: 1.35;
    max-width: 880px;
}


/* ==========================================================================
   Pferde
   ========================================================================== */
.horses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
    padding: 0;
    margin: 0;
    list-style: none;
}
.horse {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-rim), var(--glass-shadow);
}
.horse__photo { aspect-ratio: 4 / 5; position: relative; overflow: hidden; }
.horse__photo img { width: 100%; height: 100%; object-fit: cover; }
.horse__placeholder,
.memorial__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-weight: 700;
    font-size: clamp(72px, 10vw, 120px);
    letter-spacing: -.04em;
    color: rgba(238, 242, 251, .9);
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .25) 0, rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle at 75% 80%, rgba(242, 171, 109, .55) 0, rgba(242, 171, 109, 0) 45%),
        linear-gradient(160deg, #2f6f73 0%, #1b3a5c 55%, #121a33 100%);
}
.horse:nth-child(2) .horse__placeholder {
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .25) 0, rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle at 75% 80%, rgba(94, 230, 214, .45) 0, rgba(94, 230, 214, 0) 45%),
        linear-gradient(160deg, #3b5bdb 0%, #22307a 55%, #121a33 100%);
}
.horse:nth-child(3) .horse__placeholder {
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .25) 0, rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle at 70% 75%, rgba(156, 188, 170, .6) 0, rgba(156, 188, 170, 0) 45%),
        linear-gradient(160deg, #8a5a3b 0%, #3a2a3a 55%, #121a33 100%);
}
.horse__body { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 3vw, 28px); }
.horse__body .label { color: var(--accent); }

/* Gedenken: ruhig, ohne Effekte */
.memorial { padding-block: clamp(72px, 10vw, 120px); }
.memorial__card {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    max-width: 920px;
    margin-inline: auto;
    padding: clamp(24px, 4vw, 48px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    background: rgba(10, 16, 34, .55);
}
@media (max-width: 640px) { .memorial__card { grid-template-columns: minmax(0, 1fr); } }
.memorial__photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; max-width: 280px; width: 100%; margin-inline: auto; box-shadow: 0 0 0 6px rgba(238, 242, 251, .06); }
.memorial__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(35%) sepia(10%); }
.memorial__placeholder {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    background: radial-gradient(circle at 50% 40%, #2a3554 0%, #121a33 75%);
    color: rgba(238, 242, 251, .75);
}
.memorial__text { display: flex; flex-direction: column; gap: var(--space-4); }
.memorial__name { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(40px, 6vw, 60px); line-height: 1; }
.memorial__meta { color: var(--ink-muted); font-size: 15px; letter-spacing: .02em; }
.memorial__text p:not(.label):not(.memorial__meta) { color: var(--ink); max-width: 560px; }

/* Hobbys auf „Über mich“ */
.hobbies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-4);
    padding: 0;
    margin: 0;
    list-style: none;
}
.hobby {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-rim);
}
.hobby__emoji { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.motto { font-family: var(--font-serif); font-style: italic; color: var(--primary); }
.hobbies { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Hobbys als Bento-Raster: unterschiedliche Größen, je Thema eine eigene Farbe und ein Symbol */
.hobbies--bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
}
.hobbies--bento .hobby--wide { grid-column: span 2; }
.hobbies--bento .hobby--tall { grid-row: span 2; }
@media (max-width: 960px) {
    .hobbies--bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hobbies--bento .hobby.hobby--tall { grid-row: auto; padding-bottom: 110px; }
    .hobbies--bento .hobby--tall .hobby__stars { height: 120px; }
}
@media (max-width: 640px) {
    .hobbies--bento { grid-template-columns: minmax(0, 1fr); }
    .hobbies--bento .hobby--wide { grid-column: auto; }
}
.hobbies--bento .hobby {
    --tone: var(--accent);
    position: relative;
    overflow: hidden;
    gap: 10px;
    padding: 24px 26px;
    background:
        radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 60%),
        var(--glass-bg);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hobbies--bento .hobby:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--tone) 45%, transparent);
    box-shadow: var(--glass-rim), 0 18px 40px color-mix(in srgb, var(--tone) 14%, transparent);
}
@media (prefers-reduced-motion: reduce) {
    .hobbies--bento .hobby { transition: none; }
    .hobbies--bento .hobby:hover { transform: none; }
}
/* Bubbles sitzen immer unten in der Karte – so stehen sie in einer Reihe auf gleicher Höhe */
.hobbies--bento .hobby__tags { margin-top: auto; padding-top: 10px; position: relative; z-index: 1; }
.hobbies--bento .hobby--trek .hobby__tags li { background: rgba(16, 24, 56, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hobbies--bento .hobby--whisky { --tone: #f2ab6d; }
.hobbies--bento .hobby--trek   { --tone: #5b8cff; }
.hobbies--bento .hobby--spiel  { --tone: #5ee6d6; }
.hobbies--bento .hobby--pc     { --tone: #7fc4ff; }
.hobbies--bento .hobby--kochen { --tone: #ff9b73; }
.hobbies--bento .hobby--hoeren { --tone: #f5d06f; }
.hobbies--bento .hobby__emoji { color: var(--tone); }
.hobby__head { display: flex; align-items: center; gap: 12px; }
.hobby__icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 12px;
    color: var(--tone);
    background: color-mix(in srgb, var(--tone) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent);
}
.hobby__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.hobby__tags li {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--ink);
    background: color-mix(in srgb, var(--tone) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--tone) 28%, transparent);
}
.hobby__motto {
    margin: 10px 0 4px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.15;
    color: var(--ink);
}
.hobby--trek .h3, .hobby--trek .hobby__motto, .hobby--trek p { position: relative; z-index: 1; }
/* Kleiner Sternenhimmel in der Star-Trek-Karte */
.hobby__stars {
    position: absolute;
    inset: auto 0 0 0;
    height: 60%;
    pointer-events: none;
    background:
        radial-gradient(2px 2px at 8% 78%, #cfe0ff 60%, transparent),
        radial-gradient(1.5px 1.5px at 18% 52%, #ffffff 60%, transparent),
        radial-gradient(1.5px 1.5px at 26% 88%, #ffffff 60%, transparent),
        radial-gradient(2.5px 2.5px at 33% 64%, #cfe0ff 60%, transparent),
        radial-gradient(1.5px 1.5px at 41% 40%, #ffffff 60%, transparent),
        radial-gradient(2px 2px at 49% 80%, #ffffff 60%, transparent),
        radial-gradient(1.5px 1.5px at 57% 58%, #cfe0ff 60%, transparent),
        radial-gradient(1.5px 1.5px at 64% 92%, #ffffff 60%, transparent),
        radial-gradient(2px 2px at 70% 46%, #ffffff 60%, transparent),
        radial-gradient(1.5px 1.5px at 77% 70%, #cfe0ff 60%, transparent),
        radial-gradient(2.5px 2.5px at 84% 34%, #ffffff 60%, transparent),
        radial-gradient(1.5px 1.5px at 90% 84%, #ffffff 60%, transparent),
        radial-gradient(2px 2px at 95% 58%, #cfe0ff 60%, transparent),
        radial-gradient(1.5px 1.5px at 13% 30%, #ffffff 60%, transparent),
        radial-gradient(1.5px 1.5px at 60% 24%, #ffffff 60%, transparent),
        radial-gradient(1.5px 1.5px at 37% 96%, #cfe0ff 60%, transparent),
        radial-gradient(2px 2px at 86% 96%, #ffffff 60%, transparent),
        radial-gradient(80% 60% at 70% 100%, rgba(91, 140, 255, .28), transparent 70%);
    -webkit-mask-image: linear-gradient(to top, #000 45%, transparent);
    mask-image: linear-gradient(to top, #000 45%, transparent);
}
@media (max-width: 640px) { .horse__photo { aspect-ratio: 4 / 3; } }

/* Momente-Galerie */
.moments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-4);
    padding: 0;
    margin: 0;
    list-style: none;
}
.moment figure { margin: 0; position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--glass-border); }
.moment img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.moment figcaption {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    width: fit-content;
    max-width: calc(100% - 20px);
    font-size: 13px;
    line-height: 20px;
    color: var(--ink);
    background: rgba(10, 16, 34, .72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.moments { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .moments { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Kopfleiste auf Tablet und Handy (unter 1180 px): schwebendes Glas, fest oben,
   reduziert auf Logo, „Schreib mir“ und Menü-Knopf. Die Unterseiten öffnen
   sich als Glas-Panel. Ohne JavaScript bleibt das Menü einfach sichtbar.
   ========================================================================== */
.nav-toggle { display: none; }
.site-nav__cta { display: none; }

@media (max-width: 1179px) {
    .site-header { top: 8px; margin: 8px 8px 0; border-radius: 18px; }
    .site-header__inner {
        flex-wrap: wrap;
        gap: 0 10px;
        padding-block: 10px;
        padding-inline: 14px;
    }
    .brand { gap: 10px; margin-right: auto; }
    .brand__mark { width: 34px; height: 34px; }
    .site-header .wordmark { font-size: 22px; line-height: 28px; }
    .site-header__cta { min-height: 40px; padding: 6px 16px; font-size: 14px; }

    /* Menü-Knopf: drei Striche, die zu einem X werden */
    .js .nav-toggle {
        display: inline-grid;
        place-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        flex: 0 0 auto;
        padding: 0;
        border-radius: 12px;
        border: 1px solid var(--glass-border);
        background: rgba(238, 242, 251, .06);
        color: var(--ink);
        cursor: pointer;
    }
    .nav-toggle__bar {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform .25s ease, opacity .2s ease;
    }
    .site-header.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
    .site-header.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

    /* Navigation: ohne JavaScript als Umbruch sichtbar, mit JavaScript als aufklappendes Panel */
    .site-nav { order: 3; width: 100%; }
    .site-nav__list { gap: 0 18px; font-size: 15px; }
    .js .site-nav {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows .3s ease;
    }
    .js .site-nav > .site-nav__list { overflow: hidden; min-height: 0; }
    .js .site-header.is-open .site-nav { grid-template-rows: 1fr; }
    .js .site-nav__list {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        margin: 0;
        font-size: 17px;
        visibility: hidden;
        transition: visibility 0s linear .3s;
    }
    .js .site-header.is-open .site-nav__list { visibility: visible; transition: visibility 0s; padding-block: 8px 4px; }
    .js .site-nav__list li + li { border-top: 1px solid var(--glass-border); }
    .js .site-nav__list a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 50px;
        padding: 0 4px;
    }
    .js .site-nav__list a::before { content: none; }
    .js .site-nav__list a[aria-current="page"]::after {
        width: 8px;
        height: 8px;
        margin: 0;
        border-radius: 50%;
    }
    html { scroll-padding-top: 84px; }
}
@media (max-width: 1179px) {
    /* „Schreib mir“ zusätzlich als großer Knopf unten im aufgeklappten Menü */
    .js .site-nav__list li.site-nav__cta {
        display: block;
        border-top: 0;
        padding: 14px 0 18px;
    }
    .js .site-nav__list .site-nav__cta a {
        display: flex;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 0 20px;
        color: var(--on-primary, #0a1022);
    }
    .js .site-nav__list .site-nav__cta a::after { content: none; }
}
/* Kleine Handys: „Schreib mir“ nur noch im Menü, damit die Leiste einzeilig bleibt */
@media (max-width: 399px) {
    .js .site-header__cta { display: none; }
    .site-header .wordmark { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .js .site-nav, .nav-toggle__bar { transition: none; }
}

/* ==========================================================================
   404-Seite
   ========================================================================== */
.lost { min-height: 62vh; display: flex; align-items: center; }
.lost__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}
.lost__space {
    position: relative;
    aspect-ratio: 1;
    max-width: 420px;
    width: 100%;
    justify-self: center;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(91, 140, 255, .22), rgba(94, 230, 214, .06) 60%, transparent);
}
.lost__stars {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(2px 2px at 6% 20%, #cfe0ff 60%, transparent),
        radial-gradient(1.5px 1.5px at 14% 64%, #ffffff 60%, transparent),
        radial-gradient(1.5px 1.5px at 22% 38%, #ffffff 60%, transparent),
        radial-gradient(2px 2px at 30% 82%, #cfe0ff 60%, transparent),
        radial-gradient(1.5px 1.5px at 37% 14%, #ffffff 60%, transparent),
        radial-gradient(2.5px 2.5px at 45% 52%, #ffffff 60%, transparent),
        radial-gradient(1.5px 1.5px at 52% 90%, #cfe0ff 60%, transparent),
        radial-gradient(1.5px 1.5px at 58% 30%, #ffffff 60%, transparent),
        radial-gradient(2px 2px at 66% 70%, #ffffff 60%, transparent),
        radial-gradient(1.5px 1.5px at 73% 12%, #cfe0ff 60%, transparent),
        radial-gradient(2px 2px at 80% 48%, #ffffff 60%, transparent),
        radial-gradient(1.5px 1.5px at 87% 84%, #ffffff 60%, transparent),
        radial-gradient(2px 2px at 93% 26%, #cfe0ff 60%, transparent),
        radial-gradient(1.5px 1.5px at 10% 92%, #ffffff 60%, transparent),
        radial-gradient(1.5px 1.5px at 62% 58%, #ffffff 60%, transparent),
        radial-gradient(1.5px 1.5px at 41% 74%, #cfe0ff 60%, transparent),
        radial-gradient(1.5px 1.5px at 96% 62%, #ffffff 60%, transparent),
        radial-gradient(1.5px 1.5px at 27% 6%, #ffffff 60%, transparent);
    animation: lost-drift 60s linear infinite;
}
.lost__number {
    position: relative;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(88px, 14vw, 168px);
    line-height: 1;
    letter-spacing: -0.04em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lost__text { display: flex; flex-direction: column; gap: var(--space-4); max-width: 560px; }
.lost__more a { color: var(--primary); white-space: nowrap; }
@keyframes lost-drift { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lost__stars { animation: none; } }
@media (max-width: 760px) {
    .lost__inner { grid-template-columns: minmax(0, 1fr); }
    .lost__space { max-width: 240px; }
}

/* ==========================================================================
   Logo präsenter: etwas größer im Desktop-Menü und als Wasserzeichen
   hinter dem Kopfbereich der Startseite
   ========================================================================== */
@media (min-width: 1180px) {
    .site-header .brand__mark { width: 48px; height: 48px; }
    .site-header .wordmark { font-size: 28px; }
}
.hero--mark { position: relative; overflow: hidden; }
.hero--mark > .container { position: relative; z-index: 1; }
.hero--mark::before {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    width: min(760px, 90vw);
    aspect-ratio: 1;
    left: max(-180px, -12vw);
    top: 50%;
    transform: translateY(-50%);
    background: url("../img/logo-zeichen.svg") center / contain no-repeat;
    opacity: .06;
}
@media (max-width: 760px) {
    .hero--mark::before { width: 120vw; left: -30vw; top: 38%; opacity: .05; }
}

/* ==========================================================================
   Fotos im Design der Seite: leicht nachtblau abgestimmt, weiche Übergänge
   ins Glas. Beim Darüberfahren zeigen sie ihre vollen Farben.
   ========================================================================== */
:root { --photo-grade: saturate(.82) contrast(1.06) brightness(.9); }

/* Pferdekarten: Foto läuft weich in die Karte aus */
.horse { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.horse__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(12, 19, 42, 0) 52%, rgba(14, 22, 48, .55) 80%, rgba(16, 24, 52, .96) 100%),
        linear-gradient(160deg, rgba(91, 140, 255, .12), rgba(94, 230, 214, .05) 60%, transparent);
    transition: opacity .5s ease;
}
.horse__photo img { filter: var(--photo-grade); transition: filter .5s ease, transform .7s ease; }
.horse:hover { transform: translateY(-4px); border-color: rgba(94, 230, 214, .4); box-shadow: var(--glass-rim), 0 22px 50px rgba(2, 5, 14, .5); }
.horse:hover .horse__photo img { filter: none; transform: scale(1.03); }
.horse:hover .horse__photo::after { opacity: .75; }

/* Galerie „Aus dem Stallalltag“: ein großes Bild, die übrigen drumherum */
.moments { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; }
.moment:first-child { grid-column: span 2; grid-row: span 2; }
.moment figure { height: 100%; border-radius: 18px; box-shadow: var(--glass-rim), 0 14px 34px rgba(2, 5, 14, .35); }
.moment img { height: 100%; filter: var(--photo-grade); transition: filter .5s ease, transform .7s ease; }
.moment figure::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10, 16, 34, 0) 55%, rgba(10, 16, 34, .55) 100%),
        linear-gradient(160deg, rgba(91, 140, 255, .14), rgba(94, 230, 214, .04) 55%, transparent);
    transition: opacity .5s ease;
}
.moment figcaption { z-index: 1; border: 1px solid var(--glass-border); }
.moment:hover img { filter: none; transform: scale(1.04); }
.moment:hover figure::after { opacity: .4; }
@media (max-width: 900px) {
    .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .moment:first-child { grid-column: span 2; grid-row: auto; }
    .moment:last-child { grid-column: span 2; }
    .moment:first-child img, .moment:last-child img { aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
    .moments { grid-template-columns: minmax(0, 1fr); }
    .moment:first-child, .moment:last-child { grid-column: auto; }
    .moment:first-child img, .moment:last-child img { aspect-ratio: 4 / 3; }
}

/* Gedenken an Alina: weicher Glasrahmen mit warmem Schimmer */
.memorial__photo {
    box-shadow:
        0 0 0 1px var(--glass-border),
        0 0 0 10px rgba(238, 242, 251, .035),
        0 0 70px rgba(242, 171, 109, .16);
}

/* Über mich: Stallfotos im gleichen Stil */
.about__photos img {
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-rim), 0 14px 34px rgba(2, 5, 14, .35);
    filter: var(--photo-grade);
    transition: filter .5s ease;
}
.about__photos img:hover { filter: none; }

@media (prefers-reduced-motion: reduce) {
    .horse, .horse__photo img, .moment img { transition: none; }
    .horse:hover, .horse:hover .horse__photo img, .moment:hover img { transform: none; }
}

/* Über mich: Porträt mit Dark im Glasrahmen, mit kleiner Bildunterschrift */
.portrait { position: relative; margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--glass-border); box-shadow: var(--glass-rim), 0 24px 60px rgba(2, 5, 14, .45); }
.portrait__img { display: block; border-radius: 0; filter: var(--photo-grade); transition: filter .5s ease, transform .7s ease; }
.portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10, 16, 34, 0) 60%, rgba(10, 16, 34, .6) 100%),
        linear-gradient(160deg, rgba(91, 140, 255, .14), rgba(94, 230, 214, .05) 55%, transparent);
    transition: opacity .5s ease;
}
.portrait:hover .portrait__img { filter: none; transform: scale(1.02); }
.portrait:hover::after { opacity: .45; }
.portrait__caption {
    position: absolute;
    z-index: 1;
    left: 14px;
    bottom: 14px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    line-height: 20px;
    color: var(--ink);
    background: rgba(10, 16, 34, .72);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
@media (prefers-reduced-motion: reduce) { .portrait__img { transition: none; } .portrait:hover .portrait__img { transform: none; } }

/* Buchcover: heller Rand und blauer Schimmer, damit es sich vom dunklen Grund abhebt */
.book-thumb img {
    border: 1px solid rgba(223, 229, 236, .22);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, .5),
        0 0 40px rgba(91, 140, 255, .28),
        inset 3px 0 0 rgba(0, 0, 0, .25);
}

/* Konfigurator: Hinweis „Nur eine erste Richtung“ */
/* Konfigurator: Hinweis als schwebende Glas-Bubble neben dem Titel */
.cfg-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); align-items: center; }
.cfg-disclaimer { max-width: 360px; }
@media (min-width: 1000px) {
    .cfg-hero { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-12); }
    .cfg-disclaimer { animation: cfg-float 7s ease-in-out infinite; }
}
@keyframes cfg-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) { .cfg-disclaimer { animation: none; } }
.form__note { margin: 0; }

/* Aufsteigende Lichter – wie die Lichter von Ios. Stilregel: ausschließlich auf der Startseite einsetzen. */
.section--lights {
    position: relative; overflow: hidden; isolation: isolate;
    background: none;
    border-block: 0;
    padding-block: clamp(96px, 12vw, 176px);
}
/* dunkler Nachthimmel, der oben und unten weich in die Seite übergeht */
.section--lights::before {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse 70% 60% at 80% 30%, rgba(59, 91, 219, .16), transparent 70%),
        radial-gradient(ellipse 60% 50% at 10% 75%, rgba(20, 184, 198, .09), transparent 70%),
        #060a18;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
}
.lights { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 85%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 85%, transparent 100%); }
.section--lights > .container { position: relative; z-index: 1; }
.lights { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.lights span {
    position: absolute; bottom: -20px; left: 50%;
    width: 6px; height: 6px; border-radius: 50%;
    background: radial-gradient(circle, rgba(235,244,255,.95) 0%, rgba(150,200,255,.55) 45%, rgba(120,180,255,0) 70%);
    box-shadow: 0 0 12px 3px rgba(140,190,255,.4);
    opacity: 0;
    animation: light-rise 18s linear infinite;
}
@keyframes light-rise {
    0%   { bottom: -4%;  transform: translateX(0) scale(.6); opacity: 0; }
    10%  { opacity: .95; }
    50%  { transform: translateX(16px) scale(1); }
    85%  { opacity: .7; }
    100% { bottom: 104%; transform: translateX(-12px) scale(.5); opacity: 0; }
}
.lights span:nth-child(1) { left: 2.9%; width: 4px; height: 4px; animation-duration: 20s; animation-delay: -20s; }
.lights span:nth-child(2) { left: 8.4%; width: 8px; height: 8px; animation-duration: 15s; animation-delay: -11s; }
.lights span:nth-child(3) { left: 18.7%; width: 8px; height: 8px; animation-duration: 17s; animation-delay: -1s; }
.lights span:nth-child(4) { left: 22.7%; width: 6px; height: 6px; animation-duration: 15s; animation-delay: -7s; }
.lights span:nth-child(5) { left: 29.9%; width: 6px; height: 6px; animation-duration: 14s; animation-delay: -13s; }
.lights span:nth-child(6) { left: 39.8%; width: 4px; height: 4px; animation-duration: 24s; animation-delay: -20s; }
.lights span:nth-child(7) { left: 47.0%; width: 3px; height: 3px; animation-duration: 23s; animation-delay: -18s; }
.lights span:nth-child(8) { left: 52.9%; width: 4px; height: 4px; animation-duration: 14s; animation-delay: -8s; }
.lights span:nth-child(9) { left: 62.8%; width: 5px; height: 5px; animation-duration: 20s; animation-delay: -4s; }
.lights span:nth-child(10) { left: 67.9%; width: 8px; height: 8px; animation-duration: 18s; animation-delay: -17s; }
.lights span:nth-child(11) { left: 76.7%; width: 4px; height: 4px; animation-duration: 15s; animation-delay: -6s; }
.lights span:nth-child(12) { left: 81.1%; width: 8px; height: 8px; animation-duration: 25s; animation-delay: -2s; }
.lights span:nth-child(13) { left: 89.3%; width: 8px; height: 8px; animation-duration: 17s; animation-delay: -15s; }
.lights span:nth-child(14) { left: 97.1%; width: 6px; height: 6px; animation-duration: 26s; animation-delay: -10s; }
@media (max-width: 700px) { .lights span:nth-child(even) { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .lights span { animation: none; opacity: .5; bottom: auto; }
    .lights span:nth-child(3n+1) { top: 20%; } .lights span:nth-child(3n+2) { top: 55%; } .lights span:nth-child(3n) { top: 80%; }
}
/* Keine harten Kanten an den Nachbarabschnitten der Lichter */
.section--lights + .section { border-top-color: transparent; }
.section:has(+ .section--lights) { border-bottom-color: transparent; }
.section--lights + .section--surface { background: linear-gradient(180deg, transparent 0, rgba(18, 26, 51, .35) 180px); }

/* --- Leistungen: Karten mit Glas, Symbol und eigenem Licht ------------------- */
.cards--services .service {
    --tone: var(--primary);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 60%),
        var(--glass-bg);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cards--services .service:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--tone) 45%, transparent);
    box-shadow: var(--glass-rim), 0 18px 40px color-mix(in srgb, var(--tone) 14%, transparent);
}
@media (prefers-reduced-motion: reduce) {
    .cards--services .service { transition: none; }
    .cards--services .service:hover { transform: none; }
}
.cards--services .service--webdesign   { --tone: #5ee6d6; }
.cards--services .service--entwicklung { --tone: #5b8cff; }
.cards--services .service--sicherheit  { --tone: #7fc4ff; }
.cards--services .service--betreuung   { --tone: #f2ab6d; }
.service__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service__icon {
    display: inline-grid; place-items: center;
    width: 46px; height: 46px; flex: 0 0 auto;
    border-radius: 12px;
    color: var(--tone);
    background: color-mix(in srgb, var(--tone) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent);
}
.service__num { font-family: var(--font-mono, monospace); font-size: 13px; letter-spacing: .12em; color: color-mix(in srgb, var(--tone) 70%, var(--ink-muted)); }
/* Leistungspunkte als Glas-Zeilen mit Haken in der Kartenfarbe */
.service__list { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.service__list li {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 15px;
    color: var(--ink);
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.service__list li::before {
    content: ""; flex: 0 0 auto;
    width: 20px; height: 20px; border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1022' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat,
        var(--tone);
}

.steps__note { margin-top: var(--space-8, 32px); max-width: 760px; }

.pflege__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: var(--space-2); }
.probe__more { margin-top: var(--space-6); }


/* Konfigurator: ruhiger Textverweis auf die Demo unter der Vorschau */
.cfg-pflege { margin: var(--space-4) 0 0; font-size: 15px; color: var(--ink-muted); }
.cfg-pflege a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.cfg-pflege a { white-space: nowrap; }
.cfg-pflege a::after { content: "\00a0→"; }
.cfg-pflege a:hover { color: #ffc89a; }
.cfg-pflege + .cfg-pflege { margin-top: var(--space-2, 8px); }


/* ==========================================================================
   Gestaltungssystem (Feinschliff 02.11.2026) – siehe STILBIBEL.md
   1. Drei Eckenrundungen   2. Zwei Listen-Formen   3. Ein Hinweis-Baustein
   4. Ein Zeitstrahl         5. Hamm-Karte
   ========================================================================== */
:root {
    --radius-sm: 12px;   /* Felder, Symbole, Zeilen */
    --radius-md: 16px;   /* Hinweise, Fragen, Info-Karten */
    --radius-lg: 24px;   /* Karten, Panels, Bänder */
}

/* 1. Eckenrundungen */
.card, .tile, .cta-band, .form, .glass-card, .horse, .memorial__card, .hobby, .hobbies--bento .hobby,
.portrait, .moment figure, .about__photos img, .browser, .site-header, .project__shot, .hero__photo { border-radius: var(--radius-lg); }
.note, .alert, .faq details, .hint, .info-cards li { border-radius: var(--radius-md); }
.field input, .field select, .field textarea, .skip-link, .hobby__icon, .service__icon, .hint__icon,
.checklist li, .service__list li, .pain-list li, .selfcheck li { border-radius: var(--radius-sm); }

/* 2a. Listen-Form „Glas-Zeile“: kurze Aussage mit Markierung vorn */
.checklist, .pain-list, .selfcheck { display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; list-style: none; }
.checklist li, .pain-list li, .selfcheck li {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 16px;
    font-size: 16px; line-height: 1.5;
    color: var(--ink);
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.checklist li::before, .pain-list li::before, .selfcheck li::before {
    content: ""; flex: 0 0 auto;
    display: grid; place-items: center;
    width: 22px; height: 22px; border-radius: 50%;
}
.checklist li::before {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1022' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat,
        var(--primary);
}
.pain-list li::before {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1022' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E") center / 13px no-repeat,
        var(--accent);
}
.selfcheck { counter-reset: check; }
.selfcheck li { counter-increment: check; }
.selfcheck li::before { content: counter(check); font-size: 13px; font-weight: 700; color: var(--on-primary); background: var(--primary); }

/* 2b. Listen-Form „Info-Karte“: Titel und kurzer Text */
.info-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.info-cards li {
    display: flex; flex-direction: column; gap: 4px;
    padding: 16px 20px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-rim);
    color: var(--ink-muted); font-size: 16px; line-height: 1.55;
}
.info-cards strong, .info-cards .info-cards__k { color: var(--ink); font-weight: 700; display: block; }

/* 3. Hinweis-Baustein: Symbol in Apricot, Titel, Text, optional Link */
.hint {
    display: flex; align-items: flex-start; gap: 16px;
    max-width: 760px;
    margin-top: var(--space-12);
    padding: 18px 20px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-rim), var(--glass-shadow);
    font-size: 15px; line-height: 1.55;
}
.hint__icon {
    flex: 0 0 auto; display: grid; place-items: center;
    width: 38px; height: 38px;
    color: var(--accent); background: rgba(242, 171, 109, .12); border: 1px solid rgba(242, 171, 109, .35);
}
.hint__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hint__body p { margin: 0; color: var(--ink-muted); }
.hint .hint__title { color: var(--ink); font-weight: 700; }
.hint .hint__accent { color: var(--accent); font-weight: 600; }
.contact .hint, .contact__intro .hint { margin-top: var(--space-6); }
.cfg-hero .hint { margin-top: 0; flex-direction: column; gap: 12px; }

/* 4. Zeitstrahl senkrecht (z. B. „Mein Weg“) – gleiche Knoten wie der Ablauf */
.steps.steps--vertical { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); max-width: 760px; }
.steps--vertical li { padding-left: calc(var(--node) + var(--space-4)); padding-right: 0; min-height: var(--node); }
.steps--vertical li::before { position: absolute; left: 0; top: 0; margin: 0; }
.steps--vertical li h3 { padding-top: 14px; }
.steps--vertical li:not(:last-child)::after {
    left: calc(var(--node) / 2 - 1px); right: auto; width: 2px; height: auto;
    top: calc(var(--node) + 8px);
    bottom: calc(-1 * var(--space-6) + 8px);
    background: linear-gradient(180deg, rgba(94, 230, 214, .7), rgba(91, 140, 255, .45));
}

/* „Was mich antreibt“ */
.antrieb__claim { font-size: clamp(19px, 2vw, 22px); line-height: 1.45; font-weight: 500; color: var(--ink); max-width: 30ch; margin: 0; }
.antrieb__head { margin-bottom: var(--space-12); }
/* Über mich, „Was mich antreibt“ (14.11.2026): drei Werkzeug-Karten statt Textblock */
.antrieb__sub { margin: 0 0 var(--space-6); max-width: 46ch; }
.antrieb__tools { list-style: none; margin: 0 0 var(--space-12); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.antrieb__tool { --tone: var(--primary); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 24px; }
.antrieb__tool--rechnen { --tone: var(--primary-2); }
.antrieb__tool--verstehen { --tone: #7fc4ff; }
.antrieb__tool::after {
    content: ""; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--tone) 28%, transparent), transparent 70%);
    pointer-events: none;
}
.antrieb__icon {
    display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
    color: var(--tone);
    background: color-mix(in srgb, var(--tone) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--tone) 32%, transparent);
}
.antrieb__from { margin: 6px 0 0; font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--tone) 75%, var(--ink-muted)); }
.antrieb__title { margin: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.antrieb__text { margin: 0; color: var(--ink-muted); line-height: 1.55; }
.antrieb__ziel { margin-bottom: var(--space-6); }
@media (max-width: 900px) { .antrieb__tools { grid-template-columns: minmax(0, 1fr); } }

/* 5. Hamm-Karte über die volle Breite im Hobby-Raster */
.hobbies--bento .hobby--full { grid-column: 1 / -1; }
.hobbies--bento .hobby--hamm { --tone: #7fe3c4; }
.hobbies--bento .hobby--hamm p { max-width: 80ch; }

/* Leistungs-Karten: Kopf, Titel, Text und Liste stehen in jeder Kartenreihe auf gleicher Höhe
   (Unterraster). Ältere Browser zeigen die Karten wie bisher. */
@supports (grid-template-rows: subgrid) {
    .cards--services { grid-auto-rows: auto; }
    .cards--services .service {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 4;
        row-gap: var(--space-4);
        align-content: start;
    }
    .cards--services .service > .service__list { align-self: start; }
}

/* Phase 1 (03.11.2026): größere Klickflächen im Kontaktbereich */
.consent { font-size: 15px; line-height: 1.55; }
.consent input { width: 24px; height: 24px; margin: 0; }
.contact__details dd a { display: inline-block; padding-block: 4px; min-height: 24px; }

/* Footer, neu geordnet (03.11.2026): oben Marke + Links, unten Cookie-Hinweis und ©.
   Am Handy alles mittig in klaren Zeilen. */
.site-footer__inner { padding-block: var(--space-12) var(--space-6); align-items: flex-start; }
.site-footer__brand { gap: 10px; }
.site-footer__tagline { margin: 0; font-size: 15px; color: var(--ink-muted); }
.site-footer__weather {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    margin: 0; padding: 6px 14px;
    font-size: 14px; color: var(--ink-muted);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--glass-border);
}
.site-footer__weather svg { color: var(--primary); flex: 0 0 auto; }
.site-footer__links { font-size: 15px; }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline;
    gap: 8px var(--space-12);
    padding-block: var(--space-6) var(--space-12);
    border-top: 1px solid var(--line);
    font-size: 14px; line-height: 1.55; color: var(--ink-muted);
}
.site-footer__bottom p { margin: 0; }
.site-footer__cookies { max-width: 70ch; }
.site-footer__cookies a { color: var(--ink-muted); text-underline-offset: 3px; }
.site-footer__cookies a:hover { color: var(--ink); }
.site-footer__copy { white-space: nowrap; }
@media (max-width: 760px) {
    .site-footer__inner { flex-direction: column; align-items: center; text-align: center; gap: var(--space-6); }
    .site-footer__brand { align-items: center; }
    .site-footer__weather { align-self: center; }
    .site-footer__links { justify-content: center; gap: 4px 28px; }
    .site-footer__bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* Handwerk-Seite (06.11.2026): Bento-Raster statt 2 × 2, damit die Karten nicht nach Vorlage aussehen.
   Breit: 01 über vier Spalten, 02 hoch über zwei Reihen, 03 und 04 klein. */
.cards--bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cards--services.cards--bento .service { display: flex; flex-direction: column; grid-row: auto; grid-template-rows: none; }
.cards--bento .service { grid-column: span 2; }
.cards--bento .service--wide { grid-column: span 4; }
.cards--services.cards--bento .service--tall { grid-row: span 2; }
.cards--services.cards--bento .service--wide {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: var(--space-6);
    align-items: center;
}
.service__intro { display: flex; flex-direction: column; gap: var(--space-4); }
.service--wide h3 { font-size: clamp(26px, 2.6vw, 34px); }
.service--tall .service__visual { flex: 1 1 auto; }
.service__visual { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-block: var(--space-2); }
.service__shot {
    display: flex; align-items: flex-end;
    min-height: 150px; padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    font-family: var(--font-mono, monospace); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.service__shot--vorher {
    color: var(--ink-muted);
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 8px, transparent 8px 16px),
        rgba(255, 255, 255, .025);
}
.service__shot--nachher {
    color: var(--ink);
    background:
        radial-gradient(90% 80% at 70% 20%, color-mix(in srgb, var(--tone) 45%, transparent), transparent 70%),
        color-mix(in srgb, var(--tone) 12%, transparent);
    border-color: color-mix(in srgb, var(--tone) 40%, transparent);
}
@media (max-width: 1080px) {
    .service--tall .service__visual { flex: none; }
    .cards--bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards--bento .service, .cards--bento .service--wide { grid-column: auto; }
    .cards--bento .service--wide, .cards--bento .service--betreuung { grid-column: 1 / -1; }
    .cards--services.cards--bento .service--tall { grid-row: auto; }
}
@media (max-width: 760px) {
    .cards--bento { grid-template-columns: minmax(0, 1fr); }
    .cards--services.cards--bento .service--wide { grid-template-columns: minmax(0, 1fr); }
    .service__shot { min-height: 110px; }
}

/* Startseite (06.11.2026): drei Einstiege nach Zielgruppe + kleine Wegweiser-Zeile */
.paths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.path { --tone: var(--primary); }
.path--handwerk { --tone: #5ee6d6; }
.path--dienst   { --tone: #8fb8ff; }
.paths--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.path--stall    { --tone: #7fe3c4; }
.path--verlag   { --tone: #5b8cff; }
.path {
    background:
        radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--tone) 14%, transparent), transparent 60%),
        var(--glass-bg);
}
.path:hover { border-color: color-mix(in srgb, var(--tone) 50%, transparent); }
.path__icon {
    display: inline-grid; place-items: center;
    width: 46px; height: 46px;
    border-radius: var(--radius-sm);
    color: var(--tone);
    background: color-mix(in srgb, var(--tone) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent);
}
.path .link-arrow { color: var(--tone); }
.quicklinks {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
    margin-top: var(--space-8, 32px);
}
.quicklinks__lead { color: var(--ink-muted); margin-right: 4px; }
.quicklinks a {
    display: inline-flex; align-items: center; min-height: 40px;
    padding: 6px 16px;
    border-radius: 999px;
    color: var(--ink); text-decoration: none; font-size: 15px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--glass-border);
    transition: border-color .2s ease, background .2s ease;
}
.quicklinks a:hover { border-color: rgba(94, 230, 214, .45); background: rgba(94, 230, 214, .06); }
.quicklinks a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 1000px) { .paths { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .quicklinks__lead { flex-basis: 100%; } }

/* Stall-Seite (07.11.2026): stilisierter Terminkalender in der hohen Bento-Karte „Unterricht und Termine“.
   Nur Dekoration (aria-hidden): zeigt, wie Unterricht, Lehrgänge, Ferienprogramm und ein Hinweis auf der Seite aussehen können. */
.service__calendar {
    display: flex; flex-direction: column; gap: 10px;
    margin-block: var(--space-2);
    padding: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, .03);
}
.service--tall .service__calendar { flex: 1 1 auto; }
.cal__bar { display: flex; align-items: center; justify-content: space-between; }
.cal__title { font-family: var(--font-mono, monospace); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.cal__nav { display: inline-flex; gap: 6px; }
.cal__nav i { width: 22px; height: 22px; border-radius: 8px; border: 1px solid var(--glass-border); background: rgba(255, 255, 255, .04); }
.cal__week, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__week span { text-align: center; font-family: var(--font-mono, monospace); font-size: 13px; letter-spacing: .06em; color: var(--ink-muted); }
.cal__grid { flex: 1 1 auto; grid-auto-rows: minmax(34px, 1fr); }
.cal__day {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    font-family: var(--font-mono, monospace); font-size: 13px; color: var(--ink-muted);
    background: rgba(255, 255, 255, .03);
}
.cal__day--unterricht::after, .cal__day--lehrgang::after {
    content: ""; position: absolute; bottom: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
}
.cal__day--unterricht { color: var(--ink); }
.cal__day--unterricht::after { background: var(--primary); }
.cal__day--lehrgang { color: var(--ink); background: color-mix(in srgb, var(--primary-2) 38%, transparent); }
.cal__day--lehrgang::after { background: var(--primary-2); box-shadow: 0 0 0 2px rgba(10, 16, 34, .6); }
.cal__day--ferien { color: var(--ink); background: color-mix(in srgb, #7fc4ff 22%, transparent); border-radius: 4px; }
.cal__day--sperre {
    color: var(--ink);
    background: repeating-linear-gradient(135deg, rgba(242, 171, 109, .22) 0 5px, transparent 5px 10px), rgba(255, 255, 255, .03);
    border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
}
.cal__day--heute { box-shadow: 0 0 0 2px var(--primary); color: var(--ink); }
.cal__legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; }
.cal__key { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; color: var(--ink-muted); }
.cal__key::before { content: ""; width: 12px; height: 12px; border-radius: 4px; flex: none; }
.cal__key--unterricht::before { background: var(--primary); border-radius: 50%; width: 9px; height: 9px; }
.cal__key--lehrgang::before { background: var(--primary-2); }
.cal__key--ferien::before { background: color-mix(in srgb, #7fc4ff 55%, transparent); }
.cal__key--sperre::before { background: repeating-linear-gradient(135deg, rgba(242, 171, 109, .6) 0 3px, transparent 3px 6px); border: 1px solid var(--accent); }
@media (max-width: 1080px) {
    .service--tall .service__calendar { flex: none; }
}
@media (max-width: 760px) {
    .cal__grid { grid-auto-rows: 40px; }
}

/* ==========================================================================
   Feinschliff 14.11.2026 – „Mehr Glas, mehr Licht“
   Sichtbareres Glas, Licht in den Abschnitten, Lichtkanten statt Haarlinien.
   Bleibt in der Stilbibel: Nachtblau, Türkis → Blau, Apricot nur für Hinweise,
   Radien 12/16/24, keine aufsteigenden Lichter außerhalb der Startseite.
   ========================================================================== */
:root {
    --glass-bg: rgba(22, 32, 64, 0.46);
    --glass-border: rgba(238, 242, 251, 0.16);
    --glass-rim: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    --glass-sheen: linear-gradient(160deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0) 42%);
    --edge-light: linear-gradient(90deg, transparent, rgba(94, 230, 214, 0.38) 30%, rgba(91, 140, 255, 0.38) 70%, transparent);
}

/* Hintergrundlicht etwas kräftiger */
.ambient span:nth-child(1) { opacity: .68; }
.ambient span:nth-child(2) { opacity: .42; }

/* Glas bekommt einen Lichtschimmer von oben links */
.glass, .card, .form, .tile, .info-cards li, .faq details, .hint {
    background-image: var(--glass-sheen);
}

/* Abschnitte mit Hintergrund: eigenes, ruhendes Licht in den Ecken + Lichtkante */
.section--surface {
    position: relative;
    border-block: 0;
    background:
        radial-gradient(640px 420px at 0% 0%, rgba(20, 184, 198, 0.12), transparent 70%),
        radial-gradient(760px 520px at 100% 100%, rgba(59, 91, 219, 0.16), transparent 70%),
        rgba(18, 26, 51, 0.35);
}
.section--surface:nth-of-type(even) {
    background:
        radial-gradient(640px 420px at 100% 0%, rgba(20, 184, 198, 0.12), transparent 70%),
        radial-gradient(760px 520px at 0% 100%, rgba(59, 91, 219, 0.16), transparent 70%),
        rgba(18, 26, 51, 0.35);
}
.section--surface::before, .section--surface::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1px;
    background: var(--edge-light); pointer-events: none;
}
.section--surface::before { top: 0; }
.section--surface::after { bottom: 0; }

/* Überzeilen mit kleinem Lichtstrich */
.section__head > .label, .text-block > .label, .page-hero .h1-stack > .label {
    display: inline-flex; align-items: center; gap: 12px;
}
.section__head > .label::before, .text-block > .label::before, .page-hero .h1-stack > .label::before {
    content: ""; flex: 0 0 auto; width: 28px; height: 2px; border-radius: 2px;
    background: var(--gradient-primary);
}

/* Unterseiten-Kopf: feines Punktraster als Hinweis auf Code, weich ausgeblendet */
.page-hero { position: relative; isolation: isolate; }
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(rgba(238, 242, 251, 0.16) 1px, transparent 1.4px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 55% 75% at 82% 35%, #000 0%, transparent 72%);
    mask-image: radial-gradient(ellipse 55% 75% at 82% 35%, #000 0%, transparent 72%);
}

/* Karten reagieren: Lichtkante in Türkis, leicht angehoben */
.card, .info-cards li, .faq details, .kmx {
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.card:hover, .info-cards li:hover {
    border-color: rgba(94, 230, 214, 0.38);
    box-shadow: var(--glass-rim), 0 0 0 1px rgba(94, 230, 214, 0.10), 0 24px 60px rgba(2, 5, 14, 0.5), 0 0 48px rgba(20, 184, 198, 0.10);
}
.card:hover { transform: translateY(-2px); }
.faq details:hover, .faq details[open] { border-color: rgba(94, 230, 214, 0.30); }
.faq details[open] { box-shadow: var(--glass-rim), 0 0 40px rgba(20, 184, 198, 0.08); }

/* Info-Karten: Lichtleiste links im Markenverlauf */
.info-cards li {
    position: relative;
    background-image: linear-gradient(180deg, var(--primary), var(--primary-2)), var(--glass-sheen);
    background-repeat: no-repeat;
    background-size: 3px 100%, 100% 100%;
    background-position: left top, left top;
}

/* Glas-Zeilen etwas präsenter */
.checklist li, .pain-list li, .selfcheck li {
    background: linear-gradient(100deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
    transition: border-color .2s ease, background .2s ease;
}
.checklist li:hover, .pain-list li:hover, .selfcheck li:hover { border-color: rgba(238, 242, 251, 0.28); }

/* Abschluss-Band: das Licht sammelt sich am Ende der Seite */
.cta-band {
    position: relative; overflow: hidden;
    background:
        radial-gradient(520px 320px at 0% 0%, rgba(20, 184, 198, 0.26), transparent 70%),
        radial-gradient(620px 380px at 100% 100%, rgba(59, 91, 219, 0.32), transparent 70%),
        var(--glass-bg);
    border-color: rgba(94, 230, 214, 0.28);
}
.cta-band::before {
    content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
    background: var(--edge-light); pointer-events: none;
}

/* Zeitstrahl-Knoten mit leisem Schein */
.steps li::before { box-shadow: var(--glass-rim), 0 0 22px rgba(20, 184, 198, 0.18); }

/* Einzugsgebiet (Glas-Zeile mit Orten) */
.area {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px 18px;
    margin-top: var(--space-12); padding: 18px 22px;
    border-radius: 16px;
    background: var(--glass-bg) var(--glass-sheen);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-rim), var(--glass-shadow);
}
.area__icon {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
    color: var(--primary); background: rgba(94, 230, 214, 0.10); border: 1px solid rgba(94, 230, 214, 0.28);
}
.area__body { display: grid; gap: 2px; }
.area__title { margin: 0; font-weight: 700; color: var(--ink); }
.area__text { margin: 0; font-size: 15px; color: var(--ink-muted); }
.area__orte { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.area__orte li {
    padding: 6px 14px; border-radius: 999px; font-size: 15px; color: var(--ink);
    background: rgba(238, 242, 251, 0.05); border: 1px solid var(--glass-border);
}
.area__orte li:first-child { border-color: rgba(94, 230, 214, 0.45); color: var(--primary); }
.contact__intro .area { margin-top: var(--space-6); }

@media (min-width: 900px) {
    .area { grid-template-columns: auto minmax(0, 1fr) auto; }
    .area__orte { grid-column: auto; justify-content: flex-end; max-width: 720px; }
    .contact__intro .area { grid-template-columns: auto minmax(0, 1fr); }
    .contact__intro .area__orte { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
    .card, .info-cards li, .faq details, .kmx, .checklist li, .pain-list li, .selfcheck li { transition: none; }
    .card:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
    .area, .info-cards li { background-color: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- 14.11.2026: FAQ in zwei Gruppen, Werkzeug-Hinweis ---------- */
.faq-groups { display: grid; gap: var(--space-8, 32px); }
.faq-groups .faq { max-width: none; }
.faq-group__title { margin: 0 0 14px; }
@media (min-width: 900px) {
    .faq-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
}

.tool-hint {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 18px; align-items: center;
    margin-top: var(--space-6, 24px); padding: 20px 22px; border-radius: var(--radius-md);
    background: rgba(238, 242, 251, 0.04); border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: var(--glass-rim), var(--glass-shadow);
}
.tool-hint__icon {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; align-self: start;
    color: var(--primary); background: rgba(94, 230, 214, 0.10); border: 1px solid rgba(94, 230, 214, 0.28);
}
.tool-hint__body { display: grid; gap: 2px; }
.tool-hint__label { margin: 0; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.tool-hint__title { margin: 0; font-weight: 700; color: var(--ink); }
.tool-hint__text { margin: 0; font-size: 15px; color: var(--ink-muted); }
.tool-hint__btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 900px) {
    .tool-hint { grid-template-columns: auto minmax(0, 1fr) auto; }
    .tool-hint__btn { grid-column: auto; justify-self: end; }
}
@media (prefers-reduced-transparency: reduce) {
    .tool-hint { background-color: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.tool-hint .tool-hint__btn { font-weight: 600; }
.tool-hint .tool-hint__btn:not(.btn--primary) { color: var(--ink); }
.info-cards__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; }

/* ---------- 14.11.2026 Etappe 1: Startseiten-Streifen, kompakte Hobby-Zeilen ---------- */
.writing__links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 18px 0 0; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts__row:last-child { grid-column: 1 / -1; } }
.facts__row {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start;
    padding: 18px 20px; border-radius: var(--radius-md);
    background: linear-gradient(100deg, rgba(94, 230, 214, .06), rgba(91, 140, 255, .06)), rgba(238, 242, 251, .03);
    border: 1px solid var(--glass-border); box-shadow: var(--glass-rim), var(--glass-shadow);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.facts__icon {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    color: var(--primary); background: rgba(94, 230, 214, .10); border: 1px solid rgba(94, 230, 214, .28);
}
.facts__body { display: grid; gap: 4px; }
.facts__title { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.facts__text { margin: 0; font-size: 15px; color: var(--ink-muted); }
.facts .hobby__tags { margin-top: 6px; }
@media (prefers-reduced-transparency: reduce) { .facts__row { background-color: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- 14.11.2026: Dropdown „Über mich“ (Pferde, Schreiben) ---------- */
.site-nav__sub { list-style: none; margin: 0; padding: 0; }
.site-nav__sub-toggle {
    display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 2px; padding: 0;
    border: 0; border-radius: 8px; background: none; color: var(--ink-muted); cursor: pointer;
}
.site-nav__sub-toggle svg { transition: transform .2s ease; }
.site-nav__sub-toggle:hover { color: var(--primary); }
.site-nav__sub-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.site-nav__has-sub.is-section > a { color: var(--primary); }

@media (min-width: 1180px) {
    .site-nav__has-sub { position: relative; display: flex; align-items: center; }
    .site-nav__sub {
        position: absolute; top: 100%; left: -16px; z-index: 60; min-width: 210px;
        margin-top: 6px; padding: 8px; display: grid; gap: 2px;
        border-radius: var(--radius-md); border: 1px solid var(--glass-border);
        background: linear-gradient(160deg, rgba(94, 230, 214, .07), rgba(91, 140, 255, .07)), rgba(14, 20, 44, .92);
        box-shadow: var(--glass-rim), var(--glass-shadow);
        -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
        opacity: 0; visibility: hidden; transform: translateY(-4px);
        transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    }
    .site-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
    .site-nav__has-sub:hover .site-nav__sub,
    .site-nav__has-sub:focus-within .site-nav__sub,
    .site-nav__has-sub.is-open .site-nav__sub { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }
    .site-nav__has-sub:hover .site-nav__sub-toggle svg,
    .site-nav__has-sub.is-open .site-nav__sub-toggle svg { transform: rotate(180deg); }
    .site-nav__sub a { display: block; padding: 10px 14px; border-radius: 12px; white-space: nowrap; }
    .site-nav__sub a:hover { background: rgba(94, 230, 214, .10); }
    .site-nav__sub a[aria-current="page"]::after { content: none; }
}
@media (max-width: 1179px) {
    .site-nav__sub-toggle { display: none; }
    .site-nav__sub { padding: 0 0 6px 18px; }
    .js .site-nav__list .site-nav__sub li { border-top: 0; }
    .js .site-nav__list .site-nav__sub a { min-height: 42px; font-size: 16px; color: var(--ink-muted); justify-content: flex-start; gap: 6px; }
    .js .site-nav__list .site-nav__sub a::before { content: "–"; color: var(--primary); }
}
@media (prefers-reduced-motion: reduce) { .site-nav__sub, .site-nav__sub-toggle svg { transition: none; } }
@media (max-width: 1179px) { .js .site-nav__list .site-nav__sub a[aria-current="page"]::after { margin-left: auto; } }

/* 14.11.2026: Wetter unter der Linie, links neben dem © */
.site-footer__bottom { justify-content: space-between; align-items: center; }

/* ---------- 14.11.2026 Etappe 2: kompakte Abschnitte, Pflege-Hinweis, Ablauf-Leiste, Handy-Grafik ---------- */
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--tight .tool-hint { margin-top: 0; }
.tool-hint__btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.tool-hint__note { font-size: 14px; color: var(--ink-muted); }
.tool-hint--pflege .tool-hint__title { font-size: 19px; }
@media (min-width: 900px) {
    .tool-hint--pflege { grid-template-columns: auto minmax(0, 1fr) auto; padding: 26px 28px; }
    .tool-hint--pflege .tool-hint__btns { grid-column: auto; flex-direction: column; align-items: stretch; text-align: center; }
}

/* Ablauf als Glas-Leiste */
.flow { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); display: grid; gap: 18px; }
.flow__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: none; position: relative; }
.flow__steps::before {
    content: ""; position: absolute; left: 22px; right: calc((100% - 36px) / 4 - 22px); top: 21px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2, #5b8cff)); opacity: .55;
}
.flow__steps li { position: relative; display: grid; justify-items: start; gap: 10px; }
.flow__num {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    font-family: var(--font-mono); font-weight: 600; color: var(--ink);
    background: rgba(16, 24, 56, .9); border: 1px solid rgba(94, 230, 214, .45);
    box-shadow: var(--glass-rim), 0 0 22px rgba(20, 184, 198, .20);
}
.flow__steps li:last-child .flow__num { color: #0b1022; background: var(--gradient-primary); border-color: transparent; }
.flow__t { font-weight: 700; color: var(--ink); }
.flow__satz { margin: 0; color: var(--ink); max-width: 70ch; }
.flow__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.flow__facts li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 10px 16px; border-radius: 12px; background: rgba(238, 242, 251, .04); border: 1px solid var(--glass-border); font-size: 15px; color: var(--ink-muted); }
.flow__k { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.flow__more { margin: 0; }
@media (max-width: 640px) {
    .flow__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
    .flow__steps::before { display: none; }
}

/* Branchen-Karten auf /pflegebereich */
.pflege-cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pflege-cards .card { display: flex; flex-direction: column; gap: 10px; }
.pflege-cards .label { margin: 0; }
.pflege-cards .h3, .pflege-cards p { margin: 0; }
.pflege-cards .tags { margin-top: auto; padding-top: 8px; }
.pflege-cards__icon {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
    color: var(--primary); background: rgba(94, 230, 214, .10); border: 1px solid rgba(94, 230, 214, .28);
}

/* Handy-Grafik (Pflegebereich) – statisch, keine Animation */
.phone { margin: 0; display: grid; place-items: center; position: relative; }
.phone::before {
    content: ""; position: absolute; inset: 10% 6%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(94, 230, 214, .28), rgba(91, 140, 255, .14) 60%, transparent);
    filter: blur(28px);
}
.phone__frame {
    position: relative; width: min(300px, 86vw); padding: 34px 18px 22px; display: grid; gap: 12px;
    border-radius: 38px; border: 1px solid rgba(238, 242, 251, .22);
    background: linear-gradient(160deg, rgba(94, 230, 214, .10), rgba(91, 140, 255, .08) 55%, rgba(16, 24, 56, .55)), rgba(12, 18, 40, .78);
    box-shadow: var(--glass-rim), 0 30px 60px rgba(0, 0, 0, .45), inset 0 0 0 6px rgba(255, 255, 255, .03);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.phone__notch { position: absolute; top: 12px; left: 50%; width: 76px; height: 8px; margin-left: -38px; border-radius: 8px; background: rgba(238, 242, 251, .16); }
.phone__bar { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); padding-bottom: 6px; border-bottom: 1px solid var(--glass-border); }
.phone__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.phone__field { display: grid; gap: 6px; }
.phone__label { font-size: 12px; color: var(--ink-muted); }
.phone__input { padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--ink-muted); background: rgba(238, 242, 251, .06); border: 1px solid var(--glass-border); }
.phone__input b { color: var(--ink); font-weight: 600; }
.phone__input--text { color: var(--ink); border-color: rgba(94, 230, 214, .55); box-shadow: 0 0 0 3px rgba(94, 230, 214, .12); }
.phone__counter { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; text-align: center; border-radius: 12px; overflow: hidden; border: 1px solid var(--glass-border); background: rgba(238, 242, 251, .04); }
.phone__counter i { font-style: normal; font-size: 20px; color: var(--primary); padding: 6px 0; background: rgba(94, 230, 214, .08); }
.phone__counter b { font-size: 18px; color: var(--ink); }
.phone__actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; margin-top: 4px; }
.phone__btn { display: grid; place-items: center; min-height: 40px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); border: 1px solid var(--glass-border); }
.phone__btn--save { color: #0b1022; background: var(--gradient-primary); border-color: transparent; }
.phone__ok { justify-self: center; font-size: 12px; color: var(--primary); }

/* Leistungskarten am Handy zum Wischen (Etappe 2): gleicher Inhalt, viel kürzere Seite. Kein JavaScript. */
.swipe-note { display: none; }
@media (max-width: 760px) {
    .cards--services {
        grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: 86%;
        overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
        gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter); align-items: start;
    }
    .cards--services::-webkit-scrollbar { display: none; }
    .cards--services > li { scroll-snap-align: start; grid-column: auto !important; grid-row: auto !important; }
    /* 15.11.2026: Unterraster (subgrid) hier aus – sonst liegen Kopf, Titel, Text und Liste in einer Zeile übereinander */
    .cards--services .service { display: flex; flex-direction: column; gap: var(--space-4); grid-template-rows: none; }
    .swipe-note { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; color: var(--ink-muted); }
    .swipe-note::after { content: ""; width: 34px; height: 2px; border-radius: 2px; background: var(--gradient-primary); }
}

/* ---------- 14.11.2026 Etappe 3: Werkzeuge auf der Projektseite, Projekt kalkbraeuer.de ---------- */
.tools__promise { margin-top: 6px; }
.tools__group { margin: var(--space-8, 32px) 0 14px; }
.tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.tool {
    position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px;
    border-radius: var(--radius-lg); border: 1px solid var(--glass-border);
    background: linear-gradient(160deg, rgba(94, 230, 214, .07), rgba(91, 140, 255, .06) 60%, rgba(16, 24, 56, .25)), rgba(238, 242, 251, .03);
    box-shadow: var(--glass-rim), var(--glass-shadow);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.tool::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(94, 230, 214, .7), transparent); }
.tool:hover { border-color: rgba(94, 230, 214, .45); transform: translateY(-2px); box-shadow: var(--glass-rim), var(--glass-shadow), 0 0 36px rgba(20, 184, 198, .14); }
.tool__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tool__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--primary); background: rgba(94, 230, 214, .12); border: 1px solid rgba(94, 230, 214, .30); }
.tool__meta { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--ink-muted); text-align: right; }
.tool__title { margin: 4px 0 0; font-size: 20px; line-height: 1.3; }
.tool__link { color: var(--ink); text-decoration: none; }
.tool__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tool__link:focus-visible { outline: none; }
.tool:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.tool__text { margin: 0; font-size: 15px; color: var(--ink-muted); }
.tool .link-arrow { margin-top: auto; align-self: flex-start; }
.tools__beispiel { margin-top: 16px; }
@media (min-width: 900px) { .tools__beispiel { grid-template-columns: auto minmax(0, 1fr) auto; } .tools__beispiel .tool-hint__btns { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .tool { transition: none; } .tool:hover { transform: none; } }

.checklist--compact { gap: 10px; margin: 6px 0 4px; }
.checklist--compact li { font-size: 15.5px; }
.browser--self .browser__body { gap: 14px; }
.browser__code { font-family: var(--font-mono); font-size: 14px; color: var(--ink-muted); }
.browser__code b { color: var(--primary); font-weight: 500; }
@media (min-width: 761px) { .tools--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   Etappe 5 – Glas, Stil, Persönlichkeit (14.11.2026)
   A: Stallbilder im „Nachtlicht“ · B: Glas-Handy im Kopf der Branchenseiten
   C: Abschluss-Band mit Gesicht und Gruß
   ========================================================================== */

/* A – Stallbilder: kräftiger ins Nachtblau getönt, beim Darüberfahren volle Farbe.
   Das Porträt auf „Über mich“ und das Gedenkbild bleiben bewusst mild. */
:root { --photo-grade-stall: saturate(.62) contrast(1.1) brightness(.86); }
.horse__photo img, .moment img, .about__shot img { filter: var(--photo-grade-stall); }
.horse__photo::before, .moment figure::before, .about__shot::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(160deg, var(--licht-blau) 0%, var(--ground) 55%, var(--licht-tuerkis) 120%);
    mix-blend-mode: soft-light; opacity: .7; transition: opacity .5s ease;
}
.horse__photo::after, .moment figure::after { z-index: 1; }
.moment figcaption { z-index: 2; }
.horse:hover .horse__photo::before, .moment:hover figure::before, .about__shot:hover::before { opacity: 0; }
.about__shot {
    position: relative; display: block; overflow: hidden;
    border-radius: var(--radius-lg); border: 1px solid var(--glass-border);
    box-shadow: var(--glass-rim), inset 0 0 0 1px rgba(94, 230, 214, .14), 0 14px 34px rgba(2, 5, 14, .35);
}
.about__shot img { border: 0; border-radius: 0; box-shadow: none; }
.about__shot:hover img { filter: none; }

/* B – Glas-Handy im Kopf der Branchenseiten (nur ab 1101 px) */
.scene { display: none; }
@media (min-width: 1101px) {
    .page-hero--scene { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); gap: var(--space-12); align-items: center; }
    .scene { display: block; position: relative; justify-self: end; width: 100%; max-width: 320px; aspect-ratio: 4 / 5; }
}
.scene::before {
    content: ""; position: absolute; inset: 10% -10% -6% 10%; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(20, 184, 198, .35), rgba(59, 91, 219, .18) 60%, transparent);
    filter: blur(20px);
}
.scene__phone {
    position: absolute; inset: 0 16% 9% 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px;
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 45%), var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(238, 242, 251, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 30px 70px rgba(2, 5, 14, .55);
}
.scene__notch { width: 38%; height: 5px; margin: 0 auto 4px; border-radius: 99px; background: rgba(238, 242, 251, .18); }
.scene__sub { margin-bottom: -10px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.scene__name { font-weight: 700; font-size: 16px; color: var(--ink); }
.scene__status {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px;
    border-radius: var(--radius-pill); font-size: 13px; color: var(--ink);
    background: rgba(94, 230, 214, .12); border: 1px solid rgba(94, 230, 214, .35);
}
.scene__status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.scene__bar { height: 8px; border-radius: 99px; background: rgba(238, 242, 251, .10); }
.scene__bar--short { width: 62%; }
.scene__btns { margin-top: auto; display: grid; gap: 8px; }
.scene__btn { padding: 10px 12px; border-radius: var(--radius-pill); text-align: center; font-size: 13px; font-weight: 700; color: var(--ink); border: 1px solid var(--line-strong); }
.scene__btn--primary { color: var(--on-primary); background: var(--gradient-primary); border-color: transparent; }
.scene__toast {
    position: absolute; right: 0; top: 40%; width: 64%; padding: 12px 14px;
    border-radius: var(--radius-md); font-size: 13px; line-height: 1.35; color: var(--ink);
    background: linear-gradient(150deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)), rgba(26, 36, 69, .7);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border: 1px solid rgba(94, 230, 214, .35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 18px 40px rgba(2, 5, 14, .5), 0 0 30px rgba(20, 184, 198, .15);
}
.scene__toast b { display: block; margin-bottom: 4px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.scene__tag {
    position: absolute; left: 8%; bottom: 0; padding: 6px 12px; border-radius: var(--radius-pill);
    font-size: 13px; color: var(--ink); white-space: nowrap;
    background: var(--glass-bg-strong); border: 1px solid rgba(238, 242, 251, .16);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

/* C – Abschluss-Band mit Gesicht und Gruß */
.cta-band--face { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-6) var(--space-12); }
.cta-band--face .cta-band__text { max-width: 640px; }
.cta-band__face {
    position: relative; width: 132px; height: 132px; padding: 4px; border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 0 0 8px rgba(238, 242, 251, .05), 0 0 50px rgba(20, 184, 198, .3);
}
.cta-band__face img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 50%; border: 3px solid var(--ground); }
.cta-band__face::after { content: ""; position: absolute; right: 6px; bottom: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--ground); }
.cta-band__sign { font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.2; color: var(--ink); }
.cta-band__sign span { margin-left: 8px; font-family: var(--font-sans); font-style: normal; font-size: 15px; color: var(--ink-muted); }
@media (max-width: 1180px) {
    .cta-band--face { grid-template-columns: auto minmax(0, 1fr); }
    .cta-band--face .cta-band__actions { grid-column: 1 / -1; }
    .cta-band__face { width: 96px; height: 96px; align-self: start; }
}
@media (max-width: 560px) {
    .cta-band--face { grid-template-columns: minmax(0, 1fr); }
    .cta-band__face { width: 88px; height: 88px; }
}
@media (prefers-reduced-motion: reduce) {
    .horse__photo::before, .moment figure::before, .about__shot::before { transition: none; }
}

/* Musterbetriebe auf /projekte (15.11.2026): zwei Knöpfe statt Karten-Link */
.tool--betrieb:hover { transform: none; }
.tool__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.tool__btns .btn { flex: 1 1 auto; justify-content: center; }
.tools__fuss { margin: 14px 0 0; }

/* Projekt 0 (kalkbraeuer.de): Kennzahlen-Leiste – eine ruhige Glasfläche mit Trennlinien, keine Einzelkarten (17.11.2026) */
.kennzahlen {
    position: relative; margin: var(--space-12) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: var(--radius-lg); border: 1px solid var(--glass-border);
    background: linear-gradient(100deg, rgba(94, 230, 214, .045), rgba(91, 140, 255, .04) 55%, rgba(238, 242, 251, .02));
    box-shadow: var(--glass-rim); overflow: hidden;
}
.kennzahlen::before { content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(94, 230, 214, .6), rgba(91, 140, 255, .5), transparent); }
.kennzahl { display: grid; align-content: start; gap: 8px; padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kennzahl:nth-child(2n) { border-right: 0; }
.kennzahl:nth-last-child(-n+2) { border-bottom: 0; }
.kennzahl dt { display: grid; gap: 4px; }
.kennzahl__wert { font-size: clamp(30px, 4vw, 42px); font-weight: 800; line-height: 1; letter-spacing: -.03em; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kennzahl__titel { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.kennzahl dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-muted); }
@media (min-width: 1000px) {
    .kennzahlen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .kennzahl { padding: 28px 30px; }
    .kennzahl:nth-child(2n) { border-right: 1px solid var(--line); }
    .kennzahl:nth-child(3n) { border-right: 0; }
    .kennzahl:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
    .kennzahl:nth-last-child(-n+3) { border-bottom: 0; }
}
@media (max-width: 420px) { .kennzahl { padding: 18px 14px; } }

/* Baukasten-Band auf /projekte (Paket B1, 17.11.2026): über allen Werkzeugen, bewusst größer und heller als die Karten */
.bk-band {
    position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: center;
    margin: 0 0 var(--space-12); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg);
    border: 1px solid rgba(94, 230, 214, .35);
    background: radial-gradient(120% 140% at 0% 0%, rgba(94, 230, 214, .16), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(91, 140, 255, .18), transparent 55%), rgba(10, 16, 34, .55);
    box-shadow: var(--glass-rim), 0 0 60px rgba(20, 184, 198, .12);
    overflow: hidden;
}
.bk-band::before { content: ""; position: absolute; left: 6%; right: 6%; top: 0; height: 2px; background: var(--gradient-primary); opacity: .8; }
.bk-band__text { display: grid; gap: 14px; justify-items: start; }
.bk-band__label { margin: 0; padding: 5px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-primary); background: var(--gradient-primary); }
.bk-band__titel { margin: 0; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
.bk-band__lead { margin: 0; color: var(--ink-muted); font-size: 16.5px; line-height: 1.6; max-width: 520px; }
.bk-band__wege { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bk-band__weg { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius-md); border: 1px solid var(--glass-border); background: rgba(238, 242, 251, .04); color: var(--ink); text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.bk-band__weg:hover { border-color: rgba(94, 230, 214, .55); background: rgba(94, 230, 214, .08); transform: translateX(3px); text-decoration: none; }
.bk-band__weg:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.bk-band__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; color: var(--primary); background: rgba(94, 230, 214, .12); border: 1px solid rgba(94, 230, 214, .3); }
.bk-band__weg-text { display: grid; gap: 2px; flex: 1; }
.bk-band__weg-text b { font-size: 16.5px; }
.bk-band__weg-text small { font-size: 13.5px; color: var(--ink-muted); }
.bk-band__pfeil { color: var(--primary); font-size: 20px; }
@media (max-width: 900px) { .bk-band { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .bk-band__weg { transition: none; } .bk-band__weg:hover { transform: none; } }

/* ==========================================================================
   Umschalt-Leiste „Website | Dein Bereich“ (18.11.2026) – includes/umschalter.php
   Desktop: fest oben. Handy: fest unten im Daumenbereich. Glas-CI = Ebene von Cedric, nicht des Betriebs.
   ========================================================================== */
.umschalter { --us-h: 64px; position: sticky; top: 0; z-index: 40; background: rgba(8, 13, 28, .9); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); border-bottom: 1px solid var(--glass-border); color: var(--ink); font-family: var(--font-sans, var(--font)); }
.umschalter__innen { position: relative; display: flex; align-items: center; gap: 14px 20px; width: min(100%, 1240px); min-height: var(--us-h); margin-inline: auto; padding: 8px clamp(14px, 3vw, 32px); }
.umschalter__marke { display: inline-flex; flex: none; }
.umschalter__marke img { display: block; width: 28px; height: 28px; }
.umschalter__demo { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(242, 171, 109, .35); background: rgba(242, 171, 109, .08); font-size: 13px; line-height: 18px; color: var(--ink); white-space: nowrap; }
.umschalter__punkt { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(242, 171, 109, .8); }
.umschalter__tabs { display: flex; gap: 4px; margin: 0 auto; padding: 4px; list-style: none; border-radius: 999px; border: 1px solid var(--glass-border); background: rgba(238, 242, 251, .04); }
.umschalter__tabs li { display: flex; }
.umschalter__tab { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 5px 20px 5px 14px; border-radius: 999px; color: var(--ink-muted); text-decoration: none; transition: background .2s ease, color .2s ease; }
.umschalter__tab span { display: grid; text-align: left; }
.umschalter__tab b { font-size: 14.5px; line-height: 19px; font-weight: 700; color: inherit; }
.umschalter__tab small { font-size: 11.5px; line-height: 15px; opacity: .85; }
.umschalter__tab:hover { color: var(--ink); background: rgba(238, 242, 251, .06); text-decoration: none; }
.umschalter__tab.is-aktiv { color: var(--on-primary); background: var(--gradient-primary); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.umschalter__tab.is-aktiv:hover { color: var(--on-primary); }
.umschalter__tab:focus-visible, .umschalter__link:focus-visible, .umschalter__marke:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.umschalter__aktionen { display: flex; align-items: center; gap: 6px; flex: none; }
.umschalter__link { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; border: 1px solid var(--glass-border); white-space: nowrap; }
.umschalter__link:hover { border-color: rgba(238, 242, 251, .45); color: var(--ink); text-decoration: none; }
.umschalter__link--stark { border-color: rgba(94, 230, 214, .55); color: var(--primary); }
.umschalter__link--stark:hover { color: var(--primary); border-color: var(--primary); }
.umschalter__tipp { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 2; margin: 0; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--on-primary); background: var(--primary); box-shadow: 0 12px 30px rgba(2, 5, 14, .45); white-space: nowrap; pointer-events: none; opacity: 0; animation: us-tipp 7s .6s ease forwards; }
.umschalter__tipp::before { content: ""; position: absolute; top: -6px; left: calc(50% + 70px); width: 12px; height: 12px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
@keyframes us-tipp { 0% { opacity: 0; transform: translate(-30%, 6px); } 6% { opacity: 1; transform: translate(-30%, 0); } 88% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.umschalter-platz { display: none; }
.umschalter__kurz { display: none; }

@media (max-width: 960px) {
    .umschalter__tab small { display: none; }
    .umschalter__lang { display: none; }
    .umschalter__kurz { display: inline; }
}
@media (max-width: 760px) {
    .umschalter { position: fixed; top: auto; bottom: 0; left: 0; right: 0; border-bottom: 0; border-top: 1px solid var(--glass-border); box-shadow: 0 -12px 40px rgba(2, 5, 14, .5); }
    .umschalter__innen { display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; min-height: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); }
    .umschalter__marke { display: none; }
    .umschalter__demo { grid-column: 1; grid-row: 1; justify-self: start; font-size: 12.5px; gap: 7px; padding: 4px 10px; }
    .umschalter__lang { display: none; }
    .umschalter__kurz { display: inline; }
    .umschalter__innen > * { min-width: 0; }
    .umschalter__aktionen { grid-column: 2; grid-row: 1; justify-self: end; }
    .umschalter__link { min-height: 34px; padding: 4px 12px; font-size: 13.5px; }
    .umschalter__tabs { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin: 0; border-radius: 16px; }
    .umschalter__tab { justify-content: center; min-height: 54px; padding: 6px 10px; border-radius: 12px; }
    .umschalter__tab small { display: block; }
    .umschalter__tipp { top: auto; bottom: calc(100% + 10px); left: auto; right: 12px; white-space: normal; max-width: 240px; animation-name: us-tipp-handy; }
    .umschalter__tipp::before { top: auto; bottom: -6px; left: auto; right: 28%; }
    @keyframes us-tipp-handy { 0% { opacity: 0; transform: translateY(-6px); } 6% { opacity: 1; transform: none; } 88% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
    .umschalter-platz { display: block; height: calc(136px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 340px) {
    .umschalter__tab svg { display: none; }
}
