:root {
    --color-bg-main: #212529; /* Modernes Dunkelgrau (Clean Dark) */
    --color-dark: #2F3E46;    /* Dark Slate - Edel und ruhig */
    --color-accent: #84A98C;  /* Sage - Natürliches Salbeigrün */
    --color-cta: #E07A5F;     /* Terracotta - Warmer Akzent */
    --color-cta-hover: #D06040;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}
/*
  Hier werden die Schriftarten für die Webseite geladen.
  Der Name bei 'font-family' muss mit dem Namen in den CSS-Variablen (--font-heading, --font-body) übereinstimmen.
  Der Pfad bei 'src: url(...)' muss zum Speicherort der Schriftart-Datei führen.
  Ich habe hier Beispielpfade eingefügt. Du musst sie an deine Ordnerstruktur anpassen.
*/
/* POPPINS (für Überschriften) */
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* MONTSERRAT (für Fließtext) */
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Italic-VariableFotn_wght.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* ROBOTO (Zusätzlich verfügbar) */
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* LEXEND DECA (Zusätzlich verfügbar) */
@font-face {
  font-family: 'Lexend Deca';
  src: url('fonts/LexendDeca-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: #f4f6f5; /* Helles Grau passend zum Farbschema */
    color: var(--color-dark); /* Dunkler Text für Lesbarkeit auf hellem Grund */
    overflow-x: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

/* ================= HEADER ================= */

header {
    position: fixed;
    width: 100%;
    max-width: 1400px;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 18px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-dark);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-radius: 0 0 1rem 1rem;
}

.logo img {
    height: 140px;
    padding-left: 20px;
    z-index: 1001;
    position: relative;
    /* top: 30px; Schiebt das Logo optisch nach unten */
    transition: all 0.3s ease;
}

.logo .logo-icon {
    height: 110px; /* Kleiner als Standard (140px) */
    top: -15px;
}

.logo .logo-text {
    height: 170px; /* Größer als Standard (140px) */
}

header.scrolled .logo img {
    height: 80px;
    top: 0;
}

header.scrolled .logo .logo-icon {
    height: 60px;
}

header.scrolled .logo .logo-text {
    height: 100px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: var(--color-accent);
}

/* Burger */

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease; /* Weicher Übergang für die Striche */
}

/* Burger Animation zum X */
.burger.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.toggle span:nth-child(2) {
    opacity: 0; /* Mittlerer Strich verschwindet */
}

.burger.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================= HERO ================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    margin-top: 80px;
    border-radius: 20px;
    color: white; /* Text im Hero muss weiß bleiben */
}

.hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    border-radius: 20px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(47, 62, 70, 0.95));
    z-index: -1;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.btn {
    padding: 14px 28px;
    border-radius: 40px;
    background: var(--color-cta);
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn:hover {
    background: var(--color-cta-hover);
    transform: translateY(-3px);
}

/* ================= SECTIONS ================= */

section {
    padding: 80px 5%;
}

.section-dark {
    background-color: var(--color-bg-main);
    border-radius: 20px;
    color: white; /* Dunkle Sektionen brauchen weißen Text */
}

#services {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-radius: 20px;
    margin: 50px 5%;
}

#services h4 {
    text-align: left;
}

h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    text-align: center;
    margin-bottom: 20px;
    color: inherit; /* Passt sich nun automatisch dem Hintergrund an (dunkel oder weiß) */
}
h4 {
    font-family: var(--font-body);
    font-size: clamp(0.6rem, 4vw, 1rem);
    text-align: center;
    margin-bottom: 50px;
    line-height: 2;
    color: var(--color-accent);
}
h3 {
    color: var(--color-accent);
}


/* ================= CARDS ================= */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(8px);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.12);
}

.card .btn {
    width: 80%;
    display: block;
    margin: 0 auto;
    text-align: center;
}

/* ================= FAQ ================= */

#faq {
    background-color: var(--color-dark);
    border-radius: 1rem;
    color: white; /* FAQ ist dunkel hinterlegt, daher weißer Text */
}

.faq-item {
    background: rgba(255,255,255,0.05);
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.faq-item h4 {
    cursor: pointer;
    margin-bottom: 0; /* Globalen Abstand (50px) überschreiben */
    text-align: left; /* Sieht bei Fragen meist besser aus */
    color: #C5E1A5; /* Helleres Grün für besseren Kontrast */
}

.faq-item p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-top: 10px; /* Abstand deutlich verringert */
}

/* ================= CONTACT ================= */

form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

input, textarea {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: none;
}

/* ================= FOOTER ================= */

footer {
    text-align: center;
    padding: 25px;
    background: rgba(0,0,0,0.3);
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

    .logo img,
    header.scrolled .logo img {
        height: 50px;
        top: 0;
    }

    .logo .logo-icon,
    header.scrolled .logo .logo-icon {
        height: 40px;
    }

    .logo .logo-text,
    header.scrolled .logo .logo-text {
        height: 65px;
    }

        header {
            border-radius: 0;
        }

    nav {
        position: absolute;
        top: 90px; /* Etwas tiefer, damit es unter dem Header sitzt */
        right: 5%;
        background: rgba(47, 62, 70, 0.95); /* Passend zu Dark Slate */
        backdrop-filter: blur(10px); /* Milchglas-Effekt */
        flex-direction: column;
        padding: 30px;
        border-radius: 20px;
        display: flex;
        /* Startzustand für Animation */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px) scale(0.95);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy Effekt */
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .burger {
        display: flex;
    }

    .hero {
        padding-top: 40px;
        border-radius: 0 0 10px 10px;
    }

    section {
        padding: 60px 5%;
    }
}

.about-section {
    padding: 80px 20px;
    background-color: var(--color-bg-main);
    color: white; /* Fix: Variable war nicht definiert, hier explizit weiß */
    font-family: var(--font-body);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-radius: 20px;
    margin: 50px 5%;
    text-align: left;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

/* Bild-Styling */
.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--color-accent); /* Stylischer Akzent-Rahmen */
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-cta);
    padding: 20px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.experience-badge .number {
    display: block;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.5rem;
}

/* Text-Styling */
.sub-heading {
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-align: left;
}

.main-heading {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    text-align: left;
}

.description {
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.9;
}

.usp-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.usp-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.usp-list li::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Button */
.btn-cta {
    display: inline-block;
    background-color: var(--color-cta);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-cta:hover {
    background-color: var(--color-cta-hover);
    transform: translateY(-3px);
}

/* Responsive Anpassung */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .about-image {
        margin-bottom: 40px;
    }
    .usp-list li {
        justify-content: flex-start;
    }
    .main-heading {
        text-align: left;
    }
}
/* FOOTER STYLING */
footer {
    padding: 40px 20px;
    text-align: center;
    background: var(--cookie-bg); /* Oder deine dunkle Hintergrundfarbe */
    border-top: 1px solid rgba(18, 247, 255, 0.1);
    margin-top: 50px; /* Abstand zum Kontaktformular */
}

.legal-footer {
    display: flex;
    justify-content: center;
    gap: 30px; /* Abstand zwischen Impressum und Datenschutz */
    margin-bottom: 15px;
}

.legal-footer a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.legal-footer a:hover {
    color: var(--main-color);
    text-shadow: var(--font-neon-text-shadow);
}

footer p {
    color: #555;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* RESPONSIVE ANPASSUNG FÜR HANDYS */
@media (max-width: 600px) {
    .legal-footer {
        flex-direction: column; /* Links untereinander statt nebeneinander */
        gap: 15px;
    }
    
    footer {
        padding: 30px 10px;
        background-color: var(--color-bg-main);
    }
}
:root {
        --cookie-bg: #1a1a1a;
        --neon-blue: #12f7ff;
    }

    .cookie-container {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        background: var(--cookie-bg);
        border-top: 2px solid var(--neon-blue);
        padding: 25px;
        z-index: 10000;
        transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        justify-content: center;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    }

    .cookie-container.active { bottom: 0; }

    .cookie-content { max-width: 600px; text-align: center; color: #fff; font-family: sans-serif; }
    
    .cookie-content h3 { color: var(--neon-blue); margin-bottom: 10px; text-shadow: 0 0 10px rgba(18,247,255,0.5); }

    .cookie-buttons { display: flex; gap: 15px; justify-content: center; margin: 20px 0; }

    .btn-accept, .btn-decline {
        padding: 10px 20px;
        border-radius: 8px;
        cursor: pointer;
        font-weight: bold;
        border: 2px solid var(--neon-blue);
        transition: 0.3s;
    }

    .btn-accept { background: var(--neon-blue); color: #000; }
    .btn-decline { background: transparent; color: var(--neon-blue); }
    .btn-accept:hover { transform: scale(1.05); box-shadow: 0 0 15px var(--neon-blue); }

    .cookie-info-link { color: #888; font-size: 0.8rem; text-decoration: none; }

   /* Schwebender Button rechts unten */
.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #250821; /* Dein dunkles Lila */
    border: 2px solid #12f7ff; /* Dein Neon-Blau */
    border-radius: 50%;
    color: #12f7ff;
    cursor: pointer;
    display: none; /* Wird vom JS auf 'flex' gesetzt, wenn Wahl getroffen wurde */
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(18, 247, 255, 0.2);
}

.cookie-settings-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 0 20px #12f7ff;
}

.cookie-settings-btn svg {
    width: 25px;
    height: 25px;
}

/* Verhindert, dass der Button den Banner überlagert, wenn dieser offen ist */
.cookie-container.active ~ #cookie-settings-trigger {
    display: none !important;
}

/* ================= NEW HERO SECTION ================= */

.hero-section {
    display: flex;
    align-items: center;
    background-color: #2F3E46; /* Dark Slate */
    /* Hintergrundbild mit Verlauf, damit Text lesbar bleibt */
    background-image: linear-gradient(to right, #2F3E46 40%, rgba(47, 62, 70, 0.1) 100%), url('Img/ich.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: white;
    min-height: 600px;
    overflow: hidden;
    margin-top: 200px; /* Abstand oben + Seitenabstand für den Card-Look */
    border-radius: 20px;
    border: #000 solid 1px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);

}

.hero-section .hero-content {
    flex: 0 1 650px; /* Begrenzte Breite für den Text, damit er nicht das ganze Bild verdeckt */
    padding: 4rem;
}

.hero-section .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.hero-section .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ================= MOBILE HERO OPTIMIZATION ================= */

@media (max-width: 900px) {
    .hero-section {
        margin-top: 90px;
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        height: auto; /* Höhe automatisch an Inhalt anpassen */
        background-image: linear-gradient(to bottom, #2F3E46 40%, rgba(47, 62, 70, 0.1) 100%), url('Img/familie.png');
        background-position: center top;
        border: none;
        border-radius: 0 0 10px 10px;
    }

    .hero-section .hero-content {
        padding: 3rem 1.5rem 1rem 1.5rem; /* Weniger Padding an den Seiten */
    }

    .hero-section .hero-content h1 {
        font-size: 2.5rem; /* Überschrift etwas kleiner auf Handy */
    }
}