/* ============================================================
   justboys.org · Institutionelle Vereinswebsite
   Designsprache analog zu dbna.at / justboys-Branding
   Kein Framework · DSGVO-konform (alles lokal gehostet)
   ============================================================ */

/* ----------------------------------------------------------
   Schriften, lokal gehostet (keine externen Requests):
   'Geist' für die Wortmarke, 'Nunito' für den Inhalt.
   ---------------------------------------------------------- */

@font-face {
    font-family: "Geist";
    src: url("../assets/fonts/Geist-Variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nunito";
    src: url("../assets/fonts/Nunito-Variable.woff2") format("woff2");
    font-weight: 200 1000;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nunito";
    src: url("../assets/fonts/Nunito-Italic-Variable.woff2") format("woff2");
    font-weight: 200 1000;
    font-style: italic;
    font-display: swap;
}

/* ---------------------------------------------------------- */
/* Design-Tokens (Farbwelt identisch zu dbna.at)               */
/* ---------------------------------------------------------- */

:root {
    --c1:         #0cbcf1;   /* Cyan   */
    --c2:         #8a0ebd;   /* Lila   */
    --grad:       linear-gradient(45deg, #0cbcf1 0%, #8a0ebd 100%);
    --grad-soft:  linear-gradient(45deg, rgba(12,188,241,0.12) 0%, rgba(138,14,189,0.12) 100%);
    --blue-dark:  #00afe3;
    --blue-deep:  #0a93c4;
    --blue-soft:  #eaf8fe;
    --blue-line:  #bfe9fa;
    --ink:        #1b1c1d;
    --ink-soft:   #3a3c3e;
    --muted:      #767676;
    --faint:      #9a9c9e;
    --line:       #e4e6e8;
    --bg:         #ffffff;
    --bg-soft:    #f7f9fa;
    --shadow:     0 1px 2px rgba(27,28,29,0.06), 0 8px 24px rgba(27,28,29,0.06);
    --shadow-hi:  0 8px 22px rgba(12,188,241,0.20), 0 18px 48px rgba(138,14,189,0.14);

    --font-sans:  "Nunito", "Helvetica Neue", Arial, Helvetica, system-ui, sans-serif;
    --font-brand: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------------------------------------------------------- */
/* Reset & Grundlagen                                          */
/* ---------------------------------------------------------- */

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

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

body {
    margin: 0;
    min-height: 100svh;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
    overflow-x: hidden;
}

::selection { background: rgba(12,188,241,0.28); color: var(--ink); }

a { color: var(--blue-dark); text-decoration: none; }

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

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}

/* ---------------------------------------------------------- */
/* Header                                                      */
/* ---------------------------------------------------------- */

.header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; height: 64px;
}

.logo {
    display: inline-flex; align-items: baseline; gap: 1px;
    font-family: var(--font-brand);
    font-weight: 900; font-size: 26px; letter-spacing: -0.04em; line-height: 1;
}

.logo .tld { color: var(--faint); font-weight: 500; }

.nav { display: inline-flex; align-items: center; gap: 8px; }

.nav-link {
    display: none; padding: 8px 12px; font-size: 15px; font-weight: 700;
    color: var(--ink-soft); border-radius: 8px;
}
.nav-link:hover { color: var(--blue-deep); background: var(--blue-soft); }
.nav-link.is-active { color: var(--blue-deep); background: var(--blue-soft); }
@media (min-width: 760px) { .nav-link { display: inline-flex; } }

/* ---------------------------------------------------------- */
/* Buttons                                                     */
/* ---------------------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: inherit; font-weight: 800; font-size: 15px; line-height: 1;
    border-radius: 999px; padding: 11px 20px; border: 1.5px solid transparent;
    cursor: pointer; white-space: nowrap; text-decoration: none;
    position: relative; isolation: isolate; overflow: hidden;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease,
                color .2s ease, border-color .2s ease, filter .2s ease;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary {
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(12,188,241,0.32);
}
.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--grad);
    z-index: -1;
    transition: filter .2s ease;
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hi);
    color: #fff;
}
.btn-primary:hover::before { filter: brightness(1.05); }
.btn-ghost { background: #fff; color: var(--blue-deep); border-color: var(--blue-line); }
.btn-ghost:hover { background: var(--blue-soft); border-color: var(--c1); }
.btn-lg { font-size: 16px; padding: 15px 28px; }

/* ---------------------------------------------------------- */
/* Hero                                                        */
/* ---------------------------------------------------------- */

.hero {
    position: relative; overflow: hidden; padding: 72px 0 76px; text-align: center;
    background:
        radial-gradient(ellipse 55% 55% at 18% -10%, rgba(12,188,241,0.18), transparent 60%),
        radial-gradient(ellipse 55% 55% at 85% -5%, rgba(138,14,189,0.15), transparent 60%),
        linear-gradient(180deg, rgba(251,254,255,0.90) 0%, rgba(255,255,255,0.82) 48%, rgba(255,255,255,0.94) 100%),
        url('../assets/images/hero.jpg') center / cover no-repeat,
        linear-gradient(180deg, #fbfeff 0%, #ffffff 72%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background-image: radial-gradient(rgba(138,14,189,0.10) 1.5px, transparent 1.6px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
    opacity: 0.6; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.badge {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
    padding: 7px 15px; border-radius: 999px; background: #fff;
    border: 1px solid var(--blue-line); box-shadow: var(--shadow);
    font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--blue-deep);
}
.badge::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--grad); box-shadow: 0 0 10px rgba(138,14,189,0.6);
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }

.hero h1 {
    margin: 0; font-size: clamp(36px, 7vw, 64px); line-height: 1.05;
    letter-spacing: -0.035em; font-weight: 900; color: var(--ink);
    text-wrap: balance;
}
.hero .lede {
    margin: 22px auto 0; max-width: 640px; font-size: clamp(16px, 2.2vw, 19px);
    color: var(--muted); font-weight: 500; text-wrap: balance;
}
.hero .lede strong { color: var(--ink-soft); font-weight: 800; }

.cta-row { margin: 36px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }

.trust {
    margin: 24px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 8px 18px; font-size: 13px; font-weight: 700; color: var(--faint);
}
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 15px; height: 15px; color: var(--c1); }

/* Unterseiten: kompakter Seitenkopf */
.page-hero {
    padding: 56px 0 48px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(ellipse 50% 60% at 10% 0%, rgba(12,188,241,0.10), transparent 55%),
        radial-gradient(ellipse 50% 60% at 95% 0%, rgba(138,14,189,0.08), transparent 55%),
        var(--bg);
}
.page-hero h1 {
    margin: 12px 0 0;
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 900;
    color: var(--ink);
    text-wrap: balance;
    max-width: 760px;
}
.page-hero .lede {
    margin: 18px 0 0;
    max-width: 640px;
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--muted);
    font-weight: 500;
    line-height: 1.7;
}

/* Startseite: Teaser-Karten zu Unterseiten */
.teaser-grid {
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) { .teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .teaser-grid { grid-template-columns: repeat(3, 1fr); } }

.teaser-link {
    display: flex; flex-direction: column; gap: 8px;
    padding: 26px 24px; background: #fff;
    border: 1px solid var(--line); border-radius: 16px;
    box-shadow: var(--shadow); color: inherit;
    transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.teaser-link:hover {
    transform: translateY(-3px); box-shadow: var(--shadow-hi);
    border-color: var(--blue-line); color: inherit;
}
.teaser-link h3 {
    margin: 0; font-size: 17px; font-weight: 800; color: var(--ink);
    letter-spacing: -0.01em;
}
.teaser-link p {
    margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); flex: 1;
}
.teaser-link .more {
    margin-top: 6px; font-size: 13px; font-weight: 800; color: var(--blue-deep);
}

.value-block h3 {
    margin: 0 0 12px;
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.value-block p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: var(--muted);
}

.values-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 720px) {
    .values-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.partner-list {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) {
    .partner-list { grid-template-columns: repeat(2, 1fr); }
}
.partner-item {
    padding: 22px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}
.partner-item h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
}
.partner-item h3 a { color: inherit; text-decoration: none; }
.partner-item h3 a:hover { color: var(--blue-deep); }
.partner-item p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--muted);
}

/* Steady Checkout auf spenden.html */
.steady-widget-wrap {
    margin-top: 40px;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    min-height: 120px;
}
.steady-widget-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

/* spenden.html: Patenschafts-Stil (angelehnt an lambda space) */
.donate-hero {
    padding: 72px 0 64px;
    text-align: center;
    background:
        radial-gradient(ellipse 55% 55% at 18% -10%, rgba(12,188,241,0.18), transparent 60%),
        radial-gradient(ellipse 55% 55% at 85% -5%, rgba(138,14,189,0.15), transparent 60%),
        linear-gradient(180deg, #fbfeff 0%, #ffffff 72%);
}
.donate-hero h1 {
    margin: 22px auto 0;
    max-width: 720px;
    font-size: clamp(32px, 6vw, 52px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    font-weight: 900;
    color: var(--ink);
    text-wrap: balance;
}
.donate-hero .lede {
    margin: 22px auto 0;
    max-width: 580px;
    font-size: clamp(16px, 2vw, 19px);
    color: var(--muted);
    font-weight: 500;
    line-height: 1.65;
}

.donate-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 860px) {
    .donate-split { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
    .donate-split.flip .donate-media { order: 2; }
}

.donate-media .ph { aspect-ratio: 4 / 3; }

.donate-frame {
    margin: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.donate-frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    background: var(--bg-soft);
}

.steps {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 720px) {
    .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.step {
    padding: 28px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 16px;
}
.step h3 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.step p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--muted);
}

.impact-stat {
    margin-top: 32px;
    padding: 32px 28px;
    border-radius: 16px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}
.impact-stat p {
    margin: 0;
    font-size: clamp(15px, 1.7vw, 17px);
    line-height: 1.75;
    color: var(--ink-soft);
}
.impact-stat strong { color: var(--ink); font-weight: 800; }

.checkout-block {
    margin-top: 0;
    padding: 40px 0 48px;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.checkout-block h2 {
    margin: 12px 0 0;
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 900;
    letter-spacing: -0.025em;
    text-align: center;
    text-wrap: balance;
}

.faq-list {
    margin-top: 32px;
    border-top: 1px solid var(--line);
}
.faq-item {
    border-bottom: 1px solid var(--line);
}
.faq-item summary {
    padding: 20px 4px;
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    color: var(--blue-deep);
    flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
    padding: 0 4px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
}
.faq-item .faq-body p { margin: 0; }
.faq-item .faq-body a { font-weight: 700; }

footer .footer-nav-main {
    display: flex; flex-wrap: wrap; gap: 10px 22px;
    justify-content: center; margin-bottom: 14px;
}
footer .footer-nav-main a { color: var(--ink-soft); font-weight: 700; font-size: 14px; }
footer .footer-nav-main a:hover { color: var(--blue-deep); }

/* ---------------------------------------------------------- */
/* Sektionen                                                   */
/* ---------------------------------------------------------- */

.section { padding: 64px 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em;
    color: var(--blue-deep);
}
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--grad); }

.section h2 {
    margin: 12px 0 0; font-size: clamp(26px, 4.4vw, 40px); line-height: 1.1;
    letter-spacing: -0.025em; font-weight: 900; color: var(--ink);
    text-wrap: balance; max-width: 760px;
}

.prose {
    margin-top: 22px; max-width: 720px; display: flex; flex-direction: column; gap: 16px;
    font-size: clamp(15px, 1.7vw, 17px); color: var(--ink-soft); line-height: 1.75;
}
.prose a {
    color: var(--blue-deep);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(12,188,241,0.35);
    text-underline-offset: 3px;
}
.prose a:hover { text-decoration-color: var(--c1); }

/* Magazin & Redaktion (Plattform) */
.magazine-intro {
    margin-top: 12px;
    max-width: 780px;
}

.context-prose {
    margin-top: 12px;
    max-width: 780px;
}

.mag-format {
    margin-top: 36px;
    padding: 28px 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.mag-format h3 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.mag-list {
    margin: 0;
    padding: 0 0 0 20px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.75;
}
.mag-list li + li { margin-top: 8px; }
.mag-links {
    margin: 20px 0 0;
    font-size: 14px;
    font-weight: 700;
}
.mag-links a { color: var(--blue-deep); text-decoration: none; }
.mag-links a:hover { color: var(--c1); text-decoration: underline; }

.editorial-block {
    margin-top: 36px;
    padding: 32px;
    border-radius: 16px;
    background: var(--grad-soft);
    border: 1px solid var(--blue-line);
}
.editorial-block h3 {
    margin: 0 0 14px;
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.editorial-block .prose p + p { margin-top: 14px; }
.editorial-block .btn { margin-top: 20px; }

.prose p { margin: 0; }
.prose strong { color: var(--ink); font-weight: 800; }
.prose h3 { margin: 14px 0 0; font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.prose h3:first-of-type { margin-top: 0; }

.legal-dl {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.65;
}
.legal-dl div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
.legal-dl div:last-child { border-bottom: none; }
.legal-dl dt {
    margin: 0;
    font-weight: 800;
    color: var(--ink);
    font-size: 14px;
}
.legal-dl dd {
    margin: 0;
    color: var(--muted);
    font-weight: 600;
}
@media (min-width: 640px) {
    .legal-dl div { grid-template-columns: 220px 1fr; gap: 16px; align-items: baseline; }
}

.legal-dl.legal-roles div {
    grid-template-columns: 1fr;
    gap: 2px;
    align-items: start;
}
.legal-dl.legal-roles dt {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
}
.legal-dl.legal-roles dd {
    font-size: 15px;
    color: var(--muted);
    font-weight: 600;
}
.legal-dl.legal-roles div:only-child dd {
    margin-top: 0;
}

.legal-ol {
    margin: 10px 0 0;
    padding-left: 1.25rem;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    font-weight: 600;
}
.legal-ol li + li { margin-top: 10px; }

/* ---------------------------------------------------------- */
/* Grundsätze & Leitbild (Editorial-Grid)                      */
/* ---------------------------------------------------------- */

.leitbild-intro {
    margin-top: 28px;
    max-width: 780px;
    font-size: clamp(16px, 1.8vw, 18px);
    line-height: 1.8;
    color: var(--ink-soft);
    font-weight: 500;
}

.principles-list {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.principle-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}
@media (min-width: 860px) {
    .principle-row {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
        align-items: stretch;
    }
    .principle-row.flip .principle-photo { order: -1; }
    .principle-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.principle-content h3 {
    margin: 0 0 18px;
    font-size: clamp(22px, 2.8vw, 28px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 900;
    color: var(--ink);
}

.principle-content p {
    margin: 0;
    font-size: clamp(16.5px, 1.7vw, 18px);
    line-height: 1.78;
    color: var(--muted);
}
.principle-content p + p { margin-top: 16px; }

.principle-photo {
    margin: 0;
    width: 100%;
    justify-self: center;
}
@media (min-width: 860px) {
    .principle-row .principle-photo { justify-self: end; }
    .principle-row.flip .principle-photo { justify-self: start; }
}

.photo-frame-white {
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.photo-frame-white img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
}

.principle-num {
    display: block;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue-deep);
}

.principle-num::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 2px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 2px;
    background: var(--grad);
}

@media (max-width: 480px) {
    .leitbild-intro { margin-top: 22px; }
    .principles-list { margin-top: 40px; gap: 40px; }
}

/* ---------------------------------------------------------- */
/* Karten (Fakten, Kontakt, Spenden)                           */
/* ---------------------------------------------------------- */

.cards { margin-top: 38px; display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .cards.cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px)  { .cards.cols-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hi); border-color: var(--blue-line); }
.card .ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--grad-soft); color: var(--c2); margin-bottom: 14px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.card .kv { margin: 0; font-size: 15px; font-weight: 800; color: var(--ink); }
.card a { font-weight: 800; color: var(--blue-deep); }
.card a:hover { color: var(--c2); }
.card .btn { margin-top: 16px; }

/* Vorstand / Listen-Panel */
.panel {
    margin-top: 28px; background: #fff; border: 1px solid var(--line);
    border-radius: 16px; box-shadow: var(--shadow); overflow: hidden;
}
.panel-row {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    flex-wrap: wrap; padding: 15px 22px; border-bottom: 1px solid var(--line);
}
.panel-row:last-child { border-bottom: none; }
.panel-row .name { font-weight: 800; color: var(--ink); }
.panel-row .role { font-size: 14px; font-weight: 600; color: var(--muted); }

.panel-heading {
    margin: 38px 0 0;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--ink);
}

/* Bankdaten */
.bank { margin: 14px 0 0; font-size: 14.5px; }
.bank div { display: grid; grid-template-columns: 130px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.bank div:last-child { border-bottom: none; }
.bank dt { margin: 0; color: var(--muted); font-weight: 600; }
.bank dd { margin: 0; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------- */
/* Feature-Blöcke (Text + Bild, abwechselnd links/rechts)      */
/* ---------------------------------------------------------- */

.features { display: flex; flex-direction: column; gap: 56px; margin-top: 48px; }

.feature { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
@media (min-width: 860px) {
    .feature { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
    .feature.flip .feature-media { order: -1; }
}

.feature-media { width: 100%; }

.screenshot-frame {
    margin: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.screenshot-frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    background: var(--bg-soft);
}

.feature h3 {
    margin: 12px 0 0; font-size: clamp(20px, 3vw, 27px); line-height: 1.15;
    letter-spacing: -0.02em; font-weight: 900; color: var(--ink);
}
.feature .prose { margin-top: 14px; }

.transparency-features { margin-top: 36px; }

/* Bildplatzhalter: wird später durch <img> ersetzt */
.feature-media .media-frame { margin: 0; }

.media-frame,
.about-photo-frame {
    position: relative;
    padding: 5px;
    border-radius: 26px;
    background: var(--grad);
    box-shadow:
        0 4px 24px rgba(12,188,241,0.18),
        0 16px 48px rgba(138,14,189,0.14);
}
.media-frame::before,
.about-photo-frame::before {
    content: "";
    position: absolute;
    inset: -10px;
    z-index: -1;
    border-radius: 34px;
    background: var(--grad);
    opacity: 0.2;
    filter: blur(28px);
}
.media-frame img,
.about-photo-frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 22px;
}
.ph {
    aspect-ratio: 4 / 3; border-radius: 22px;
    border: 2px dashed var(--blue-line);
    background:
        radial-gradient(ellipse 70% 70% at 20% 0%, rgba(12,188,241,0.10), transparent 60%),
        radial-gradient(ellipse 70% 70% at 90% 100%, rgba(138,14,189,0.10), transparent 60%),
        var(--bg-soft);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    color: var(--blue-deep); font-size: 13px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.1em; text-align: center; padding: 20px;
}
.ph svg { width: 34px; height: 34px; opacity: 0.7; }
.ph small { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--faint); text-transform: none; }

/* ---------------------------------------------------------- */
/* Gradient-Panel & End-CTA                                    */
/* ---------------------------------------------------------- */

.about { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 860px) { .about { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } }

.team-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
}
@media (min-width: 640px) {
    .team-gallery { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
.team-shot {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.team-shot figcaption {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
}

.about-photo {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-photo-caption {
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 5px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 48px 22px 22px;
    border-radius: 0 0 22px 22px;
    background: linear-gradient(180deg, transparent 0%, rgba(14,20,34,0.2) 30%, rgba(14,20,34,0.75) 100%);
    color: #fff;
    pointer-events: none;
}
.about-photo-title {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.98;
    text-shadow: 0 2px 18px rgba(0,0,0,0.28);
}
.about-photo-sub {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    max-width: 30ch;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.about-photo .about-stats {
    margin-top: 0;
    padding: 16px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    justify-content: space-around;
}
.about-photo .about-stats .n {
    font-size: 20px;
    font-weight: 900;
    color: var(--ink);
}
.about-photo .about-stats .l {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-stats { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.about-stats div { line-height: 1.2; }

.endcta {
    position: relative; overflow: hidden; margin: 0 auto; max-width: 880px;
    border-radius: 24px; padding: 44px 28px; text-align: center; color: #fff;
    background: var(--grad); box-shadow: var(--shadow-hi);
}
.endcta h3 { margin: 0; font-size: clamp(24px, 4vw, 34px); font-weight: 900; letter-spacing: -0.02em; }
.endcta p { margin: 12px auto 24px; max-width: 560px; font-size: 15.5px; color: rgba(255,255,255,0.92); }
.endcta .btn-primary { background: #fff; color: var(--c2); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.endcta .btn-primary::before { display: none; }
.endcta .btn-primary:hover { background: #fff; color: var(--blue-deep); transform: translateY(-1px); }

.center-cta { margin-top: 36px; display: flex; justify-content: center; }

/* ---------------------------------------------------------- */
/* Footer                                                      */
/* ---------------------------------------------------------- */

footer { background: #fff; border-top: 1px solid var(--line); padding: 36px 0 44px; }

.disclaimer {
    margin: 0 auto 22px; max-width: 720px; padding: 16px 18px;
    border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft);
    color: var(--muted); font-size: 12.5px; line-height: 1.65; text-align: left;
}
@media (min-width: 640px) { .disclaimer { text-align: center; } }
.disclaimer strong { color: var(--ink-soft); font-weight: 800; }

footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-bottom: 16px; }
footer nav a { color: var(--muted); font-weight: 600; font-size: 14px; }
footer nav a:hover { color: var(--blue-deep); }

.foot-brand { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--faint); font-size: 13px; }
.foot-brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* ---------------------------------------------------------- */
/* Responsive & Barrierefreiheit                               */
/* ---------------------------------------------------------- */

@media (max-width: 480px) {
    .hero { padding: 52px 0 56px; }
    .section { padding: 48px 0; }
    .btn-lg { width: 100%; }
    .cta-row .btn { flex: 1 1 auto; }
}

:focus-visible { outline: 2px solid var(--c1); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .badge::before { animation: none; }
    * { transition: none !important; }
}
