/* ============================================
   KERNÖL STOISSER – REDESIGN
   Design System & Complete Styles
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
    /* Background Colors */
    --bg-cream: #FAF6F0;
    --bg-cream-alt: #F3EDE4;
    --bg-cream-dark: #EAE1D5;

    /* Primary: Deep Bottle Green */
    --primary: #2D4A2D;
    --primary-light: #3A5F3A;
    --primary-dark: #1E331E;
    --primary-subtle: rgba(45, 74, 45, 0.08);

    /* Accent: Warm Gold */
    --accent: #C8962D;
    --accent-hover: #D4A73A;
    --accent-dark: #A67B1E;
    --accent-subtle: rgba(200, 150, 45, 0.12);

    /* Text Colors */
    --text-dark: #2C2417;
    --text-body: #4A3F35;
    --text-muted: #7A6E62;
    --text-light: #A69D93;
    --text-on-dark: #FAF6F0;
    --text-on-primary: #F5F0E8;

    /* Whites */
    --white: #FFFDF9;
    --white-pure: #FFFFFF;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(44, 36, 23, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 36, 23, 0.1);
    --shadow-lg: 0 8px 32px rgba(44, 36, 23, 0.12);
    --shadow-xl: 0 16px 48px rgba(44, 36, 23, 0.16);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Container */
    --container-max: 1200px;
    --container-narrow: 800px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h4 {
    font-size: clamp(1rem, 2vw, 1.2rem);
}

p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--text-body);
    max-width: 70ch;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
    display: inline-block;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn:hover::after {
    opacity: 1;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(200, 150, 45, 0.35);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(200, 150, 45, 0.45);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn--outline:hover {
    background: var(--primary);
    color: var(--text-on-primary);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.btn__arrow {
    transition: transform var(--transition-base);
}

.btn:hover .btn__arrow {
    transform: translateX(4px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.nav--scrolled {
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-sm) 0;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 1001;
}

.nav__logo img {
    height: 44px;
    width: auto;
    transition: transform var(--transition-base);
}

.nav__logo:hover img {
    transform: scale(1.05);
}

.nav__logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    transition: color var(--transition-fast);
}

.nav--hero .nav__logo-text {
    color: var(--white);
}

.nav--scrolled .nav__logo-text {
    color: var(--primary);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav__link {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.nav--hero .nav__link {
    color: rgba(255, 255, 255, 0.85);
}

.nav--scrolled .nav__link {
    color: var(--text-body);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base);
    border-radius: 1px;
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--primary);
}

.nav--hero .nav__link:hover {
    color: var(--white);
}

.nav__cta {
    margin-left: var(--space-md);
}

/* Mobile Menu Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav__toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav--hero .nav__toggle-bar {
    background: var(--white);
}

.nav--scrolled .nav__toggle-bar {
    background: var(--primary);
}

.nav__toggle--active .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle--active .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--bg-cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-2xl);
        transition: right var(--transition-slow);
        box-shadow: var(--shadow-xl);
    }

    .nav__links--open {
        right: 0;
    }

    .nav__link {
        font-size: 1.2rem;
        color: var(--text-dark) !important;
    }

    .nav__cta {
        margin-left: 0;
    }

    .nav__overlay {
        position: fixed;
        inset: 0;
        background: rgba(44, 36, 23, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        z-index: 999;
    }

    .nav__overlay--visible {
        opacity: 1;
        visibility: visible;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(30, 51, 30, 0.55) 0%,
            rgba(30, 51, 30, 0.45) 40%,
            rgba(30, 51, 30, 0.65) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-4xl) var(--space-lg);
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xl);
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.hero__title {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__title em {
    font-style: italic;
    color: var(--accent);
}

.hero__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 550px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero__scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeIn 1s ease-out 1.2s both;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================
   SECTION BASE
   ============================================ */
.section {
    padding: var(--space-4xl) 0;
}

.section--alt {
    background: var(--bg-cream-alt);
}

.section--dark {
    background: var(--primary);
    color: var(--text-on-primary);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section__header h2 {
    margin-bottom: var(--space-md);
}

.section__header p {
    margin: 0 auto;
    color: var(--text-muted);
    max-width: 600px;
}

.section--dark .section__header h2 {
    color: var(--white);
}

.section--dark .section__header p {
    color: rgba(255, 255, 255, 0.7);
}

/* Divider */
.section__divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-dark));
    border-radius: 2px;
    margin: var(--space-md) auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about__content-full {
    max-width: var(--container-narrow);
    margin: 0 auto;
    text-align: center;
}

.about__content-full h3 {
    margin-bottom: var(--space-lg);
}

.about__content-full .about__text {
    text-align: left;
    margin: 0 auto var(--space-xl);
}

.about__features--centered {
    max-width: 600px;
    margin: var(--space-xl) auto 0;
}



.about__text {
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.about__feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.about__feature:hover {
    background: var(--accent-subtle);
    transform: translateY(-2px);
}

.about__feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.about__feature h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.about__feature p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .about__features {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Seasonal badge */
.product-card--seasonal {
    border: 2px solid var(--accent);
    position: relative;
}

.product-card__seasonal-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
}

.product-card__image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--bg-cream-alt);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image img {
    transform: scale(1.08);
}

.product-card__body {
    padding: var(--space-xl) var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.product-card__sizes {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}

.product-card__desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: var(--space-lg);
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid var(--bg-cream-alt);
}

.product-card__price {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.product-card__price span {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    display: block;
}

.products__shipping {
    text-align: center;
    margin-top: var(--space-2xl);
    padding: var(--space-lg) var(--space-xl);
    background: var(--primary-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.products__shipping-icon {
    font-size: 1.5rem;
}

.products__shipping p {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    max-width: none;
}

@media (max-width: 992px) {
    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .product-card__image {
        height: 220px;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact__centered {
    display: flex;
    justify-content: center;
}

.contact__info--centered {
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.contact__info--centered h3 {
    text-align: center;
}

.contact__info--centered>p {
    text-align: center;
    margin: 0 auto var(--space-xl);
}

.contact__items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    text-align: left;
}

@media (max-width: 600px) {
    .contact__items-grid {
        grid-template-columns: 1fr;
    }
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact__info {
    padding: var(--space-2xl);
    background: var(--primary);
    border-radius: var(--radius-lg);
    color: var(--text-on-primary);
}

.contact__info h3 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.contact__info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    font-size: 0.95rem;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact__item-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: background var(--transition-base);
}

.contact__item:hover .contact__item-icon {
    background: rgba(255, 255, 255, 0.2);
}

.contact__item-text h4 {
    font-family: 'Inter', sans-serif;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact__item-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.contact__item-text a {
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-fast);
}

.contact__item-text a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .contact__info {
        padding: var(--space-xl);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--text-on-primary);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer__brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: var(--space-md);
    max-width: 300px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer__logo img {
    height: 36px;
    width: auto;
    filter: brightness(1.3);
}

.footer__logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.footer__title {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-lg);
}

.footer__links li {
    margin-bottom: var(--space-sm);
}

.footer__links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer__links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer__copyright {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__legal {
    display: flex;
    gap: var(--space-lg);
}

.footer__legal a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-fast);
}

.footer__legal a:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.3);
    }
}

/* Scroll-Triggered Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay-1 {
    transition-delay: 0.1s;
}

.reveal--delay-2 {
    transition-delay: 0.2s;
}

.reveal--delay-3 {
    transition-delay: 0.3s;
}

.reveal--delay-4 {
    transition-delay: 0.4s;
}

.reveal--left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal--right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal--left.reveal--visible,
.reveal--right.reveal--visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   ADDITIONAL POLISH
   ============================================ */

/* Selection color */
::selection {
    background: var(--accent);
    color: var(--white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Focus outline for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ============================================
   LEGAL PAGES (Impressum, Datenschutz, AGB)
   ============================================ */
.legal-header {
    background: var(--primary);
    padding: var(--space-5xl) 0 var(--space-3xl);
    text-align: center;
}

.legal-header h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

.legal-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0 auto;
}

.legal-nav {
    background: var(--bg-cream-alt);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--bg-cream-dark);
    position: sticky;
    top: 0;
    z-index: 100;
}

.legal-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.legal-nav__back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    transition: all var(--transition-fast);
}

.legal-nav__back:hover {
    color: var(--accent);
    transform: translateX(-4px);
}

.legal-nav__back-arrow {
    font-size: 1.1rem;
    transition: transform var(--transition-fast);
}

.legal-nav__links {
    display: flex;
    gap: var(--space-lg);
}

.legal-nav__link {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.legal-nav__link:hover,
.legal-nav__link--active {
    color: var(--primary);
}

.legal-nav__link--active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.legal-content {
    padding: var(--space-3xl) 0 var(--space-4xl);
}

.legal-content .container {
    max-width: var(--container-narrow);
}

.legal-content h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--bg-cream-dark);
    color: var(--primary);
}

.legal-content h2:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.legal-content h3 {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

.legal-content p {
    margin-bottom: var(--space-md);
    line-height: 1.8;
    font-size: 0.95rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.legal-content ul {
    list-style: disc;
}

.legal-content ol {
    list-style: decimal;
}

.legal-content li {
    margin-bottom: var(--space-sm);
    line-height: 1.7;
    font-size: 0.95rem;
    color: var(--text-body);
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: var(--accent-dark);
}

.legal-content strong {
    font-weight: 600;
    color: var(--text-dark);
}

.legal-update {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--bg-cream-dark);
}

@media (max-width: 600px) {
    .legal-nav__links {
        display: none;
    }
}

/* ============================================
   RECIPE MODAL
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal--active {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 51, 30, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background: var(--bg-cream);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2xl);
    transform: translate3d(0, 20px, 0) scale(0.98);
    transition: transform var(--transition-spring);
    will-change: transform;
    z-index: 10000;
}

.modal--active .modal__content {
    transform: translate3d(0, 0, 0) scale(1);
}

.modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-subtle);
    color: var(--primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal__close:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

.modal__body h3 {
    margin-bottom: var(--space-2xl);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

#recipeBadge {
    display: inline-block;
    margin-bottom: var(--space-md);
}

.recipe__item {
    margin-bottom: var(--space-2xl);
}

.recipe__title {
    color: var(--primary);
    margin-bottom: var(--space-xl);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

.recipe__divider {
    border: 0;
    height: 1px;
    background: var(--bg-cream-dark);
    margin: var(--space-3xl) 0;
}

.recipe__layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
}

.recipe__ingredients {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.recipe__ingredients h4,
.recipe__instructions h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
    border-bottom: 2px solid var(--accent-subtle);
    padding-bottom: var(--space-xs);
}

.recipe__ingredients ul {
    list-style: none;
    padding: 0;
}

.recipe__ingredients li {
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--bg-cream-dark);
    font-size: 0.95rem;
    color: var(--text-dark);
}

.recipe__ingredients li:last-child {
    border-bottom: none;
}

.recipe__instructions ol {
    margin: 0;
    padding-left: var(--space-md);
}

.recipe__instructions li {
    margin-bottom: var(--space-md);
    line-height: 1.7;
    font-size: 1rem;
    color: var(--text-body);
}

.recipe__instructions li::marker {
    color: var(--accent);
    font-weight: 700;
}

@media (max-width: 768px) {
    .recipe__layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}