@charset "UTF-8";

/* ═══════════════════════════════════════════════════════════════════════════
   niedermeier.net
   Ein einziges Stylesheet, keine Frameworks, keine externen Ressourcen.
   Farbwelt und Radien sind bewusst an domains.niedermeier.net angelehnt,
   damit beide Auftritte als eine Marke gelesen werden.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Schriften ────────────────────────────────────────────────────────── */

@font-face {
    font-family: "Noto Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/noto-sans-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Noto Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/noto-sans-latin-ext-400.woff2") format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
                   U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Noto Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/noto-sans-latin-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Noto Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/noto-sans-latin-ext-600.woff2") format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
                   U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Noto Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/noto-sans-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Noto Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/noto-sans-latin-ext-700.woff2") format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
                   U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── 2. Gestaltungsvariablen ─────────────────────────────────────────────── */

:root {
    /* Flächen */
    --bg:            #0a0a0a;
    --bg-alt:        #101017;
    --card:          #16161f;
    --card-hover:    #1c1c28;

    /* Text – Kontraste gegen --bg: 17:1 (text), 7.4:1 (muted), 5.3:1 (leise) */
    --text:          #e8e8f0;
    --text-muted:    #a0a0b0;
    --text-leise:    #7e7e90;

    /* Akzent – 8.9:1 gegen --bg */
    --accent:        #4abf8c;
    --accent-hell:   #70cd93;
    --accent-dunkel: #1d3a2e;

    --border:        #26262f;
    --border-stark:  #35354200;

    --radius:        12px;
    --radius-klein:  6px;

    --font:          "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Fließende Typografie: skaliert zwischen 360px und 1280px Viewport */
    --t-xs:   0.8125rem;
    --t-s:    0.9375rem;
    --t-m:    clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
    --t-l:    clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
    --t-xl:   clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
    --t-2xl:  clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);

    --raum:   clamp(1rem, 0.8rem + 1vw, 1.5rem);
    --raum-l: clamp(3rem, 2rem + 4.5vw, 5.5rem);
}

/* ── 3. Grundlagen ───────────────────────────────────────────────────────── */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: var(--t-m);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.015em;
    text-wrap: balance;
}
h1 { font-size: var(--t-2xl); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-l); }

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

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}
a:hover { color: var(--accent-hell); }

img, svg, video { max-width: 100%; height: auto; }
svg { fill: currentColor; }

ul, ol { margin: 0 0 1em; padding-left: 1.3em; }

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: var(--raum-l) 0;
}

/* Sichtbarer Fokus – nie entfernen, nur gestalten. */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 3px;
}

::selection { background: var(--accent); color: #06130d; }

/* ── 4. Hilfsklassen ─────────────────────────────────────────────────────── */

.wrap {
    width: min(100% - 2 * var(--raum), 1180px);
    margin-inline: auto;
}
.wrap-schmal { width: min(100% - 2 * var(--raum), 720px); }

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

.skip {
    position: absolute;
    left: var(--raum); top: -100%;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    background: var(--accent);
    color: #06130d;
    font-weight: 700;
    border-radius: 0 0 var(--radius-klein) var(--radius-klein);
    text-decoration: none;
    transition: top 0.15s ease;
}
.skip:focus { top: 0; color: #06130d; }

/* ── 5. Kopfbereich ──────────────────────────────────────────────────────── */

.kopf {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--border);
}
@supports not (backdrop-filter: blur(1px)) {
    .kopf { background: var(--bg); }
}

.kopf-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding-block: 0.7rem;
}

.marke {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: var(--t-l);
    letter-spacing: -0.02em;
}
.marke:hover { color: var(--text); }
.marke:hover .marke-zeichen { color: var(--accent-hell); }

.marke-zeichen {
    flex: none;
    color: var(--accent);
    transition: color 0.15s ease;
}

.nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    /* Mindestens 44px Trefferfläche für Touch */
    min-height: 44px;
    padding: 0.35rem 0.7rem;
    color: var(--text-muted);
    font-size: var(--t-s);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-klein);
    transition: color 0.15s ease, background-color 0.15s ease;
}
.nav a:hover { color: var(--text); background: var(--card); }

.nav a[aria-current="page"] {
    color: var(--accent);
    background: var(--accent-dunkel);
}

.nav-extern { flex: none; opacity: 0.6; }

/* ── 6. Hero ─────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    /* Der Abstand nach unten kommt zum Innenabstand des folgenden Abschnitts
       hinzu. Er ist bewusst wenig vom Viewport abhängig: auf schmalen Schirmen
       bricht die Faktenzeile um und braucht dann verhältnismäßig mehr Luft. */
    padding-block: clamp(3.5rem, 2rem + 7vw, 7rem) clamp(2.5rem, 2rem + 1.5vw, 3.25rem);
    overflow: hidden;
}

/* Weicher Akzentschimmer statt Bild – kostet null Bytes an Ladezeit. */
.hero::before {
    content: "";
    position: absolute;
    inset-inline: -20%;
    top: -55%;
    aspect-ratio: 2 / 1;
    background: radial-gradient(ellipse at 50% 60%,
                rgba(74, 191, 140, 0.16), rgba(74, 191, 140, 0) 62%);
    pointer-events: none;
    z-index: -1;
}

.hero-augenbraue {
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: var(--t-s);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-titel {
    max-width: 18ch;
    margin-bottom: 1rem;
}

.hero-intro {
    max-width: 60ch;
    font-size: var(--t-l);
    color: var(--text-muted);
}

.hero-fakten {
    display: flex;
    flex-wrap: wrap;
    /* Größerer Zeilenabstand, weil die Zeile auf dem Telefon umbricht. */
    gap: 0.75rem 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-leise);
    font-size: var(--t-s);
}
.hero-fakten strong {
    color: var(--text);
    font-size: var(--t-l);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.hero-fakten span {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
}

/* ── 7. Abschnitte ───────────────────────────────────────────────────────── */

.abschnitt { padding-block: var(--raum-l); }
.abschnitt-alt {
    background: var(--bg-alt);
    border-block: 1px solid var(--border);
}

.abschnitt-text {
    max-width: 62ch;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.seitenkopf { padding-block: clamp(2rem, 1rem + 4vw, 3.5rem) 0; }

/* Seitenkopf und folgender Abschnitt gehören optisch zusammen – sonst
   klaffen die beiden Innenabstände zu einer leeren Fläche auseinander. */
.seitenkopf + .abschnitt { padding-top: clamp(1.75rem, 1rem + 2.5vw, 2.75rem); }
.hero + .abschnitt-alt   { border-top: 0; }

.seitenkopf-intro {
    max-width: 62ch;
    font-size: var(--t-l);
    color: var(--text-muted);
}

.brotkrumen { margin-bottom: 1.25rem; font-size: var(--t-xs); }
.brotkrumen ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--text-leise);
}
.brotkrumen li + li::before {
    content: "/";
    margin-right: 0.5rem;
    color: var(--border-stark);
    color: #3a3a46;
}
.brotkrumen a { color: var(--text-muted); text-decoration: none; }
.brotkrumen a:hover { color: var(--accent); text-decoration: underline; }

/* ── 8. Karten-Raster ────────────────────────────────────────────────────── */

.raster {
    display: grid;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.raster-leistungen  { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.raster-referenzen  { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }

.card {
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.4rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: background-color 0.18s ease, border-color 0.18s ease,
                transform 0.18s ease;
}
.card > article {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:not(.card-stumpf):hover {
    background: var(--card-hover);
    border-color: #33333f;
    transform: translateY(-2px);
}

/* Fokus innerhalb der Karte hebt die ganze Karte hervor. */
.card:focus-within {
    border-color: var(--accent);
    background: var(--card-hover);
}

.card-titel {
    margin-bottom: 0.4rem;
    font-size: var(--t-l);
    letter-spacing: -0.02em;
}
.card-titel a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--accent);
    text-decoration: none;
}
/* Ganze Karte klickbar, Linktext bleibt aber die einzige Sprungmarke. */
.card-titel a::after {
    content: "";
    position: absolute;
    inset: 0;
}
.card { position: relative; }
.card-titel a:hover { color: var(--accent-hell); text-decoration: underline; }
.card-titel a:focus-visible { outline-offset: 4px; }

.card-pfeil {
    flex: none;
    opacity: 0.55;
    transition: transform 0.18s ease, opacity 0.18s ease;
}
.card:hover .card-pfeil { opacity: 1; transform: translate(1px, -1px); }

.card-text {
    margin-bottom: 0.9rem;
    color: var(--text-muted);
    font-size: var(--t-s);
}

.card-kategorie {
    margin: auto 0 0.6rem;
    color: var(--text-leise);
    font-size: var(--t-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.card-stumpf .card-text { margin-bottom: 0; }

/* ── 9. Chips ────────────────────────────────────────────────────────────── */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.chips li {
    padding: 0.15rem 0.55rem;
    background: #1f1f2b;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-leise);
    font-size: var(--t-xs);
    line-height: 1.5;
}

/* ── 10. Filter ──────────────────────────────────────────────────────────── */

.filter { margin-bottom: 2rem; }

.filter-titel {
    margin-bottom: 0.6rem;
    color: var(--text-leise);
    font-size: var(--t-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.filter-knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.chip-knopf {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.4rem 0.9rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    font: inherit;
    font-size: var(--t-s);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip-knopf:hover {
    background: var(--card-hover);
    color: var(--text);
    border-color: #33333f;
}
.chip-knopf[aria-pressed="true"] {
    background: var(--accent);
    border-color: var(--accent);
    color: #06130d;
}

.chip-zahl {
    padding: 0 0.4rem;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    font-size: var(--t-xs);
    font-variant-numeric: tabular-nums;
}
.chip-knopf[aria-pressed="true"] .chip-zahl { background: rgba(0, 0, 0, 0.18); }

.filter-status {
    margin: 0.75rem 0 0;
    color: var(--text-leise);
    font-size: var(--t-xs);
    min-height: 1.5em;
}

.card[hidden] { display: none; }

/* ── 11. Domainliste ─────────────────────────────────────────────────────── */

.domainliste {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.domainliste li {
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.15s ease;
}
.domainliste li:last-child { border-bottom: 0; }
.domainliste li:hover { background: var(--card-hover); }

.domain-name {
    display: inline-block;
    font-size: var(--t-l);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    word-break: break-word;
}
.domain-name:hover { text-decoration: underline; }

.domain-titel {
    display: block;
    color: var(--text);
    font-size: var(--t-s);
}
.domain-text {
    display: block;
    margin-top: 0.15rem;
    color: var(--text-leise);
    font-size: var(--t-xs);
    line-height: 1.5;
}

/* ── 12. Knöpfe ──────────────────────────────────────────────────────────── */

.mehr {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.knopf {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.7rem 1.4rem;
    background: var(--accent);
    color: #06130d;
    border: 1px solid var(--accent);
    border-radius: var(--radius-klein);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.knopf:hover { background: var(--accent-hell); border-color: var(--accent-hell); color: #06130d; }

.knopf-still {
    background: transparent;
    color: var(--accent);
    border-color: #33333f;
}
.knopf-still:hover { background: var(--card); border-color: var(--accent); color: var(--accent-hell); }

/* ── 13. Kontakt ─────────────────────────────────────────────────────────── */

.kontakt-mail { margin: 1.5rem 0; }

.mail {
    display: inline-block;
    font-size: var(--t-xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    word-break: break-word;
}
.mail:hover { text-decoration: underline; }
.mail-fallback > span[aria-hidden] { opacity: 0.7; }

/* Im Fließtext (Impressum, Datenschutz) nicht als Schlagzeile setzen. */
.mail-klein {
    font-size: inherit;
    font-weight: 400;
    letter-spacing: normal;
    text-decoration: underline;
}

.kontakt-hinweis {
    color: var(--text-leise);
    font-size: var(--t-s);
    max-width: 58ch;
}

/* ── 14. Fließtext (Impressum, Datenschutz) ──────────────────────────────── */

.text { padding-block: var(--raum) var(--raum-l); }

.text h2 {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
    font-size: var(--t-xl);
}
.text h2:first-of-type { margin-top: 1.5rem; }
.text h3 { margin-top: 1.75rem; font-size: var(--t-l); }

.text p, .text li { color: var(--text-muted); }
.text li { margin-bottom: 0.4rem; }
.text strong { color: var(--text); }

.text address {
    margin: 1rem 0 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-klein);
    font-style: normal;
    color: var(--text);
}

.hinweisbox {
    margin: 1.5rem 0;
    padding: 1.1rem 1.35rem;
    background: var(--accent-dunkel);
    border: 1px solid #2c5544;
    border-radius: var(--radius-klein);
}
.hinweisbox p { color: #cfe8dc; }
.hinweisbox p:last-child { margin-bottom: 0; }

.stand {
    margin-top: 2.5rem;
    color: var(--text-leise);
    font-size: var(--t-xs);
}

/* ── 15. Galerie (Haus-Bilder) ───────────────────────────────────────────── */

.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
    gap: 0.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.galerie button {
    display: block;
    width: 100%;
    padding: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-klein);
    overflow: hidden;
    cursor: zoom-in;
}
.galerie img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.galerie button:hover img { transform: scale(1.04); }

/* Lightbox als natives <dialog> – kein Fremdcode, Fokusfalle vom Browser. */
.lightbox {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    background: rgba(6, 6, 8, 0.96);
    border: 0;
    color: var(--text);
    overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(6, 6, 8, 0.9); }

.lightbox-buehne {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 3.5rem 0.75rem 4.5rem;
}
.lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-klein);
}

.lightbox-schliessen,
.lightbox-blaettern {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 0.5rem 0.9rem;
    background: rgba(22, 22, 31, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius-klein);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.lightbox-schliessen:hover,
.lightbox-blaettern:hover { background: var(--card-hover); border-color: var(--accent); }

.lightbox-schliessen { top: 0.75rem; right: 0.75rem; }
.lightbox-zurueck    { left: 0.75rem;  top: 50%; transform: translateY(-50%); }
.lightbox-vor        { right: 0.75rem; top: 50%; transform: translateY(-50%); }

.lightbox-zaehler {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0.35rem 0.9rem;
    background: rgba(22, 22, 31, 0.9);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: var(--t-xs);
    font-variant-numeric: tabular-nums;
}

/* ── 16. Fuß ─────────────────────────────────────────────────────────────── */

.fuss {
    padding-block: var(--raum-l) 2rem;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.fuss-inner {
    display: grid;
    gap: 1.25rem 2.5rem;
    grid-template-columns: 1fr;
    align-items: start;
}

/* Ab Tablet-Breite bekommt die Markenspalte so viel Platz, wie ihr Text
   braucht ("auto"), der Rest geht an die Navigation. Mit einer festen
   Mindestbreite wie 15rem bräche die Unterzeile unnötig um. */
@media (min-width: 40em) {
    .fuss-inner { grid-template-columns: auto 1fr; }

    /* Die Links an den rechten Rand, sonst kleben sie an der Markenspalte.
       Auf dem Telefon bleibt alles linksbündig untereinander. */
    .fuss-nav { justify-self: end; }
    .fuss-nav ul { justify-content: flex-end; }
}

.fuss-marke { color: var(--text-muted); font-size: var(--t-s); }
.fuss-marke strong { color: var(--text); font-size: var(--t-m); }

.fuss-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.fuss-nav a {
    display: inline-block;
    min-height: 44px;
    padding-block: 0.6rem;
    color: var(--text-muted);
    font-size: var(--t-s);
    text-decoration: none;
}
.fuss-nav a:hover { color: var(--accent); text-decoration: underline; }

.fuss-hinweis {
    grid-column: 1 / -1;
    max-width: 60ch;
    color: var(--text-leise);
    font-size: var(--t-xs);
}

.fuss-copy {
    grid-column: 1 / -1;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    color: var(--text-leise);
    font-size: var(--t-xs);
}

.fuss-zusatz {
    margin-left: 0.5rem;
    color: var(--accent);
    font-style: italic;
}

/* ── 17. Bewegung, Kontrastmodi, Druck ───────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .card:hover { transform: none; }
    .galerie button:hover img { transform: none; }
}

@media (forced-colors: active) {
    .card, .chip-knopf, .domainliste, .knopf { border: 1px solid CanvasText; }
    .chip-knopf[aria-pressed="true"] { background: Highlight; color: HighlightText; }
    .hero::before { display: none; }
}

@media print {
    .kopf, .filter, .skip, .fuss-nav, .card-pfeil { display: none !important; }
    :root { --bg: #fff; --card: #fff; --text: #000; --text-muted: #333; --text-leise: #555; }
    body { background: #fff; color: #000; font-size: 11pt; }
    .card { border: 1px solid #bbb; break-inside: avoid; }
    .card-titel a::after { display: none; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
