/* ============================================
   RESTAURANT WEBSWEILER HOF - Global Styles
   Aesthetic: Refined Rustic Luxury
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Raleway:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --color-bg: #FAF7F2;
    --color-bg-alt: #F0EBE3;
    --color-bg-dark: #1A1612;
    --color-bg-dark-alt: #2A241E;
    --color-text: #3D3528;
    --color-text-light: #8A7E6E;
    --color-text-on-dark: #F0EBE3;
    --color-accent: #8B6914;
    --color-accent-light: #C49B2A;
    --color-accent-dark: #6B4F0E;
    --color-gold: #C4A44A;
    --color-gold-light: #DBC47A;
    --color-border: #D6CCBA;
    --color-border-light: #E8E0D2;
    --color-white: #FFFFFF;
    --color-overlay: rgba(26, 22, 18, 0.65);
    --color-overlay-heavy: rgba(26, 22, 18, 0.82);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Lora', Georgia, serif;
    --font-sans: 'Raleway', 'Segoe UI', sans-serif;

    --container-max: 1200px;
    --container-narrow: 900px;
    --container-wide: 1400px;
    --header-height: 90px;
    --section-spacing: 120px;
    --border-radius: 4px;
    --transition: 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-light); }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.25; color: var(--color-text); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1em; }
.lead { font-size: 1.15rem; color: var(--color-text-light); line-height: 1.8; }

/* --- Utility --- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }
.text-center { text-align: center; }
.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; }

/* --- Announcement Banner --- */
.announcement-banner {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    text-align: center;
    padding: 0.6rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}
body:has(.announcement-banner) .site-header {
    top: 2.2rem;
}
body:has(.announcement-banner) .hero {
    padding-top: 2.2rem;
}
.announcement-banner p {
    margin: 0;
}
.announcement-banner a {
    color: var(--color-bg-dark);
    text-decoration: underline;
    font-weight: 600;
}
.announcement-banner a:hover {
    color: var(--color-white);
}

/* --- Section Heading --- */
.section-label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1rem;
}
.section-heading {
    margin-bottom: 1.5rem;
}
.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-gold);
    margin-top: 1.2rem;
}
.section-heading.text-center::after {
    margin-left: auto;
    margin-right: auto;
}
.section-intro {
    max-width: 640px;
    margin-bottom: 3rem;
}
.section-intro.text-center {
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2.4rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
}
.btn--primary:hover {
    background: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 105, 20, 0.3);
}
.btn--outline {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}
.btn--outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}
.btn--outline-light {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline-light:hover {
    background: var(--color-white);
    color: var(--color-bg-dark);
    transform: translateY(-2px);
}
.btn--dark {
    background: var(--color-bg-dark);
    color: var(--color-text-on-dark);
}
.btn--dark:hover {
    background: var(--color-bg-dark-alt);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    height: var(--header-height);
}
.site-header--transparent {
    background: transparent;
}
.site-header--scrolled {
    background: rgba(26, 22, 18, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.2);
    height: 72px;
}
.header-inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-white);
    flex-shrink: 0;
}
.logo-icon {
    width: 42px;
    height: 42px;
}
.logo-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--color-gold);
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.logo-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-white);
}
.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-top: 2px;
}

/* Main Navigation */
.main-nav { display: flex; align-items: center; }
.nav-list {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    align-items: center;
}
.nav-link {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition);
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}
.nav-link:hover,
.nav-link--active {
    color: var(--color-white);
    background: rgba(255,255,255,0.08);
}
.nav-link--active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--color-gold);
    border-radius: 1px;
}
.nav-cta {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-bg-dark);
    background: var(--color-gold);
    padding: 0.6rem 1.4rem;
    border-radius: var(--border-radius);
    margin-left: 0.8rem;
    transition: all var(--transition);
    text-decoration: none;
}
.nav-cta:hover {
    background: var(--color-gold-light);
    color: var(--color-bg-dark);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}
.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-white);
    margin: 6px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero--subpage {
    min-height: 55vh;
}
.hero--subpage .hero-content {
    padding-top: 4rem;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(26,22,18,0.3) 0%,
        rgba(26,22,18,0.15) 40%,
        rgba(26,22,18,0.55) 100%
    );
}
.hero--subpage .hero-bg::after {
    background: var(--color-overlay-heavy);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: 0 2rem;
    max-width: 800px;
}
.hero-label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.hero-label::before,
.hero-label::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--color-gold);
}
.hero h1 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.hero h1 em {
    font-style: italic;
    color: var(--color-gold-light);
}
.hero-text {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}
.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}
@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.section {
    padding: var(--section-spacing) 0;
}
.section--dark {
    background: var(--color-bg-dark);
    color: var(--color-text-on-dark);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--color-white);
}
.section--dark .section-label {
    color: var(--color-gold);
}
.section--dark .section-heading::after {
    background: var(--color-gold);
}
.section--alt {
    background: var(--color-bg-alt);
}
.section--cream {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

/* --- Two Column Layout --- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.two-col--reverse .two-col__content { order: -1; }
.two-col__image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-bg-alt);
}
.two-col__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.two-col__image-accent {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-gold);
    border-radius: var(--border-radius);
    z-index: -1;
}

/* --- Feature Cards --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.feature-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: var(--color-gold);
}
.section--dark .feature-card {
    background: var(--color-bg-dark-alt);
    border-color: rgba(255,255,255,0.08);
}
.section--dark .feature-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    font-size: 1.4rem;
}
.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}
.feature-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}
.section--dark .feature-card p {
    color: rgba(240,235,227,0.65);
}

/* Feature Cards with Images */
.feature-card--with-image {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.feature-card--with-image .feature-card__content {
    padding: 2.5rem 2rem;
    flex: 1;
}
.feature-card--with-image .feature-card__image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.feature-card--with-image .feature-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.feature-card--with-image:hover .feature-card__image img {
    transform: scale(1.05);
}

/* --- Highlight Banner --- */
.highlight-banner {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
}
.highlight-banner .hero-bg::after {
    background: var(--color-overlay-heavy);
}
.highlight-banner-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
}
.highlight-banner h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}
.highlight-banner p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

/* --- Speisekarte Styles --- */
.menu-category {
    margin-bottom: 3.5rem;
}
.menu-category-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-gold);
    display: inline-block;
}
.menu-category-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}
.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--color-border-light);
}
.menu-item:last-child {
    border-bottom: none;
}
.menu-item-info {
    flex: 1;
}
.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}
.menu-item-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}
.menu-item-price {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-accent);
    white-space: nowrap;
}
.menu-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    justify-content: center;
}
.menu-tab {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition);
}
.menu-tab:hover,
.menu-tab.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* --- Team Styles --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}
.team-card {
    text-align: center;
}
.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--color-gold);
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-text-light);
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}
.team-role {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}
.team-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    max-width: 320px;
    margin: 0 auto;
}

/* --- Events Timeline --- */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.event-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    padding: 2rem;
    background: var(--color-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition);
    align-items: center;
}
.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-color: var(--color-gold);
}
.event-date {
    text-align: center;
    padding: 1rem;
    background: var(--color-bg-dark);
    border-radius: var(--border-radius);
    color: var(--color-white);
}
.event-date-day {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1;
}
.event-date-month {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-top: 0.3rem;
}
.event-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}
.event-info p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}
.event-info-meta {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* --- Wedding / Hochzeit --- */
.wedding-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.wedding-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.wedding-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 1.2rem;
}
.wedding-feature h4 {
    margin-bottom: 0.3rem;
}
.wedding-feature p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- Gallery / Impressionen --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--border-radius);
    position: relative;
    cursor: pointer;
    background: var(--color-bg-alt);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img {
    transform: scale(1.06);
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26,22,18,0);
    transition: background 0.4s ease;
}
.gallery-item:hover::after {
    background: rgba(26,22,18,0.15);
}
.gallery-item--wide {
    grid-column: span 2;
}
.gallery-item--tall {
    grid-row: span 2;
    aspect-ratio: auto;
}
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-text-light);
    background: linear-gradient(135deg, var(--color-bg-alt), var(--color-border-light));
}

/* --- Contact / Kontakt --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 1.1rem;
}
.contact-info-item h4 {
    margin-bottom: 0.2rem;
    font-size: 1rem;
}
.contact-info-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.form-group label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
}
.form-group input,
.form-group textarea,
.form-group select {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background: var(--color-white);
    color: var(--color-text);
    transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-accent);
}
.form-group textarea {
    min-height: 140px;
    resize: vertical;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
.map-container {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--color-bg-alt);
    margin-top: 3rem;
    border: 1px solid var(--color-border-light);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* --- Legal Pages (Impressum, Datenschutz) --- */
.legal-content {
    line-height: 1.8;
}
.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border-light);
}
.legal-content h2:first-child {
    margin-top: 0;
}
.legal-content h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.legal-content h4 {
    font-size: 1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}
.legal-content p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}
.legal-content ul {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}
.legal-content li {
    margin-bottom: 0.5rem;
}
.legal-content a {
    color: var(--color-accent);
}
.legal-block {
    margin-bottom: 2rem;
}

/* --- Opening Hours --- */
.hours-table {
    width: 100%;
    border-collapse: collapse;
}
.hours-table tr {
    border-bottom: 1px solid var(--color-border-light);
}
.hours-table tr:last-child {
    border-bottom: none;
}
.hours-table td {
    padding: 0.75rem 0;
    font-size: 0.95rem;
}
.hours-table td:first-child {
    font-weight: 500;
}
.hours-table td:last-child {
    text-align: right;
    color: var(--color-text-light);
}
.hours-table .closed td:last-child {
    color: #B85C5C;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-bg-dark);
    color: var(--color-text-on-dark);
    padding: 5rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-name { font-size: 1.4rem; }
.footer-brand p {
    color: rgba(240,235,227,0.6);
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.7;
}
.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.footer-links a {
    color: rgba(240,235,227,0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--color-white);
}
.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(240,235,227,0.6);
    font-size: 0.9rem;
}
.footer-contact-item span:first-child {
    color: var(--color-gold);
    min-width: 20px;
}
.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: rgba(240,235,227,0.4);
}
.footer-bottom a {
    color: rgba(240,235,227,0.4);
}
.footer-bottom a:hover {
    color: var(--color-gold);
}
.footer-legal {
    display: flex;
    gap: 1.5rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root { --section-spacing: 80px; }
    .two-col { gap: 3rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .wedding-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --section-spacing: 60px; --header-height: 72px; }

    .menu-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(26,22,18,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
    }
    .main-nav.active { right: 0; }
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    .nav-link {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
        padding: 0.8rem 2rem;
    }

    .hero { min-height: 90vh; }
    .hero--subpage { min-height: 45vh; }
    .two-col { grid-template-columns: 1fr; gap: 2rem; }
    .two-col--reverse .two-col__content { order: 0; }
    .features-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item--wide { grid-column: span 1; }
    .event-card { grid-template-columns: 1fr; gap: 1rem; }
    .event-date { justify-self: start; padding: 0.75rem 1.25rem; display: flex; gap: 0.5rem; align-items: baseline; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .menu-tabs { gap: 0.4rem; }
    .menu-tab { padding: 0.5rem 1rem; font-size: 0.7rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { padding: 0.85rem 2rem; width: 100%; justify-content: center; }
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================
   3D CAROUSEL / KARUSSELL
   ============================================ */
.carousel {
    position: relative;
    width: 100%;
    padding: 3rem 0;
    overflow: visible;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 480px;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide {
    position: absolute;
    width: 340px;
    max-width: 85vw;
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    cursor: pointer;
}

.carousel-slide.active {
    z-index: 10;
    transform: translateX(0) scale(1) rotateY(0);
    opacity: 1;
}

.carousel-slide.prev {
    z-index: 5;
    transform: translateX(-70%) scale(0.8) rotateY(25deg);
    opacity: 0.5;
    filter: brightness(0.7);
}

.carousel-slide.next {
    z-index: 5;
    transform: translateX(70%) scale(0.8) rotateY(-25deg);
    opacity: 0.5;
    filter: brightness(0.7);
}

.carousel-slide.far-prev {
    z-index: 2;
    transform: translateX(-120%) scale(0.6) rotateY(35deg);
    opacity: 0.25;
    filter: brightness(0.5);
    pointer-events: none;
}

.carousel-slide.far-next {
    z-index: 2;
    transform: translateX(120%) scale(0.6) rotateY(-35deg);
    opacity: 0.25;
    filter: brightness(0.5);
    pointer-events: none;
}

.carousel-slide.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) scale(0.5);
}

.carousel-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.carousel-slide.active .carousel-card {
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.carousel-slide.active .carousel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.3);
}

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

.carousel-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.carousel-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.carousel-slide.active .carousel-card:hover .carousel-card__image img {
    transform: scale(1.08);
}

.carousel-card__content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.carousel-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: 50%;
    margin-bottom: 1rem;
    color: var(--color-white);
    font-size: 1.3rem;
}

.carousel-card__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    color: var(--color-text);
}

.carousel-card__text {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0;
    flex: 1;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.carousel-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    font-size: 1.3rem;
    font-weight: bold;
}

.carousel-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.6rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.carousel-dot.active {
    background: var(--color-accent);
    transform: scale(1.3);
}

.carousel-dot:hover {
    background: var(--color-accent-light);
}

/* Carousel on dark sections */
.section--alt .carousel-btn {
    background: var(--color-white);
    border-color: var(--color-border);
}

.section--alt .carousel-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* Responsive 3D Carousel */
@media (max-width: 768px) {
    .carousel-container {
        height: 420px;
    }

    .carousel-slide {
        width: 280px;
    }

    .carousel-slide.prev {
        transform: translateX(-60%) scale(0.75) rotateY(20deg);
    }

    .carousel-slide.next {
        transform: translateX(60%) scale(0.75) rotateY(-20deg);
    }

    .carousel-slide.far-prev,
    .carousel-slide.far-next {
        opacity: 0;
    }

    .carousel-card__image {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 400px;
    }

    .carousel-slide {
        width: 260px;
        max-width: 80vw;
    }

    .carousel-slide.prev,
    .carousel-slide.next {
        opacity: 0.3;
        transform: translateX(-50%) scale(0.7);
    }

    .carousel-slide.next {
        transform: translateX(50%) scale(0.7);
    }
}

/* --- Aktuelles Section --- */
.section--aktuelles {
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.aktuelles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.aktuelles-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition), box-shadow var(--transition);
}

.aktuelles-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.aktuelles-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.aktuelles-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.aktuelles-card:hover .aktuelles-card__image img {
    transform: scale(1.05);
}

.aktuelles-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-gold);
    color: var(--color-bg-dark);
    padding: 0.4rem 0.8rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.aktuelles-card__content {
    padding: 1.5rem;
}

.aktuelles-card__date {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--color-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.aktuelles-card__content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.aktuelles-card__content p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.aktuelles-card__details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: 1rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.aktuelles-card__details strong {
    color: var(--color-accent);
}

.btn--small {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .aktuelles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .aktuelles-card__image {
        height: 200px;
    }
}
