/* ============================================================
   Oldtimerfreunde Gratwein-Straßengel — PHP-Site CSS
   Fonts: Cormorant Garamond (Display) + DM Sans (Body) — self-hosted
   ============================================================ */

/* ---- Selbst-gehostete Fonts (DSGVO: keine Google CDN) ---- */
/* Dateien in assets/fonts/ hochladen:
   - CormorantGaramond-Regular.woff2
   - CormorantGaramond-Italic.woff2
   - CormorantGaramond-SemiBold.woff2
   - DMSans-Regular.woff2
   - DMSans-Medium.woff2
   Download: https://fonts.google.com/download?family=Cormorant+Garamond
             https://fonts.google.com/download?family=DM+Sans        */
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    /* Nur Schnitt 700 nötig — Google liefert für 700 und 900 dieselbe Datei aus */
    font-family: 'Cinzel';
    src: url('../fonts/Cinzel-Bold.woff2') format('woff2');
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

/* ---- CSS Custom Properties (gleich wie Prototype) ---- */
:root {
    --bg:          #F6EFE2;
    --bg-alt:      #EDE3CF;
    --card:        #FDFAF4;
    --text:        #1B2B58;
    --muted:       #4A5870;
    --accent:      #7A601A;
    --accent-h:    #604C15;
    --accent-glow: rgba(122,96,26,0.30);
    --border:      #D2C4A6;
    --error:       #B83228;
    --success:     #3A7A2A;
    --green:       #4A6040;
    --navy:        #1B2B58;

    --font-d:      'Cormorant Garamond', Georgia, serif;
    --font-h:      'Cinzel', 'Cormorant Garamond', Georgia, serif;
    --font-b:      'DM Sans', system-ui, sans-serif;

    --r-card:      16px;
    --r-inner:     13px;
    --r-pill:      9999px;
    --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
    --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-card:  0 2px 16px rgba(27,43,88,0.07);
    --shadow-hover: 0 12px 36px rgba(27,43,88,0.13);
    --shadow-nav:   0 2px 24px rgba(27,43,88,0.10);

    --nav-h:       70px;
    --max-w:       1200px;
    --section-py:  clamp(3rem, 7vw, 6rem);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-b);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Feines Korn — fix, scrollt nicht mit (aus dem Prototype übernommen) */
body::after {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px;
    opacity: 0.055;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 300;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* ---- Typografie ---- */
h1, h2, h3, h4 {
    font-family: var(--font-d);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
    text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

p { max-width: 65ch; }
p + p { margin-top: 1em; }

/* ---- Layout-Helfer ---- */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
    padding-block: var(--section-py);
    background: var(--bg);
}

.section--alt {
    background: var(--bg-alt);
}

/* ---- Navigation ---- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(246, 239, 226, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s var(--ease-out);
}

.nav.scrolled { box-shadow: 0 2px 20px rgba(27, 43, 88, 0.08); }

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-d);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
}

.nav__logo img {
    height: 44px;
    width: auto;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav__links a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--muted);
    transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.aktiv { color: var(--accent); }

.nav__cta {
    background: var(--accent);
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--r-pill);
    transition: background 0.2s var(--ease-out), transform 0.15s;
}

.nav__cta:hover { background: var(--accent-h) !important; }
.nav__cta:active { transform: scale(0.97); }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-spring), opacity 0.2s;
}

/* Mobile-Nav offen */
.nav__mobile {
    position: fixed;
    inset: 0;
    background: rgba(246, 239, 226, 0.97);
    backdrop-filter: blur(16px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out);
}

.nav__mobile.offen {
    opacity: 1;
    pointer-events: all;
}

.nav__mobile a {
    font-family: var(--font-d);
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--navy);
    transition: color 0.2s;
}

.nav__mobile a:hover { color: var(--accent); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: var(--r-pill);
    font-family: var(--font-b);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.2s var(--ease-out), transform 0.15s, color 0.2s;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
    background: var(--accent);
    color: #fff;
}
.btn--primary:hover { background: var(--accent-h); color: #fff; }

.btn--ghost {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}
.btn--ghost:hover { background: var(--accent); color: #fff; }

.btn--navy {
    background: var(--navy);
    color: #fff;
}
.btn--navy:hover { background: #0f1e42; color: #fff; }

.btn--outline {
    background: transparent;
    color: var(--muted);
    border: 1.5px solid var(--border);
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* ---- Karten (Double-Bezel) ---- */
/* Shimmer-Border-Animation für .card-shell:hover (aus dem Prototype übernommen) */
@property --shimmer-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}
@keyframes shimmer-spin {
    to { --shimmer-angle: 360deg; }
}

.card-shell {
    border: 1px solid rgba(192,122,18,0.2);
    border-radius: var(--r-card); padding: 3px;
    background: rgba(247,240,228,0.5);
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring), border-color 0.25s var(--ease-out);
    position: relative;
    isolation: isolate;
    display: flex;
    height: 100%;
}
.card-shell::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--r-card) + 1px);
    padding: 1px;
    background: conic-gradient(
        from var(--shimmer-angle),
        rgba(184,145,40,0)   0deg,
        rgba(220,185,80,0.9) 72deg,
        rgba(255,240,130,1)  100deg,
        rgba(220,185,80,0.9) 128deg,
        rgba(184,145,40,0)   200deg
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
    pointer-events: none;
    animation: shimmer-spin 3s linear infinite;
    animation-play-state: paused;
}
.card-shell:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover), 0 0 0 1px rgba(184,145,40,0.35), inset 0 1px 0 rgba(255,245,160,0.2);
    border-color: rgba(192,122,18,0.45);
}
.card-shell:hover::before {
    opacity: 1;
    animation-play-state: running;
}
.card-shell:active {
    transform: translateY(-1px) scale(0.99);
}
.card-shell.accent-border { border-color: rgba(192,122,18,0.45); }

.card-core {
    background: var(--card); border-radius: var(--r-inner);
    overflow: hidden; box-shadow: var(--shadow-card);
    display: flex; flex-direction: column;
    flex: 1; width: 100%;
}
.card-photo {
    width: 100%; aspect-ratio: 1;
    background: linear-gradient(145deg, #E8DEC8, #DDD0B2);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.card-photo-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(192,122,18,0.12);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.25s var(--ease-out);
}
.card-shell:hover .card-photo-icon { transform: scale(1.08); }
.card-photo-icon svg { width: 30px; height: 30px; stroke: var(--accent); opacity: 0.4; fill: none; stroke-width: 1.5; }
.card-body { padding: 0.875rem 1rem 1.1rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.card-name { font-family: var(--font-d); font-weight: 600; font-size: 0.95rem; color: var(--text); overflow-wrap: break-word; hyphens: auto; }
.card-sub { font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; overflow-wrap: break-word; hyphens: auto; }
.card-meta { font-size: 0.85rem; color: var(--navy); margin-top: 0.25rem; font-style: italic; opacity: 0.75; }
.pos-badge { position: absolute; top: 0.5rem; left: 0.5rem; }
.nr-badge { position: absolute; bottom: 0.35rem; right: 0.35rem; font-size: 0.72rem; font-weight: 600; color: var(--navy); opacity: 0.6; background: rgba(246,239,226,0.88); padding: 0.12rem 0.45rem; border-radius: var(--r-pill); font-style: normal; font-family: var(--font-b); }

/* ---- Flash-Nachrichten ---- */
.flash {
    position: relative;
    padding: 0.75rem 2.5rem 0.75rem 1.25rem;
    border-radius: var(--r-card);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.flash--success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.flash--error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.flash--info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }
.flash--warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }

.flash__close {
    position: absolute;
    top: 0.4rem;
    right: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    color: inherit;
    opacity: 0.6;
    padding: 0.25rem;
}
.flash__close:hover,
.flash__close:focus-visible { opacity: 1; }

/* ---- Skip-Link (Bypass Blocks, WCAG 2.4.1) ---- */
.skip-link {
    position: absolute;
    left: 0.5rem;
    top: -3rem;
    z-index: 1000;
    background: var(--navy);
    color: #fff;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: top 0.2s var(--ease-out);
}
.skip-link:focus {
    top: 0.5rem;
}

/* ---- Formulare ---- */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.03em;
}

.form-label .req { color: var(--accent); }

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.6rem 0.9rem;
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-b);
    font-size: 0.95rem;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184, 145, 40, 0.15);
}

.form-input::placeholder { color: var(--border); }

.form-error {
    font-size: 0.8rem;
    color: #b91c1c;
}

.form-helper {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ---- Footer ---- */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.75);
    padding-block: 3rem 1.5rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__logo {
    font-family: var(--font-d);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer__tagline {
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer h4 {
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-family: var(--font-b);
    font-weight: 500;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}

.footer__links a:hover { color: var(--accent); }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    opacity: 0.5;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer__bottom a { color: inherit; }
.footer__bottom a:hover { color: var(--accent); opacity: 1; }

/* ---- Scroll-Reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Pagination ---- */
.pagination { margin-top: 2rem; }

.pagination ul {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding-inline: 0.5rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pagination a:hover,
.pagination .aktiv a {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(184,145,40,0.06);
}

/* ============================================================
   Redesign-Portierung aus dem HTML-Prototype (prototype.css)
   ============================================================ */

/* ---- Divider / Eyebrow / Display-Headings / Section-Head ---- */
.divider { height: 1px; background: var(--border); }
.eyebrow {
    font-family: var(--font-d); font-style: italic;
    font-size: 0.75rem; font-weight: 400; letter-spacing: 0.08em;
    color: var(--accent); display: block; margin-bottom: 0.25rem;
}
h1.display {
    font-family: var(--font-d); font-weight: 600;
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    color: var(--accent); line-height: 1.05; letter-spacing: -0.01em;
}
h2.display {
    font-family: var(--font-d); font-weight: 600;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--accent); line-height: 1.1; margin-bottom: 1rem;
}
p.lead { font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 40ch; }
.section-head { margin-bottom: 2rem; }

/* ---- Badges ---- */
.badge {
    display: inline-block; background: rgba(184,145,40,0.15); color: var(--accent);
    font-family: var(--font-d); font-style: italic;
    font-size: 0.82rem; font-weight: 500; padding: 0.2rem 0.75rem;
    border-radius: var(--r-pill);
}
.badge-dark { background: var(--navy); color: #fff; font-style: normal; font-family: var(--font-b); font-size: 0.75rem; font-weight: 700; }
.badge-accent { background: var(--accent); color: #fff; font-style: normal; font-family: var(--font-b); font-size: 0.75rem; font-weight: 700; }
.badge-green { background: rgba(74,96,64,0.12); color: var(--green); font-style: normal; font-family: var(--font-b); font-size: 0.75rem; font-weight: 700; }

/* Nav ist jetzt fixed/floating (.nav-outer) statt sticky — #main-content
   braucht dadurch global Platz oben, unabhängig davon ob eine Seite
   .page-hero nutzt oder nicht (betrifft auch Seiten außerhalb dieses
   Redesigns wie dashboard.php/login.php/admin/*). .page-hero selbst
   fügt daher NICHT nochmal denselben Abstand oben hinzu (siehe unten),
   nur .hero-full (Vollbild-Hero auf index.php) hebt die Kompensation
   per negativem Margin wieder auf, weil er wirklich bis ganz oben reicht. */
#main-content { padding-top: 5.5rem; }

/* ---- Page-Hero / Page-Banner (interne Seiten, kein Vollbild-Hero) ---- */
.page-hero { padding: 0 0 2rem; }
.page-hero h1 { font-family: var(--font-d); font-weight: 600; font-size: clamp(2rem, 5vw, 3rem); color: var(--accent); line-height: 1.1; margin-bottom: 0.3rem; }
.page-hero p { font-size: 1rem; color: var(--muted); font-style: italic; font-family: var(--font-d); }
.page-banner {
    border-radius: var(--r-card);
    overflow: hidden;
    border: 1px solid rgba(192,122,18,0.2);
    box-shadow: var(--shadow-card);
}
.page-banner img { width: 100%; height: auto; display: block; }

/* ---- Grids ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.875rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.875rem; }
.grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem; }

/* ---- Filter-Tabs + Rang-Divider ---- */
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.75rem; }
.filter-tab {
    padding: 0.35rem 1rem; border-radius: var(--r-pill);
    border: 1.5px solid rgba(27,43,88,0.2); background: transparent;
    font-family: var(--font-b); font-size: 0.82rem; font-weight: 500;
    color: var(--navy); cursor: pointer; text-decoration: none; display: inline-block;
    transition: border-color 0.22s var(--ease-out), background 0.22s var(--ease-out), color 0.22s var(--ease-out), transform 0.15s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
    .filter-tab:hover { border-color: var(--navy); background: rgba(27,43,88,0.06); transform: translateY(-1px); }
}
.filter-tab:active { transform: scale(0.97); }
.filter-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-search {
    margin-left: auto; padding: 0.35rem 0.9rem; border-radius: var(--r-pill);
    border: 1.5px solid rgba(27,43,88,0.2); background: var(--card);
    font-family: var(--font-b); font-size: 0.75rem; color: var(--navy);
    width: 175px; outline: none; transition: border-color 0.2s;
}
.filter-search:focus { border-color: var(--navy); }
.rang-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.875rem; }
.rang-head-line { flex: 1; height: 1px; background: rgba(27,43,88,0.15); }
.rang-head-label {
    font-family: var(--font-d); font-style: italic; font-weight: 500;
    font-size: 0.82rem; letter-spacing: 0.04em; color: var(--navy); white-space: nowrap;
}

/* ---- Events / Stats ---- */
.event-row { display: flex; gap: 0.875rem; align-items: flex-start; padding: 0.875rem 0; border-bottom: 1px solid var(--border); }
.event-row:last-child { border-bottom: none; }
.event-date { min-width: 52px; background: var(--navy); border-radius: 8px; padding: 0.45rem 0.4rem; text-align: center; flex-shrink: 0; }
.event-day { font-family: var(--font-d); font-size: 1.5rem; font-weight: 600; color: #fff; line-height: 1; }
.event-month { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.85); font-weight: 600; }
.event-title { font-family: var(--font-d); font-weight: 600; font-size: 1rem; color: var(--text); margin-top: 0.2rem; }
.event-detail { font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }
.stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { padding: 1.5rem 1.75rem; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-d); font-weight: 600; font-size: 2.25rem; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--navy); opacity: 0.7; margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }

/* ---- Formular-Ergänzung ---- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---- Sponsoren ---- */
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.875rem; }
.sponsor-shell {
    border: 1px solid rgba(192,122,18,0.18); border-radius: var(--r-card);
    padding: 3px; background: rgba(247,240,228,0.4);
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring), border-color 0.25s;
    display: flex; height: 100%;
}
.sponsor-shell:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(26,18,8,0.1); border-color: rgba(192,122,18,0.4); }
.sponsor-core {
    background: var(--card); border-radius: calc(var(--r-card) - 3px);
    padding: 1.5rem 1.25rem; display: flex; flex-direction: column;
    align-items: center; gap: 0.875rem; text-align: center;
    min-height: 140px; justify-content: center;
    flex: 1; width: 100%;
}
.sponsor-logo {
    width: 72px; height: 52px; border-radius: 8px;
    background: linear-gradient(145deg, #E8DEC8, #DDD0B2);
    border: 1px dashed rgba(192,122,18,0.3);
    display: flex; align-items: center; justify-content: center;
}
.sponsor-logo svg { width: 22px; height: 22px; stroke: var(--accent); opacity: 0.3; fill: none; stroke-width: 1.5; }
.sponsor-name { font-family: var(--font-d); font-weight: 600; font-size: 0.9rem; color: var(--text); overflow-wrap: break-word; hyphens: auto; }
.sponsor-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.5; overflow-wrap: break-word; hyphens: auto; }

/* ---- Kompakte Mitglieder-Karte (m-*) ---- */
.m-shell {
    border: 1px solid rgba(192,122,18,0.15); border-radius: 11px;
    padding: 2px; background: rgba(247,240,228,0.35);
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring), border-color 0.25s;
    display: flex; height: 100%; text-decoration: none; color: inherit;
}
.m-shell:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(26,18,8,0.1); border-color: rgba(192,122,18,0.4); }
.m-core { background: var(--card); border-radius: 9px; overflow: hidden; box-shadow: 0 1px 4px rgba(26,18,8,0.05); display: flex; flex-direction: column; flex: 1; width: 100%; }
.m-photo { width: 100%; aspect-ratio: 1; background: linear-gradient(145deg, #E8DEC8, #E0D4B8); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.m-photo img { width: 100%; height: 100%; object-fit: cover; }
.m-photo-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(192,122,18,0.1); display: flex; align-items: center; justify-content: center; transition: transform 0.4s var(--ease-spring); }
.m-shell:hover .m-photo-icon { transform: scale(1.1); }
.m-photo-icon svg { width: 20px; height: 20px; stroke: var(--accent); opacity: 0.4; fill: none; stroke-width: 1.5; }
.m-body { padding: 0.5rem 0.55rem 0.65rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.m-name { font-family: var(--font-d); font-weight: 600; font-size: 0.82rem; color: var(--text); line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }
.m-fz { font-size: 0.75rem; color: var(--muted); margin-top: 0.15rem; line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }
.m-seit { font-size: 0.82rem; color: var(--navy); margin-top: 0.15rem; font-style: italic; font-family: var(--font-d); opacity: 0.75; }

/* ---- Load-More ---- */
.load-more { text-align: center; padding: 1.75rem 0 0; }
.load-note { font-size: 0.78rem; color: var(--muted); margin-top: 0.4rem; font-style: italic; font-family: var(--font-d); }

/* ---- Kontakt / Social-Icons ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 0.875rem; align-items: flex-start; }
.contact-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(192,122,18,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.contact-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.contact-val { font-size: 0.88rem; color: var(--text); margin-top: 0.1rem; line-height: 1.5; }
.social-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(192,122,18,0.1); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.25s var(--ease-spring), background 0.25s ease;
}
.social-icon:hover { transform: translateY(-2px); background: rgba(192,122,18,0.18); }

/* ---- Album-Ordner-System (Galerie-Overview) ---- */
.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.album-shell {
    border: 1px solid rgba(27,43,88,0.12); border-radius: var(--r-card); padding: 3px;
    background: rgba(246,239,226,0.5); display: flex; text-decoration: none; color: inherit;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring), border-color 0.25s;
    height: 100%;
}
.album-shell:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(27,43,88,0.25); }
.album-core { background: var(--card); border-radius: var(--r-inner); overflow: hidden; display: flex; flex-direction: column; flex: 1; width: 100%; }
.album-cover { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.album-cover-ph { width: 100%; aspect-ratio: 4/3; background: linear-gradient(145deg, #E4DAC4, #D8CCB4); display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.album-body { padding: 0.875rem 1rem 1rem; flex: 1; display: flex; flex-direction: column; }
.album-name { font-family: var(--font-d); font-weight: 600; font-size: 1.05rem; color: var(--text); }
.album-date { font-size: 0.88rem; color: var(--navy); margin-top: 0.15rem; font-style: italic; font-family: var(--font-d); opacity: 0.88; }
.album-count { display: inline-flex; align-items: center; gap: 0.3rem; background: rgba(27,43,88,0.08); color: var(--navy); font-size: 0.75rem; font-weight: 600; padding: 0.15rem 0.55rem; border-radius: var(--r-pill); margin-top: auto; align-self: flex-start; }

/* ---- Mitglieder-Marquee (Laufband) ---- */
.marquee-clip { overflow: hidden; padding-top: 10px; margin-top: -10px; padding-bottom: 4px; }
.marquee-outer {
    margin-top: 2rem;
    overflow: visible;
    -webkit-mask: linear-gradient(to right, transparent, black 7%, black 93%, transparent);
    mask: linear-gradient(to right, transparent, black 7%, black 93%, transparent);
    padding-top: 8px;
    margin-top: calc(2rem - 8px);
}
.marquee-track { display: flex; gap: 0; width: max-content; will-change: transform; transform: translateZ(0); backface-visibility: hidden; padding-bottom: 4px; }
.mq-card {
    width: 175px; flex-shrink: 0; margin-right: 1rem;
    border: 1px solid rgba(27,43,88,0.1); border-radius: 14px; padding: 3px;
    background: rgba(246,239,226,0.5);
    transition: transform 0.35s var(--ease-spring), box-shadow 0.3s var(--ease-spring);
}
.mq-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(27,43,88,0.1); }
.mq-inner { background: var(--card); border-radius: 11px; overflow: hidden; }
.mq-photo { width: 100%; aspect-ratio: 1; background: linear-gradient(145deg, #E8DEC8, #DDD0B2); display: flex; align-items: center; justify-content: center; position: relative; }
.mq-photo svg { width: 26px; height: 26px; stroke: var(--accent); opacity: 0.28; fill: none; stroke-width: 1.5; }
.mq-body { padding: 0.55rem 0.65rem 0.7rem; }
.mq-name { font-family: var(--font-d); font-weight: 600; font-size: 0.88rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mq-fz { font-size: 0.78rem; color: var(--muted); margin-top: 0.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mq-seit { font-size: 0.82rem; color: var(--accent); font-style: italic; font-family: var(--font-d); margin-top: 0.2rem; }

/* ---- About-Sektion (Startseite) ---- */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 4rem; align-items: start; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.75rem; }
.about-fact { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 0.75rem 1rem; }
.about-fact-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 700; margin-bottom: 0.2rem; }
.about-fact-val { font-size: 0.82rem; color: var(--text); font-weight: 500; }

/* ---- Hero Vollbild (nur index.php) ---- */
.hero-full { position: relative; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 0; padding-bottom: 16vh; margin-top: -5.5rem; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center center; z-index: 0; animation: kenburns 22s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { 0% { transform: scale(1.0); transform-origin: 55% 50%; } 100% { transform: scale(1.08); transform-origin: 45% 55%; } }
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(27,43,88,0.85) 0%, rgba(27,43,88,0.75) 25%, rgba(27,43,88,0.65) 44%, rgba(27,43,88,0.45) 55%, rgba(27,43,88,0.20) 68%, rgba(27,43,88,0.20) 100%);
}
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2.5rem; padding: 0 1.5rem; max-width: 100%; }
.hero-typo { cursor: default; user-select: none; display: flex; flex-direction: column; align-items: center; position: relative; }
.hero-cut { overflow: hidden; height: calc(clamp(3rem, 8vw, 7.5rem) * 0.52); transition: transform 0.45s cubic-bezier(0.32,0.72,0,1), opacity 0.45s var(--ease-out); -webkit-backface-visibility: hidden; }
.hero-cut-word { display: block; font-family: var(--font-h); font-weight: 700; font-size: clamp(3rem, 8vw, 7.5rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.95); white-space: nowrap; }
.hero-cut:last-of-type .hero-cut-word { margin-top: calc(clamp(3rem, 8vw, 7.5rem) * -0.52); }
.hero-mid {
    font-family: var(--font-d); font-style: italic; font-weight: 500;
    font-size: clamp(1.6rem, 3.5vw, 3rem); letter-spacing: 0.25em; text-transform: uppercase;
    color: #E3B84A; text-shadow: 0 0 30px rgba(227,184,74,0.7);
    opacity: 0; transform: scale(0.88);
    transition: opacity 0.4s var(--ease-out) 0.25s, transform 0.4s cubic-bezier(0.32,0.72,0,1) 0.25s;
    position: absolute; top: 50%; left: 50%; translate: -50% -50%;
    white-space: nowrap; pointer-events: none;
}
.hero-mid-dash { display: inline-block; width: 0.4em; height: 0.06em; background: currentColor; vertical-align: 0.2em; margin-right: 0.25em; }
.hero-typo:hover .hero-cut:first-of-type { transform: translateY(-28px); opacity: 0.4; }
.hero-typo:hover .hero-cut:last-of-type { transform: translateY(28px); opacity: 0.4; }
.hero-typo:hover .hero-mid { opacity: 1; transform: scale(1); }
/* Skaliert mit der Viewport-Breite (wie die Cut-Reveal-Überschrift per clamp) —
   letter-spacing ist in "em" angegeben und folgt der Schriftgröße automatisch
   mit. Vorher fix bei 0.95rem: wirkte am Handy neben der stark geschrumpften
   Überschrift zu groß/schwer und brach unschön in 2 Zeilen (08.09.2026). */
.hero-subtitle {
    font-size: clamp(0.65rem, 3vw, 0.95rem); color: rgba(255,255,255,0.55);
    letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-b);
}
/* Desktop: ein durchgehender Text mit Punkt-Trenner. Ab 640px (kontrollierter
   Umbruch statt willkürlichem Wort-Wrap, der einen Punkt allein am Zeilenende
   hängen ließ, 08.09.2026): "Gratwein-Straßengel" bleibt Zeile 1, der Punkt
   verschwindet, "Steiermark · gegr. 2023" bekommt eine eigene Zeile 2. */
.hero-subtitle-break { display: none; }
@media (max-width: 640px) {
    .hero-subtitle-dot { display: none; }
    .hero-subtitle-break { display: block; content: ""; }
}
.hero-zone { position: relative; }

/* ---- Prototype-Nav-Look (löst die alte .nav/.nav__* Optik ab) ---- */
.nav-outer { position: fixed !important; top: 0; left: 0; right: 0; z-index: 100; padding: 1.25rem 1.5rem 0; transition: padding 0.3s var(--ease-out); background: transparent; }
.nav-outer.nav-hero nav.pill {
    background: rgba(10,8,4,0.22); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-color: rgba(255,255,255,0.14); box-shadow: 0 2px 24px rgba(0,0,0,0.25);
    transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.nav-outer.nav-hero .nav-brand { color: rgba(255,255,255,0.92); }
.nav-outer.nav-hero .nav-links a { color: rgba(255,255,255,0.78); }
.nav-outer.nav-hero .nav-links a:hover { color: #fff; }
.nav-outer.nav-light nav.pill,
.nav-outer:not(.nav-hero) nav.pill {
    background: rgba(246,239,226,0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-color: rgba(27,43,88,0.14); box-shadow: var(--shadow-nav);
    transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.nav-outer.nav-light .nav-brand, .nav-outer:not(.nav-hero) .nav-brand { color: var(--accent); }
.nav-outer.nav-light .nav-links a, .nav-outer:not(.nav-hero) .nav-links a { color: var(--navy); }
.nav-outer.nav-light .nav-links a:hover, .nav-outer:not(.nav-hero) .nav-links a:hover { color: var(--accent); }
nav.pill {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(246,239,226,0.94); backdrop-filter: blur(14px);
    border: 1px solid rgba(27,43,88,0.14); border-radius: var(--r-pill);
    padding: 0.5rem 0.5rem 0.5rem 1.25rem; box-shadow: 0 2px 24px rgba(27,43,88,0.10);
    width: 100%; max-width: 1100px; margin: 0 auto;
}
.nav-brand {
    font-family: var(--font-b); font-size: 0.88rem; font-weight: 600;
    color: var(--accent); white-space: nowrap; text-decoration: none;
    font-style: normal; position: relative; transition: opacity 0.2s var(--ease-out);
    overflow: hidden; text-overflow: ellipsis;
}
.nav-brand::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 100%; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-spring); }
.nav-brand:hover { opacity: 0.85; }
.nav-brand:hover::after { transform: scaleX(1); }
.nav-links { display: flex; gap: 1.25rem; align-items: center; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--navy); text-decoration: none; position: relative; transition: color 0.25s var(--ease-out); }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 100%; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-spring); }
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--accent); font-weight: 600; }
.nav-cta {
    background: var(--accent); color: #fff !important; padding: 0.45rem 1.1rem; border-radius: var(--r-pill);
    font-size: 0.85rem !important; font-weight: 600 !important;
    transition: background 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.15s var(--ease-out) !important;
}
.nav-cta:hover { background: var(--accent-h) !important; box-shadow: 0 4px 16px var(--accent-glow) !important; transform: translateY(-1px) !important; }
.nav-cta:active { transform: scale(0.97) !important; }
.nav-cta::after { display: none !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease-spring), opacity 0.2s var(--ease-out); }
.nav-outer.nav-hero .nav-burger { color: rgba(255,255,255,0.92); }
.nav-outer.nav-light .nav-burger, .nav-outer:not(.nav-hero) .nav-burger { color: var(--navy); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
    position: fixed; inset: 0; background: rgba(246, 239, 226, 0.97); backdrop-filter: blur(16px);
    z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
    opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease-out);
}
.nav-mobile.offen { opacity: 1; pointer-events: auto; }
.nav-mobile a { font-family: var(--font-d); font-size: 1.6rem; color: var(--navy); text-decoration: none; }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--accent); }
.nav-mobile .nav-cta { font-size: 1.1rem !important; }

/* ---- Prototype-Footer-Look (löst die alte .footer/.footer__* Optik ab) ---- */
footer.site-footer { background: var(--navy); margin-top: auto; position: relative; }
footer.site-footer::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px; opacity: 0.04; mix-blend-mode: screen; pointer-events: none;
}
.footer-gold-line { height: 2px; background: linear-gradient(to right, transparent, var(--accent) 15%, var(--accent) 85%, transparent); opacity: 0.55; }
.footer-top { display: grid; grid-template-columns: 1.3fr 0.9fr 1fr 1fr; gap: 3rem; padding: 3.25rem 0 2.75rem; }
.footer-name { font-family: var(--font-d); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 1.75rem); color: #E3B84A; text-shadow: 0 0 20px rgba(227,184,74,0.35); line-height: 1.2; letter-spacing: -0.01em; }
.footer-tagline { font-size: 0.7rem; color: rgba(255,255,255,0.58); margin-top: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-b); font-weight: 500; }
.footer-col-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.22em; color: rgba(255,255,255,0.48); font-family: var(--font-b); font-weight: 600; margin-bottom: 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a { font-size: 0.88rem; color: rgba(255,255,255,0.82); text-decoration: none; font-family: var(--font-b); transition: color 0.2s var(--ease-out); }
.footer-nav a:hover { color: var(--accent); }
.footer-nav span { font-size: 0.85rem; }
.footer-cta-text { font-size: 0.83rem; color: rgba(255,255,255,0.82); line-height: 1.65; margin-bottom: 1.1rem; font-family: var(--font-b); font-style: normal; }
.footer-cta-btn {
    display: inline-block; background: rgba(227,184,74,0.14); border: 1px solid rgba(227,184,74,0.45);
    color: #E3B84A; font-size: 0.8rem; font-family: var(--font-b); font-weight: 500;
    padding: 0.5rem 1.15rem; border-radius: var(--r-pill); text-decoration: none;
    transition: background 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
}
.footer-cta-btn:hover { background: rgba(227,184,74,0.26); border-color: rgba(227,184,74,0.7); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-legal { font-size: 0.7rem; color: rgba(255,255,255,0.52); font-family: var(--font-b); }
.footer-legal-links { display: flex; gap: 1.5rem; }
.footer-legal-links a { font-size: 0.7rem; color: rgba(255,255,255,0.62); text-decoration: none; transition: color 0.2s; }
.footer-legal-links a:hover { color: rgba(255,255,255,0.9); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__burger { display: flex; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
    .nav-links { display: none; }
    .nav-burger { display: flex; flex-shrink: 0; }
    .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-3, .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    h1.display { font-size: 2.25rem; }
    h2.display { font-size: 1.6rem; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; justify-items: center; text-align: center; }
    .footer-top { grid-template-columns: 1fr; gap: 2.25rem; }
    .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-cut-word { font-size: clamp(2.4rem, 7vw, 6.5rem); letter-spacing: 0.1em; }
    .hero-cut { height: calc(clamp(2.4rem, 7vw, 6.5rem) * 0.52); }
    .hero-cut:last-of-type .hero-cut-word { margin-top: calc(clamp(2.4rem, 7vw, 6.5rem) * -0.52); }
}

@media (max-width: 640px) {
    .hero-cut-word { font-size: clamp(1.4rem, 7vw, 3.2rem); letter-spacing: 0.04em; }
    .hero-cut { height: calc(clamp(1.4rem, 7vw, 3.2rem) * 0.52); }
    .hero-cut:last-of-type .hero-cut-word { margin-top: calc(clamp(1.4rem, 7vw, 3.2rem) * -0.52); }
    .hero-mid { font-size: clamp(0.85rem, 2.8vw, 1.2rem); letter-spacing: 0.14em; }
    .hero-full { padding-bottom: 22vh; }
    /* Hero-Hintergrundbild: bei "cover" + "center center" zeigt die schmale
       Handy-Ansicht fast nur Himmel (Bild ist breit/quer komponiert) und
       schneidet das Auto seitlich hart ab. Stärker gezoomt + auf den unteren
       Bildbereich positioniert zeigt mehr vom Fahrzeug, Text bleibt lesbar
       im Himmel-Bereich (08.09.2026, per Vorher/Nachher-Vergleich getestet). */
    .hero-bg { background-size: auto 145%; background-position: center 68%; }
    /* Vorstand-/Mitglieder-Grid am Handy: 1 Spalte (allererste Version) ließ
       .card-photo/.m-photo (aspect-ratio:1, volle Kartenbreite) auf ~300px
       Kantenlänge aufblasen — eine einzige Karte füllte über die Hälfte des
       Bildschirms. 3 Spalten für Vorstand (zweite Version, 09.09.2026) war
       dann zu eng für deutsche Namen/Rollen ("Gerald Do-leschel",
       "Schriftführ-erin") — mehrfache Bindestrich-Umbrüche sahen zerhackt
       aus. Jetzt: **2 Spalten Vorstand**, 4 Spalten Mitglieder (kürzere
       Karten-Texte dort, blieben unverändert unproblematisch). */
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
    .grid-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; }
    /* .page-hero h1 (z.B. "Mitglieder") nutzt clamp(2rem, 5vw, 3rem) — bei
       Handy-Breiten ist 5vw viel kleiner als 2rem, die Untergrenze greift
       also fix und schrumpft nicht weiter mit. Eigene, niedrigere Untergrenze
       nur fürs Handy (09.09.2026) — betrifft alle Seiten mit .page-hero
       (Dashboard, Admin, Termine, Mitglieder, ...), nicht nur diese eine. */
    .page-hero h1 { font-size: clamp(1.6rem, 8vw, 3rem); }

    /* Vorstand-Karten (.card-*) für die 2-spaltige Handy-Ansicht — mehr Platz
       als bei 3 Spalten, Schrift bleibt näher an der Desktop-Größe. */
    .card-body { padding: 0.7rem 0.6rem 0.8rem; }
    .card-name { font-size: 0.85rem; }
    .card-sub { font-size: 0.72rem; }
    .card-meta { font-size: 0.72rem; margin-top: 0.15rem; }
    .card-photo-icon { width: 42px; height: 42px; }
    .card-photo-icon svg { width: 22px; height: 22px; }
    /* Rollen-Badge (z.B. "Schriftführerin") kann bei 2 Spalten je nach
       Rollentext trotzdem noch breiter als die Karte sein — darf umbrechen
       statt vom overflow:hidden der Karte abgeschnitten zu werden. */
    .pos-badge { max-width: calc(100% - 0.7rem); white-space: normal; overflow-wrap: break-word; word-break: break-word; text-align: center; line-height: 1.15; font-size: 0.68rem; }

    /* Mitglieder-Karten (.m-*) für die 4-spaltige Handy-Ansicht verkleinert */
    .m-body { padding: 0.4rem 0.4rem 0.5rem; }
    .m-name { font-size: 0.68rem; }
    .m-fz { font-size: 0.6rem; }
    .m-seit { font-size: 0.6rem; }
    .m-photo-icon { width: 26px; height: 26px; }
    .m-photo-icon svg { width: 14px; height: 14px; }
}

@media (max-width: 480px) {
    .btn { font-size: 0.85rem; padding: 0.55rem 1.1rem; }
    .card-core { padding: 1rem; }
    /* grid-4/grid-6 bleiben ab hier bewusst bei ihrer 3-/4-Spalten-Regel aus
       dem 640px-Breakpoint (siehe oben) — nur grid-3/grid-5/sponsor-grid
       (andere Kartentypen, mit mehr Inhalt pro Karte) brauchen auf sehr
       schmalen Handys noch die volle Breite. */
    .grid-3, .grid-5, .sponsor-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Hover-Guard für Touch-Geräte (kein "eingefrorener" Hover-Zustand) ---- */
@media not all and (hover: hover) and (pointer: fine) {
    .btn--primary:hover, .btn--ghost:hover, .btn--navy:hover, .btn--outline:hover,
    .nav-cta:hover, .card-shell:hover, .m-shell:hover, .sponsor-shell:hover, .album-shell:hover {
        transform: none; box-shadow: var(--shadow-card);
    }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
