:root {
    --color-primary: #e2542a;   /* Rot-Orange - Haupt-CTA (Hero, Kontakt senden) */
    --color-gold: #b9873f;      /* Gold/Ocker - Sekundaer-CTA, Eyebrow-Text, FAQ-Icons */
    --color-nav-active: #2f7de1; /* Blau - aktiver Nav-Link */
    --color-dark: #161616;
    --color-text: #333;
    --color-text-light: #6b6b6b;
    --max-width: 1180px;

    --font-heading: "Playfair Display", Georgia, serif;
    --font-slab: "Bevan", Georgia, serif;
    --font-body: "Open Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: #fff;
    line-height: 1.7;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

a { color: inherit; }

/* --- Header / Navigation --- */
.site-header {
    background: #fff;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img { height: 44px; display: block; }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #444;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--color-nav-active);
    border-bottom-color: var(--color-nav-active);
}

.nav-toggle { display: none; background: none; border: none; color: #333; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav ul {
        display: none;
        flex-direction: column;
        gap: 12px;
        position: absolute;
        top: 64px;
        right: 24px;
        background: #fff;
        padding: 16px 20px;
        border-radius: 6px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        z-index: 20;
    }
    .main-nav ul.open { display: flex; }
}

/* --- Hero-Banner (auf jeder Unterseite + Startseite) --- */
.page-hero {
    position: relative;
    overflow: hidden;
    background: #161616 url('/assets/img/hero-bg.jpg') center center / cover no-repeat;
    text-align: center;
    padding: 70px 20px;
    color: #fff;
}

.page-hero--home { padding: 110px 20px; }

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.68);
}

.page-hero__watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.18;
    filter: grayscale(1);
    pointer-events: none;
}
.page-hero__watermark img { width: 340px; max-width: 60%; }

.page-hero__inner { position: relative; z-index: 1; }

.page-hero h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.6rem;
    margin: 0 0 8px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.page-hero--home h1 { font-size: 3.2rem; line-height: 1.15; }

.page-hero .btn { margin-top: 20px; }

@media (max-width: 600px) {
    .page-hero h1 { font-size: 1.9rem; }
    .page-hero--home h1 { font-size: 2.1rem; }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: #c8431f; }

.btn-gold { background: var(--color-gold); color: #fff; }
.btn-gold:hover { background: #a0793a; }

/* --- Eyebrow + Slab-Ueberschriften --- */
.eyebrow {
    display: block;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 10px;
}
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--color-gold);
    margin-right: 10px;
    vertical-align: middle;
}

h2.slab, .section-title {
    font-family: var(--font-slab);
    font-weight: 400;
    font-size: 1.8rem;
    color: #2a2a2a;
    text-align: center;
    position: relative;
}
h2.slab::before, .section-title::before {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 0 auto 16px;
}

/* --- Startseite: Intro Zweispalter --- */
.intro-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    padding: 60px 0 40px;
    align-items: start;
}
@media (max-width: 860px) {
    .intro-grid { grid-template-columns: 1fr; text-align: center; }
}

.intro-grid p { color: var(--color-text-light); }

.intro-side { text-align: center; }
.intro-side img.badge { max-width: 170px; margin-bottom: 20px; }

.facts-box {
    background: #f2f2f2;
    border-radius: 6px;
    padding: 20px 24px;
    text-align: left;
    font-size: 0.95rem;
}
.facts-box p { margin: 6px 0; }
.facts-box strong { display: block; margin-top: 12px; }
.facts-box strong:first-child { margin-top: 0; }

/* --- Countdown --- */
.countdown-wrap { margin-top: 22px; }
.countdown {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
}
.cd-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cd-group span {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 2.6rem;
    color: #444;
    line-height: 1;
}
.cd-group label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.05em;
    margin-top: 6px;
}
.cd-colon {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 2.6rem;
    color: #444;
    line-height: 1;
    padding-top: 2px;
}
@media (max-width: 600px) {
    .cd-group span, .cd-colon { font-size: 1.8rem; }
}

/* --- Galerie (Masonry via CSS Columns) --- */
.gallery { padding: 50px 20px; text-align: center; }
.gallery-grid {
    column-count: 4;
    column-gap: 6px;
    margin-top: 30px;
    text-align: left;
}
.gallery-grid img {
    width: 100%;
    display: block;
    margin-bottom: 6px;
    border-radius: 2px;
    break-inside: avoid;
}
@media (max-width: 900px) { .gallery-grid { column-count: 2; } }
@media (max-width: 500px) { .gallery-grid { column-count: 1; } }

/* --- Aftermovie --- */
.aftermovie { padding: 20px 20px 50px; text-align: center; }
.aftermovie video { max-width: 380px; width: 100%; border-radius: 4px; margin-top: 10px; display: block; margin-left: auto; margin-right: auto; }

/* --- Sponsoren --- */
.sponsors { padding: 30px 20px 60px; text-align: center; }
.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.sponsors-grid .sponsor-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 220px;
}
.sponsors-grid img { max-height: 48px; max-width: 100%; object-fit: contain; }

/* --- Formulare --- */
.page-content { padding: 50px 20px; }
.page-content .container { max-width: 760px; }
.page-content p { color: var(--color-text-light); text-align: center; }
.page-content .warning { color: var(--color-primary); font-weight: 600; }

.form { display: flex; flex-wrap: wrap; gap: 18px 20px; margin-top: 30px; }
.form .field { display: flex; flex-direction: column; flex: 1 1 220px; }
.form .field-full { flex-basis: 100%; }
.form label { display: none; } /* Screenshots zeigen Placeholder statt sichtbarem Label */
.form input, .form select, .form textarea {
    padding: 14px 16px;
    border: none;
    background: #f0f0f0;
    border-radius: 3px;
    font-size: 1rem;
    font-family: inherit;
}
.form input::placeholder, .form textarea::placeholder { color: #888; }
.form button {
    align-self: flex-end;
    margin-top: 4px;
}

.alert { padding: 14px 18px; border-radius: 4px; margin: 20px 0; text-align: left; }
.alert-success { background: #e6f4ea; color: #1e7e34; border: 1px solid #b6e2c2; }
.alert-error { background: #fdecea; color: #b3261e; border: 1px solid #f5c2c0; }
.alert ul { margin: 0; padding-left: 18px; }

/* --- Regelwerk / Fehlerkatalog Fliesstext --- */
.doc-content { text-align: left; }
.doc-content h3 { font-family: var(--font-body); font-weight: 700; margin-top: 34px; }
.doc-content hr { border: none; border-top: 1px solid #e5e5e5; margin: 30px 0; }
.doc-content p { text-align: left; }
.doc-content ul { padding-left: 20px; }
.doc-content li { margin-bottom: 4px; }

/* --- FAQ --- */
.faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 50px;
    margin-top: 30px;
    text-align: left;
}
@media (max-width: 760px) { .faq-list { grid-template-columns: 1fr; } }

.faq-item { display: flex; gap: 14px; }
.faq-icon {
    flex: 0 0 auto;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--color-gold);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}
.faq-body h4 { margin: 4px 0 8px; font-size: 1.05rem; }
.faq-body p { margin: 0; color: var(--color-text-light); text-align: left; }

/* --- Footer --- */
.site-footer { background: var(--color-dark); color: #bbb; padding: 22px 0; margin-top: 20px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-inner a { color: #ddd; text-decoration: none; }
.footer-inner a:hover { color: #fff; }
.social-links { display: flex; gap: 16px; }
.social-links a { color: #999; }
.social-links a:hover { color: #fff; }
.footer-meta { font-size: 0.9rem; }

@media (max-width: 600px) {
    .footer-inner { flex-direction: column-reverse; text-align: center; }
}
