/* CSS Reset & Variablen */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-deep: #100c0a;
    --bg-card: rgba(26, 19, 16, 0.82);
    --border-color: rgba(212, 163, 115, 0.2);
    --text-main: #fcf8f5;
    --text-muted: #c4b3a3;
    --accent-gold: #d4a373;
    --accent-gold-hover: #faedcd;
    --accent-caramel: #a97155;
    --whatsapp-green: #25d366;
}

/* Layout und fester, absolut zuverlässiger animierter Hintergrund */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Hintergrund-Ebene mit fixierten Animationen */
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 15% 20%, rgba(169, 113, 85, 0.28) 0%, transparent 50%),
        radial-gradient(circle at 85% 85%, rgba(212, 163, 115, 0.2) 0%, transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(35, 24, 19, 0.95) 0%, var(--bg-deep) 100%);
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.3) 0%, transparent 70%);
    animation: floatParticle 10s infinite ease-in-out alternate;
}

.p1 {
    width: 350px;
    height: 350px;
    top: -80px;
    left: -80px;
    animation-delay: 0s;
}

.p2 {
    width: 450px;
    height: 450px;
    bottom: -120px;
    right: -120px;
    animation-delay: -3s;
}

.p3 {
    width: 300px;
    height: 300px;
    top: 35%;
    right: 10%;
    animation-delay: -6s;
}

@keyframes floatParticle {
    0% { transform: translateY(0) scale(1); opacity: 0.7; }
    100% { transform: translateY(-40px) scale(1.15); opacity: 1; }
}

/* Zentrale Glassmorphism-Card */
.card-container {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
    border-radius: 36px;
    padding: 64px 48px;
    max-width: 680px;
    width: 100%;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.75),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: cardFloat 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    z-index: 1;
}

@keyframes cardFloat {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Edles Badge oben */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    background: rgba(212, 163, 115, 0.1);
    border: 1px solid rgba(212, 163, 115, 0.25);
    padding: 9px 22px;
    border-radius: 50px;
    margin-bottom: 32px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.08);
}

.badge-dot {
    width: 7px;
    height: 7px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-gold);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(212, 163, 115, 0.6); }
    70% { transform: scale(1.5); opacity: 0.8; box-shadow: 0 0 0 8px rgba(212, 163, 115, 0); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(212, 163, 115, 0); }
}

/* Typografie */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.2vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    color: var(--text-main);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    font-weight: 300;
}

/* Adress-Box auf der Startseite */
.location-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(212, 163, 115, 0.06);
    border: 1px solid rgba(212, 163, 115, 0.15);
    padding: 14px 22px;
    border-radius: 16px;
    margin-bottom: 32px;
    text-align: left;
}

.location-icon {
    color: var(--accent-gold);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.location-title {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.location-address {
    display: block;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Trennlinie über die volle innere Breite der Card */
.divider {
    width: calc(100% + 96px);
    margin-left: -48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin-bottom: 32px;
    opacity: 0.6;
}

/* Spezifische Styles für das Impressum / Datenschutz */
.legal-content {
    text-align: left;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 8px;
}

.legal-content::-webkit-scrollbar {
    width: 6px;
}

.legal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.legal-content::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 10px;
    opacity: 0.5;
}

.legal-content h2, 
.legal-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
    margin-bottom: 6px;
    font-weight: 600;
}

.legal-content h2 {
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(212, 163, 115, 0.2);
    padding-bottom: 4px;
    margin-top: 10px;
}

.legal-content h3 {
    font-size: 1.05rem;
    margin-top: 8px;
}

.legal-content p, 
.legal-content li {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

.legal-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.legal-content a {
    color: var(--accent-gold);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: var(--accent-gold-hover);
}

.back-action {
    margin-bottom: 32px;
}

/* Bestellhinweis & Buttons */
.order-notice {
    font-size: 0.98rem;
    color: var(--text-main);
    margin-bottom: 24px;
    font-weight: 400;
}

.contact-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    justify-content: center;
    margin-bottom: 42px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-caramel));
    color: #100c0a;
    box-shadow: 0 6px 25px rgba(212, 163, 115, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(212, 163, 115, 0.4);
    background: linear-gradient(135deg, var(--accent-gold-hover), var(--accent-gold));
}

.btn-whatsapp {
    background: rgba(37, 211, 102, 0.12);
    color: #4ade80;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.22);
    border-color: var(--whatsapp-green);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--accent-gold);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn:hover .icon {
    transform: scale(1.15);
}

/* Footer & gestylter Impressums-Link */
.footer {
    font-size: 0.8rem;
    color: rgba(196, 179, 163, 0.45);
    letter-spacing: 0.8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent-gold);
}

.footer-dot {
    opacity: 0.4;
}

/* Responsive Anpassungen für Mobilgeräte */
@media (max-width: 600px) {
    body {
        padding: 16px;
    }
    .card-container {
        padding: 40px 24px;
        border-radius: 24px;
    }
    .divider {
        width: calc(100% + 48px);
        margin-left: -24px;
    }
    .contact-actions {
        grid-template-columns: 1fr;
    }
    .location-box {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .location-box div {
        text-align: left;
    }
}