/* Globale Einstellungen und Schriftarten */
/* ================================================= */
/* NEU: LOKALE EINBINDUNG (DSGVO-KONFORM WOFF2)       */
/* Pfad korrigiert auf assets/fonts/                 */
/* ================================================= */

/* --- ROBOTO (300, 400, 500) --- */

/* roboto-300 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('assets/fonts/roboto-v49-latin-300.woff2') format('woff2');
}
/* roboto-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/roboto-v49-latin-regular.woff2') format('woff2');
}
/* roboto-500 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('assets/fonts/roboto-v49-latin-500.woff2') format('woff2');
} 

/* --- POPPINS (300 bis 800) --- */

/* poppins-300 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('assets/fonts/poppins-v24-latin-300.woff2') format('woff2');
}
/* poppins-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/poppins-v24-latin-regular.woff2') format('woff2');
}
/* poppins-500 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('assets/fonts/poppins-v24-latin-500.woff2') format('woff2');
}
/* poppins-600 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('assets/fonts/poppins-v24-latin-600.woff2') format('woff2');
}
/* poppins-700 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/poppins-v24-latin-700.woff2') format('woff2');
}
/* poppins-800 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  src: url('assets/fonts/poppins-v24-latin-800.woff2') format('woff2');
} 

/* ================================================= */

/* ... der Rest Ihrer styles.css folgt hier */
    

:root {
    --primary-color: #0097A0; /* Tiefes Cyan (NEUE HAUPTFARBE für Text/Struktur) */
    --secondary-color: #EE8A7A; /* Lachs/Terrakotta (NEUE AKZENTFARBE für CTAs/Icons) */
    --text-dark: #2c3e50;
    --text-light: #6e7e95;
    --background-main: #ffffff;
    --background-light: #f4f7fa;
    --footer-bg: #006368; /* Dunklere Version der Primary Color für den Footer */
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius-main: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-main);
}

/* Typografie */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    line-height: 1.2;
}
h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 0.5rem; }
h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.5rem; }

p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-color);
}


/* Layout Container */
.section-padded {
    padding: 5rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.light-bg {
    background-color: var(--background-light);
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-main);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background-color: var(--secondary-color);
    color: var(--background-main);
}
.btn-primary:hover {
    background-color: var(--background-main); /* Hintergrund wird WEISS */
    color: var(--secondary-color); /* SCHRIFT wird Lachs/Terrakotta (Korrigiert das "grüne" Problem) */
    border: 2px solid var(--secondary-color); /* Rand wird Lachs/Terrakotta */
    
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}
.btn-secondary {
    background-color: var(--background-main);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--background-main);
}
.btn-white-border {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-white-border:hover {
    background-color: var(--primary-color);
    color: var(--background-main);
}
.full-width-btn {
    width: 100%;
}


/* 1. Header & Navigation */
.main-header {
    background-color: var(--background-main);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}
.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex; /* Für Logo und Text nebeneinander */
    align-items: center;
}
/* Styling für das eingebundene Logo */
.header-smiley-logo {
    height: 40px; /* Die gewünschte Höhe für das kompakte Logo */
    width: auto;
    margin-right: 10px; 
}
.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    margin-left: 1.5rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}
.main-nav a:hover {
    color: var(--secondary-color);
}
.main-nav .btn-contact {
    background-color: var(--secondary-color);
    /* padding mit mehr horizontalem Abstand (2.5rem) und verbesserter Konsistenz */
    padding: 0.75rem 2.5rem; 
    /* Konsistente Rundung aus der globalen Variable */
    border-radius: var(--border-radius-main);
    color: var(--background-main) !important;
    margin-left: 2rem;
    transition: background-color 0.3s ease;
    font-weight: 600;
}
.main-nav .btn-contact:hover {
    background-color: #E06D5C !important;
}
.btn-contact:hover {
    background-color: #E06D5C !important;
}

/* NEU: Hamburger Button Styling (Standard: ausgeblendet auf Desktop) */
.hamburger-menu {
    display: none; 
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 0.5rem;
    transition: color 0.3s ease;
    z-index: 150; /* Über der Navigation */
}
.hamburger-menu:hover {
    color: var(--secondary-color);
}


/* 2. Hero Sektion */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 7rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    background-color: var(--background-light);
}
.hero-content h1 {
    color: var(--text-dark);
    margin-top: 0;
}
.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}
.hero-features {
    display: flex;
    gap: 2rem;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.95rem;
}
.hero-features i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}
.hero-image-placeholder {
    position: relative;
}
.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-strong);
}


/* 3. NEUES PRICING CARD LAYOUT */
.pricing-card-grid {
    max-width: 800px;
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.pricing-card {
    background-color: var(--background-main);
    border: 2px solid #ddd;
    border-radius: var(--border-radius-main);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-light);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pricing-card.primary-border {
    border-color: var(--secondary-color);
    padding-top: 3.5rem; /* Platz für den Popular-Tag */
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--secondary-color); /* Lachs als Akzent */
    color: white;
    padding: 0.3rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-header h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: var(--primary-color); /* Cyan als Hauptfarbe für Preis */
    line-height: 1;
}

.price span {
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 5px;
}

.interval {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    text-align: left;
    width: 100%;
}

.features-list li {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
}

.check-icon {
    font-size: 1.1rem;
    color: var(--primary-color); /* Cyan für Basis-Icons */
    margin-right: 10px;
    margin-top: 3px;
}
.secondary-check {
    color: var(--secondary-color); /* Lachs für Highlight-Icons */
}

.pricing-card .btn {
    margin-top: auto; /* Sorgt dafür, dass der Button unten ausgerichtet ist */
}
.pricing-card .primary-btn-style {
    background-color: var(--primary-color);
    color: var(--background-main);
}
.pricing-card .primary-btn-style:hover {
    background-color: #00767D; /* Dunklerer Ton von Cyan */
}
/* ENDE NEUES PRICING CARD LAYOUT */

/* 3.1 NEU: Über Uns Sektion Styling */
.about-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left; /* Überschreibt das Center-Alignment des section-padded Containers */
}

.about-content h2 {
    text-align: left; /* H2 links ausrichten */
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.about-features-list {
    margin: 2rem 0;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.about-feature-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    padding-top: 2px;
}

.about-feature-item h3 {
    margin-top: 0;
    margin-bottom: 0.3rem;
    color: var(--text-dark); /* Überschrift des Features etwas dunkler */
}

.about-feature-item p {
    font-size: 0.95rem;
    margin: 0;
}

.about-mission {
    font-style: italic;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 2rem; /* Abstand vor dem Button */
    color: var(--primary-color);
}

.about-image-wrapper {
    text-align: right;
}

.about-img {
    width: 100%;
    max-width: 400px; /* Max. Breite für das Bild */
    height: auto;
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-strong);
}

/* --- Abschnitt für #ueber-uns / Über mich --- */

/* ... hier stehen wahrscheinlich schon Ihre bestehenden Styles für diese Sektion ... */
/* ... z.B. .about-container, .about-content, .about-img usw. ... */

/* NEUER CODE: Styling für den Namen unter dem Beraterinnen-Bild */

.about-image-wrapper {
    /* Wichtig: Falls nicht bereits vorhanden, stellen Sie sicher, dass dies 
       relative ist, damit die Zentrierung funktioniert. 
    */
    position: relative; 
    text-align: center; /* Zentriert den Namen */
}

.beraterin-name {
    font-size: 1.5rem; 
    font-weight: 700; 
    color: #0097a0; 
    margin-top: 20px; 
    line-height: 1.2;
    padding-bottom: 20px;
}

/* Anpassung für mobile Ansichten */
@media (max-width: 992px) {
    .beraterin-name {
        font-size: 1.25rem;
    }
}
/* ENDE NEU: Über Uns Sektion Styling */


/* Karten-Layout: Grunddefinition */
.card-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}
.three-columns {
    grid-template-columns: 1fr 1fr 1fr; /* Explizit 3 Spalten erzwingen für Desktop */
}


/* Ablauf-Karten (Mit visueller Linie) */
.step-grid {
    text-align: center;
    position: relative; 
    padding-top: 2rem; 
}
.step-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%; 
    right: 5%; 
    height: 3px; 
    background: #e0e0e0; 
    z-index: 0;
}
.step-card {
    background-color: var(--background-main);
    padding: 2.5rem;
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-light);
    position: relative;
    padding-top: 3.5rem;
    z-index: 1;
    transition: transform 0.3s ease;
}
.step-card:hover {
    transform: translateY(-5px);
}
.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Testimonials (Referenzen) */
.testimonial-card {
    background-color: var(--background-main);
    padding: 3rem;
    border-radius: var(--border-radius-main);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-3px);
}
.quote-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}
.testimonial-card p {
    font-style: normal;
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.6;
}
.testimonial-card h4 {
    font-style: normal;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.2rem;
}


/* 4. Kontakt Sektion (Formular und Infobox) */
.contact-section {
    background-color: var(--background-main);
    padding-bottom: 8rem; 
}
.contact-container {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}
.contact-form-area h2, .contact-info-area h2 {
    text-align: left;
    color: var(--text-dark);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.form-group-half {
    display: flex;
    flex-direction: column;
}
.form-group-full {
    display: flex;
    flex-direction: column;
}
.contact-form-area label {
    font-weight: 500;
    color: var(--text-dark);
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}
.contact-form-area input[type="text"],
.contact-form-area input[type="email"],
.contact-form-area input[type="tel"],
.contact-form-area textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    transition: all 0.2s ease;
}
.contact-form-area input:focus,
.contact-form-area textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 163, 136, 0.2); 
}
.contact-form-area textarea {
    min-height: 120px;
    resize: vertical;
}

/* Kontakt Info Bereich (Abstände korrigiert) */
.contact-info-area {
    background-color: var(--background-light);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-main);
}
.contact-info-area h2 {
    margin-bottom: 1.5rem;
}
.contact-info-area .warum-beratung-h2 {
    margin-top: 3rem; 
    margin-bottom: 1rem; 
}

.contact-info-card {
    margin-bottom: 2.5rem;
}
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.8rem; 
}
.info-item i {
    font-size: 1.7rem;
    color: var(--secondary-color);
    margin-right: 1rem;
    padding-top: 3px;
}
.info-item h4 {
    margin: 0;
    color: var(--text-dark);
}
.info-item p {
    margin: 0;
    font-size: 0.9rem;
}
.bullet-list {
    list-style: none;
    padding-left: 0;
    font-size: 0.95rem;
}
.bullet-list li {
    margin-bottom: 0.7rem;
    color: var(--text-dark);
}
.bullet-list li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}


/* 5. FAQ Sektion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background-color: var(--background-main);
    border: 1px solid #ddd;
    border-radius: var(--border-radius-main);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}
.faq-item summary {
    display: block;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    list-style: none;
    position: relative;
}
.faq-item summary::after {
    content: '\25BC'; /* Pfeil nach unten */
    position: absolute;
    right: 1.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s;
}
.faq-item[open] summary::after {
    transform: rotate(180deg);
}
.faq-item p {
    padding: 0 1.5rem 1.5rem;
    margin-top: 0.5rem;
    color: var(--text-dark);
}
.cta-banner {
    background-color: var(--background-main);
    border-radius: var(--border-radius-main);
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
    box-shadow: var(--shadow-light);
}

/* 6. Footer (Klassische Politur) */
.main-footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 4rem 1.5rem 1rem;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-about p {
    color: rgba(255, 255, 255, 0.75); 
    margin-bottom: 0.5rem;
    font-size: 0.9rem; 
}
.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.85); 
    text-decoration: none;
    margin-bottom: 0.6rem; 
    transition: color 0.3s ease;
    font-size: 0.95rem;
}
.footer-col a:hover {
    color: var(--secondary-color);
}
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding-top: 1rem;
}
.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem; 
}

/* 7. --- Modal (Success Widget) Styling --- */

/* Der Hintergrund (Dimmer) */
.modal {
    display: none; 
    position: fixed; 
    z-index: 200; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); 
    backdrop-filter: blur(2px); 
}

/* Der eigentliche Kasten in der Mitte */
.modal-content {
    background-color: var(--background-main);
    margin: 10% auto; 
    padding: 3rem;
    border-radius: var(--border-radius-main);
    width: 90%; 
    max-width: 500px;
    box-shadow: var(--shadow-strong);
    text-align: center;
    position: relative;
    animation: fadeIn 0.5s;
}

/* Icon (Haken) */
.modal-icon {
    font-size: 3rem;
    color: var(--secondary-color); 
    margin-bottom: 1rem;
}

/* Schließen-Button */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}
.close-btn:hover,
.close-btn:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.modal-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Animations-Effekt */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* 8. Responsivität */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        order: 2;
    }
    .hero-image-placeholder {
        order: 1;
        margin-bottom: 3rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .main-footer .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col a {
        display: inline-block;
        margin: 0 0.5rem 0.5rem;
    }
    .step-grid::before {
        display: none; 
    }
    /* Pricing Cards auf kleineren Bildschirmen stapeln */
    .pricing-card-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    /* Schritte und Testimonials (3-Spalten-Layout) auf kleineren Bildschirmen stapeln */
    .three-columns { 
        grid-template-columns: 1fr;
    }
    
    /* NEU: Über Uns Responsivität */
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .about-content h2 {
        text-align: center;
    }
    .about-image-wrapper {
        order: 1;
        text-align: center;
    }
    .about-content {
        order: 2;
    }
    .about-features-list {
        text-align: left;
        max-width: 500px;
        margin: 2rem auto;
    }
    .about-feature-item {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    
    .header-container {
        /* Anpassung für Hamburger-Menü: Logo links, Button rechts */
        justify-content: space-between;
    }
    
    /* Hamburger-Menü auf Mobile anzeigen */
    .hamburger-menu {
        display: block;
    }
    
    .main-nav {
        /* Desktop-Navigation auf Mobile ausblenden (wird durch .open wieder sichtbar) */
        display: none;
        
        /* Overlay-Styling */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--background-main);
        padding-top: 6rem;
        padding-bottom: 1.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        overflow-y: auto;
        z-index: 100;
        /* Die Animation wird durch JS und die Klasse .open ausgelöst */
    }
    
    .main-nav.open {
        display: flex; /* Navigationsmenü anzeigen */
        animation: slideIn 0.3s forwards;
    }
    
    .main-nav a {
        font-size: 1.5rem;
        margin: 1rem 0;
        padding: 0.75rem 0;
        width: 80%;
        color: var(--text-dark);
    }
    
    .main-nav .btn-contact {
        margin-top: 2rem;
        width: 80%;
        max-width: 300px;
    }

    /* Animation für das Menü-Overlay */
    @keyframes slideIn {
        from { transform: translateX(100%); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }
}

/* --- 9. Legal Page Styling (for impressum.html and datenschutz.html) --- */

/* Muss in der impressum.html und datenschutz.html in ein div mit dieser Klasse eingebaut werden */
.legal-container {
    max-width: 900px;
    margin: 5rem auto;
    padding: 2.5rem;
    background-color: var(--background-main);
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-light);
}

.legal-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.legal-container h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-container h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
}

.legal-container p, .legal-container li {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.legal-container ul {
    margin-left: 1.5rem;
    padding-left: 0;
    list-style: disc;
}

.legal-container a {
    text-decoration: underline;
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .legal-container {
        margin: 2rem 1.5rem;
        padding: 1.5rem;
    }
}