/* === STYLES.CSS - ZENTRALE STYLESHEET ===
   Gemeinsame Styles für alle Sprachversionen
*/

/* --- VARIABLEN & RESET --- */
:root {
    --primary: #1e2a36; /* Sehr dunkles Blau */
    --gold: #c5a065;    /* Bronze/Gold für Akzente */
    --light: #f4f4f4;
    --white: #ffffff;
    --text: #333333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text);
    line-height: 1.8;
    background: radial-gradient(circle at top, #f7f7f7 0, #e9edf2 40%, #f6f6f6 100%);
    font-size: 18px; /* Seniorenfreundlich */
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 1rem;
}

a {
    color: var(--gold);
}

a:hover {
    color: #d8b87e;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- TOP-BAR / NAVIGATION --- */
/* STARR POSITIONIERT - KEINE ÜBERLAPPUNGEN */
.top-bar {
    position: relative;
    padding: 12px 0;
    background: rgba(18, 28, 38, 0.92);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
}

.brand-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #c0c7d2;
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.nav-links a {
    color: #e4e7ec;
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-links {
    display: flex;
    gap: 12px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.lang-links a {
    padding-bottom: 0;
    font-weight: bold;
}

.lang-links a.active {
    color: var(--gold);
}

.lang-links a::after {
    display: none; /* Keine Unterstreichung für Sprach-Links */
}

/* --- HERO SECTION --- */
/* STARR POSITIONIERT MIT AUSREICHEND PLATZ FÜR LOGO */
.hero {
    position: relative;
    height: 90vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    /* Hintergrundbild: Warschau Brücke/Nebel */
    background: url('https://images.unsplash.com/photo-1519409893946-8344c204123c?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
}

/* Radialer Verlauf Overlay mit Fallback */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #05488F; /* Fallback für ältere Browser */
    background: radial-gradient(circle at center, #4DAEE0 0%, #05488F 100%);
    opacity: 0.85;
}

.hero-inner {
    padding-top: 80px; /* Fester Abstand für alle Versionen */
    padding-bottom: 100px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1.5s ease-out;
}

.hero-logo {
    display: block;
    margin: 30px auto 20px;
    max-width: 600px;
    height: auto;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
    color: #ddd;
}

.btn {
    display: inline-block;
    background-color: var(--gold);
    color: var(--primary);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 2px;
    transition: background 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #f5f5f5;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--primary);
}

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: #e0e4eb;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.scroll-indicator span {
    display: inline-block;
}

.scroll-arrow {
    width: 12px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 25%;
    width: 2px;
    height: 6px;
    margin-left: -1px;
    background: #fff;
    border-radius: 999px;
    animation: scrollDot 1.3s ease-in-out infinite;
}

/* --- SECTIONS ALLGEMEIN --- */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: #8d96a2;
    margin-bottom: 10px;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* --- INTRO SECTION (2 SPALTEN) --- */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text {
    padding-right: 20px;
}

.intro-img {
    box-shadow: 20px 20px 0px rgba(197, 160, 101, 0.6);
}

.intro-tagline {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: #8d96a2;
    margin-bottom: 12px;
}

.intro-highlight {
    border-left: 3px solid var(--gold);
    padding-left: 14px;
    margin-top: 18px;
    font-size: 0.95rem;
}

/* --- PARALLAX / GESCHICHTE --- */
.history-section {
    background: url('https://images.unsplash.com/photo-1585315808842-8800e8802920?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
    text-align: center;
}

.history-section::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(30, 42, 54, 0.85);
}

.history-content {
    position: relative;
    z-index: 2;
}

.quote-box {
    border: 1px solid var(--gold);
    padding: 40px;
    margin: 40px auto;
    max-width: 700px;
}

.quote-box h3 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 10px;
}

/* --- PARTNER CARDS --- */
.bg-light {
    background-color: var(--light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-card {
    background: var(--white);
    padding: 30px;
    border-top: 4px solid var(--gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

/* --- KONTAKT & FOOTER --- */
.footer-cta {
    background-color: var(--primary);
    color: white;
    text-align: center;
}

.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: flex-start;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #aaa;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 2px;
    font-family: inherit;
}

footer {
    background-color: #111;
    color: #666;
    text-align: center;
    padding: 30px 0;
    font-size: 0.8rem;
}

/* --- ANIMATION --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollDot {
    0% { opacity: 0; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(3px); }
    100% { opacity: 0; transform: translateY(7px); }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE ANPASSUNGEN === */

/* --- TABLET/LAPTOP --- */
@media (max-width: 1100px) {
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* --- MOBILE (768px und kleiner) --- */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .container {
        width: 95%;
        padding: 0 10px;
    }

    .top-bar {
        padding: 8px 0;
    }

    .top-bar-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .brand {
        order: -1;
    }

    .nav-links {
        font-size: 0.85rem;
        display: block;
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .nav-links a {
        display: block;
        padding: 8px 0;
        margin-bottom: 5px;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }

    .nav-links a:hover {
        background-color: rgba(197, 160, 101, 0.1);
    }

    .lang-links {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 10px;
        font-size: 0.9rem;
        gap: 15px;
    }

    .lang-links a {
        padding: 6px 10px;
        min-width: 40px;
        text-align: center;
    }

    /* Hero-Sektion mobile Optimierung */
    .hero {
        height: 80vh;
        min-height: 400px;
    }

    .hero-inner {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-content {
        padding: 15px;
    }

    .hero-logo {
        max-width: min(400px, 90vw);
        margin: 25px auto 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-text {
        padding-right: 0;
    }

    .intro-img {
        margin-top: 15px;
        box-shadow: 8px 8px 0px var(--gold);
    }

    section {
        padding: 50px 0;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .partner-card {
        padding: 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    input, textarea {
        padding: 12px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* --- SEHR KLEINE HANDYS (480px und kleiner) --- */
@media (max-width: 480px) {
    .container {
        width: 98%;
        padding: 0 5px;
    }

    .hero {
        height: 70vh;
        min-height: 350px;
    }

    .hero-logo {
        max-width: min(350px, 85vw);
        margin: 20px auto 15px;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .top-bar {
        padding: 5px 0;
    }

    .nav-links {
        font-size: 0.8rem;
    }

    .nav-links a {
        padding: 6px 0;
        margin-bottom: 4px;
    }

    .lang-links {
        gap: 12px;
        font-size: 0.85rem;
    }

    .lang-links a {
        padding: 5px 8px;
        min-width: 35px;
    }

    section {
        padding: 40px 0;
    }

    .partner-card {
        padding: 15px;
    }

    .quote-box {
        padding: 30px 20px;
        margin: 30px auto;
    }
}