/* ============================================================
   DESIGN SYSTEM – EXECUTIVE B2B CONSULTING (HINLEITENDE HINTERGRÜNDE & KONTRAST)
   ============================================================ */
:root {
    --bg-main: #090a0e;
    --bg-surface: #10131b;
    --bg-surface-elevated: #181c27;
    --bg-surface-card: #141722;

    --border: #242938;
    --border-highlight: #373e54;

    --accent-gold: #c59b27;
    --accent-gold-light: #e5b83b;
    --accent-gold-bg: rgba(197, 155, 39, 0.08);
    --accent-gold-border: rgba(197, 155, 39, 0.35);

    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;

    --shadow-card: 0 12px 35px rgba(0, 0, 0, 0.55);
    --shadow-glow: 0 0 30px rgba(197, 155, 39, 0.12);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* ============================================================
   HINLEITENDE HINTERGRUND-ELEMENTE (VISUAL GUIDANCE LINES)
   ============================================================ */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px) 0 0 / 320px 100%,
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px) 100% 0 / 320px 100%;
    opacity: 0.7;
}

/* Subtile Hinleitungs-Lichtkegel für flüssige Augenführung nach unten */
.flow-glow-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse at 50% 0%, rgba(197, 155, 39, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.flow-glow-mid {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 800px;
    background: radial-gradient(ellipse at 50% 50%, rgba(30, 41, 59, 0.4) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   TYPOGRAFIE & LAYOUT CONTAINERS
   ============================================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

section {
    padding: 7.5rem 0;
    position: relative;
    border-bottom: 1px solid var(--border);
}

h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    margin-bottom: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.35rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 3rem auto;
}

.text-gold {
    color: var(--accent-gold-light);
}

.text-center {
    text-align: center;
}

.section-kicker {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

/* Section CTA Divider Box (Wiederkehrendes Kontaktangebot) */
.section-cta-box {
    margin-top: 4rem;
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-surface-card);
    border: 1px solid var(--border-highlight);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.section-cta-box h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    text-align: left;
}

.section-cta-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    text-align: left;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
header {
    background: rgba(16, 19, 27, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.1rem 0;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--accent-gold);
}

.header-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.header-phone {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.header-phone:hover {
    color: var(--accent-gold);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.1rem 2.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-gold {
    background: var(--accent-gold);
    color: #000000;
    font-weight: 700;
}
.btn-gold:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 155, 39, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-highlight);
}
.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold-light);
    background: var(--accent-gold-bg);
}

.btn-fire {
    background: #c2410c;
    color: #ffffff;
    font-weight: 700;
}
.btn-fire:hover {
    background: #ea580c;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
    transform: translateY(-2px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    padding-top: 11.5rem;
    padding-bottom: 7.5rem;
    background: radial-gradient(circle at 50% 0%, #1c2232 0%, var(--bg-main) 75%);
}

.hero-content {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-gold-bg);
    border: 1px solid var(--accent-gold-border);
    color: var(--accent-gold-light);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* ============================================================
   TRUST & REFERENCES BAR
   ============================================================ */
.social-proof {
    background: var(--bg-surface);
    padding: 3.5rem 0;
}
.social-proof p {
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.logos-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}
.ref-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    opacity: 0.85;
}

/* ============================================================
   EXECUTIVE BRIEFING / FUNNEL GRID
   ============================================================ */
.funnel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.glass-card {
    background: var(--bg-surface-card);
    border: 1px solid var(--border);
    padding: 3.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
}

.check-list {
    list-style: none;
    margin: 2rem 0;
}
.check-list li {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    line-height: 1.6;
}
.check-list li::before {
    content: "✓";
    color: var(--accent-gold);
    font-weight: 800;
    font-size: 1.1rem;
}

/* ============================================================
   LEISTUNGSSPEKTRUM (GRID)
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.service-card {
    background: var(--bg-surface-card);
    border: 1px solid var(--border);
    padding: 2.75rem;
    border-radius: 10px;
    transition: all 0.25s ease;
}
.service-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    background: var(--bg-surface);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.testimonial-card {
    background: var(--bg-surface-card);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 10px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.author-info strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.05rem;
}
.author-info span {
    font-size: 0.9rem;
    color: var(--accent-gold);
}

/* ============================================================
   TERMINBUCHUNG WIDGET (EXCHANGE EWS)
   ============================================================ */
.application {
    background: var(--bg-main);
}

.booking-wrapper {
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg-surface-card);
    padding: 3.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

/* Pre-Qualifier Step */
.qualifier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.qualifier-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 1.25rem 1rem;
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}
.qualifier-card:hover {
    border-color: var(--accent-gold);
    color: var(--text-primary);
}
.qualifier-card.active {
    border-color: var(--accent-gold);
    background: var(--accent-gold-bg);
    color: var(--accent-gold-light);
    font-weight: 600;
}

/* Step Dots */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}
.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    transition: background 0.3s;
}
.step-dot.active {
    background: var(--accent-gold);
}

.booking-step {
    display: none;
}
.booking-step.active {
    display: block;
}

/* Kalender Styling */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.calendar-header button {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
}
.calendar-header button:hover {
    border-color: var(--accent-gold);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.4rem;
}
.cal-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    padding-bottom: 0.5rem;
}
.cal-day {
    text-align: center;
    padding: 0.85rem 0.4rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-surface);
    border: 1px solid transparent;
}
.cal-day:hover:not(.disabled):not(.past) {
    border-color: var(--accent-gold);
    color: var(--text-primary);
}
.cal-day.selected {
    background: var(--accent-gold);
    color: #000000 !important;
    font-weight: 700;
}
.cal-day.disabled, .cal-day.past {
    opacity: 0.25;
    cursor: default;
}
.cal-day.empty {
    background: none;
    border: none;
    cursor: default;
}

/* Zeitslots */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.slot-btn {
    padding: 1rem;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}
.slot-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold-light);
}
.slot-btn.selected {
    background: var(--accent-gold);
    color: #000000;
    border-color: var(--accent-gold);
}

/* Formulare & Checkboxen (DSGVO) */
.form-group {
    margin-bottom: 1.75rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* Checkbox Style */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--accent-gold);
    cursor: pointer;
}
.checkbox-group label {
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0;
}

.booking-summary {
    background: var(--bg-surface);
    border: 1px solid var(--accent-gold-border);
    border-radius: 6px;
    padding: 1.25rem 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}
.booking-summary strong {
    color: var(--accent-gold-light);
}

.no-slots-fallback {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* ============================================================
   EMERGENCY / NOTFALL SEKTION
   ============================================================ */
.section-fire {
    background: #140b08 !important;
    border-top: 1px solid #431407;
    border-bottom: 1px solid #431407;
}

.emergency-card {
    background: #1c0e09;
    border: 1px solid #7c2d12;
    padding: 4rem 3rem;
    border-radius: 12px;
    text-align: center;
}

/* ============================================================
   LEAD MAGNET (WHITEPAPER DOWNLOAD)
   ============================================================ */
.lead-magnet {
    background: var(--bg-surface);
    padding: 6rem 0;
}
.lead-magnet-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.lead-magnet-badge {
    display: inline-block;
    background: var(--accent-gold-bg);
    border: 1px solid var(--accent-gold-border);
    color: var(--accent-gold-light);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.lead-magnet-form {
    background: var(--bg-surface-card);
    border: 1px solid var(--border);
    padding: 2.75rem;
    border-radius: 10px;
}

/* ============================================================
   SEO TAGS BAR
   ============================================================ */
.seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.seo-tag {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-surface-card);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--border);
}

/* ============================================================
   STICKY FOOTER ACTION BAR
   ============================================================ */
.sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(16, 19, 27, 0.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    padding: 0.85rem 0;
    z-index: 999;
}
.sticky-action-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.sticky-action-content a {
    color: var(--accent-gold-light);
    font-weight: 600;
    text-decoration: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    padding: 5rem 0 3rem;
    background: #07080b;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}
.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.footer-contact p, .footer-links p {
    margin-bottom: 0.5rem;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--accent-gold-light);
}
.footer-bottom {
    text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .funnel-grid, .lead-magnet-inner {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .glass-card {
        padding: 2.5rem;
    }
    .section-cta-box {
        flex-direction: column;
        text-align: center;
    }
    .section-cta-box h4, .section-cta-box p {
        text-align: center;
    }
}
@media (max-width: 768px) {
    section {
        padding: 4.5rem 0;
    }
    .hero {
        padding-top: 9rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .booking-wrapper {
        padding: 1.75rem;
    }
    .hide-mobile {
        display: none !important;
    }
    .sticky-action-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
