/**
 * phở by UMÊ - Stylesheet
 * Vietnamesisches Restaurant in Kassel
 * 
 * Struktur:
 * 1. CSS Custom Properties (Variablen)
 * 2. Reset & Base Styles
 * 3. Typography
 * 4. Layout & Grid
 * 5. Components
 * 6. Animations & Effects
 * 7. Utilities
 * 8. Media Queries
 * 9. Accessibility
 */

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
    /* Brand Colors */
    --color-bg-silk: #F8F6F2;
    --color-brand-dark: #121A12;
    --color-brand-accent: #3d5a3d;
    --color-brand-sand: #e3ded6;
    --color-white: #ffffff;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-full: 9999px;
    
    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 50;
    --z-fixed: 90;
    --z-modal: 100;
    --z-cursor: 9999;
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-silk);
    color: var(--color-brand-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
    overflow-x: hidden;
}

/* Selection */
::selection {
    background-color: var(--color-brand-dark);
    color: var(--color-bg-silk);
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lists */
ul, ol {
    list-style: none;
}

/* Buttons */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6,
.font-serif {
    font-family: var(--font-serif);
    font-weight: 400;
}

/* Heading Sizes */
.heading-hero {
    font-size: clamp(4rem, 12vw, 11rem);
    line-height: 0.85;
    font-style: italic;
}

.heading-xl {
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 1;
}

.heading-lg {
    font-size: clamp(2.5rem, 6vw, 6rem);
    line-height: 1.1;
}

.heading-md {
    font-size: clamp(2rem, 4vw, 5rem);
    line-height: 1.1;
}

.heading-sm {
    font-size: clamp(1.5rem, 3vw, 3rem);
    line-height: 1.2;
}

/* Text Sizes */
.text-xs {
    font-size: 0.625rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

/* Text Utilities */
.uppercase {
    text-transform: uppercase;
}

.italic {
    font-style: italic;
}

.tracking-wide {
    letter-spacing: 0.2em;
}

.tracking-wider {
    letter-spacing: 0.25em;
}

.tracking-widest {
    letter-spacing: 0.4em;
}

.font-light {
    font-weight: 300;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* ==========================================================================
   4. Layout & Grid
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 3rem;
    }
}

/* Grid System */
.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-12 {
    grid-template-columns: repeat(12, 1fr);
}

/* Staggered Grid for Editorial Feel */
@media (min-width: 1024px) {
    .stagger-grid > div:nth-child(even) {
        margin-top: var(--space-3xl);
    }
}

/* Flex Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-4 {
    gap: var(--space-md);
}

.gap-6 {
    gap: var(--space-lg);
}

.gap-8 {
    gap: var(--space-xl);
}

.gap-12 {
    gap: var(--space-2xl);
}

/* ==========================================================================
   5. Components
   ========================================================================== */

/* --- Custom Cursor --- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: var(--radius-full);
    z-index: var(--z-cursor);
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-brand-dark);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(18, 26, 18, 0.5);
    transition: width var(--transition-fast), height var(--transition-fast), background-color var(--transition-fast);
}

body:hover .cursor-outline.hovered {
    width: 60px;
    height: 60px;
    background-color: rgba(18, 26, 18, 0.05);
    border-color: transparent;
    backdrop-filter: blur(2px);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    width: 100%;
    z-index: var(--z-sticky);
    transition: all var(--transition-slow);
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .navbar {
        padding: var(--space-xl) var(--space-2xl);
    }
}

.navbar.scrolled {
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

.navbar__logo {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    color: var(--color-brand-dark);
}

@media (min-width: 768px) {
    .navbar__logo {
        font-size: 1.875rem;
    }
}

.navbar__links {
    display: none;
    gap: var(--space-2xl);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 500;
    color: var(--color-brand-dark);
}

@media (min-width: 768px) {
    .navbar__links {
        display: flex;
    }
}

.navbar__link {
    position: relative;
    transition: color var(--transition-base);
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-brand-dark);
    transition: width var(--transition-base);
}

.navbar__link:hover::after {
    width: 100%;
}

/* --- Glass Effect --- */
.glass-effect {
    background: rgba(248, 246, 242, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(18, 26, 18, 0.05);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.btn--primary {
    background-color: var(--color-brand-dark);
    color: var(--color-bg-silk);
}

.btn--primary:hover {
    background-color: var(--color-brand-accent);
}

.btn--outline {
    border: 1px solid rgba(18, 26, 18, 0.2);
    background: transparent;
}

.btn--outline:hover {
    background-color: var(--color-brand-dark);
    color: var(--color-white);
}

.btn--large {
    padding: 1.5rem 4rem;
    font-size: 0.6875rem;
    letter-spacing: 0.4em;
    font-weight: 700;
    box-shadow: var(--shadow-xl);
}

/* Button Shine Effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: var(--transition-slow);
}

.btn-shine:hover::after {
    left: 150%;
    transition: 0.7s ease-in-out;
}

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.1s linear;
    display: inline-block;
    will-change: transform;
}

/* --- Mobile Order Button --- */
.mobile-order-btn {
    position: fixed;
    bottom: var(--space-md);
    left: var(--space-md);
    right: var(--space-md);
    z-index: var(--z-fixed);
    background-color: var(--color-brand-dark);
    color: var(--color-bg-silk);
    padding: var(--space-md);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .mobile-order-btn {
        display: none;
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__image {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    opacity: 0.9;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(18, 26, 18, 0.3), transparent, var(--color-bg-silk));
}

.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 var(--space-md);
    max-width: 80rem;
    margin: 0 auto;
}

.hero__subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .hero__subtitle {
        font-size: 0.875rem;
    }
}

.hero__title {
    color: var(--color-white);
    mix-blend-mode: overlay;
    margin-bottom: var(--space-2xl);
}

.hero__description {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    font-size: 1.125rem;
    max-width: 32rem;
    margin: 0 auto;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .hero__description {
        font-size: 1.25rem;
    }
}

.hero__line {
    height: 6rem;
    width: 1px;
    background: linear-gradient(to bottom, var(--color-white), transparent);
    margin: var(--space-xl) auto 0;
}

/* --- Section Styles --- */
.section {
    padding: var(--space-4xl) 0;
}

.section--white {
    background-color: var(--color-white);
}

.section--dark {
    background-color: var(--color-brand-dark);
    color: var(--color-bg-silk);
}

.section__header {
    margin-bottom: var(--space-3xl);
}

.section__subtitle {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(18, 26, 18, 0.75);
    margin-bottom: var(--space-sm);
    display: block;
}

/* --- Menu Items --- */
.menu-item {
    cursor: pointer;
}

.menu-item__image-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: var(--space-lg);
    position: relative;
}

.menu-item__badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 0.25rem 0.75rem;
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.menu-item__badge--sand {
    background-color: var(--color-brand-sand);
    color: var(--color-brand-dark);
}

.menu-item__badge--white {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
}

.menu-item__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--space-sm);
}

.menu-item__title {
    font-size: 1.875rem;
    font-family: var(--font-serif);
    font-style: italic;
    transition: color var(--transition-base);
}

.menu-item:hover .menu-item__title {
    color: var(--color-brand-accent);
}

.menu-item__price {
    font-size: 1.125rem;
    font-weight: 300;
}

.menu-item__description {
    color: rgba(18, 26, 18, 0.8);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.7;
}

/* --- Editorial Images --- */
.editorial-img {
    filter: saturate(1.2) contrast(1.05) sepia(0.1);
    transition: transform var(--transition-smooth), filter var(--transition-slow);
    will-change: transform;
}

.menu-item:hover .editorial-img {
    transform: scale(1.03);
    filter: saturate(1.3) contrast(1.1) sepia(0);
}

/* --- Parallax --- */
.parallax-wrapper {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.parallax-element {
    will-change: transform;
}

/* --- Hover Trigger Dot --- */
.hover-trigger {
    position: relative;
}

.hover-trigger::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background-color: var(--color-brand-accent);
    border-radius: var(--radius-full);
    transform: scale(0);
    transition: transform var(--transition-smooth);
    pointer-events: none;
}

.hover-trigger:hover::before {
    transform: scale(1);
}

/* --- Category Headers --- */
.category-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.category-header__title {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-brand-dark);
}

.category-header__subtitle {
    font-size: 1.5rem;
    color: rgba(18, 26, 18, 0.7);
    font-style: normal;
    margin-left: var(--space-sm);
}

.category-header__line {
    height: 1px;
    flex-grow: 1;
    background-color: rgba(18, 26, 18, 0.1);
}

/* --- Featured Item Card --- */
.featured-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border: 1px solid rgba(18, 26, 18, 0.05);
    box-shadow: var(--shadow-sm);
}

.featured-card__badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: var(--color-brand-dark);
    color: var(--color-white);
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

/* --- Dessert Item --- */
.dessert-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.dessert-item__image {
    width: 4rem;
    height: 4rem;
    overflow: hidden;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

/* --- Quote Section --- */
.quote-section {
    position: relative;
    overflow: hidden;
}

.quote-section__background {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

.quote-section__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.quote-section__content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 2.5rem;
    text-align: center;
}

.quote-section__icon {
    margin: 0 auto var(--space-2xl);
    color: var(--color-brand-accent);
}

.quote-section__text {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-family: var(--font-serif);
    font-style: italic;
    line-height: 1.3;
    margin-bottom: var(--space-2xl);
}

.quote-section__source {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Map --- */
.map-grayscale iframe {
    filter: grayscale(100%) contrast(1.1);
    transition: filter var(--transition-slow);
}

.map-grayscale:hover iframe {
    filter: grayscale(0%);
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-modal);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(18, 26, 18, 0.05);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
    padding: var(--space-lg) var(--space-xl);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner__content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .cookie-banner__content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.cookie-banner__title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.125rem;
    color: var(--color-brand-dark);
    margin-bottom: 0.25rem;
}

.cookie-banner__text {
    font-size: 0.875rem;
    color: rgba(18, 26, 18, 0.75);
    font-weight: 300;
    max-width: 42rem;
}

.cookie-banner__link {
    color: var(--color-brand-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-base);
}

.cookie-banner__link:hover {
    color: var(--color-brand-accent);
}

.cookie-banner__text-content {
    flex: 1;
}

.cookie-banner__buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 768px) {
    .cookie-banner__buttons {
        flex-wrap: nowrap;
    }
}

/* --- Cookie Overlay --- */
.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: calc(var(--z-modal) - 1);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.cookie-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* --- Cookie Settings Modal --- */
.cookie-modal,
.cookie-settings-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 480px;
    max-height: 85vh;
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(18, 26, 18, 0.1);
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    box-shadow: 
        0 0 0 1px rgba(18, 26, 18, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 50px 100px -20px rgba(0, 0, 0, 0.15);
    transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
}

.cookie-modal.visible,
.cookie-settings-modal.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.cookie-modal__header,
.cookie-settings__header {
    padding: var(--space-xl);
    border-bottom: 1px solid rgba(18, 26, 18, 0.1);
    background: linear-gradient(to bottom, rgba(18, 26, 18, 0.02), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal__title,
.cookie-settings__title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--color-brand-dark);
}

.cookie-modal__close,
.cookie-settings__close {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(18, 26, 18, 0.05);
    border-radius: 50%;
    cursor: pointer;
    color: rgba(18, 26, 18, 0.5);
    transition: all var(--transition-base);
    font-size: 1.5rem;
    line-height: 1;
}

.cookie-modal__close:hover,
.cookie-settings__close:hover {
    color: var(--color-brand-dark);
    background: rgba(18, 26, 18, 0.1);
}

.cookie-modal__body,
.cookie-settings__body {
    padding: var(--space-xl);
    background: #ffffff;
}

.cookie-settings__intro {
    font-size: 0.875rem;
    color: rgba(18, 26, 18, 0.7);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    padding: var(--space-md);
    background: rgba(18, 26, 18, 0.03);
    border-radius: 0.5rem;
    border-left: 3px solid var(--color-brand-accent);
}

.cookie-settings__content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cookie-category {
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    background: rgba(18, 26, 18, 0.02);
    border-radius: 0.75rem;
    border: 1px solid rgba(18, 26, 18, 0.06);
    transition: border-color var(--transition-base), background var(--transition-base);
}

.cookie-category:hover {
    border-color: rgba(18, 26, 18, 0.12);
    background: rgba(18, 26, 18, 0.03);
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.cookie-category__name {
    font-weight: 600;
    color: var(--color-brand-dark);
    font-size: 0.9375rem;
}

.cookie-category__description {
    font-size: 0.8125rem;
    color: rgba(18, 26, 18, 0.6);
    margin-top: var(--space-sm);
    line-height: 1.6;
}

/* --- Toggle Switch --- */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(18, 26, 18, 0.2);
    border-radius: 24px;
    transition: background-color var(--transition-base);
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform var(--transition-base);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--color-brand-accent);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

.toggle-switch input:disabled + .toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal__footer,
.cookie-settings__footer {
    padding: var(--space-lg) var(--space-xl);
    border-top: 1px solid rgba(18, 26, 18, 0.1);
    background: linear-gradient(to top, rgba(18, 26, 18, 0.02), transparent);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Cookie Category Label (Checkbox Toggle) */
.cookie-category__label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    flex: 1;
}

.cookie-category__toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    background-color: rgba(18, 26, 18, 0.2);
    border-radius: 24px;
    transition: background-color var(--transition-base);
}

.cookie-category__toggle::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform var(--transition-base);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.cookie-category-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-category-checkbox:checked + .cookie-category__toggle {
    background-color: var(--color-brand-accent);
}

.cookie-category-checkbox:checked + .cookie-category__toggle::before {
    transform: translateX(20px);
}

.cookie-category__toggle--disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: var(--color-brand-accent);
}

.cookie-category__toggle--disabled::before {
    transform: translateX(20px);
}

.cookie-category__badge {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(18, 26, 18, 0.08);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    color: rgba(18, 26, 18, 0.6);
}

/* --- Map Consent Placeholder --- */
.map-consent-placeholder {
    background: linear-gradient(135deg, rgba(18, 26, 18, 0.03) 0%, rgba(18, 26, 18, 0.08) 100%);
    border: 1px dashed rgba(18, 26, 18, 0.2);
    border-radius: 0.5rem;
    padding: var(--space-3xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.map-consent-placeholder__icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    opacity: 0.6;
}

.map-consent-placeholder__title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.125rem;
    color: var(--color-brand-dark);
    margin-bottom: var(--space-sm);
}

.map-consent-placeholder__text {
    font-size: 0.875rem;
    color: rgba(18, 26, 18, 0.65);
    margin-bottom: var(--space-xl);
    max-width: 300px;
}

/* --- Map Consent Overlay (für iframe) --- */
.map-consent-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 26, 18, 0.03) 0%, rgba(18, 26, 18, 0.08) 100%);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.map-consent-overlay__content {
    text-align: center;
    padding: var(--space-lg);
}

.map-consent-overlay__icon {
    display: block;
    margin: 0 auto var(--space-md);
    opacity: 0.5;
    color: var(--color-brand-dark);
}

.map-consent-overlay__text {
    font-size: 0.75rem;
    color: rgba(18, 26, 18, 0.65);
    margin-bottom: var(--space-md);
    line-height: 1.5;
    max-width: 240px;
}

.map-consent-overlay__btn {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(18, 26, 18, 0.2);
    background: white;
    color: var(--color-brand-dark);
    cursor: pointer;
    transition: all var(--transition-base);
    border-radius: 0.25rem;
}

.map-consent-overlay__btn:hover {
    background: var(--color-brand-dark);
    color: white;
    border-color: var(--color-brand-dark);
}

/* --- Footer --- */
.footer {
    padding: var(--space-4xl) 0;
    border-top: 1px solid rgba(18, 26, 18, 0.05);
    background-color: var(--color-bg-silk);
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(18, 26, 18, 0.05);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(18, 26, 18, 0.65);
}

@media (min-width: 768px) {
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

@media (min-width: 768px) {
    .footer__links {
        flex-direction: row;
        gap: var(--space-xl);
    }
}

.footer__link {
    transition: color var(--transition-base);
}

.footer__link:hover {
    color: var(--color-brand-dark);
}

.footer__link--button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    color: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
}

.footer__link--brand:hover {
    color: var(--color-brand-accent);
}

/* ==========================================================================
   6. Animations & Effects
   ========================================================================== */

/* Line Reveal Animation - Text sichtbar by default (CSS-First Approach) */
.reveal-text {
    position: relative;
    display: block;
}

/* Text ist standardmäßig sichtbar - Animation nur wenn JS aktiv */
.reveal-text span {
    display: block;
    transform: translateY(0);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Nur wenn JS geladen und Animation gewünscht */
.js-loaded .reveal-text:not(.is-visible) span {
    transform: translateY(100%);
}

.js-loaded .reveal-text.is-visible span,
.reveal-text.is-visible span {
    transform: translateY(0);
}

/* Fade Animations (for AOS fallback) */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==========================================================================
   7. Utilities
   ========================================================================== */

/* Visibility */
.hidden {
    display: none;
}

.invisible {
    visibility: hidden;
}

/* Tailwind-equivalent Utilities (added to replace CDN) */

/* Spacing - Margins */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-4 { margin-bottom: var(--space-md); }
.mb-6 { margin-bottom: var(--space-lg); }
.mb-8 { margin-bottom: var(--space-xl); }
.mb-12 { margin-bottom: var(--space-2xl); }
.mb-20 { margin-bottom: 5rem; }
.mb-24 { margin-bottom: 6rem; }
.mb-32 { margin-bottom: 8rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-8 { margin-top: var(--space-xl); }
.mt-12 { margin-top: var(--space-2xl); }
.mt-32 { margin-top: 8rem; }

.ml-0\.5 { margin-left: 0.125rem; }

.-bottom-12 { bottom: -3rem; }
.-left-12 { left: -3rem; }

/* Spacing - Padding */
.p-8 { padding: var(--space-xl); }
.p-12 { padding: var(--space-2xl); }
.px-4 { padding-left: var(--space-md); padding-right: var(--space-md); }
.py-2 { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.pb-2 { padding-bottom: var(--space-sm); }
.pb-8 { padding-bottom: var(--space-xl); }
.pl-6 { padding-left: var(--space-lg); }

/* Gap */
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: var(--space-md); }
.gap-6 { gap: var(--space-lg); }
.gap-8 { gap: var(--space-xl); }
.gap-12 { gap: var(--space-2xl); }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }
.gap-x-8 { column-gap: var(--space-xl); }
.gap-x-16 { column-gap: 4rem; }
.gap-y-12 { row-gap: var(--space-2xl); }
.gap-y-20 { row-gap: 5rem; }

/* Space between */
.space-y-4 > * + * { margin-top: var(--space-md); }
.space-y-6 > * + * { margin-top: var(--space-lg); }
.space-y-8 > * + * { margin-top: var(--space-xl); }
.space-y-12 > * + * { margin-top: var(--space-2xl); }

/* Width & Height */
.w-4 { width: 1rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-48 { width: 12rem; }
.w-full { width: 100%; }
.h-4 { height: 1rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-48 { height: 12rem; }
.h-full { height: 100%; }
.h-\[120\%\] { height: 120%; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

/* Grid */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Text Colors - Improved Contrast for Accessibility */
.text-white { color: var(--color-white); }
.text-accent { color: var(--color-brand-accent); }
.text-muted { color: rgba(18, 26, 18, 0.75); }
.text-muted-light { color: rgba(18, 26, 18, 0.65); }
.text-\[\#121A12\] { color: #121A12; }
.text-\[\#121A12\]\/80 { color: rgba(18, 26, 18, 0.85); }
.text-\[\#121A12\]\/75 { color: rgba(18, 26, 18, 0.8); }
.text-\[\#121A12\]\/70 { color: rgba(18, 26, 18, 0.75); }
.text-\[\#121A12\]\/60 { color: rgba(18, 26, 18, 0.7); }

/* Background Colors */
.bg-white { background-color: var(--color-white); }
.bg-silk { background-color: var(--color-bg-silk); }
.bg-dark { background-color: var(--color-brand-dark); }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-\[\#F8F6F2\] { background-color: #F8F6F2; }
.bg-\[\#121A12\] { background-color: #121A12; }

/* Borders */
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom: 1px solid rgba(18, 26, 18, 0.1); }
.border-l-2 { border-left: 2px solid rgba(18, 26, 18, 0.2); }
.border-accent { border-color: var(--color-brand-accent); }
.border-\[\#121A12\]\/5 { border-color: rgba(18, 26, 18, 0.05); }
.border-\[\#121A12\]\/10 { border-color: rgba(18, 26, 18, 0.1); }
.border-\[\#121A12\]\/20 { border-color: rgba(18, 26, 18, 0.2); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-full { border-radius: var(--radius-full); }

/* Typography */
.text-xs { font-size: 0.625rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-5xl { font-size: 3rem; }
.font-serif { font-family: var(--font-serif); }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }
.not-italic { font-style: normal; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.2em; }
.tracking-wider { letter-spacing: 0.25em; }
.tracking-widest { letter-spacing: 0.4em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.leading-loose { line-height: 2; }
.leading-relaxed { line-height: 1.625; }
.underline { text-decoration: underline; }

/* Text Alignment */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* Layout */
.block { display: block; }
.inline-block { display: inline-block; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-\[9999\] { z-index: 9999; }
.overflow-hidden { overflow: hidden; }

/* Aspect Ratios */
.aspect-4-3 { aspect-ratio: 4 / 3; }
.aspect-4-5 { aspect-ratio: 4 / 5; }
.aspect-video { aspect-ratio: 16 / 9; }

/* Object Fit */
.object-cover { object-fit: cover; }
.object-center { object-position: center; }

/* Effects */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.grayscale { filter: grayscale(100%); }
.opacity-90 { opacity: 0.9; }

/* Transitions */
.transition-all { transition-property: all; transition-timing-function: ease; transition-duration: 0.3s; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: ease; transition-duration: 0.3s; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: ease; transition-duration: 0.3s; }
.duration-500 { transition-duration: 0.5s; }

/* Hover States */
.hover\:text-accent:hover { color: var(--color-brand-accent); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:shadow-md:hover { box-shadow: var(--shadow-md); }
.hover\:border-accent:hover { border-color: var(--color-brand-accent); }
.group:hover .group-hover\:text-accent { color: var(--color-brand-accent); }
.group:hover .group-hover\:border-accent { border-color: var(--color-brand-accent); }

/* Focus States */
.focus\:not-sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}
.focus\:absolute:focus { position: absolute; }
.focus\:top-4:focus { top: 1rem; }
.focus\:left-4:focus { left: 1rem; }
.focus\:z-\[9999\]:focus { z-index: 9999; }
.focus\:px-4:focus { padding-left: 1rem; padding-right: 1rem; }
.focus\:py-2:focus { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.focus\:bg-\[\#121A12\]:focus { background-color: #121A12; }
.focus\:text-white:focus { color: white; }

/* Antialiased text */
.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection colors */
.selection\:bg-\[\#121A12\]::selection { background-color: #121A12; }
.selection\:text-\[\#F8F6F2\]::selection { color: #F8F6F2; }

/* Smooth scroll */
.scroll-smooth { scroll-behavior: smooth; }

/* Pointer events */
.pointer-events-none { pointer-events: none; }

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   8. Media Queries
   ========================================================================== */

/* Hide on mobile */
@media (max-width: 767px) {
    .md\:hidden {
        display: none;
    }
}

/* Show on tablet and up */
@media (min-width: 768px) {
    .md\:block {
        display: block;
    }
    
    .md\:flex {
        display: flex;
    }
    
    .md\:inline-block {
        display: inline-block;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .md\:col-span-2 {
        grid-column: span 2;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .lg\:block {
        display: block;
    }
    
    .lg\:flex {
        display: flex;
    }
    
    .lg\:hidden {
        display: none;
    }
    
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .lg\:grid-cols-12 {
        grid-template-columns: repeat(12, 1fr);
    }
    
    .lg\:col-span-5 {
        grid-column: span 5;
    }
    
    .lg\:col-span-6 {
        grid-column: span 6;
    }
    
    .lg\:col-start-2 {
        grid-column-start: 2;
    }
}

/* ==========================================================================
   9. Accessibility
   ========================================================================== */

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-brand-accent);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
    
    body {
        cursor: auto !important;
    }
    
    .parallax-element {
        transform: none !important;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --color-brand-dark: #000000;
        --color-bg-silk: #ffffff;
    }
    
    .menu-item__description,
    .section__subtitle {
        color: var(--color-brand-dark);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .mobile-order-btn,
    .cookie-banner,
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-xl) 0;
    }
    
    body {
        background: white;
        color: black;
    }
}
