/* ==========================================================================
   MOAKTOR – HAUPT-CSS | FARBLEHRE: NACHT, SCHWAN, PFAU, KRÄHE, GOLD
   ========================================================================== */

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin-600.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin-700.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display-v40-latin-regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display-v40-latin-500.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display-v40-latin-700.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}

/* ==========================================================================
   RESET & BASIS
   ========================================================================== */
:root {
    --nacht: #0b1a2f;
    --gold: #d4af37;
    --schwan: #f5f0e8;
    --pfau: #1a8a8a;
    --kraehe: #1a1a2e;
    --text: #e0e0e0;
    --dim: #aaa;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--nacht);
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, .logo { font-family: 'Playfair Display', serif; font-weight: 500; }

h1 {
    font-size: clamp(2rem, 5vw, 4.2rem);
    background: linear-gradient(135deg, var(--gold) 0%, var(--schwan) 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    margin-bottom: 1rem; line-height: 1.2;
}

h2 {
    font-size: 2.2rem; margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--pfau), var(--gold));
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    position: relative; display: inline-block;
}
h2:after {
    content: ''; position: absolute; bottom: -10px; left: 0;
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--pfau), var(--gold));
    border-radius: 3px;
}

.section { padding: 80px 0; border-bottom: 1px solid rgba(212,175,55,0.15); }
.section:last-child { border-bottom: none; }

/* ==========================================================================
   SKIP LINK
   ========================================================================== */
.skip-link {
    position: absolute; top: -100px; left: 0;
    background: var(--gold); color: var(--nacht);
    padding: 8px 16px; z-index: 200; transition: top 0.2s;
    text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ==========================================================================
   GLOBALER HEADER
   ========================================================================== */
#global-header header,
.garden-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(11,26,47,0.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212,175,55,0.3);
    padding: 0.9rem 0;
}
.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.logo {
    font-family: 'Playfair Display', serif; font-size: 1.6rem;
    color: var(--gold); text-decoration: none; line-height: 1.2;
}
.logo span { font-size: 0.7rem; color: var(--dim); font-family: 'Inter', sans-serif; display: block; }
.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a {
    color: var(--text); text-decoration: none; font-size: 0.95rem;
    font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--schwan); }
.nav-highlight {
    background: rgba(26,138,138,0.15);
    padding: 6px 18px; border-radius: 20px;
    border: 1px solid var(--pfau);
    color: var(--schwan) !important;
}
.nav-highlight:hover { background: rgba(26,138,138,0.25); }

/* Mobile Menü */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 101; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--gold); margin: 5px 0; transition: 0.3s; }
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(11,26,47,0.98); flex-direction: column; gap: 0;
        padding: 1rem 0; border-bottom: 1px solid rgba(212,175,55,0.3);
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 0.8rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
}
@media (max-width: 768px) {
    .about-slider {
        max-height: 400px;
    }
}
/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    min-height: 85vh; display: flex; align-items: center;
    background: radial-gradient(circle at 70% 30%, #1a2a40 0%, var(--nacht) 100%);
}
.hero-content { max-width: 700px; }
.hero-overline {
    font-size: 1rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--schwan); margin-bottom: 0.5rem;
}
.hero-subtitle { font-size: 1.8rem; font-weight: 300; margin-bottom: 2rem; color: var(--schwan); font-style: italic; }
.hero-cta {
    font-size: 1.5rem; font-weight: 300; margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--pfau), var(--gold));
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    font-style: italic; animation: pulse 3s infinite;
}
.hero p { font-size: 1.15rem; margin-bottom: 2rem; opacity: 0.85; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block; padding: 12px 32px; border-radius: 40px;
    text-decoration: none; font-weight: 600; transition: all 0.3s ease;
    border: none; cursor: pointer; margin-right: 1rem; margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--pfau), var(--gold));
    color: var(--schwan);
}
.btn:hover, .btn:focus {
    background: linear-gradient(135deg, var(--gold), var(--pfau));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26,138,138,0.3);
    outline: 2px solid var(--schwan); outline-offset: 2px;
}
.btn-outline { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.btn-outline:hover, .btn-outline:focus { background: var(--gold); color: var(--nacht); }

/* ==========================================================================
   SLIDER
   ========================================================================== */
.about-slider {
    position: relative;
    width: 100%;
    max-height: 500px;          /* Begrenzt die Höhe auf großen Bildschirmen */
    aspect-ratio: 1 / 1.2;      /* Behält das Seitenverhältnis bei */
    border-radius: 24px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
    cursor: pointer;
}
.about-slider .slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 1.5s ease-in-out; object-fit: cover;
}
.about-slider .slide.active { opacity: 1; }
.about-slider .slider-dots {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 2;
}
.about-slider .slider-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(212,175,55,0.4); transition: background 0.3s;
}
.about-slider .slider-dot.active { background: var(--gold); }

/* ==========================================================================
   BEDINGUNGEN, ANGEBOTE, WEGE
   ========================================================================== */
.bedingungen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.bedingung-card {
    background: linear-gradient(135deg, rgba(26,26,46,0.5), rgba(11,26,47,0.5));
    border-radius: 20px; padding: 2rem 1.5rem;
    border: 1px solid rgba(212,175,55,0.2);
    transition: all 0.3s ease; text-align: center;
}
.bedingung-card:hover {
    background: linear-gradient(135deg, rgba(26,138,138,0.1), rgba(11,26,47,0.5));
    border-color: var(--pfau); transform: translateY(-4px);
}
.bedingung-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(26,138,138,0.12);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.bedingung-icon i { color: var(--pfau); font-size: 1.4rem; }
.bedingung-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--schwan); }

.angebote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
.wege-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-top: 2rem; }
.preis { margin-top: 1rem; font-weight: 700; color: var(--schwan); font-size: 1.05rem; }

.card {
    background: linear-gradient(135deg, rgba(26,26,46,0.4), rgba(11,26,47,0.4));
    border-radius: 24px; padding: 2rem; transition: all 0.3s ease;
    border: 1px solid rgba(212,175,55,0.2); text-align: center;
}
.card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(26,138,138,0.1), rgba(11,26,47,0.4));
    border-color: var(--pfau);
}
.card i { font-size: 2.5rem; margin-bottom: 1rem; color: var(--schwan); }
.card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--schwan); }

.card-featured {
    border-color: var(--gold) !important;
    background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(11,26,47,0.5)) !important;
    position: relative; overflow: visible !important;
}
.card-featured::before {
    content: '✨ Sofort starten';
    position: absolute; top: 18px; right: -32px;
    background: var(--gold); color: var(--nacht);
    font-size: 0.75rem; font-weight: 700;
    padding: 6px 42px; transform: rotate(45deg);
    letter-spacing: 0.5px; box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    white-space: nowrap; z-index: 10;
}
.card-featured-numerum::before { content: '✨ Neu'; }
.card-featured-soulai::before { content: '✨ Live'; }

/* ==========================================================================
   KONTAKT, LOGIN, MODALS
   ========================================================================== */
.login-prompt { text-align: center; max-width: 600px; margin: 0 auto; }
.login-prompt p { margin-bottom: 1.5rem; }
.small { font-size: 0.85rem; opacity: 0.7; margin-top: 0.5rem; }

.contact-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.contact-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.contact-item i { color: var(--pfau); width: 1.5rem; text-align: center; }

.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11,26,47,0.95); align-items: center; justify-content: center; z-index: 200;
}
.modal-overlay.visible { display: flex; }
.modal-container {
    background: var(--kraehe); border: 1px solid var(--pfau);
    border-radius: 24px; padding: 2.5rem;
    max-width: 500px; width: 90%; text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); animation: fadeIn 0.3s ease;
}
.modal-icon { font-size: 2.5rem; color: var(--schwan); margin-bottom: 1rem; }
.modal-close {
    margin-top: 1.5rem; width: 100%; max-width: 200px;
    display: inline-block; padding: 12px 32px; border-radius: 40px;
    text-decoration: none; font-weight: 600; transition: all 0.3s ease;
    border: none; cursor: pointer;
    background: linear-gradient(135deg, var(--pfau), var(--gold));
    color: var(--schwan);
}

/* ==========================================================================
   COOKIE-BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(11,26,47,0.97); border-top: 1px solid rgba(212,175,55,0.4);
    z-index: 9999; padding: 1.5rem 1rem; display: none;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.6);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.cookie-banner.visible { display: block; animation: slideUp 0.4s ease; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-banner-content { max-width: 800px; margin: 0 auto; text-align: center; }
.cookie-banner-header h3 { font-family: 'Playfair Display', serif; color: var(--schwan); margin-bottom: 0.5rem; }
.cookie-banner-header p { font-size: 0.9rem; color: var(--dim); margin-bottom: 1rem; }
.cookie-banner-header code { background: rgba(26,138,138,0.15); padding: 2px 6px; border-radius: 4px; font-size: 0.85rem; }
.cookie-banner-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cookie-more { color: var(--dim); text-decoration: underline; font-size: 0.85rem; cursor: pointer; background: none; border: none; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11,26,47,0.97); z-index: 9999;
    align-items: center; justify-content: center;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.lightbox.active { display: flex; }
.lightbox-inner { text-align: center; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img, .lightbox-inner video { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.lightbox-caption { color: var(--schwan); margin-top: 1rem; font-size: 1rem; font-style: italic; }
.lightbox-counter { color: var(--dim); margin-top: 0.5rem; font-size: 0.85rem; }
.lightbox-close { position: absolute; top: 20px; right: 30px; background: none; border: none; color: var(--schwan); font-size: 2.5rem; cursor: pointer; z-index: 10; transition: color 0.2s; }
.lightbox-close:hover { color: var(--pfau); }
.lightbox-prev, .lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.5); border: none; color: var(--schwan);
    font-size: 2rem; padding: 0.5rem 1rem; cursor: pointer;
    border-radius: 4px; transition: background 0.2s; z-index: 10;
}
.lightbox-prev:hover, .lightbox-next:hover { background: var(--pfau); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ==========================================================================
   GLOBALER FOOTER
   ========================================================================== */
#global-footer footer,
.garden-footer {
    background: var(--kraehe); padding: 48px 0 24px; margin-top: 40px;
}
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.footer-info .logo { font-size: 1.5rem; }
.social-links a { color: var(--dim); margin-right: 1rem; font-size: 1.4rem; transition: color 0.2s; text-decoration: none; }
.social-links a:hover { color: var(--schwan); }
.copyright {
    text-align: center; margin-top: 40px; padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.8rem; color: #777;
}

/* ==========================================================================
   KEYFRAMES
   ========================================================================== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse {
    0%, 100% { opacity: 0.8; text-shadow: 0 0 5px rgba(26,138,138,0.3); }
    50% { opacity: 1; text-shadow: 0 0 15px rgba(212,175,55,0.5); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-cta { font-size: 1.3rem; }
    .hero p { font-size: 1rem; }
    .about-grid { grid-template-columns: 1fr; }
    .hero .btn { margin-right: 0; }
}