:root {
    --bg-primary: #111111;
    --bg-secondary: #1c1c1c;
    --surface-light: #f5f0e8;
    --gold-accent: #c9a84c;
    --gold-light: #e2c97e;
    --text-body-dark: #d4cfc7;
    --text-heading-dark: #f5f0e8;

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-body-dark);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.04) 0%, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 300;
    color: var(--text-heading-dark);
    letter-spacing: 0.05em;
}

h1 {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

h3 {
    font-size: 1.15rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-accent);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

a {
    color: var(--gold-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-light);
}

p {
    margin-bottom: 1rem;
    max-width: 70ch;
}

ul {
    margin: 0.5rem 0 1rem 1.5rem;
    max-width: 70ch;
}

li {
    margin-bottom: 0.4rem;
}

strong {
    color: var(--text-heading-dark);
    font-weight: 500;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
nav#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: background-color 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

nav#navbar.scrolled {
    background-color: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
}

.nav-links {
    display: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-body-dark);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold-light);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--text-heading-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-heading-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-logo {
    height: 60px;
    margin-bottom: 1.5rem;
}

.mobile-link {
    color: var(--text-heading-dark);
    font-family: var(--font-heading);
    font-size: 1.75rem;
    letter-spacing: 0.05em;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
    .mobile-menu-btn {
        display: none;
    }
}

/* Legal page main content */
.legal-page {
    flex: 1;
    padding: 9rem 0 5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-body-dark);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    opacity: 0.7;
    transition: opacity 0.3s ease, gap 0.3s ease;
}

.back-link:hover {
    opacity: 1;
    gap: 0.75rem;
    color: var(--gold-light);
}

.legal-eyebrow {
    color: var(--gold-accent);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.gold-divider {
    width: 60px;
    height: 2px;
    background: var(--gold-accent);
    margin: 1.5rem 0 3rem;
}

.legal-content {
    max-width: 780px;
}

.legal-content section {
    margin-bottom: 1.5rem;
}

/* Definition list for Impressum data */
.legal-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem 2rem;
    margin: 1.5rem 0;
    padding: 1.75rem;
    background: var(--bg-secondary);
    border-left: 2px solid var(--gold-accent);
    border-radius: 2px;
}

.legal-info dt {
    color: var(--gold-accent);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.legal-info dt:first-child {
    margin-top: 0;
}

.legal-info dd {
    color: var(--text-heading-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .legal-info {
        grid-template-columns: 180px 1fr;
        gap: 1rem 2rem;
        align-items: baseline;
    }
    .legal-info dt {
        margin-top: 0;
    }
    .legal-info dd {
        margin-bottom: 0;
    }
}

.placeholder-note {
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.25);
    color: var(--gold-light);
    padding: 1rem 1.25rem;
    border-radius: 2px;
    margin: 2rem 0;
    font-size: 0.9rem;
}

.last-updated {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 207, 199, 0.1);
    color: rgba(212, 207, 199, 0.55);
    font-size: 0.85rem;
}

/* Footer (mirrors main site) */
footer {
    background-color: var(--bg-secondary);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
    border-top: 1px solid rgba(201, 168, 76, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 38px;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.footer-col h4 {
    color: var(--gold-accent);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col a {
    color: var(--text-body-dark);
    font-size: 0.92rem;
    opacity: 0.75;
}

.footer-col a:hover {
    color: var(--gold-light);
    opacity: 1;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 207, 199, 0.08);
    color: rgba(212, 207, 199, 0.5);
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
