/*
Theme Name: Bellini Eckernförde
Author: Bear IT Solutions
Author URI: https://bear-it-solutions.io
Version: 2.0.0
*/

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
    --bg:        #0d0d0d;
    --surface:   #161616;
    --surface-2: #1e1e1e;
    --border:    rgba(214, 187, 138, 0.12);
    --gold:      #d6bb8a;
    --gold-2:    #b8975e;
    --gold-3:    #efe0c0;
    --text:      #f0ece4;
    --muted:     #9a9080;
    --radius:    20px;
    --shadow:    0 20px 60px rgba(0,0,0,.5);
    --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── Base Reset ─────────────────────────────────────────────── */
*, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Merchant';
    src: url('./Merchant-Light.ttf');
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--text);
    background: var(--bg);
    font-family: Merchant, Georgia, serif;
    overflow-x: hidden;
}

p {
    padding: 10px 0;
    margin: 0;
    line-height: 1.7;
    color: var(--muted);
}

h1, h2, h3, h4 {
    color: var(--text);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    padding-bottom: 15px;
    letter-spacing: -0.02em;
}

a {
    color: var(--gold);
    text-decoration: none;
    background-image: linear-gradient(var(--gold), var(--gold));
    background-size: 0% 1px;
    background-position-y: 100%;
    background-position-x: 50%;
    background-repeat: no-repeat;
    transition: background-size 0.3s var(--transition), color 0.2s ease;
}

a:hover, a:focus, a:active {
    color: var(--gold-3);
    background-size: 100% 1px;
}

/* ─── Header ─────────────────────────────────────────────────── */
header {
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    height: 90px;
    line-height: 90px;
    width: 100%;
    background: transparent;
    color: #fff;
    z-index: 999;
    transition: background 0.4s ease, height 0.3s ease;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    height: 60px;
    line-height: 60px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.nav ul {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav ul li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.8);
}

.nav ul li a:hover {
    color: var(--gold);
}

.shrink {
    height: 60px;
    line-height: 60px;
    background: rgba(10,10,10,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
}

.normal {
    height: 90px;
    line-height: 90px;
    transition: all 0.3s ease;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    z-index: -2;
    position: absolute;
    inset: 0;
    background: url("../images/background-test.JPG");
    background-position: center center;
    background-size: cover;
    filter: brightness(0.4) saturate(0.8);
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero::after {
    content: "";
    z-index: -1;
    position: absolute;
    inset: 0;
    background:
            linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, transparent 30%, transparent 60%, rgba(0,0,0,0.7) 100%),
            radial-gradient(ellipse at 50% 40%, rgba(214,187,138,0.06) 0%, transparent 70%);
}

.hero.loaded::before {
    transform: scale(1);
}

.hero__logo {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.2s var(--transition) 0.3s forwards;
    filter: drop-shadow(0 4px 24px rgba(0,0,0,0.6));
}

.hero__eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s var(--transition) 0.6s forwards;
}

@media (max-width: 768px) {
    .hero__logo {
        max-width: 75vw;
    }
}

/* ─── Button Bar ─────────────────────────────────────────────── */
.button-bar {
    position: absolute;
    bottom: 48px;
    width: 300px;
    left: 0;
    right: 0;
    margin: auto;
    gap: 12px;
    opacity: 0;
    animation: fadeUp 1s var(--transition) 1.1s forwards;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: Merchant, serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.gold {
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
}

.gold:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ─── Layout ─────────────────────────────────────────────────── */
.content {
    text-align: center;
    margin: auto;
    max-width: 900px;
    width: 90%;
}

.section {
    padding: clamp(60px, 8vw, 140px) 20px;
    font-size: 18px;
}

.section + .section {
    border-top: 1px solid var(--border);
}

section {
    max-width: 1300px;
    margin: auto;
    padding: 35px 7%;
    text-align: center;
}

/* ─── Scroll Reveal Animations ───────────────────────────────── */

/* Auf statischen Seiten (Impressum, Datenschutz etc.) alles sofort sichtbar */
.no-animate .reveal,
.no-animate .reveal-left,
.no-animate .reveal-right,
.no-animate .stagger-children > *,
.no-animate .js .reveal,
.no-animate .js .reveal-left,
.no-animate .js .reveal-right,
.no-animate .js .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
}

.no-animate .section .title::after,
.no-animate .js .section .title::after {
    width: 80px !important;
    transition: none !important;
}

.js .reveal {
    opacity: 0;
    will-change: opacity;
    transition: opacity 0.7s ease;
}
.reveal.visible {
    opacity: 1 !important;
    will-change: auto;
}

.js .reveal-left {
    opacity: 0;
    transform: translate3d(-50px, 0, 0);
    will-change: opacity, transform;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    will-change: auto;
}

.js .reveal-right {
    opacity: 0;
    transform: translate3d(50px, 0, 0);
    will-change: opacity, transform;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    will-change: auto;
}

.js .stagger-children > * {
    opacity: 0;
    will-change: opacity;
    transition: opacity 0.5s ease;
}

.stagger-children.visible > *:nth-child(1)  { transition-delay: 0.04s; }
.stagger-children.visible > *:nth-child(2)  { transition-delay: 0.08s; }
.stagger-children.visible > *:nth-child(3)  { transition-delay: 0.12s; }
.stagger-children.visible > *:nth-child(4)  { transition-delay: 0.16s; }
.stagger-children.visible > *:nth-child(5)  { transition-delay: 0.20s; }
.stagger-children.visible > *:nth-child(6)  { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(7)  { transition-delay: 0.28s; }
.stagger-children.visible > *:nth-child(8)  { transition-delay: 0.32s; }
.stagger-children.visible > *:nth-child(9)  { transition-delay: 0.36s; }

.stagger-children.visible > * {
    opacity: 1 !important;
    will-change: auto;
}

/* ─── Goldene Trennlinie ──────────────────────────────────────── */
.gold-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 2rem;
    opacity: 0;
    transition: opacity 0.8s ease 0.3s, width 0.8s ease 0.3s;
}

.reveal.visible ~ .gold-divider,
.gold-divider.visible {
    opacity: 1;
    width: 120px;
}

/* ─── Announcement Card ──────────────────────────────────────── */
.menu-announcement {
    padding: clamp(16px, 3vw, 28px);
}

.menu-card {
    margin: 0 auto;
    max-width: 900px;
    padding: clamp(32px, 5vw, 72px);
    border-radius: var(--radius);
    box-shadow: var(--shadow), 0 0 0 1px rgba(214,187,138,0.2);
    color: #2b2314;
    background:
            radial-gradient(1200px 400px at 10% -20%, rgba(255,255,255,.22), transparent 55%),
            linear-gradient(135deg, #dcc89e 0%, var(--gold) 40%, var(--gold-2) 100%);
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.2), transparent 40%);
    pointer-events: none;
    border-radius: inherit;
}

.menu-card::after {
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
    pointer-events: none;
}

.menu-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .75rem;
    font-weight: 700;
    padding: .3rem .75rem;
    border-radius: 999px;
    background: rgba(0,0,0,.1);
    color: #3b2f1b;
    margin-bottom: .75rem;
}

.menu-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.1;
    margin: 0 0 .75rem 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.menu-text {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin: 0 0 1.25rem 0;
    color: #3b2f1b;
}

.menu-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(43,35,20,.0), rgba(43,35,20,.4), rgba(43,35,20,.0));
    margin: 1rem 0 1.25rem 0;
}

.menu-sub {
    font-size: clamp(.9rem, 1.5vw, 1.1rem);
    color: #3b2f1b;
    margin: 0;
}

.menu-announcement + * { margin-top: 16px; }

/* ─── Preorder Section ───────────────────────────────────────── */
.preorder {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem !important;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.preorder::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.preorder h2 {
    margin-top: 0;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.preorder p {
    margin: 0.75rem 0 1.25rem;
    color: var(--muted);
}

/* ─── Parallax Section ───────────────────────────────────────── */
#paralax {
    position: relative;
    background: url("../images/paralax.jpg") no-repeat 0 50%;
    background-size: cover;
    background-attachment: scroll;
    padding: 120px 0;
}

#paralax::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

#paralax > * {
    position: relative;
    z-index: 2;
}

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
    #paralax {
        background: url("../images/paralax.jpg") no-repeat center center fixed;
        background-size: cover;
    }
}

#paralax .title {
    color: var(--gold);
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.js #paralax .content,
.js #paralax .section {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 1s ease, transform 1s ease;
}

#paralax .content.visible,
#paralax .section.visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

.js #paralax .title::after {
    width: 0;
    transition: width 1.2s ease 0.4s;
}

#paralax.in-view .title::after {
    width: 80px;
}

/* ─── Gallery ────────────────────────────────────────────────── */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 4px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transform: translateZ(0);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    transform: translateZ(0);
}

.gallery-item::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.45), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.06) translateZ(0);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ─── Opening Hours ──────────────────────────────────────────── */
.opening-hours {
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.opening-hours h2 {
    margin-bottom: 20px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hours-item:hover {
    transform: translateX(4px);
    background: var(--surface-2);
    border-color: rgba(214,187,138,0.25);
}

.hours-item .day {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    letter-spacing: 0.03em;
}

.hours-item .time {
    font-size: 0.95rem;
    color: var(--muted);
}

.current-day {
    background: rgba(214,187,138,0.08) !important;
    border-color: rgba(214,187,138,0.4) !important;
}

.current-day .day {
    color: var(--gold) !important;
}

.current-day .time {
    color: var(--gold-3) !important;
}

.inactive {
    opacity: 0.5;
}

/* ─── Lokale Cards ───────────────────────────────────────────── */
.lokale-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.lokale-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--transition), box-shadow 0.3s ease, border-color 0.3s ease;
}

.lokale-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214,187,138,0.3), transparent);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.lokale-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
    border-color: rgba(214,187,138,0.3);
}

.lokale-card:hover::before {
    opacity: 1;
}

.lokale-card .lokale-text {
    max-width: 42ch;
    margin-inline: auto;
    text-align: center;
    line-height: 1.6;
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    color: var(--muted);
}

.lokale-card .lokale-actions {
    display: flex;
    margin-top: 2rem;
    justify-content: center;
}

@media (max-width: 900px) {
    .lokale-grid { grid-template-columns: 1fr; }
}

.btn--white {
    background: transparent;
    color: var(--gold);
    border: 1px solid rgba(214,187,138,0.4);
    border-radius: 8px;
    padding: .85rem 1.8rem;
    font-family: Merchant, serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    background-image: none;
}

.btn--white:hover {
    background: rgba(214,187,138,0.1);
    border-color: var(--gold);
    color: var(--gold-3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ─── Mobile Top Bar ─────────────────────────────────────────── */
.mobile-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 9999;
    background: transparent;
    transition: background 0.3s ease;
}

.mobile-bar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.mobile-bar__contacts {
    display: flex;
    gap: 20px;
    align-items: center;
}

.mobile-bar__contacts a {
    display: flex;
    align-items: center;
    background-image: none;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.mobile-bar__contacts a:hover {
    opacity: 1;
}

/* ─── Burger Button ──────────────────────────────────────────── */
.burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10000;
    position: relative;
}

.burger__line {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.35s ease, opacity 0.2s ease;
}

.burger.is-open .burger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger.is-open .burger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.burger.is-open .burger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile Menu Overlay ────────────────────────────────────── */
#mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(8, 8, 8, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

#mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 80px 40px 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.mobile-menu__logo img {
    opacity: 0.9;
}

.mobile-menu__links {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu__links li {
    border-bottom: 1px solid var(--border);
}

.mobile-menu__links li:first-child {
    border-top: 1px solid var(--border);
}

.mobile-menu__links a {
    display: block;
    padding: 18px 0;
    font-size: 1.3rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    background-image: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-menu__links a:hover {
    color: var(--gold);
    padding-left: 8px;
    background-size: 0;
}

#mobile-menu.is-open .mobile-menu__links li {
    animation: menuItemIn 0.4s ease forwards;
    opacity: 0;
}
#mobile-menu.is-open .mobile-menu__links li:nth-child(1) { animation-delay: 0.15s; }
#mobile-menu.is-open .mobile-menu__links li:nth-child(2) { animation-delay: 0.20s; }
#mobile-menu.is-open .mobile-menu__links li:nth-child(3) { animation-delay: 0.25s; }
#mobile-menu.is-open .mobile-menu__links li:nth-child(4) { animation-delay: 0.30s; }
#mobile-menu.is-open .mobile-menu__links li:nth-child(5) { animation-delay: 0.35s; }

@keyframes menuItemIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.mobile-menu__divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.mobile-menu__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.mobile-menu__contacts a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.9rem;
    background-image: none;
    transition: color 0.2s ease;
}

.mobile-menu__contacts a:hover {
    color: var(--gold);
    background-size: 0;
}

.mobile-menu__social {
    display: flex;
    gap: 24px;
    align-items: center;
}

.mobile-menu__social a {
    background-image: none;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-menu__social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.contact-info {
    display: none;
}

@media (min-width: 1400px) {
    .contact-info { display: inline-flex; }
}

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
    background: var(--bg);
    color: var(--muted);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

footer p {
    height: 35px;
    line-height: 35px;
    font-size: 0.85rem;
}

/* ─── Anfahrt ────────────────────────────────────────────────── */
.img-thumbnail {
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-thumbnail:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* ─── Privacy ────────────────────────────────────────────────── */
.privacy-list {
    list-style: none;
}

.privacy-list li {
    padding-bottom: 25px;
}

/* ─── Keyframe Animations ────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse-line {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50%       { opacity: 1;   transform: scaleY(1.1); }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ─── Title Ornament ─────────────────────────────────────────── */
.title {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--text);
}

.title + p,
.title + p + p {
    color: var(--muted);
}

.section .title::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-2), var(--gold));
    margin: 16px auto 0;
    border-radius: 2px;
}

.js .section .title::after {
    width: 0;
    transition: width 1.2s ease 0.4s;
}

.section.visible .title::after,
.section .title.visible::after {
    width: 80px;
}

/* ─── Spargelkarte Popup ─────────────────────────────────────── */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-end; /* Mobile: von unten */
    justify-content: center;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    overscroll-behavior: contain;
}

@media (min-width: 600px) {
    .popup-overlay {
        align-items: center;
        padding: 20px;
    }
}

.popup-overlay.is-visible {
    opacity: 1;
    pointer-events: all;
}

.popup-overlay.is-hidden {
    display: none;
}

.popup-card {
    position: relative;
    background: var(--surface);
    border: 1px solid rgba(214, 187, 138, 0.25);
    border-radius: var(--radius) var(--radius) 0 0; /* Mobile: Sheet von unten */
    padding: 24px 20px 32px;
    max-width: 520px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain; /* verhindert Hintergrund-Scroll */
    text-align: center;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.5);
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}

@media (min-width: 600px) {
    .popup-card {
        border-radius: var(--radius);
        padding: clamp(28px, 5vw, 48px);
        box-shadow: 0 32px 80px rgba(0,0,0,0.6);
        transform: translateY(30px) scale(0.97);
        transition: transform 0.4s var(--transition);
        max-height: 90vh;
    }
}

.popup-overlay.is-visible .popup-card {
    transform: translateY(0) scale(1);
}

/* Drag-Handle auf Mobile */
.popup-card::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    margin: 0 auto 20px;
}

@media (min-width: 600px) {
    .popup-card::before {
        display: none;
    }
    /* Gold-Linie oben nur auf Desktop */
    .popup-card::after {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
        border-radius: var(--radius) var(--radius) 0 0;
    }
}

.popup-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.popup-card::after {
    content: "";
    position: absolute;
    bottom: -40px; right: -40px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214,187,138,0.06), transparent 70%);
    pointer-events: none;
}

.popup-overlay.is-visible .popup-card {
    transform: translateY(0) scale(1);
}

.popup-close {
    position: absolute;
    top: 16px; right: 20px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
    font-family: Georgia, serif;
}

.popup-close:hover {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}

.popup-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.popup-spargel-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.popup-title {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    padding-bottom: 0;
    margin-bottom: 0.25rem;
}

.popup-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    text-transform: uppercase;
    padding: 0; margin: 0;
}

.popup-divider {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.25rem auto;
}

.popup-text {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    padding: 0;
    margin-bottom: 2rem;
}

.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 10px;
    font-family: Merchant, serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    background-image: none;
}

.popup-btn--primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
    color: #1a1209;
    border: none;
    font-weight: 700;
}

.popup-btn--primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(214,187,138,0.25);
    color: #1a1209;
}

.popup-btn--ghost {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
}

.popup-btn--ghost:hover {
    color: var(--text);
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.04);
}

/* ── Popup Menüliste ───────────────────────────────────────── */
.popup-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
    width: 100%;
}

.popup-menu__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.popup-menu__item:first-child {
    border-top: 1px solid var(--border);
}

.popup-menu__name {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.4;
    flex: 1;
}

.popup-menu__price {
    color: var(--gold);
    font-size: 1rem;
    white-space: nowrap;
    font-weight: 600;
}

/* ─── Responsive Adjustments ─────────────────────────────────── */
@media (max-width: 768px) {
    .hero::before {
        background-position: 40% 20%;
    }

    .button-bar {
        flex-direction: column;
        width: 85vw;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    section {
        padding: 30px 5%;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .hero::before {
        background-position: 40% 20%;
    }
}