/*
Theme Name: Nussbaumer IT
Theme URI: https://www.edv-nussbaumer.at/
Author: Ing. Manuel Nussbaumer BSc
Description: Massgeschneidertes, schlankes Theme fuer edv-nussbaumer.at. Ohne externe Ressourcen (DSGVO), voll responsiv, Dark-/Light-Mode.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nussbaumer
*/

/* =========================================================================
   1. Design-Tokens
   ========================================================================= */
:root {
    /* Flaechen */
    --bg:            #0b1220;
    --bg-alt:        #0f1a2e;
    --surface:       #142338;
    --surface-2:     #1b2d47;
    --border:        rgba(255, 255, 255, .10);
    --border-strong: rgba(255, 255, 255, .18);

    /* Text */
    --text:          #e8eef7;
    --text-muted:    #a3b2c7;
    --text-dim:      #7d8ea6;

    /* Akzent */
    --accent:        #38bdf8;
    --accent-2:      #0ea5e9;
    --accent-deep:   #0369a1;
    --accent-warm:   #f59e0b;
    --accent-ink:    #04121f;

    /* Typografie */
    --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
                 Roboto, "Noto Sans", Arial, sans-serif;
    --font-mono: "Cascadia Mono", "SF Mono", Consolas, "Roboto Mono", monospace;

    /* Fluid Type Scale */
    --fs-xs:   clamp(.75rem,  .72rem + .15vw, .82rem);
    --fs-sm:   clamp(.875rem, .84rem + .18vw, .95rem);
    --fs-base: clamp(1rem,    .96rem + .2vw,  1.1rem);
    --fs-md:   clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
    --fs-lg:   clamp(1.35rem, 1.2rem + .75vw,  1.75rem);
    --fs-xl:   clamp(1.75rem, 1.4rem + 1.6vw,  2.75rem);
    --fs-2xl:  clamp(2.1rem,  1.5rem + 2.8vw,  4rem);

    /* Raster */
    --wrap: 1180px;
    --wrap-narrow: 780px;
    --gap: clamp(1rem, .6rem + 1.6vw, 2rem);
    --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;

    /* Schatten */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow:    0 12px 32px -12px rgba(0, 0, 0, .55);
    --shadow-lg: 0 32px 64px -24px rgba(0, 0, 0, .7);

    --ring: 0 0 0 3px rgba(56, 189, 248, .45);
}

/* Light-Mode: nur wenn der Nutzer ihn explizit bevorzugt */
@media (prefers-color-scheme: light) {
    :root {
        --bg:            #f7f9fc;
        --bg-alt:        #eef3fa;
        --surface:       #ffffff;
        --surface-2:     #f2f6fc;
        --border:        rgba(11, 18, 32, .12);
        --border-strong: rgba(11, 18, 32, .22);
        --text:          #0f1c30;
        --text-muted:    #47576e;
        --text-dim:      #64748b;
        --accent:        #0284c7;
        --accent-2:      #0369a1;
        --accent-deep:   #075985;
        --accent-ink:    #ffffff;
        --shadow-sm: 0 1px 2px rgba(15, 28, 48, .08);
        --shadow:    0 12px 32px -14px rgba(15, 28, 48, .25);
        --shadow-lg: 0 32px 64px -28px rgba(15, 28, 48, .3);
    }
}

/* =========================================================================
   2. Reset & Basis
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    line-height: 1.15;
    margin: 0 0 .6em;
    font-weight: 700;
    letter-spacing: -.02em;
    text-wrap: balance;
}
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-color: rgba(56, 189, 248, .4); text-underline-offset: .2em; }
a:hover { color: var(--text); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

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

/* Barrierefreiheit */
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; top: -100px; left: 1rem; z-index: 999;
    padding: .7rem 1.2rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    background: var(--accent); color: var(--accent-ink); font-weight: 600;
}
.skip-link:focus { top: 0; }

/* =========================================================================
   3. Layout-Helfer
   ========================================================================= */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--edge { border-top: 1px solid var(--border); }

.section__head { max-width: 60ch; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: var(--fs-xs); font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1rem;
}
.eyebrow::before {
    content: ""; width: 28px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}
.section__head--center .eyebrow::before { display: none; }

.lead { font-size: var(--fs-md); color: var(--text-muted); }

/* =========================================================================
   4. Buttons
   ========================================================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85em 1.6em;
    border: 1px solid transparent; border-radius: 100px;
    font-size: var(--fs-sm); font-weight: 650; line-height: 1;
    text-decoration: none; cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--accent-ink);
    box-shadow: 0 10px 26px -10px rgba(14, 165, 233, .8);
}
.btn--primary:hover { color: var(--accent-ink); box-shadow: 0 16px 34px -10px rgba(14, 165, 233, .95); }

.btn--ghost {
    background: transparent; color: var(--text);
    border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn__icon { width: 1.1em; height: 1.1em; flex: none; }

/* =========================================================================
   5. Kopfbereich / Navigation
   ========================================================================= */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, background .25s ease;
}
.site-header.is-stuck {
    border-bottom-color: var(--border);
    background: color-mix(in srgb, var(--bg) 94%, transparent);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 750; font-size: 1.02rem; letter-spacing: -.015em; }
.brand__tag { font-size: .72rem; color: var(--text-dim); letter-spacing: .07em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
    padding: .55rem .85rem; border-radius: 100px;
    font-size: var(--fs-sm); font-weight: 550;
    color: var(--text-muted); text-decoration: none;
    transition: color .18s ease, background .18s ease;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: var(--surface); }

.header__tools { display: flex; align-items: center; gap: .6rem; order: 3; }

/* Sprachumschalter */
.langswitch {
    display: inline-flex; align-items: center; gap: 2px;
    padding: 3px; border-radius: 100px;
    background: var(--surface); border: 1px solid var(--border);
    text-decoration: none; line-height: 1;
}
.langswitch__opt {
    padding: .42rem .72rem; border-radius: 100px;
    font-size: .78rem; font-weight: 700; letter-spacing: .04em;
    color: var(--text-dim);
    transition: background .18s ease, color .18s ease;
}
.langswitch__opt.is-active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--accent-ink);
}
.langswitch:hover .langswitch__opt:not(.is-active) { color: var(--text); }

.nav-toggle {
    display: none; width: 44px; height: 44px; padding: 0;
    align-items: center; justify-content: center;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .nav__cta { margin-top: .6rem; }
    .nav {
        position: fixed; inset: 74px 0 auto;
        flex-direction: column; align-items: stretch; gap: .25rem;
        padding: 1rem 1.25rem 1.6rem;
        background: var(--bg-alt);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-12px); opacity: 0; visibility: hidden;
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
        max-height: calc(100dvh - 74px); overflow-y: auto;
    }
    .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav a { padding: .8rem 1rem; font-size: 1.05rem; }
    .nav .btn { margin-top: .6rem; }
}

/* =========================================================================
   6. Hero
   ========================================================================= */
.hero {
    position: relative; overflow: hidden;
    padding-block: clamp(3rem, 1.5rem + 7vw, 6.5rem) clamp(3.5rem, 2rem + 6vw, 6rem);
}
.hero__bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: url("assets/img/hero-grid.svg");
    background-size: cover; background-position: center;
    opacity: .85;
    -webkit-mask-image: radial-gradient(120% 100% at 70% 25%, #000 25%, transparent 78%);
            mask-image: radial-gradient(120% 100% at 70% 25%, #000 25%, transparent 78%);
}
.hero__glow {
    position: absolute; z-index: 0; pointer-events: none;
    width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
    top: -22%; right: -12%;
    background: radial-gradient(circle, rgba(56, 189, 248, .22), transparent 62%);
    filter: blur(20px);
}
.hero__inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.15fr .85fr;
    gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center;
}
.hero__title { margin-bottom: .35em; }
.hero__title .accent {
    background: linear-gradient(120deg, var(--accent), #7dd3fc 55%, var(--accent-warm));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__role {
    font-size: var(--fs-md); font-weight: 600; color: var(--text);
    margin-bottom: .8rem;
}
.hero__text { font-size: var(--fs-base); color: var(--text-muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.2rem; }
.badge {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .42rem .85rem; border-radius: 100px;
    background: var(--surface); border: 1px solid var(--border);
    font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted);
}
.badge svg { width: 14px; height: 14px; color: var(--accent); flex: none; }

/* Portrait */
.hero__figure { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.hero__portrait {
    position: relative; z-index: 1;
    width: 100%; border-radius: var(--radius-lg);
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45));
}
.hero__figure::before {
    content: ""; position: absolute; z-index: 0;
    inset: 8% -6% -4% -6%;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(56, 189, 248, .18), rgba(3, 105, 161, .05) 60%, transparent);
    border: 1px solid var(--border);
}
.hero__card {
    position: absolute; z-index: 2; left: -8%; bottom: 6%;
    display: flex; align-items: center; gap: .75rem;
    padding: .75rem 1.05rem; border-radius: 14px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow);
    font-size: var(--fs-xs);
}
.hero__card-dot {
    width: 9px; height: 9px; border-radius: 50%; flex: none;
    background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
}
.hero__card strong { display: block; font-size: var(--fs-sm); color: var(--text); }
.hero__card span { color: var(--text-dim); }

@media (max-width: 860px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__figure { grid-row: 1; max-width: 300px; }
    .hero__card { left: auto; right: -4%; }
}

/* =========================================================================
   7. Kennzahlen
   ========================================================================= */
.stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px; background: var(--border);
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden;
}
.stat { padding: clamp(1.2rem, .8rem + 1.4vw, 2rem); background: var(--bg); text-align: center; }
.stat__value {
    display: block; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
    font-weight: 780; letter-spacing: -.03em; line-height: 1.05;
    background: linear-gradient(135deg, var(--accent), #7dd3fc);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { font-size: var(--fs-xs); color: var(--text-muted); margin-top: .5rem; display: block; }

/* =========================================================================
   8. Karten-Raster (Leistungen)
   ========================================================================= */
.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
    position: relative; overflow: hidden;
    padding: clamp(1.4rem, 1rem + 1.2vw, 2.1rem);
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    border-radius: inherit; opacity: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(56, 189, 248, .10), transparent 45%);
    transition: opacity .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }

.card__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-bottom: 1.1rem;
    border-radius: 13px;
    background: linear-gradient(140deg, rgba(56, 189, 248, .2), rgba(56, 189, 248, .05));
    border: 1px solid rgba(56, 189, 248, .25);
    color: var(--accent);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: var(--fs-md); margin-bottom: .5rem; }
.card p { color: var(--text-muted); font-size: var(--fs-sm); }

.card__list { list-style: none; padding: 0; margin: 1rem 0 0; }
.card__list li {
    position: relative; padding-left: 1.4rem; margin-bottom: .35rem;
    font-size: var(--fs-sm); color: var(--text-muted);
}
.card__list li::before {
    content: ""; position: absolute; left: 0; top: .62em;
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* =========================================================================
   9. Profil / Ueber mich
   ========================================================================= */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

.about__points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.about__points li { display: flex; gap: .9rem; align-items: flex-start; }
.about__points svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: .25rem; }
.about__points strong { display: block; color: var(--text); }
.about__points span { color: var(--text-muted); font-size: var(--fs-sm); }

/* =========================================================================
   10. Technologien (Logo-Raster)
   ========================================================================= */
.logos {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 1px; background: var(--border);
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.logos__item {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 16 / 9; padding: 1.1rem;
    background: var(--bg-alt);
    transition: background .2s ease;
}
.logos__item:hover { background: var(--surface); }
.logos__item img {
    max-height: 42px; width: auto; object-fit: contain;
    filter: grayscale(1) brightness(1.9) contrast(.75);
    opacity: .72; transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.logos__item:hover img { filter: none; opacity: 1; transform: scale(1.04); }

@media (prefers-color-scheme: light) {
    .logos__item img { filter: grayscale(1) contrast(1.1); }
}

/* =========================================================================
   11. Zeitleiste (Werdegang / Qualifikation)
   ========================================================================= */
.timeline { position: relative; padding-left: 2.2rem; margin: 0; list-style: none; }
.timeline::before {
    content: ""; position: absolute; left: 7px; top: .6rem; bottom: .6rem;
    width: 2px; border-radius: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border) 65%, transparent);
}
.timeline > li { position: relative; padding-bottom: 2rem; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
    content: ""; position: absolute; left: -2.2rem; top: .55rem;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--bg); border: 3px solid var(--accent);
}
.timeline__when {
    display: inline-block; font-size: var(--fs-xs); font-weight: 700;
    letter-spacing: .06em; color: var(--accent); margin-bottom: .25rem;
}
.timeline__what { font-size: var(--fs-md); font-weight: 650; margin: 0 0 .25rem; }
.timeline__where { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }

/* Qualifikationskarten mit Logo */
.quals { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.qual {
    display: flex; gap: 1rem; align-items: center;
    padding: 1.1rem 1.3rem; border-radius: var(--radius-sm);
    background: var(--surface); border: 1px solid var(--border);
}
.qual__logo {
    width: 56px; height: 40px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border-radius: 8px; padding: 4px;
}
.qual__logo img { max-height: 32px; width: auto; }
.qual__logo--icon {
    background: linear-gradient(140deg, rgba(56, 189, 248, .2), rgba(56, 189, 248, .05));
    border: 1px solid rgba(56, 189, 248, .25);
    color: var(--accent);
}
.qual__logo--icon svg { width: 22px; height: 22px; }
.qual__name { font-weight: 650; font-size: var(--fs-sm); display: block; }
.qual__meta { font-size: var(--fs-xs); color: var(--text-dim); }

/* Referenzen: Kennzahl über dem Projekttitel */
.ref__figure { display: flex; align-items: baseline; gap: .45rem; margin-bottom: .7rem; }
.ref__value {
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
    font-weight: 780; letter-spacing: -.03em; line-height: 1;
    background: linear-gradient(135deg, var(--accent), #7dd3fc);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ref__unit {
    font-size: var(--fs-xs); font-weight: 650;
    letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim);
}

/* =========================================================================
   12. Kontakt
   ========================================================================= */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4rem); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact__list a, .contact__list > li > span {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.2rem; border-radius: var(--radius-sm);
    background: var(--surface); border: 1px solid var(--border);
    text-decoration: none; color: var(--text);
    transition: border-color .2s ease, transform .2s ease;
}
.contact__list a:hover { border-color: var(--accent); transform: translateX(4px); }
.contact__icon {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; flex: none; border-radius: 10px;
    background: rgba(56, 189, 248, .12); color: var(--accent);
}
.contact__icon svg { width: 20px; height: 20px; }
.contact__label { font-size: var(--fs-xs); color: var(--text-dim); display: block; }
.contact__value { font-weight: 600; font-size: var(--fs-sm); word-break: break-word; }

.contact__panel {
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    background: linear-gradient(160deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border); border-radius: var(--radius);
}

/* =========================================================================
   13. Fusszeile
   ========================================================================= */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
    padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem) 1.5rem;
    font-size: var(--fs-sm);
}
.footer__top {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--gap); padding-bottom: 2.5rem;
}
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; gap: 2rem; } }

.footer__about { color: var(--text-muted); max-width: 42ch; margin-top: 1rem; font-size: var(--fs-sm); }
.footer h4 { font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1rem; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer__list a { color: var(--text-muted); text-decoration: none; }
.footer__list a:hover { color: var(--accent); }

.footer__bottom {
    display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
    padding-top: 1.5rem; border-top: 1px solid var(--border);
    color: var(--text-dim); font-size: var(--fs-xs);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__legal a { color: var(--text-dim); text-decoration: none; }
.footer__legal a:hover { color: var(--accent); }

/* =========================================================================
   14. Inhaltsseiten (Impressum, Datenschutz, …)
   ========================================================================= */
.page-hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); border-bottom: 1px solid var(--border); }
.entry-content { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem); }
.entry-content h2 { font-size: var(--fs-lg); margin-top: 2.2em; }
.entry-content h3 { font-size: var(--fs-md); margin-top: 1.8em; }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content ul { padding-left: 1.2em; }
.entry-content li { color: var(--text-muted); }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; font-size: var(--fs-sm); }
.entry-content th, .entry-content td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.entry-content th { color: var(--text); font-weight: 650; width: 34%; }
.entry-content td { color: var(--text-muted); }
.entry-content code { font-family: var(--font-mono); font-size: .9em; background: var(--surface); padding: .15em .45em; border-radius: 5px; }

/* WordPress-Standardklassen */
.alignleft  { float: left;  margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: var(--fs-xs); color: var(--text-dim); margin-top: .5rem; }

/* =========================================================================
   15. Animation
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important; animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   16. Druck
   ========================================================================= */
@media print {
    .site-header, .site-footer, .hero__bg, .hero__glow, .btn { display: none !important; }
    body { background: #fff; color: #000; }
}
