/* Bellasia – statische Website. Keine Abhängigkeit von WordPress oder einem bestimmten Hoster. */

/* ===== Fonts (lokal) ===== */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/cormorant-garamond.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('../fonts/montserrat.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url('../fonts/fa-solid-900.woff2') format('woff2');
}

/* Font Awesome: nur die verwendeten Icons */
.fas {
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    text-rendering: auto;
}

.fa-bowl-food::before { content: "\e4c6"; }
.fa-leaf::before { content: "\f06c"; }
.fa-pizza-slice::before { content: "\f818"; }
.fa-drumstick-bite::before { content: "\f6d7"; }
.fa-seedling::before { content: "\f4d8"; }
.fa-cookie-bite::before { content: "\f564"; }
.fa-star::before { content: "\f005"; }
.fa-truck-fast::before { content: "\f48b"; }
.fa-layer-group::before { content: "\f5fd"; }
.fa-utensils::before { content: "\f2e7"; }

/* ===== Reset (aus dem bisherigen Parent-Theme übernommen, soweit sichtbar relevant) ===== */
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
*, ::after, ::before { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin-block-start: .5rem; margin-block-end: 1rem; }
p { margin-block-start: 0; }
a { background-color: transparent; color: #c36; text-decoration: none; }
a:active, a:hover { color: #336; }
img { border-style: none; height: auto; max-width: 100%; }

/* ===== CSS Variables ===== */
:root {
    /* Colors - Gold & Black Theme */
    --gold: #f1c40f;
    /* Brighter, more saturated gold */
    --gold-light: #f9e23f;
    /* Vibrant light gold */
    --gold-dark: #c09600;
    /* Rich dark gold */
    --black: #1a1a1a;
    --charcoal: #2a2a2a;
    --cream: #F5F1E8;
    --warmred: #8B2635;
    --warmred-dark: #6B1E29;
    --brown: #4A3426;
    --sage: #6B7F5C;
    --white: #ffffff;
    --text-dark: #2a2a2a;
    --text-light: #666666;

    /* Typography */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-main {
    margin: 0;
    padding: 0;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--black);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-1200.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax-like effect */
    overflow: hidden;
}

@media (max-width: 767px) {
    .hero {
        background-image: url('../images/hero-640.webp');
        background-attachment: scroll;
        padding-bottom: 100px;
        /* Shifts content up to clear the sticky bar */
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 38, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

/* Logo Styles */
.logo-container {
    margin-bottom: var(--spacing-xl);
}

.crown-icon {
    width: 120px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    color: var(--gold);
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.4));
}

.logo-text {
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 2px 20px rgba(212, 175, 55, 0.3);
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--cream);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 0 var(--spacing-xl);
}

.logo-subtitle::before,
.logo-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.logo-subtitle::before {
    right: 100%;
    margin-right: var(--spacing-sm);
}

.logo-subtitle::after {
    left: 100%;
    margin-left: var(--spacing-sm);
}

/* Mobile Adjustments for Logo Decorations */
@media (max-width: 767px) {
    .logo-subtitle {
        padding: 0 15px;
        letter-spacing: 0.15em;
        font-size: 0.75rem;
    }

    .logo-subtitle::before,
    .logo-subtitle::after {
        width: 30px;
    }
}

/* Hero Tagline */
.hero-tagline {
    margin-top: var(--spacing-xl);
}

.hero-tagline h2 {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--cream);
    line-height: 1.5;
}

.hero-tagline .highlight {
    display: block;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--gold-light);
    margin-top: var(--spacing-sm);
    text-transform: uppercase;
}

.discount-badge-premium {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid var(--gold);
    color: var(--gold-light);
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.05);
    animation: fadeIn 1s ease 0.5s backwards, pulse-glow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.discount-badge-premium a {
    color: var(--gold-light);
    text-decoration: none;
}

.discount-badge-premium a:visited,
.discount-badge-premium a:hover,
.discount-badge-premium a:active {
    color: var(--gold-light);
}

.discount-badge-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate-glow 8s linear infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 30px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.05);
    }

    50% {
        box-shadow: 0 4px 35px rgba(212, 175, 55, 0.4), inset 0 0 25px rgba(212, 175, 55, 0.1);
    }
}

@keyframes rotate-glow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.discount-badge-premium span {
    color: var(--white);
    font-weight: 800;
    font-size: 1.1em;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    position: relative;
    z-index: 1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(-45deg);
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: rotate(-45deg) translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: rotate(-45deg) translateY(10px);
        opacity: 1;
    }
}

/* ===== Section Styles ===== */
section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.section-header h3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--black);
}

/* ===== About Section ===== */
.about {
    background: var(--white);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== Categories Section ===== */
.categories {
    background: var(--cream);
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.category-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    height: 200px;
    background-size: 105%;
    background-position: center;
    position: relative;
    overflow: hidden;
    background-color: var(--charcoal);
    /* Fallback */
    display: flex;
    /* Centering for the icon */
    align-items: center;
    justify-content: center;
    transition: background-size 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .category-image {
    background-size: 115%;
}

/* Category Backgrounds */
[data-category="asian"] .category-image {
    background-image: url('../images/cat-asian.webp');
}

[data-category="vegetarian"] .category-image {
    background-image: url('../images/cat-vegetarian.webp');
}

[data-category="italian"] .category-image {
    background-image: url('../images/cat-italian.webp');

}

[data-category="grill"] .category-image {
    background-image: url('../images/cat-grill.webp');
}

[data-category="salads"] .category-image {
    background-image: url('../images/cat-salads.webp');
}

[data-category="desserts"] .category-image {
    background-image: url('../images/cat-desserts.webp');
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Darker for better icon contrast */
    opacity: 0.8;
    /* Keep it visible even without hover */
    transition: opacity var(--transition-base);
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-icon {
    font-size: 3.5rem;
    /* Slightly smaller for better fit */
    color: var(--gold);
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

.category-icon i {
    display: block;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(-5deg);
}

.category-content {
    padding: var(--spacing-md);
}

.category-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: var(--spacing-xs);
}

.category-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.category-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--cream);
    color: var(--text-dark);
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ===== Promise Section ===== */
.promise {
    background: var(--black);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.promise::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.promise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.promise-item {
    text-align: center;
    padding: var(--spacing-md);
}

.promise-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    transition: transform var(--transition-base);
}

.promise-item:hover .promise-icon {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
}

.promise-item h5 {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: var(--spacing-xs);
}

.promise-item p {
    color: var(--cream);
    font-size: 0.9rem;
}

/* ===== Final CTA Section ===== */
.final-cta {
    background: linear-gradient(135deg, var(--warmred-dark) 0%, var(--warmred) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-bottom: 140px;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* ===== Sticky CTA Button (CORRECTED CLASS NAME) ===== */
.sticky-cta-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0) !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    /* For shimmer */
}

/* Shimmer Highlight Effect */
.sticky-cta-wrap::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    animation: ctaShimmer 4s infinite;
}

@keyframes ctaShimmer {
    0% {
        left: -60%;
    }

    15% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

.sticky-cta-wrap .btn-primary {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    /* Icon above text */
    align-items: center;
    justify-content: center;
    gap: 4px;
    /* Tight spacing between icon and text */
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    /* iPhone Safe Area support */
    background: transparent;
    /* Background handled by wrapper */
    color: #000;
    border: none;
    border-radius: 0;
    /* Square edges for the bar */
    font-family: var(--font-body);
    font-size: 0.8rem;
    /* Smaller text as seen in screenshot */
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.sticky-cta-wrap .btn-primary .cta-icon {
    font-size: 1.4rem;
    line-height: 1;
    animation: iconPulse 2s infinite ease-in-out;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.sticky-cta-wrap .btn-primary:hover {
    filter: brightness(1.1);
}

.sticky-cta-wrap .btn-primary:active {
    transform: none;
    /* No bounce for the bar style */
    filter: brightness(0.9);
}

.cta-icon {
    font-size: 1.5rem;
}

.cta-text {
    flex: 1;
    text-align: center;
}

/* ===== Animation Classes ===== */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-delay {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.reveal.reveal-active,
.reveal-delay.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Tablet Styles ===== */
@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promise-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .logo-text {
        font-size: 5rem;
    }

    .hero-tagline h2 {
        font-size: 2rem;
    }

    .section-header h3 {
        font-size: 3rem;
    }
}

/* ===== Desktop Styles ===== */
@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-card {
        border-radius: 16px;
    }

    .category-image {
        height: 220px;
    }

    .sticky-cta-wrap {
        padding: var(--spacing-lg) var(--spacing-xl);
    }
}

/* ===== Smooth Scrolling Offset ===== */
html {
    scroll-padding-bottom: 100px;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--black);
    color: var(--cream);
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md) 120px;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--spacing-xs);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--cream);
}

.footer-links a:hover {
    color: var(--gold);
}

/* ===== Rechtliche Seiten (Impressum, Datenschutz) ===== */
.legal {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-md);
}

.legal h1 {
    font-size: 2.5rem;
}

.legal h2 {
    font-size: 1.5rem;
    margin-top: var(--spacing-lg);
}

.legal a {
    text-decoration: underline;
}

.legal-back {
    display: inline-block;
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
}

@media (min-width: 1024px) {
    .site-footer {
        padding-bottom: 180px;
    }
}
