:root {
    --navy: #082f57;
    --navy-dark: #061f3a;
    --coral: #d86f67;
    --coral-dark: #bf5750;
    --ink: #172033;
    --muted: #65748b;
    --line: #dfe6ee;
    --soft: #f6f8fb;
    --white: #ffffff;
    --radius: 18px;
    --shadow: 0 18px 45px rgba(8, 47, 87, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--navy);
    text-decoration: none;
}

a:hover {
    color: var(--coral);
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    width: min(820px, calc(100% - 40px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 220px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex: 1;
    font-size: 0.96rem;
    font-weight: 700;
}

.language-switch {
    display: flex;
    gap: 8px;
    align-items: center;
}

.language-switch a {
    min-width: 38px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--navy);
    text-align: center;
    font-weight: 700;
    font-size: 0.84rem;
}

.language-switch a.active,
.language-switch a:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.section {
    padding: 88px 0;
}

.muted {
    background: var(--soft);
}

.hero {
    background:
        url('../assets/hero-bg.jpg') center center / cover no-repeat;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0.45) 100%);
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 54px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    color: var(--navy-dark);
    line-height: 1.15;
    margin: 0 0 18px;
}

h1 {
    font-size: clamp(2.2rem, 6vw, 4.6rem);
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.15rem;
}

.lead {
    font-size: 1.16rem;
    color: var(--muted);
    max-width: 670px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
    transition: 0.18s ease;
}

.button.primary {
    background: var(--coral);
    color: var(--white);
    border-color: var(--coral);
}

.button.primary:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    color: var(--white);
}

.button.secondary {
    background: var(--white);
    color: var(--navy);
    border-color: var(--line);
}

.button.secondary:hover {
    border-color: var(--coral);
    color: var(--coral);
}

.hero-card,
.legal-card,
.contact-box,
.contact-form,
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 48px 40px 40px;
    text-align: center;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 20px 60px rgba(8,47,87,0.18), 0 4px 16px rgba(8,47,87,0.08);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-card img {
    width: 260px;
    max-width: 100%;
    margin: 0 auto;
    filter: drop-shadow(0 4px 12px rgba(8,47,87,0.12));
}

.hero-card-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--navy));
    border-radius: 2px;
    margin: 0 auto;
}

.hero-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.hero-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(8,47,87,0.06);
    border: 1px solid rgba(8,47,87,0.1);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    padding: 28px;
}

.card h3 {
    position: relative;
    padding-top: 12px;
}

.card h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 3px;
    border-radius: 999px;
    background: var(--coral);
}

.card p,
.narrow p,
.contact-box p,
.legal-card p {
    color: var(--muted);
}

.contact-box,
.legal-card,
.contact-form {
    padding: 30px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--navy-dark);
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    color: var(--ink);
    background: #ffffff;
}

input:focus,
textarea:focus {
    outline: 3px solid rgba(216, 111, 103, 0.20);
    border-color: var(--coral);
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.notice {
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
}

.notice.success {
    color: #155724;
    background: #d4edda;
}

.notice.error {
    color: #721c24;
    background: #f8d7da;
}

.text-link {
    color: var(--coral);
    font-weight: 800;
}

.legal-page {
    min-height: 60vh;
    background: var(--soft);
}

.site-footer {
    padding: 26px 0;
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.footer-inner p {
    margin: 0;
}

.footer-inner a {
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 920px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .brand img {
        width: 190px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero-grid,
    .contact-grid,
    .cards {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }
}

@media (max-width: 560px) {
    .container,
    .narrow {
        width: min(100% - 28px, 1120px);
    }

    .header-inner {
        gap: 14px;
    }

    .brand img {
        width: 170px;
    }

    .main-nav {
        gap: 16px;
        font-size: 0.9rem;
    }

    .hero-card,
    .legal-card,
    .contact-box,
    .contact-form,
    .card {
        padding: 22px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ── Burger-Menü ─────────────────────────────────────────── */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    margin-left: auto;
    z-index: 30;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktop: language-switch sichtbar, mobile-lang versteckt */
.mobile-lang { display: none; }
.desktop-lang { display: flex; }

@media (max-width: 768px) {
    .burger { display: flex; }
    .desktop-lang { display: none; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px 0 16px;
        z-index: 25;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 12px 24px;
        font-size: 1rem;
        border-bottom: 1px solid var(--line);
    }

    .main-nav a:last-of-type {
        border-bottom: none;
    }

    .mobile-lang {
        display: flex;
        padding: 12px 24px 0;
        width: 100%;
    }

    .header-inner {
        position: relative;
        flex-wrap: nowrap;
        padding: 14px 0;
    }

    .brand img {
        width: 160px;
    }
}
