/* ============= LEGAL PAGES — shared styles ============= */
/* Bilingual containers: hide EN by default, switch via body class */
.lang-en { display: none; }
body.lang-en .lang-de { display: none; }
body.lang-en .lang-en { display: block; }


:root {
    --bg: #f4f7f9;
    --bg-warm: #e8eef2;
    --bg-light: #fbfcfd;
    --bg-card: #ffffff;
    --ocean: #061827;
    --ocean-soft: #0c2840;
    --ocean-mid: #1a4060;
    --wave: #1d4ba0;
    --wave-light: #4575c8;
    --wave-dark: #102b66;
    --line: rgba(6, 24, 39, 0.12);
    --line-light: rgba(6, 24, 39, 0.06);
    --display: 'Cormorant Garamond', serif;
    --body: 'Montserrat', sans-serif;
    --max: 1380px;
    --gutter: clamp(20px, 5vw, 80px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--body);
    background: var(--bg);
    color: var(--ocean);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ============= NAV ============= */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 14px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(244, 247, 249, 0.92);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    box-shadow: 0 1px 0 var(--line-light);
}
.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--display);
    font-style: italic;
    font-weight: 500;
    font-size: 30px;
    letter-spacing: 0.01em;
    line-height: 1;
    color: var(--wave-dark);
}
.nav-logo svg { width: 30px; height: 30px; flex-shrink: 0; }
.nav-menu { display: flex; gap: 36px; list-style: none; }
.nav-menu a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--ocean-soft);
    transition: color .25s;
}
.nav-menu a:hover { color: var(--wave); }
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--ocean-soft);
}
.lang-toggle button {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
}
.lang-toggle button.active { color: var(--wave); }
.lang-toggle .sep { opacity: 0.4; }

/* ============= LEGAL CONTENT ============= */
.legal-hero {
    padding: 160px var(--gutter) 60px;
    border-bottom: 1px solid var(--line-light);
}
.legal-hero-inner { max-width: 820px; margin: 0 auto; }
.legal-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--wave);
    margin-bottom: 22px;
    padding-left: 30px;
    position: relative;
}
.legal-eyebrow::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 22px;
    height: 1px;
    background: var(--wave);
}
.legal-title {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: var(--ocean);
}

.legal-content {
    padding: 80px var(--gutter) 120px;
}
.legal-content-inner {
    max-width: 820px;
    margin: 0 auto;
    color: var(--ocean-soft);
}
.legal-content-inner h2 {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(22px, 2.2vw, 30px);
    color: var(--ocean);
    margin: 48px 0 16px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.legal-content-inner h2:first-child { margin-top: 0; }
.legal-content-inner h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 19px;
    color: var(--ocean);
    margin: 28px 0 10px;
}
.legal-content-inner p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 14px;
}
.legal-content-inner p.lead {
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(18px, 2vw, 22px);
    color: var(--ocean);
    line-height: 1.5;
    margin-bottom: 28px;
}
.legal-content-inner ul, .legal-content-inner ol {
    margin: 8px 0 18px 22px;
    font-size: 15px;
    line-height: 1.75;
}
.legal-content-inner li { margin-bottom: 6px; }
.legal-content-inner a { color: var(--wave); border-bottom: 1px solid rgba(29,75,160,0.25); transition: border-color .2s; }
.legal-content-inner a:hover { border-bottom-color: var(--wave); }
.legal-content-inner strong { color: var(--ocean); font-weight: 600; }
.legal-content-inner .sub-clauses {
    margin: 0 0 14px 0;
    list-style: none;
    padding-left: 0;
}
.legal-content-inner .sub-clauses li {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 10px;
    padding-left: 0;
}
.legal-meta {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--line-light);
    font-size: 13px;
    color: var(--ocean-mid);
}

/* ============= FOOTER ============= */
footer {
    background: #03101c;
    color: rgba(255,255,255,0.7);
    padding: 60px var(--gutter) 30px;
}
.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--wave-light);
    font-family: var(--display);
    font-style: italic;
    font-weight: 500;
    font-size: 26px;
}
.footer-brand svg { width: 28px; height: 28px; flex-shrink: 0; }
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    font-size: 12.5px;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    transition: color .25s;
}
.footer-links a:hover { color: var(--wave-light); }
.footer-copy {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 22px;
    margin-top: 22px;
    font-size: 11.5px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px;
}

@media (max-width: 720px) {
    .nav-menu { display: none; }
    .legal-hero { padding: 120px 22px 50px; }
    .legal-content { padding: 60px 22px 90px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}
