/* ===== CSS Variables ===== */
:root {
    --color-wine: #722F37;
    --color-wine-dark: #4A1C24;
    --color-wine-light: #9B4D56;
    --color-gold: #C9A227;
    --color-gold-light: #E8D5A3;
    --color-cream: #FAF7F2;
    --color-cream-dark: #F0EBE3;
    --color-text: #2D2926;
    --color-text-light: #6B6560;
    --color-white: #FFFFFF;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, sans-serif;
    
    --shadow-soft: 0 4px 20px rgba(45, 41, 38, 0.08);
    --shadow-medium: 0 8px 30px rgba(45, 41, 38, 0.12);
    --shadow-strong: 0 12px 40px rgba(45, 41, 38, 0.18);
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
    
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.section-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-wine);
    margin-bottom: 12px;
}

.section-label.center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn-primary {
    background: var(--color-wine);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-wine-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-light {
    background: var(--color-white);
    color: var(--color-wine);
}

.btn-light:hover {
    background: var(--color-cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===== Header & Navigation ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(114, 47, 55, 0.1);
    transition: all var(--transition-medium);
}

.main-header.scrolled {
    box-shadow: var(--shadow-soft);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-wine);
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-wine);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--color-wine);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-wine-dark) 0%, var(--color-wine) 50%, var(--color-wine-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('bilder/suedpfalz1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(74, 28, 36, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    color: var(--color-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--color-gold-light);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    margin: 10px auto 0;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== Intro Section ===== */
.intro-section {
    padding: 120px 0;
    background: var(--color-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-text h2 {
    margin-bottom: 24px;
}

.intro-text p {
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.intro-stats {
    display: grid;
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 32px;
    background: var(--color-cream);
    border-radius: var(--border-radius-lg);
    transition: transform var(--transition-fast);
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-wine);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 120px 0;
    background: var(--color-cream-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(45, 41, 38, 0.8));
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    transform: translateY(100%);
    transition: transform var(--transition-fast);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ===== Highlights Section ===== */
.highlights-section {
    padding: 120px 0;
    background: var(--color-white);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.highlight-card {
    padding: 40px 28px;
    background: var(--color-cream);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all var(--transition-fast);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    background: var(--color-white);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.highlight-card h3 {
    margin-bottom: 12px;
    color: var(--color-wine);
}

.highlight-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-wine) 0%, var(--color-wine-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

/* ===== Footer ===== */
.main-footer {
    background: var(--color-text);
    color: var(--color-cream);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(250, 247, 242, 0.1);
}

.footer-brand .logo-icon,
.footer-brand .logo-text {
    color: var(--color-gold-light);
}

.footer-brand p {
    margin-top: 16px;
    color: rgba(250, 247, 242, 0.7);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(250, 247, 242, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-gold-light);
}

.footer-contact p {
    color: rgba(250, 247, 242, 0.7);
    font-size: 0.95rem;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    color: rgba(250, 247, 242, 0.5);
    font-size: 0.85rem;
}

/* ===== Hotels Page ===== */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--color-wine-dark) 0%, var(--color-wine) 100%);
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.hotels-section {
    padding: 80px 0;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.hotel-card {
    display: flex;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-fast);
}

.hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.hotel-image {
    width: 200px;
    min-height: 200px;
    background: linear-gradient(135deg, var(--color-cream-dark) 0%, var(--color-cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.hotel-content {
    flex: 1;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.hotel-type {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-wine);
    margin-bottom: 8px;
}

.hotel-content h3 {
    margin-bottom: 8px;
}

.hotel-location {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.hotel-description {
    color: var(--color-text-light);
    font-size: 0.95rem;
    flex-grow: 1;
}

.hotel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--color-wine);
    font-weight: 500;
    font-size: 0.95rem;
}

.hotel-link:hover {
    color: var(--color-wine-dark);
}

.hotel-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.hotel-link:hover::after {
    transform: translateX(4px);
}

/* ===== Region Page ===== */
.region-content {
    padding: 80px 0;
}

.region-article {
    max-width: 800px;
    margin: 0 auto;
}

.region-article h2 {
    margin: 48px 0 24px;
    color: var(--color-wine);
}

.region-article p {
    margin-bottom: 20px;
    color: var(--color-text-light);
}

.region-article ul {
    margin: 20px 0;
    padding-left: 24px;
}

.region-article li {
    margin-bottom: 12px;
    color: var(--color-text-light);
    position: relative;
    padding-left: 20px;
}

.region-article li::before {
    content: '🍇';
    position: absolute;
    left: -8px;
    font-size: 0.8rem;
}

.region-image {
    margin: 48px 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.region-image img {
    width: 100%;
}

/* ===== Legal Pages ===== */
.legal-content {
    padding: 80px 0;
}

.legal-article {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 60px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.legal-article h2 {
    margin: 40px 0 20px;
    color: var(--color-wine);
    font-size: 1.5rem;
}

.legal-article h3 {
    margin: 32px 0 16px;
    font-size: 1.2rem;
}

.legal-article p {
    margin-bottom: 16px;
    color: var(--color-text-light);
}

.legal-article ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-article li {
    margin-bottom: 8px;
    color: var(--color-text-light);
    list-style: disc;
}

.legal-article a {
    color: var(--color-wine);
}

.legal-article a:hover {
    text-decoration: underline;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .intro-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hotels-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-cream);
        flex-direction: column;
        padding: 100px 40px;
        gap: 24px;
        transition: right var(--transition-medium);
        box-shadow: var(--shadow-strong);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .intro-stats {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .hotel-card {
        flex-direction: column;
    }
    
    .hotel-image {
        width: 100%;
        min-height: 160px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .legal-article {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .btn {
        padding: 14px 28px;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .intro-section,
    .gallery-section,
    .highlights-section {
        padding: 80px 0;
    }
    
    .stat-item {
        padding: 24px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}
