/* =====================================================================
   deine-erste-website.de — Cord Media Nischenseiten
   Academy-Stil: Navy #182440 · Orange #D14300 (WCAG-AA; Brand-#FF5300 nur fuer dunkle Hintergruende) · Gold #FBB03B
   Fonts lokal (DSGVO): Raleway (Headlines) + Open Sans (Text)
   ===================================================================== */

:root {
    --cm-primary: #182440;
    --cm-primary-dark: #161b48;
    --cm-accent: #D14300;       /* WCAG-AA-taugliches Orange: 4.65:1 auf Weiss (Text/Button), 3.31:1 auf Navy (Flaeche). Brand-#FF5300 war nur 3.24:1 auf Weiss. */
    --cm-accent-hover: #B83900;
    --cm-accent-gold: #FBB03B;
    --cm-accent-gold-hover: #f7931e;
    --cm-text-dark: #333333;
    --cm-text-medium: #666666;
    --cm-text-white: #FFFFFF;
    --cm-bg-light: #f1f1f1;
    --cm-bg-lightest: #f8f9fa;
    --cm-bg-white: #FFFFFF;
    --cm-border-light: #eeeeee;
    --cm-shadow-light: 0px 15px 15px -10px rgba(112, 111, 111, 0.2);
    --cm-shadow-medium: 0px 0px 28px 0px rgba(82, 82, 82, 0.2);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--cm-text-dark);
    background: var(--cm-bg-white);
}

h1, h2, h3 {
    font-family: 'Raleway', Helvetica, Arial, sans-serif;
    color: var(--cm-primary);
    line-height: 1.25;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }

p { margin-bottom: 1rem; }
a { color: var(--cm-accent); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--cm-bg-white);
    border-bottom: 1px solid var(--cm-border-light);
    box-shadow: 0 2px 12px rgba(24, 36, 64, .06);
}
.site-header .wrap {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 64px; gap: 16px;
}
.brand {
    font-family: 'Raleway', sans-serif; font-weight: 800;
    font-size: 1.05rem; color: var(--cm-primary); text-decoration: none;
    white-space: nowrap;
}
.brand span { color: var(--cm-accent); }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
    color: var(--cm-primary); text-decoration: none;
    font-weight: 600; font-size: .95rem;
}
.main-nav a:hover { color: var(--cm-accent); }
.main-nav .btn { color: var(--cm-text-white); }
@media (max-width: 760px) { .main-nav a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    background: var(--cm-accent);
    color: var(--cm-text-white);
    font-family: 'Raleway', sans-serif; font-weight: 700;
    font-size: 1rem;
    padding: 13px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--cm-accent-hover); transform: translateY(-2px); }
.btn.btn-gold { background: var(--cm-accent-gold); color: var(--cm-primary); }
.btn.btn-gold:hover { background: var(--cm-accent-gold-hover); }
.btn.btn-ghost {
    background: transparent; color: var(--cm-text-white);
    border: 2px solid rgba(255, 255, 255, .55);
}
.btn.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(140deg, var(--cm-primary) 0%, var(--cm-primary-dark) 55%, #2a3a66 100%);
    color: var(--cm-text-white);
    padding: 80px 0 90px;
    overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--cm-text-white); margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--cm-accent-gold); }
.hero p.lead { font-size: 1.15rem; opacity: .92; margin-bottom: 2rem; max-width: 34em; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { font-size: .85rem; opacity: .65; margin-top: 1.1rem; }
@media (max-width: 860px) {
    .hero .wrap { grid-template-columns: 1fr; }
    .hero-art { display: none; }
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--cm-bg-lightest); }
.section-intro { max-width: 44em; margin-bottom: 2.2rem; color: var(--cm-text-medium); }

/* Benefit-Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: var(--cm-bg-white);
    border: 1px solid var(--cm-border-light);
    border-radius: 10px;
    padding: 28px 24px;
    box-shadow: var(--cm-shadow-light);
}
.card .icon {
    width: 46px; height: 46px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 83, 0, .1);
    margin-bottom: 14px;
}
.card .icon svg { width: 24px; height: 24px; stroke: var(--cm-accent); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* Schritte */
.steps { list-style: none; counter-reset: step; display: grid; gap: 18px; }
.steps li {
    counter-increment: step;
    background: var(--cm-bg-white);
    border: 1px solid var(--cm-border-light);
    border-radius: 10px;
    padding: 24px 26px 24px 86px;
    position: relative;
    box-shadow: var(--cm-shadow-light);
}
.steps li::before {
    content: counter(step);
    position: absolute; left: 24px; top: 24px;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--cm-accent-gold);
    color: var(--cm-primary);
    font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
}
.steps li strong { font-family: 'Raleway', sans-serif; color: var(--cm-primary); display: block; margin-bottom: .3rem; font-size: 1.1rem; }
.steps li p { margin: 0; color: var(--cm-text-medium); }

/* Academy-Banner */
.academy-banner {
    background: linear-gradient(140deg, var(--cm-primary) 0%, var(--cm-primary-dark) 100%);
    color: var(--cm-text-white);
    text-align: center;
    padding: 76px 0;
}
.academy-banner h2 { color: var(--cm-text-white); }
.academy-banner h2 span { color: var(--cm-accent-gold); }
.academy-banner p { max-width: 42em; margin: 0 auto 1.6rem; opacity: .92; }
.academy-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.academy-badges span {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    padding: 7px 18px;
    font-size: .9rem; font-weight: 600;
}

/* FAQ */
.faq details {
    background: var(--cm-bg-white);
    border: 1px solid var(--cm-border-light);
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: var(--cm-shadow-light);
    overflow: hidden;
}
.faq summary {
    cursor: pointer;
    padding: 18px 22px;
    font-family: 'Raleway', sans-serif; font-weight: 700;
    color: var(--cm-primary);
    list-style: none;
    position: relative;
    padding-right: 52px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    position: absolute; right: 20px; top: 50%;
    transform: translateY(-50%);
    color: var(--cm-accent); font-size: 1.5rem; font-weight: 400;
}
.faq details[open] summary::after { content: '\2013'; }
.faq details .answer { padding: 0 22px 18px; color: var(--cm-text-medium); }
.faq details .answer p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--cm-primary-dark);
    color: rgba(255, 255, 255, .75);
    padding: 40px 0;
    font-size: .9rem;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--cm-text-white); text-decoration: none; }
.site-footer a:hover { color: var(--cm-accent-gold); }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Unterseiten (Impressum/Datenschutz) ---------- */
.legal { padding: 56px 0 72px; }
.legal h1 { margin-bottom: 1.5rem; font-size: 2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal .wrap { max-width: 800px; }
