:root {
    --navy: #0a192f;
	--navy1: #000050;
    --gold: #c5a059;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #555;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; color: var(--text-dark); line-height: 1.6; scroll-behavior: smooth; }

/* NAV */
nav { 
    background: var(--white); padding: 1.2rem 5%; display: flex; 
    justify-content: space-between; align-items: center; 
    position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.4);
	
}

.navbar {
    width: 100%;
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px; /* Hier die gewünschte maximale Breite einstellen */
    margin: 0 auto;    /* Zentriert den Container */
    display: flex;
    align-items: center;
    padding: 0 20px;   /* Seitlicher Abstand zum Rand */
}

.logo-link img {
    width: 320px;
    height: auto;
    display: block;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.flag-icon {
    width: 24px;   /* Grösse der Flagge */
    height: auto;
    display: block;
    border-radius: 2px; /* Leicht abgerundete Ecken */
    transition: opacity 0.2s;
    border: 1px solid #eee; /* Feiner Rahmen für hellere Flaggen */
}

.flag-icon:hover {
    opacity: 0.7; /* Feedback beim Drüberfahren */
}

.sep {
    color: #ccc;
    font-size: 14px;
}

/* Responsive (wie zuvor) */
@media (max-width: 850px) {
    .lang-switch {
        margin-left: 0;
        margin-top: 10px;
    }
}


/* Responsive Anpassung bei 850px */
@media (max-width: 850px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .lang-switch {
        margin-left: 0;
    }

    .logo-link img {
        width: 250px;
    }
}



.logo { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 800; text-decoration: none; }
.nav-links a { color: white; text-decoration: none; margin-left: 25px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; transition: 0.3s; }
.nav-links a:hover { color: var(--gold); }

/* HERO */
.hero {
    position: relative;
    width: 100%;
    min-height: 45vh; /* Volle Bildschirmhöhe */
    background: linear-gradient(rgba(0, 0, 50, 0.45), rgba(0, 0, 50, 0.45)), 
                url('/img/flotte-kleiner-bretonischer-fischerboote.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center; /* Vertikale Zentrierung des Textes */
    justify-content: center;
    padding: 20px;
}

.hero-content {
    max-width: 800px; /* Verhindert zu lange Zeilen auf Desktop */
    text-align: center;
    color: #ffffff;
    z-index: 2;
}

.hero-content .tag {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    /*background: rgba(0, 0, 0, 0.45); /* Leichter Kontrast für Lesbarkeit */
    display: inline-block;
    padding: 5px 15px;
    border-radius: 4px;
}

.hero-content h1 {
    /* Von ca. 32px (Mobile) bis 80px (Desktop) */
    font-size: clamp(2rem, 5vw, 2.5rem); 
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh; /* Etwas kompakter auf dem Handy */
        background-attachment: scroll; /* Performance-Boost für Mobile */
    }
    
    .hero-content {
        padding: 0 10px;
    }
}

.btn-hero { 
    background: var(--gold); color: white; padding: 15px 45px; text-decoration: none; 
    display: inline-block; font-weight: 600; text-transform: uppercase; transition: 0.3s; 
}
.btn-hero:hover { background: #b08d4a; transform: scale(1.05); }

/* TEXT SECTION */
.section { padding: 100px 10%; }
.container-text { max-width: 850px; margin: 0 auto 60px; text-align: center; }
h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--navy); margin-bottom: 30px; text-align: center;}
.gold-line { width: 50px; height: 3px; background: var(--gold); margin: -20px auto 40px; }
.intro-text { font-size: 1.2rem; margin-bottom: 25px; color: var(--text-dark); }
.quote-box { 
    background: var(--light-gray); padding: 35px; border-left: 4px solid var(--gold); 
    text-align: left; margin: 30px 0; font-style: italic; 
}
.sub-text { color: var(--text-light); font-weight: 500; }

/* GRID */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
/*.card { background: var(--light-gray); padding: 40px; text-align: center; border-bottom: 4px solid var(--navy); transition: 0.3s; }*/
.card { background: var(--navy1); padding: 40px; text-align: center; border-bottom: 4px solid var(--navy); transition: 0.3s; color: var(--white);}
.card:hover { border-bottom-color: var(--gold); transform: translateY(-5px); }
.card h3 { font-family: 'Playfair Display', serif; margin-bottom: 15px; color: var(--white); }

/* PRODUCT */
.product-split { display: flex; flex-wrap: wrap; background: var(--navy); color: white; }
.product-img { flex: 1 1 500px; min-height: 450px; background: url('https://unsplash.com') center/cover; }
.product-info { flex: 1 1 500px; padding: 60px 8%; display: flex; flex-direction: column; justify-content: center; }
.tag { color: var(--gold); text-transform: uppercase; font-weight: 600; letter-spacing: 2px; font-size: 1rem; margin-bottom: 15px; display: block; }

/* FORM */
.form-container { max-width: 700px; margin: 0 auto; background: white; padding: 40px; box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
.form-group { margin-bottom: 15px; }
input, select, textarea { width: 100%; padding: 14px; border: 1px solid #ddd; font-family: 'Montserrat', sans-serif; }
.btn { background: var(--navy); color: white; border: none; padding: 16px; cursor: pointer; width: 100%; font-weight: 600; text-transform: uppercase; transition: 0.3s; }
.btn:hover { background: var(--gold); }

/* Container für die Antwortnachricht */
#form-response {
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    min-height: 1.5em; /* Verhindert ein Springen des Layouts */
}

/* Stil für die Erfolgsmeldung */
.success-msg {
    max-width: 700px;
    margin: 20px auto; /* Zentriert die Box selbst (oben/unten 20px, links/rechts auto) */
    text-align: center; /* Zentriert den Text innerhalb der Box */
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid #d4af37;
    padding: 20px;
    border-radius: 5px;
    font-family: inherit; /* Nutzt die Schriftart deines restlichen Designs */
}


/* Stil für Fehlermeldungen */
.error-msg {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    padding: 15px;
    border-radius: 5px;
}


/* FOOTER & MODAL */
footer { background: var(--navy1); color: white; padding: 50px 10%; text-align: center; }
.footer-links { margin: 15px 0; }
.footer-links a { color: #fff; text-decoration: none; margin: 0 10px; font-size: 0.8rem; }
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); overflow-y: auto; }
.modal-content { background: white; margin: 8% auto; padding: 40px; width: 85%; max-width: 700px; position: relative; }
.close { position: absolute; right: 20px; top: 10px; font-size: 2rem; cursor: pointer; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .section { padding: 60px 6%; }
    h2 { font-size: 1.8rem; }
}
