/*
Theme Name: Anti-Dis-Quiz
Description: One-Page-Theme für das Anti-Dis-Quiz im Corporate Design des Deutschen Basketball Bundes (CD-Manual 2023). Der Inhalt der Startseite wird als normale WordPress-Seite gepflegt.
Version: 3.0.0
Author: DBB-Jugend / Jens Bahr
Text Domain: anti-dis-quiz
*/

/* DBB-Hausschrift (Sachebene): Rubik, selbst gehostet (Variable Font) */
@font-face {
    font-family: 'Rubik';
    src: url('assets/rubik-variable.woff2') format('woff2');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* DBB-Hausfarben laut Corporate Design Manual 2023 */
    --dbb-rot: #e2001a;
    --dbb-orange: #ff9900;
    --dbb-gold: #c9ae64;
    --dbb-silber: #d4d4d4;
    --dbb-schwarz: #1a171b;
    --dbb-weiss: #ffffff;
}

html, body { height: 100%; }

body {
    font-family: 'Rubik', system-ui, sans-serif;
    background-color: var(--dbb-schwarz);
    color: var(--dbb-weiss);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Untere Flächen: graue Diagonalstreifen (Gestaltungskomponente) */
body::after {
    content: "";
    position: fixed;
    right: -10vw;
    bottom: -10vh;
    width: 70vw;
    height: 55vh;
    background: repeating-linear-gradient(
        115deg,
        transparent 0 70px,
        rgba(212, 212, 212, 0.05) 70px 140px
    );
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
    z-index: 0;
}

.adq-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
    position: relative;
    z-index: 1;
}

.adq-hero {
    max-width: 680px;
    text-align: center;
}

/* ── Inhalts-Styles: greifen auf die in WordPress gepflegten Blöcke ── */

/* Badge-Zeile: Absatz mit CSS-Klasse "adq-badge-line", der Link wird zur Pille */
.adq-hero .adq-badge-line { margin-bottom: 28px; }
.adq-hero .adq-badge-line a {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dbb-gold);
    border: 1px solid rgba(201, 174, 100, 0.45);
    background: rgba(201, 174, 100, 0.08);
    border-radius: 999px;
    padding: 7px 18px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.adq-hero .adq-badge-line a:hover {
    background: var(--dbb-gold);
    color: var(--dbb-schwarz);
}

/* Überschriften: DBB-Gold, Versalien (Sucrose-Anmutung) */
.adq-hero h1 {
    font-size: clamp(44px, 8vw, 84px);
    line-height: 0.98;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--dbb-gold);
    margin-bottom: 24px;
}

.adq-hero h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--dbb-gold);
    margin: 32px 0 16px;
}

/* Absätze: Standard Silber; Klasse "adq-lead" macht den weißen Lead-Text */
.adq-hero p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--dbb-silber);
    margin-bottom: 18px;
}

.adq-hero p.adq-lead {
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.55;
    font-weight: 500;
    color: var(--dbb-weiss);
}

/* Hinweis-Zeile (Klasse "adq-hint") */
.adq-hero p.adq-hint {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 18px;
    margin-bottom: 0;
}

/* Links im Fließtext */
.adq-hero a {
    color: var(--dbb-gold);
}

/* Button-Block: roter DBB-CTA */
.adq-hero .wp-block-buttons {
    display: flex;
    justify-content: center;
    margin: 20px 0 0;
}

.adq-hero .wp-block-button__link {
    display: inline-block;
    background: var(--dbb-rot);
    color: var(--dbb-weiss);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 17px 48px;
    border-radius: 12px;
    border: none;
    transition: transform 0.15s, background 0.15s;
}

.adq-hero .wp-block-button__link:hover {
    background: #ff1a35;
    transform: translateY(-2px);
}

/* Listen und Bilder, falls in der Seite verwendet */
.adq-hero ul, .adq-hero ol {
    text-align: left;
    display: inline-block;
    color: var(--dbb-silber);
    line-height: 1.7;
    margin-bottom: 18px;
}

.adq-hero img { max-width: 100%; height: auto; }

.adq-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 24px;
    font-size: 14px;
    color: var(--dbb-silber);
    border-top: 1px solid rgba(212, 212, 212, 0.15);
    background: rgba(26, 23, 27, 0.85);
}

.adq-footer a {
    color: var(--dbb-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 174, 100, 0.4);
}

.adq-footer a:hover {
    color: var(--dbb-orange);
    border-bottom-color: var(--dbb-orange);
}
