/* Source Sans 3 - Light (300) */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/source-sans-3-v19-latin-300.woff2') format('woff2');
}

/* Source Sans 3 - Regular (400) */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/source-sans-3-v19-latin-regular.woff2') format('woff2');
}

/* Source Sans 3 - Semibold (600) */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url('./fonts/source-sans-3-v19-latin-600.woff2') format('woff2');
}

/* Playfair Display - Semibold (600) */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  src: url('./fonts/playfair-display-v40-latin-600.woff2') format('woff2');
}
/* Grundlegende Variablen für das Design */
:root {
    --navy-blue: #1A2A3A;
    --navy-light: #2A3F54;
    --white: #FFFFFF;
    --silver: #E0E5EC;
    --text-dark: #333333;
    --text-light: #666666;
    
    --font-heading: 'Playfair Display', serif; /* Klassisch, seriös für Überschriften */
    --font-body: 'Source Sans Pro', sans-serif; /* Sehr gut lesbar für Fließtext */
}

/* Reset & Basis-Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}
/* Sanftes Scrollen und Abstand für den Sticky Header */
html {
    scroll-behavior: smooth; 
    scroll-padding-top: 85px;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Kopfzeile */
header {
    background-color: var(--navy-blue);
    padding: 10px 0; /* Padding halbiert: Nimmt dem Balken die Wucht */
    color: var(--white);
    
    /* Sticky Header */
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}
.logo img {
    height: 60px !important; /* Überschreibt die 85px aus dem HTML */
    width: auto;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--silver);
}

.nav-btn {
    border: 1px solid var(--white);
    padding: 8px 20px;
    border-radius: 4px;
}

.nav-btn:hover {
    background-color: var(--white);
    color: var(--navy-blue);
}

/* Hero Section (Startbereich) */
.hero {
    background-color: var(--navy-light);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: var(--silver);
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--white);
    color: var(--navy-blue);
}

.btn-primary:hover {
    background-color: var(--silver);
}
/* =========================================
   Dynamische Hero Keywords (Marquee)
   ========================================= */
.hero-keywords-container {
    margin-top: 90px;
    width: 100%;
    overflow: hidden; /* Versteckt alles, was über den Rand hinausgeht */
    position: relative;
    /* Der Premium-Trick: Sanftes Ausblenden an den Rändern */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.hero-keywords-track {
    display: inline-flex;
    gap: 40px; /* Schön viel Abstand */
    align-items: center;
    color: var(--silver);
    font-size: 1.4rem; /* Deutlich größer gemacht! */
    font-weight: 400;
    opacity: 0.9;
    white-space: nowrap;
    /* Die Animation: 35 Sekunden, gleichmäßiges Tempo, endlos */
    animation: scroll-keywords 35s linear infinite;
}

/* UX-Bonus: Wenn man mit der Maus drübergeht, hält der Text an */
.hero-keywords-track:hover {
    animation-play-state: paused;
}

.hero-keywords-track .dot {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.6rem;
}

/* Der Motor der Animation */
@keyframes scroll-keywords {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 20px)); } /* Verschiebt es exakt um die Hälfte */
}

/* Responsiv für Smartphones anpassen */
@media (max-width: 600px) {
    .hero-keywords-track {
        font-size: 1.1rem;
        gap: 20px;
        animation: scroll-keywords 20s linear infinite; /* Auf dem Handy etwas schneller */
    }
}
/* Responsiv: Auf dem Handy die Punkte ausblenden und als kleine Boxen anzeigen */
@media (max-width: 600px) {
    .hero-keywords {
        gap: 10px;
    }
    
    .hero-keywords .dot {
        display: none;
    }
    
    .hero-keywords span:not(.dot) {
        background: rgba(255, 255, 255, 0.05);
        padding: 5px 15px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.9rem;
    }
}
/* Vorteile & Philosophie */
.benefits {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.benefits h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--navy-blue);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--navy-blue);
}

.benefit-card h3 {
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background-color: var(--navy-blue);
    color: var(--silver);
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: var(--silver);
    text-decoration: none;
    margin-left: 20px;
}

.footer-links a:hover {
    color: var(--white);
}
/* Service-Pakete */
.services {
    padding: 80px 0;
    background-color: var(--white);
}

.services h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--navy-blue);
}

.service-card {
    background: #f9f9f9;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--silver);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.service-card h3 {
    color: var(--navy-blue);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card .price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--navy-light);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}
/* Ergänzungen für die Abo-Karten */
.subscriptions {
    padding: 80px 0;
    background-color: #f0f4f8; /* Ein sehr sanftes Graublau zur Abhebung */
}

.subscriptions h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--navy-blue);
}

.price .month {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.feature-list {
    list-style: none;
    text-align: left;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--silver);
}

.feature-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
}

/* Ein kleiner Check-Haken per CSS für die Liste */
.feature-list li::before {
    content: "✓";
    color: var(--navy-light);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Die hervorgehobene Karte (Goldene Mitte) */
.highlight-card {
    border: 2px solid var(--navy-blue);
    transform: scale(1.05); /* Macht die Karte minimal größer */
    position: relative;
    background-color: var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.highlight-card:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    background-color: var(--navy-blue);
    color: var(--white);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}
/* Kontaktbereich */
.contact {
    padding: 80px 0;
    background-color: var(--navy-light);
    color: var(--white);
    text-align: center;
}

.contact h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.contact .subtitle {
    color: var(--silver);
}

.contact-wrapper {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info .small-text {
    font-size: 0.95rem;
    color: var(--silver);
    line-height: 1.5;
}
/* Über mich */
.about {
    padding: 80px 0;
    background-color: var(--white);
    border-top: 1px solid var(--silver);
    border-bottom: 1px solid var(--silver);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Über mich Bild-Sektion aktualisiert */
.about-image figure {
    width: 100%;
    margin: 0;
    text-align: center; /* Unterschrift zentrieren */
}

.scene-img {
    width: 100%;
    height: auto; /* Wichtig für Responsivität */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05); /* Sehr feiner Rand */
}

.about-image figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}
/* Kontakt Grid Layout */
.contact-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 6px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--silver);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy-light);
}

.contact-form .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    background-color: var(--navy-blue);
    color: var(--white);
}

.contact-form .btn:hover {
    background-color: var(--navy-light);
}
/* =========================================
   RESPONSIVE DESIGN (Mobil & Tablet)
   ========================================= */
/* Für Tablets und kleinere Bildschirme (unter 900px) */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .hero h1 {
        font-size: 2.8rem; 
    }

    /* Neu: Über mich anpassen */
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        order: -1; /* Schiebt das Bild auf dem Handy über den Text */
    }

    /* Neu von vorhin: Kontakt-Formular anpassen */
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
/* Layout für Impressum & Datenschutz */
.legal-page {
    padding: 80px 0;
    background-color: var(--white);
    min-height: 60vh;
}

.legal-page h1 {
    font-family: var(--font-heading);
    color: var(--navy-blue);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.legal-content {
    max-width: 800px;
}

.legal-content h3 {
    color: var(--navy-blue);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--text-dark);
}
/* Burger-Elemente standardmäßig verstecken (Desktop) */
.menu-toggle, .hamburger {
    display: none;
}
/* Für Smartphones (unter 600px) */
@media (max-width: 600px) {
/* --- Neues Burger Menü --- */
    /* 1. Den Header schrumpfen */
    header {
        padding: 10px 0; /* Halbiertes Padding */
    }

    .logo img {
        height: 55px !important; /* Logo deutlich kleiner auf Mobile */
    }

    /* 2. Scroll-Abstand anpassen, da der Header jetzt flacher ist */
    html {
        scroll-padding-top: 80px; 
    }

    /* 3. Das Burger-Menü & der Kontakt-Button */
    nav ul {
        gap: 20px; /* Etwas weniger Abstand zwischen den Punkten insgesamt */
    }

    nav ul li {
        width: 80%; /* Damit der Button eine schöne Breite bekommt */
        text-align: center;
    }

    /* Der Kontakt-Button im mobilen Menü */
    .nav-btn {
        display: block; /* Volle Breite im Menü-Punkt */
        padding: 15px 20px !important; /* Viel Platz zum Drauftippen */
        background-color: var(--white);
        color: var(--navy-blue) !important;
        border-radius: 8px;
        margin-top: 10px;
        font-weight: 700;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    /* Die anderen Links im Menü etwas zierlicher */
    nav ul li a:not(.nav-btn) {
        font-size: 1.3rem;
        display: block;
        padding: 10px;
    }
    .nav-container {
        flex-direction: row; /* Logo und Burger nebeneinander lassen */
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        position: relative;
        z-index: 1001; /* Damit der Burger immer oben liegt */
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: var(--white);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Das Menü-Fenster, das von oben reinslidet */
    nav ul {
        position: fixed;
        top: 0;
        right: -100%; /* Startet unsichtbar rechts außerhalb */
        width: 80%;
        height: 100vh;
        background-color: var(--navy-blue);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
        z-index: 1000;
    }

    /* Wenn das Häkchen gesetzt ist (Menü offen) */
    .menu-toggle:checked ~ ul {
        right: 0; /* Menü slidet rein */
    }

    /* Den Burger zum "X" animieren, wenn offen */
    .menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Nav-Links auf Mobile schicker machen */
    nav ul li a {
        font-size: 1.5rem;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Hero Section anpassen */
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    /* Alle Boxen (Vorteile & Service) untereinander */
    .grid-3 {
        grid-template-columns: 1fr; /* 1 Spalte, volle Breite */
    }

    /* Footer anpassen */
    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
    .contact-grid {
        grid-template-columns: 1fr; /* 1 Spalte, volle Breite */
    }
}