@font-face {
    font-family: 'Simonetta';
    src: url('assets/Simonetta-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    src: url('assets/Inter-VariableFont.ttf') format('truetype');
}

:root {
    --color-primary-dark: #151d44;
    --color-primary-light: #f8faf9;
    --color-accent: #ac9870;
    --color-text-main: #151533;
    --color-text-light: #f8faf9;
    --font-family-base: 'Inter', sans-serif;
    --font-family-heading: 'Simonetta', serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    background-color: var(--color-primary-light);
    color: var(--color-text-main);
    line-height: 1.6;
}

/* --- Layout Helper --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

/* --- Typografie --- */
h1, h2, h3, h4 {
    margin-bottom: 20px;
    color: var(--color-primary-dark);
    font-family: var(--font-family-heading);
}

h1 {
    font-size: 3rem; /* Zurück auf Standardwert für andere Seiten */
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

h3 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 10px auto 0;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--color-accent);
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #9c8860; /* etwas dunkler fürs Hover */
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #fff;
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--color-primary-dark);
}

/* --- Header --- */
header {
    background-color: transparent; /* Transparent im Normalzustand */
    padding: 20px 0;
    position: fixed; /* Fixiert, damit Hintergrund durchscheint */
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    padding: 5px 0;
    background-color: var(--color-primary-dark); /* Farbe erst beim Scrollen */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    align-items: center;
}

.logo img {
    height: 150px; /* Logo Größe anpassen */
    width: auto;
    transition: height 0.3s ease;
}

header.scrolled .logo img {
    height: 50px; /* 33% der ursprünglichen Größe */
}

nav {
    margin-left: auto;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center; /* Vertikal zentrieren */
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--color-text-light);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--color-accent);
}

/* Header CTA */
.header-cta-container {
    margin-left: 30px;
}

.header-cta {
    padding: 8px 16px; /* Kleinerer Button */
    font-size: 0.9rem;
}

/* --- Hero Section --- */
.hero {
    position: relative; /* Für absolute Positionierung der Trust-Bar */
    background-color: var(--color-primary-dark);
    /* Hintergrundbild mit Overlay */
    background-image: linear-gradient(rgba(21, 29, 68, 0.85), rgba(21, 29, 68, 0.85)), url('assets/hero_smartphone_in_der_hand.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-text-light);
    text-align: center;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    color: var(--color-text-light);
    font-size: 4.5rem; /* Vergrößert & angepasst */
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.2; /* Besserer Zeilenabstand bei großer Schrift */
}

.hero p.lead {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #e0e0e0;
}

/* --- Benefits Section (3 Spalten) --- */
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.benefit-card {
    background: #fff;
    padding: 0 0 30px 0; /* Padding angepasst, Bild soll am Rand anliegen oben */
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
    border-bottom: 4px solid var(--color-accent);
    overflow: hidden; /* Für border-radius oben beim Bild */
}

/* Bild statt Icon */
.benefit-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin: 0 20px 10px;
    font-size: 1.5rem;
}

.benefit-card p {
    margin: 0 20px;
}

.benefit-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    display: block;
}

/* --- Target Group Section --- */
.target-group {
    background-color: #eef2f3;
    background-image: linear-gradient(rgba(238, 242, 243, 0.9), rgba(238, 242, 243, 0.9)), url('assets/fuer_wen_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.target-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* Umbruch erlauben */
    justify-content: center; /* Alles zentrieren */
    gap: 20px;
    margin-top: 30px;
}

.target-list li {
    background: rgba(255, 255, 255, 0.65); /* Transparenter Hintergrund */
    backdrop-filter: blur(10px); /* Blur-Effekt (Glassmorphism) */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4); /* Feiner Rand */
    padding: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    flex: 1 1 300px; /* Responsive Basisbreite */
    max-width: 400px; /* Verhindert übergroße Karten in der letzten Zeile */
}

.target-list li::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.5rem;
 
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--color-primary-dark);
    /* Neues Hintergrundbild für CTA */
    background-image: linear-gradient(rgba(21, 29, 68, 0.8), rgba(21, 29, 68, 0.8)), url('assets/cta_freedomshot.webp');
    background-size: cover;
    background-position: center 75%;
    background-attachment: fixed;
    color: var(--color-text-light);
    text-align: center;
    min-height: 90vh; /* Mindesthöhe statt fester Höhe für Formular */
    padding: 100px 0;
    /* Flexbox für vertikale und horizontale Zentrierung */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cta-section h2 {
    color: var(--color-text-light);
    display: block; /* Verhindert, dass H2 und H3 nebeneinander stehen */
    width: 100%;
}

.cta-section h3 {
    display: block; /* Stellt sicher, dass es in eine neue Zeile rutscht */
    width: 100%;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1); /* Glassmorphism Hintergrund */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 5px; /* Margin wird vom Input übernommen */
}

.form-row input {
    width: 50%;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-family: var(--font-family-base);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #fff;
    box-shadow: 0 0 10px rgba(172, 152, 112, 0.3);
}

.contact-form textarea {
    resize: vertical;
}

.form-privacy {
    color: #e0e0e0;
    font-size: 0.85rem;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-privacy input {
    width: auto;
    margin-top: 3px;
}

.form-privacy a {
    color: var(--color-accent);
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    border: none;
    font-size: 1.1rem;
    padding: 18px; /* Etwas fetter Button */
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-row input {
        width: 100%;
    }
    .contact-form {
        padding: 25px 20px;
        width: 100%; /* Volle Breite auf Mobile */
    }
}

/* --- Footer --- */
footer {
    background-color: #0f1530; /* Etwas dunkler als primary-dark */
    color: #888;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: #aaa;
    margin: 0 10px;
}

footer a:hover {
    color: var(--color-accent);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .hero h1 { font-size: 2.2rem; }

    /* Logo kleiner machen auf Mobile, damit Header nicht den Text überdeckt */
    .logo img {
        height: 80px; 
    }
    
    /* Hero Reset für Mobile (kein Overlap mehr) */
    .hero { 
        padding-top: 150px; /* Platz für Header (ca 120px) + Puffer */
        padding-bottom: 0;
        height: auto; 
        min-height: 100vh;
        justify-content: flex-start;
    }

    /* Trust-Bar fließt natürlich drunter, statt absolut */
    .trust-bar {
        position: relative;
        margin-top: 60px;
        padding: 30px 0;
    }
    
    .trust-logos {
        gap: 30px;
    }
    
    .btn { display: block; width: 100%; margin-bottom: 10px; margin-left: 0; }
}

/* --- Mobile Navigation (Hamburger) --- */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001; /* Über dem Menü */
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--color-primary-dark);
}

/* Wenn Header transparent ist (Top), sind Icons evtl. dunkel oder hell? 
   Wir gehen davon aus, dass der transparente Header auf dunklem Hero liegt -> also hell.
   Aber header .container hat Text-Light nav links. */
header:not(.scrolled) .hamburger .bar {
    background-color: #fff;
}

header.scrolled .hamburger .bar {
    background-color: #fff; /* Auf dunklem Scrolled Header auch hell */
}

/* Mobile Breakpoint 1020px */
@media (max-width: 1020px) {
    header .container {
        justify-content: space-between;
    }

    .hamburger {
        display: block;
    }

    /* Das eigentliche mobile Navigations-Overlay */
    .nav-menu {
        position: fixed;
        left: 0;
        top: -100%; /* Versteckt sich oben außerhalb des Screens */
        width: 100%;
        background-color: var(--color-primary-dark); /* Dunkler Background */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Zentriert die Links vertikal */
        transition: 0.4s ease-in-out; /* Smooth Slide-Effekt */
        z-index: 999; /* Hinter dem Hamburger, aber vor dem Content */
        padding: 40px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        height: auto;
        min-height: 50vh; /* Nimmt die halbe Höhe ein oder auto */
    }

    .nav-menu.active {
        top: 0; /* Slidet rein */
        padding-top: 100px; /* Platz für Header oben lassen */
    }

    .header-cta-container {
        display: none; /* Button oben ausblenden, stört meist */
    }

    /* Statt display: flex in nav ul, müssen wir sicherstellen, dass es gut aussieht */
    nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    nav ul li {
        margin-left: 0;
    }

    nav ul li a {
        font-size: 1.5rem; /* Größere Schrift für Touch */
    }

    /* Hamburger Animation zum X */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* --- Process Section (Timeline) --- */
.process-timeline {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
    gap: 20px;
    position: relative;
}

/* Optional: Verbindungslinie auf Desktop */
@media(min-width: 900px) {
    .process-timeline::before {
        content: '';
        position: absolute;
        top: 46px; /* Hälfte der Number Höhe */
        left: 0;
        right: 0;
        height: 2px;
        background: #e0e0e0;
        z-index: 0;
        width: 100%;
        margin: 0 auto;
    }
}

.process-step {
    flex: 1 1 200px;
    text-align: center;
    position: relative;
    z-index: 1; /* Über der Linie */
    padding: 20px;
    
}

.step-number {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-accent);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 4px solid #fff; /* Weisser Rand für sauberen Look auf Linie */
    box-shadow: var(--color-primary-dark) 0px 4px 6px -1px, rgba(156, 136, 96, 0.2) 0px 2px 4px -1px;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    border-left: 4px solid var(--color-primary-dark);
}

.faq-item h4 {
    color: var(--color-primary-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--color-text-main);
}

/* --- Trust Bar --- */
.trust-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #e5e9eb; /* Leichter Kontrast zum Hero */
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #d1d9e0;
}

.trust-bar p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 60px; /* Mehr Abstand für die breiteren Icons */
    flex-wrap: wrap;
    align-items: center;
    padding-top: 5px;
}

.trust-logo-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #556;
    font-size: 1.1rem;
    z-index: 1; /* Damit Text klickbar/selektierbar bleibt */
}

.trust-logo-item span {
    position: relative;
    z-index: 2; /* Text über dem Icon */
    /* Kontur in Hintergrundfarbe (#e5e9eb), damit sich der Text vom Icon abhebt */
    text-shadow: 
        2px 0 #e5e9eb, -2px 0 #e5e9eb, 0 2px #e5e9eb, 0 -2px #e5e9eb,
        1px 1px #e5e9eb, -1px -1px #e5e9eb, 1px -1px #e5e9eb, -1px 1px #e5e9eb;
}

.trust-logo-item i {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem; /* Großes Wasserzeichen */
    opacity: 0.15; /* Sehr transparent */
    z-index: -1; /* Hinter dem Text */
    color: #151d44;
    transition: all 0.3s ease;
}

.trust-logo-item:hover i {
    opacity: 0.25;
    transform: translate(-50%, -50%) scale(1.1);
}

/* --- Promise Section --- */
.promise-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.promise-item {
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
    padding: 20px;
}

.promise-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    color: var(--color-accent);
}

.promise-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.promise-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* --- Definition Section --- */
.definition-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.definition-content {
    flex: 1 1 400px;
}

.definition-image {
    flex: 1 1 400px;
}

.definition-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media(max-width: 900px) {
    .definition-grid {
        flex-direction: column-reverse;
    }

}

/* --- Special Styles for Legal Pages (Impressum/Datenschutz) --- */
body.legal-page {
    /* Hintergrund leicht grau für bessere Lesbarkeit auf Standardseiten */
    background-color: #f9f9f9; 
    padding-top: 140px; 
}

body.legal-page header {
    background-color: var(--color-primary-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}

body.legal-page .logo img {
    height: 60px; 
}

/* --- Animations & Premium Logik --- */

/* Basis Reveal Klasse (wird per JS hinzugefügt) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth Easing */
}

/* Aktiver Zustand wenn im Bild */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hover-Effekte für mehr Dynamik */
.benefit-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-10px); /* Schwebt nach oben */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.process-step {
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: scale(1.05); /* Leichtes Vergrößern */
}

.target-list li {
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.target-list li:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.promise-item:hover .promise-icon {
    transform: scale(1.2) rotate(5deg); /* Verspieltes Icon beim Hover */
    transition: transform 0.3s ease;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1); /* Wächst beim Hover */
    color: #FFF;
    box-shadow: 2px 5px 15px rgba(0,0,0,0.3);
}

/* Auf Mobile etwas kleiner und näher am Rand */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

/* --- CTA Divider --- */
.cta-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-divider::before,
.cta-divider::after {
    content: '';
    height: 1px;
    background-color: rgba(255,255,255,0.3);
    flex: 1;
}

.cta-divider span {
    padding: 0 15px;
    color: rgba(255,255,255,0.7);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}
