/* --- Basis Setup --- */
:root {
    --primary: #2d2d2d;
    --accent: #92B941;
    --bg-soft: #fcfcfc;
    --border: #e0e0e0;
    --font-main: "Inter", sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--primary);
    background-color: var(--bg-soft);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.py-main { padding: 120px 0; }

/* --- Scroll-Indikator --- */
.scroll-indicator-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10000;
}

.scroll-indicator-bar {
    height: 100%;
    background-color: var(--accent);
    width: 0%;
    transition: width 0.15s ease-out;
}

/* --- Header & Nav --- */
.site-header {
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo img { height: 45px; width: auto; }

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Menü-Links Styling */
.main-navigation ul,
.main-navigation .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 35px;
    align-items: center;
}

.main-navigation li {
    margin: 0;
    padding: 0;
    list-style-type: none; /* Radikale Entfernung der Punkte */
}

.main-navigation a {
    text-decoration: none;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

/* Der Underline-Effekt */
.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Submenü (Dropdown) Reset */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: none;
    z-index: 100;
}

.main-navigation li:hover > .sub-menu {
    display: flex;
}

/* Fullscreen Hero Setup */
/* Ersetze den alten .hero.hero-home Block (der mit dem <img> Tag) durch: */
.hero-home.fullscreen-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1a1a1a;
}

/* Ergänze die Typografie-Basis, falls noch nicht geschehen */
h1, h2, h3 {
    font-weight: 300; /* Der Alpine-Look lebt von dünnen Schriften */
    letter-spacing: -0.01em;
}

/* --- Quiz Sektion (Alpine Look Fix) --- */
.quiz-section {
    background-color: #1a1a1a !important;
    background: #1a1a1a !important; /* Doppelt hält besser */
    color: #ffffff !important;
    padding: 120px 0;
    text-align: center;
    display: block; /* Sicherstellen, dass es ein Block-Element ist */
}

.quiz-container label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.6);
}


.select-wrapper {
    position: relative;
    display: inline-block;
    min-width: 300px;
}

.quiz-container select {
    /* Alles auf Null setzen */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent !important;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    border-radius: 0;

    /* Text Styling */
    color: #ffffff !important;
    font-size: 2.5rem;
    font-weight: 200;
    padding: 10px 40px 10px 10px;
    width: 100%;
    cursor: pointer;
    text-align-last: center; /* Zentriert Text in manchen Browsern */
}

/* Der Pfeil nach unten in deinem CI-Grün */
.select-wrapper::after {
    content: '↓';
    position: absolute;
    right: 10px;
    bottom: 15px;
    font-size: 1.5rem;
    color: var(--accent);
    pointer-events: none;
}

.quiz-container option {
    background-color: #ffffff;
    color: #333333;
}

.quiz-container select:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

/* --- Hero (Leistung) --- */
.hero-leistung {
    position: relative;
    height: 60vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    background: #000;
}

.hero-img-responsive {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 5;
    color: #fff;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Intro Section */
.intro-section { border-bottom: 1px solid var(--border); }
.subline { color: var(--accent); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; font-weight: 600; display: block; margin-bottom: 10px; }
.intro-text h1 { font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; margin-bottom: 30px; }
.lead { font-size: 1.25rem; color: #666; max-width: 800px; }

/* Blog Cards Minimal */
.section-header-flex { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.section-header-flex h2 { font-weight: 300; margin: 0; }
.section-header-flex p { color: #888; margin: 0; }

.card-image-wrapper { display: block; overflow: hidden; margin-bottom: 20px; }
.card-image-wrapper img { transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); width: 100%; height: auto; }
.blog-card:hover .card-image-wrapper img { transform: scale(1.05); }

.read-more-minimal { font-size: 0.8rem; text-transform: uppercase; text-decoration: none; color: var(--primary); font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

.entry-content {
    margin-bottom: 150px; /* Trennung der Inhaltsblöcke */
}

.section-header-flex h2 {
    font-size: 2.2rem;
    font-weight: 300;
    margin: 0;
}

/* Row Customers Logo Wall */
.row-customers { padding: 80px 0; border-bottom: 1px solid var(--border); }
.customer-logos { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 40px; opacity: 0.6; grayscale: 1; }
.customer-logos img { max-height: 40px; width: auto; filter: grayscale(1); transition: 0.3s; }
.customer-logos img:hover { filter: grayscale(0); opacity: 1; }

/* --- Blog Cards (Alpine Look) --- */
.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card {
    background: transparent;
    border: none;
    transition: opacity 0.3s ease;
}

.blog-card:hover { opacity: 0.8; }

.blog-card .card-image-wrapper img {
    width: 100%;
    height: 250px; /* Feste Höhe für das Grid-Gefühl */
    object-fit: cover;
    filter: grayscale(0.2);
    transition: 0.5s ease;
}

.blog-card:hover img {
    filter: grayscale(0);
}

.blog-card h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0 0 10px;
}

.card-category {
    color: var(--accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Newsletter & Footer --- */
.row-newsletter {
    background: #f0f0f0;
    border-radius: 2px;
}

.newsletter-text h3 { font-weight: 300; font-size: 2rem; }

/* Responsive */
@media (max-width: 900px) {
    .hero-home.fullscreen-hero {
        height: 100dvh; /* Nutzt dynamic viewport height für mobile Browser-Bars */
    }

    .blog-card-grid { grid-template-columns: 1fr; }
    .quiz-container select { font-size: 1.4rem; }
}