/* ==========================================================================
   FONTS – LOKAL GEHOSTET (DATENSCHUTZKONFORM)
   ========================================================================== */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@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-v10-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-v10-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-v10-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-v10-latin.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   CSS RESET & BASIS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0c14;
    color: #e0e0e0;
    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, #d4af37 0%, #f5e7b2 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;
    color: #d4af37;
    position: relative;
    display: inline-block;
}
h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #d4af37;
    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 (BARRIEREFREIHEIT) ========== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #d4af37;
    color: #0a0c14;
    padding: 8px 16px;
    z-index: 200;
    transition: top 0.2s;
    text-decoration: none;
    font-weight: 600;
}
.skip-link:focus {
    top: 0;
}

/* ========== HEADER ========== */
header {
    position: sticky;
    top: 0;
    background: rgba(10, 12, 20, 0.92);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 16px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #d4af37;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.logo span {
    font-size: 0.85rem;
    color: #aaa;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #ddd;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a:focus {
    color: #d4af37;
    outline: 1px solid #d4af37;
    outline-offset: 4px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #d4af37;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ========== HERO ========== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 70% 30%, #1a1f2e 0%, #0a0c14 100%);
    position: relative;
}

.hero-content {
    max-width: 700px;
}

.hero-overline {
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #ccc;
    font-style: italic;
}

.hero-cta {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #d4af37;
    font-style: italic;
    animation: pulse 3s infinite;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.85;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    background: #d4af37;
    color: #0a0c14;
    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;
}
.btn:hover,
.btn:focus {
    background: #f5d77e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.btn-outline {
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
}
.btn-outline:hover,
.btn-outline:focus {
    background: #d4af37;
    color: #0a0c14;
}

/* ========== ÜBER UNS ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 1rem;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    aspect-ratio: 1 / 1.2;
    object-fit: cover;
}

/* ========== FÜNF BEDINGUNGEN ========== */
.bedingungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.bedingung-card {
    background: rgba(255, 255, 255, 0.03);
    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: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-4px);
}

.bedingung-icon {
    width: 56px;
    height: 56px;
    background: rgba(212, 175, 55, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.bedingung-icon i {
    color: #d4af37;
    font-size: 1.4rem;
}

/* ========== ANGEBOTE ========== */
.angebote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.preis {
    margin-top: 1rem;
    font-weight: 700;
    color: #d4af37;
    font-size: 1.05rem;
}

/* ========== DREI WEGE ========== */
.wege-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* ========== HERVORGEHOBENE KARTE (LEUCHTTURM) – KORRIGIERT ========== */
.card-featured {
    border-color: #d4af37 !important;
    background: rgba(212, 175, 55, 0.05) !important;
    position: relative;
    /* overflow: visible ist entscheidend, damit der goldene Banner nicht abgeschnitten wird */
    overflow: visible !important;
}
.card-featured::before {
    content: '✨ Sofort starten';
    position: absolute;
    top: 16px;
    right: -38px;
    background: #d4af37;
    color: #0a0c14;
    font-size: 0.75rem;
    font-weight: 700;
    /* line-height sorgt für perfekte vertikale Zentrierung der Schrift im Banner */
    line-height: 1.8;
    padding: 4px 42px 6px;
    transform: rotate(45deg);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    white-space: nowrap;
    z-index: 10;
}

/* ========== KARTEN (CARDS) ========== */
.card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s, background 0.3s;
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}
.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.4);
}
.card i {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
}
.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ========== TESTIMONIAL ========== */
blockquote {
    quotes: none;
}
blockquote::before,
blockquote::after {
    content: '';
}

/* ========== INNERER KREIS (LOGIN PROMPT) ========== */
.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;
}

/* ========== KONTAKT ========== */
.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: #d4af37;
    width: 1.5rem;
    text-align: center;
}

/* ========== MODALS ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 20, 0.92);
    align-items: center;
    justify-content: center;
    z-index: 200;
}
.modal-overlay.visible {
    display: flex;
}
.modal-container {
    background: rgba(20, 22, 30, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.4);
    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: #d4af37;
    margin-bottom: 1rem;
}
.modal-close {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 200px;
    display: inline-block;
    background: #d4af37;
    color: #0a0c14;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.modal-close:hover {
    background: #f5d77e;
    transform: translateY(-2px);
}

/* ========== FOOTER ========== */
footer {
    background: #05070c;
    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: #aaa;
    margin-right: 1rem;
    font-size: 1.4rem;
    transition: color 0.2s;
}
.social-links a:hover {
    color: #d4af37;
}
.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;
}
/* Spezifisches Banner für die Numerum-Leuchtturm-Karte */
.card-featured-numerum::before {
    content: '✨ Neu';
    background: #d4af37;
    color: #0a0c14;
}
/* ========== 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(212, 175, 55, 0.2); }
    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;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1rem;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero .btn {
        margin-right: 0;
    }
}
/* ── Cookie‑Consent‑Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 12, 20, 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(10px);
    -webkit-backdrop-filter: blur(10px);
}
.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: #d4af37;
    margin-bottom: 0.5rem;
}
.cookie-banner-header p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1rem;
}
.cookie-banner-header code {
    background: rgba(212,175,55,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: #aaa;
    text-decoration: underline;
    font-size: 0.85rem;
    transition: color 0.2s;
}
.cookie-more:hover {
    color: #d4af37;
}