/* ---------------------------------------------------------------
 * Globale Variablen (Farben & Typografie)
 * --------------------------------------------------------------- */
:root {
    --color-bg: #fcfbf9;            /* Edles Off-White */
    --color-dark: #1b241e;          /* Dunkles Waldgrün / Fast-Schwarz */
    --color-accent: #c29b38;        /* Dezenter Gold/Holz-Ton */
    --font-serif: "Playfair Display", Georgia, serif;
    --font-sans: "Inter", -apple-system, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--color-bg);
    color: var(--color-dark);
    font-family: var(--font-sans);
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Verhindert horizontales Verziehen */
	/* Stellt sicher, dass das Dokument scrollbar bleibt */
    overflow-y: auto !important;
    height: auto !important;
}

/* ---------------------------------------------------------------
 * Fixed Transparent Header (Navigation schwebt über dem Video)
 * --------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    box-sizing: border-box;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar .logo {
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* ---------------------------------------------------------------
 * Hero Section & Elements Positioning
 * --------------------------------------------------------------- */
header.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
}

/* Header Bar (Top) */
.hero-header-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
}

.logo-title {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
}

.hero-nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.hero-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    padding: 10px 22px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn-outline:hover {
    background: #fff;
    color: #000;
}

.nav-icon-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
}

/* Bottom Bar (Pause, Scroll, Placeholder) */
.hero-bottom-bar {
    position: absolute;
    bottom: 30px;
    left: 40px;
    right: 40px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-ctrl-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.3s;
}

.hero-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.hidden { display: none !important; }

/* ---------------------------------------------------------------
 * Slide-Out Sidebar Menu
 * --------------------------------------------------------------- */
.sidebar-menu {
    position: fixed;
    top: 0;
    right: -400px; /* Ausgeblendet */
    width: 400px;
    max-width: 80vw;
    height: 100vh;
    background: #111;
    color: #fff;
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 40px;
    box-sizing: border-box;
}

.sidebar-menu.active {
    right: 0; /* Slidet rein */
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.sidebar-nav li {
    margin-bottom: 25px;
}

.sidebar-nav a {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.2s;
}

.sidebar-nav a:hover {
    color: #a8a397;
}

/* ---------------------------------------------------------------
 * Sektionen-Layout für Endlos-Scroll
 * --------------------------------------------------------------- */
.page-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------------------------------------------------------------
 * Navbar Fix: Über dem Video positionieren statt es wegzudrücken
 * --------------------------------------------------------------- */
header.navbar-sticky {
    position: absolute; /* Legt die Navbar transparent über das Video */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;      /* Damit sie immer ganz oben über dem Video liegt */
    background: transparent; /* Oder eine leichte Transparenz, falls gewünscht */
}

/* Falls die Navbar unsichtbar sein soll, solange sie leer ist: */
header.navbar-sticky:empty {
    display: none;
}

/* ---------------------------------------------------------------
 * Intro-Sektion (Off-White / Beige Hintergrund im Luxus-Look)
 * --------------------------------------------------------------- */
section.intro-section {
    background-color: #fcfbf9; /* Fallback-Farbe, falls im Backend nichts gewählt ist */
    color: #2b3027;
    padding: 100px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Große Serif-Überschrift */
.intro-title {
    font-family: "Playfair Display", Georgia, serif; /* Falls vorhanden, ansonsten edle Serif-Schrift */
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #2b3027;
}

/* Subtitel (klein, in Großbuchstaben mit Abstand) */
.intro-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #3b4235;
}

/* Fließtext */
.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #4a4f45;
}

/* Edler Rahmen-Button */
.intro-btn {
    display: inline-block;
    padding: 14px 35px;
    background: transparent;
    border: 1px solid #3b4235;
    color: #3b4235;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.intro-btn:hover {
    background: #3b4235;
    color: #fcfbf9;
}
