/* ==========================================
   CSS RESET & BASE STYLES
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Rustic, natural colors inspired by forest & nature tones */
    --color-primary: #2F4F2F;          /* Dark Forest Green */
    --color-primary-light: #5F7F5F;    /* Medium Forest Green */
    --color-primary-dark: #1C2E1C;     /* Very Dark Green */
    --color-secondary: #8FBC8F;        /* Dark Sea Green */
    --color-secondary-light: #B8D8B8;  /* Light Green */
    --color-accent: #228B22;           /* Forest Green */
    --color-accent-light: #32CD32;     /* Lime Green */
    
    /* Enhanced Natural Colors */
    --color-sage: #9CAF88;             /* Sage Green */
    --color-sage-light: #B8D4A8;       /* Light Sage */
    --color-mint: #F0FFF0;             /* Honeydew */
    --color-moss: #556B2F;             /* Dark Olive Green */
    
    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-off-white: #FEFEFE;
    --color-light-gray: #F8F8F8;
    --color-gray: #E0E0E0;
    --color-dark-gray: #666666;
    --color-text: #333333;
    --color-text-light: #555555;
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing System (4pt grid, base 8px) */
    --space-xs: 0.25rem;    /* 4px */
    --space-sm: 0.5rem;     /* 8px */
    --space-md: 1rem;       /* 16px */
    --space-lg: 1.5rem;     /* 24px */
    --space-xl: 2rem;       /* 32px */
    --space-2xl: 3rem;      /* 48px */
    --space-3xl: 4rem;      /* 64px */
    --space-4xl: 6rem;      /* 96px */
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    
    /* Enhanced Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.1);
    --shadow-sage: 0 4px 20px rgba(156, 175, 136, 0.3);
    --shadow-hover: 0 10px 40px rgba(47, 79, 47, 0.2);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    --gradient-sage: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-light) 100%);
    --gradient-natural: linear-gradient(135deg, var(--color-secondary-light) 0%, var(--color-mint) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(47, 79, 47, 0.8) 0%, rgba(34, 139, 34, 0.6) 100%);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* ==========================================
   TYPOGRAPHY
========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    color: var(--color-primary-dark);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover, a:focus {
    color: var(--color-primary-dark);
}

/* ==========================================
   UTILITY CLASSES
========================================== */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-sans);
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1rem;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.btn--primary:hover, .btn--primary:focus {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-white);
}

.btn--secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn--secondary:hover, .btn--secondary:focus {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ==========================================
   HEADER COMPONENT
========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: calc(var(--max-width) + 200px);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-primary-dark);
}

.header__logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Navigation */
.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav__link {
    font-weight: 500;
    color: var(--color-text);
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav__link:hover::after,
.nav__link:focus::after,
.nav__link.is-active::after {
    width: 100%;
}

.nav__link:hover,
.nav__link:focus,
.nav__link.is-active {
    color: var(--color-primary);
}

/* Add extra space after navigation */
.nav {
    margin-right: var(--space-md);
}

/* Book Button */
.book-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-white);
    font-weight: 600;
    border-radius: 25px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.book-button:hover,
.book-button:focus {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-white);
}

.book-button--fixed {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    z-index: 999;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
}

.book-button--fixed .book-button__text {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ==========================================
   HERO SECTION
========================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-section__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 15s ease-out;
}

.hero-section__content {
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    padding: var(--space-xl);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.hero-title {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    color: rgba(255, 255, 255, 0.95);
}

.hero-cta {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: var(--color-white);
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    display: inline-block;
}

.hero-cta:hover,
.hero-cta:focus {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent-light));
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--color-white);
}

/* Parallax Effect */
.hero-section.parallax .hero-section__img {
    transform: translateY(-15%);
}

/* ==========================================
   HOTEL SECTION - Optimiert für Hochformat-Bilder
========================================== */

.hotel-section {
    padding: var(--space-4xl) 0;
    background: var(--color-light-gray);
}

.hotel-section__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.hotel-section__text h2 {
    margin-bottom: var(--space-lg);
}

.hotel-section__text p {
    margin-bottom: var(--space-md);
    font-size: 1.05rem;
}

/* Gallery Slider - Entfernt weiße Streifen */
.gallery-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    /* Entferne Hintergrund um weiße Streifen zu vermeiden */
    background: transparent;
}

.gallery-slider__track {
    display: flex;
    transition: transform var(--transition-slow);
}

.gallery-slider__slide {
    flex: 0 0 100%;
    /* Dynamische Höhe basierend auf Bildinhalt */
    height: auto;
    min-height: 400px;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Dunkler Hintergrund statt weiß */
    background: #f5f5f5;
}

.gallery-slider__slide img,
.gallery-slider__slide picture,
.gallery-slider__slide picture img {
    width: 100%;
    height: auto;
    max-height: 600px;
    /* Cover für bessere Füllung ohne weiße Streifen */
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
}

.gallery-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    z-index: 2;
}

.gallery-slider__btn:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.gallery-slider__btn--prev {
    left: var(--space-md);
}

.gallery-slider__btn--next {
    right: var(--space-md);
}

.gallery-slider__dots {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
}

.gallery-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.gallery-slider__dot.active {
    background: var(--color-white);
}

/* ==========================================
   ROOMS SECTION
========================================== */

.rooms-section {
    padding: var(--space-4xl) 0;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    align-items: start;
}

/* Room Card Component - Optimiert für Hochformat-Bilder */
.room-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.room-card__gallery {
    /* Feste Höhe für Hochformat-Bilder */
    height: 400px;
    overflow: hidden;
    position: relative;
    background: var(--color-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Room Gallery Slider - 2 Bilder nebeneinander für Hochformat */
.room-gallery-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.room-gallery-slider__track {
    display: flex;
    height: 100%;
    transition: transform var(--transition-normal);
}

.room-gallery-slider__slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px; /* Kleiner Abstand zwischen den Bildern */
}

/* Picture-Elemente ebenfalls als Flex-Items behandeln */
.room-gallery-slider__slide picture {
    /* 2 Bilder nebeneinander - je 50% minus gap */
    width: calc(50% - 2px);
    max-width: calc(50% - 2px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-gallery-slider__slide picture img {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    /* Vollständige Bildanzeige ohne Abschneiden */
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 4px;
}

/* Für den Fall dass nur ein Bild vorhanden ist (ungerade Anzahl) */
.room-gallery-slider__slide:has(picture:only-child) picture {
    /* Einzelnes Bild zentriert, aber nicht zu breit */
    width: 60%;
    max-width: 60%;
}

/* Fallback für Browser die :has() nicht unterstützen */
.room-gallery-slider__slide picture:only-child {
    width: 60%;
    max-width: 60%;
}

.room-gallery-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transition: all var(--transition-fast);
    z-index: 2;
}

.room-gallery-slider:hover .room-gallery-slider__btn {
    opacity: 1;
}

.room-gallery-slider__btn:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

.room-gallery-slider__btn--prev {
    left: 15px;
}

.room-gallery-slider__btn--next {
    right: 15px;
}

.room-gallery-slider__dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.room-gallery-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.room-gallery-slider__dot.active {
    background: var(--color-white);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.room-card__content {
    padding: var(--space-lg);
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.room-card__title {
    margin-bottom: var(--space-sm);
    font-size: 1.4rem;
    color: var(--color-primary-dark);
}

.room-card__description {
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
    line-height: 1.6;
    flex: 1;
}

.room-card__price {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
    font-weight: 500;
}

.room-card__price span {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
}

.room-card__cta {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-md) var(--space-lg);
    border-radius: 8px;
    font-weight: 600;
    transition: background var(--transition-fast);
    display: inline-block;
    text-align: center;
    align-self: flex-start;
}

.room-card__cta:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Booking Details */
.booking-details {
    background: var(--color-secondary-light);
    padding: var(--space-xl);
    border-radius: 12px;
    margin-top: var(--space-xl);
}

.booking-details h3 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.booking-details__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.booking-detail {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.booking-detail i {
    font-size: 1.2rem;
    color: var(--color-primary);
    min-width: 24px;
}

/* ==========================================
   NEWS SECTION
========================================== */

.news-section {
    padding: var(--space-4xl) 0;
    background: var(--color-light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.news-item {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.news-item:hover {
    transform: translateY(-4px);
}

.news-item i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.news-item h3 {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

.event-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-sm);
}

.event-badge--kneipe {
    background: rgba(139, 69, 19, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.event-badge--restaurant {
    background: rgba(210, 105, 30, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(210, 105, 30, 0.3);
}

.event-date {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

/* ==========================================
   HISTORY SECTION
========================================== */

.history-section {
    padding: var(--space-4xl) 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    width: 2px;
    height: calc(100% + var(--space-xl));
    background: var(--color-gray);
}

.timeline-icon {
    flex: 0 0 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.2rem;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

/* ==========================================
   EVENTS SECTION
========================================== */

.events-section {
    padding: var(--space-4xl) 0;
    background: var(--color-light-gray);
}

.events-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.events-text p {
    font-size: 1.05rem;
    margin-bottom: var(--space-lg);
}

.events-advantages {
    margin-bottom: var(--space-xl);
}

.events-advantages h3 {
    margin-bottom: var(--space-md);
}

.events-advantages ul {
    list-style: none;
}

.events-advantages li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--color-text-light);
}

.events-advantages i {
    color: var(--color-primary);
    font-size: 0.9rem;
}

.events-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.events-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.event-contact-info {
    margin-top: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-secondary-light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.event-contact-info .btn {
    width: fit-content;
    max-width: 200px;
}

.email-copy-container {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: 6px;
    border: 2px solid var(--color-gray);
    max-width: fit-content;
}

.email-address {
    font-family: monospace;
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 500;
}

.copy-btn {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    min-width: 32px;
    height: 32px;
}

.copy-btn:hover {
    background: var(--color-primary-dark);
    transform: scale(1.05);
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-btn.copied {
    background: var(--color-accent);
}

.copy-btn.copied i:before {
    content: "\f00c"; /* FontAwesome check icon */
}

/* ==========================================
   ABOUT SECTION
========================================== */

.about-section {
    padding: var(--space-4xl) 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.about-text h3 {
    margin-bottom: var(--space-lg);
}

.about-text p {
    font-size: 1.05rem;
}

.team-section {
    margin-bottom: var(--space-3xl);
}

.team-section h3 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.team-member {
    background: var(--color-light-gray);
    padding: var(--space-xl);
    border-radius: 12px;
    text-align: center;
}

.team-member__img {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    overflow: hidden;
}

.team-member__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    margin-bottom: var(--space-xs);
}

.team-member__role {
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.team-note {
    text-align: center;
    font-style: italic;
    color: var(--color-text-light);
}

.gastronomy-info {
    background: var(--color-secondary-light);
    padding: var(--space-xl);
    border-radius: 12px;
    text-align: center;
}

/* ==========================================
   FAQ SECTION
========================================== */

.faq-section {
    padding: var(--space-4xl) 0;
    background: var(--color-light-gray);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    margin-bottom: var(--space-md);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: var(--space-lg);
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-gray);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--color-light-gray);
}

.faq-question:focus {
    outline: none;
    background: var(--color-light-gray);
    border-bottom: 1px solid var(--color-gray);
}

.faq-question[aria-expanded="true"] {
    border-bottom: none;
}

.faq-question i {
    color: var(--color-primary);
    transition: transform var(--transition-normal);
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* ==========================================
   CONTACT SECTION
========================================== */

.contact-section {
    padding: var(--space-4xl) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info h3 {
    margin-bottom: var(--space-lg);
}

.contact-details {
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--color-primary);
    min-width: 24px;
    margin-top: 2px;
}

.contact-item a {
    color: var(--color-primary);
}

/* Contact Booking Section */
.contact-booking {
    background: var(--gradient-sage);
    padding: var(--space-xl);
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sage);
}

.contact-booking h3 {
    margin-bottom: var(--space-md);
    color: var(--color-primary-dark);
}

.contact-booking p {
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-booking .book-button {
    font-size: 1.125rem;
    padding: var(--space-lg) var(--space-2xl);
    margin-top: var(--space-sm);
}

/* ==========================================
   FOOTER
========================================== */

.footer {
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer__section h4 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: var(--space-sm);
}

.footer__links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-white);
}

.social-icons {
    display: flex;
    gap: var(--space-md);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    color: var(--color-white);
}

.tripadvisor-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer__logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.footer__bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   ANIMATIONS
========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width: 1024px) {
    .hotel-section__content,
    .events-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    /* Hotel-Section auf Tablet optimieren */
    .hotel-section__content {
        gap: var(--space-2xl);
    }
    
    .gallery-slider__slide {
        min-height: 350px;
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --space-4xl: 4rem;
    }
    
    .header__container {
        padding: 0 var(--space-md);
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-section__content {
        padding: var(--space-lg) var(--space-md);
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .gallery-slider__slide {
        /* Optimierte Mobile-Höhe */
        height: auto;
        min-height: 300px;
        max-height: 450px;
        background: #f8f8f8;
    }
    
    .gallery-slider__slide img,
    .gallery-slider__slide picture,
    .gallery-slider__slide picture img {
        max-height: 450px;
        border-radius: 6px;
    }
    
    .room-card__gallery {
        /* Angepasste Höhe für Mobile */
        height: 300px;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .room-card__content {
        padding: var(--space-md);
        min-height: 160px;
    }
    
    .room-card__title {
        font-size: 1.2rem;
    }
    
    .timeline-item {
        margin-left: 0;
        padding-left: 0;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .form-group-row {
        flex-direction: column;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .book-button--fixed .book-button__text {
        display: none;
    }
    
    .booking-details__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero-section__content {
        padding: var(--space-md);
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* Booking Details as Accordion on Mobile */
    .booking-details__grid {
        display: block;
    }
    
    .booking-detail {
        margin-bottom: var(--space-sm);
        cursor: pointer;
        border-radius: 8px;
    }
    
    .booking-detail:last-child {
        margin-bottom: 0;
    }
}

/* ==========================================
   ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-section__img {
        transition: none;
    }
}

/* Focus styles for better accessibility */
*:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Screen reader only class */
.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;
}

/* ==========================================
   MULTI-ROOM BOOKING STYLES
========================================== */

.multi-room-section {
    margin-top: var(--space-lg);
    padding: var(--space-lg);
    background: #f8f9fa;
    border-radius: var(--border-radius);
    border: 2px solid var(--color-primary-light);
    animation: fadeInUp 0.5s ease-out;
}

.room-summary h4 {
    color: var(--color-primary-dark);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.selected-rooms-list {
    margin-bottom: var(--space-lg);
}

.room-item {
    background: var(--color-white);
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius);
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.room-item:last-child {
    margin-bottom: 0;
}

.room-details {
    flex: 1;
}

.room-details h5 {
    margin: 0 0 var(--space-xs) 0;
    color: var(--color-primary-dark);
    font-size: 1rem;
}

.room-details p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.room-badge {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-room-controls {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.add-room-hint {
    margin-top: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
}

.second-room-selection {
    border-top: 1px solid #dee2e6;
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
    animation: slideDown 0.3s ease-out;
}

.second-room-actions {
    text-align: center;
    margin-top: var(--space-md);
}

.btn--small {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.btn--outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile optimizations for multi-room */
@media (max-width: 768px) {
    .multi-room-section {
        padding: var(--space-md);
        margin-top: var(--space-md);
    }
    
    .room-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    
    .room-badge {
        align-self: flex-end;
    }
}

/* ==========================================
   CALENDAR STYLING IMPROVEMENTS
========================================== */

/* Date input calendar customization */
input[type="date"] {
    position: relative;
    cursor: pointer;
}

/* Calendar popup styling (Webkit browsers) */
input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

/* Ensure today's date is not grayed out */
input[type="date"]::-webkit-datetime-edit-day-field:focus,
input[type="date"]::-webkit-datetime-edit-month-field:focus,
input[type="date"]::-webkit-datetime-edit-year-field:focus {
    background-color: var(--color-primary-light);
    color: var(--color-white);
    outline: none;
}

/* Calendar styling for better visual appearance */
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button {
    display: none;
}

/* Custom calendar styles */
.reservation-form input[type="date"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23666' viewBox='0 0 24 24'%3e%3cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

/* Firefox date input styling */
@-moz-document url-prefix() {
    input[type="date"] {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23666' viewBox='0 0 24 24'%3e%3cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 20px;
        padding-right: 40px;
    }
}

/* Edge/IE styling */
input[type="date"]::-ms-clear {
    display: none;
}

/* Enhanced focus states for date inputs */
input[type="date"]:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(47, 79, 47, 0.1);
    outline: none;
}

/* Date validation styling */
input[type="date"]:valid {
    border-color: var(--color-secondary);
}

input[type="date"]:invalid {
    border-color: #dc3545;
}

/* Custom styling for calendar appearance */
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    background-color: rgba(47, 79, 47, 0.1);
    border-radius: 4px;
}

/* Ensure consistent styling across browsers */
input[type="date"] {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--color-gray);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

/* Mobile calendar optimizations */
@media (max-width: 768px) {
    input[type="date"] {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: var(--space-lg) var(--space-md);
    }
    
    .reservation-form input[type="date"] {
        background-size: 24px;
        padding-right: 50px;
    }
}

/* ==========================================
   ADVANCED CALENDAR POPUP STYLING
========================================== */

/* Chrome/Safari calendar popup customization */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: opacity(0.7);
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    filter: opacity(1);
}

/* Override browser default weekend styling */
::-webkit-datetime-edit-fields-wrapper {
    background: transparent;
}

/* Custom properties for calendar theming */
input[type="date"] {
    /* Custom property to override browser defaults */
    --calendar-today-color: var(--color-primary);
    --calendar-weekend-color: var(--color-secondary);
    --calendar-disabled-color: #cccccc;
    --calendar-available-color: var(--color-text);
}

/* Fallback styling for browsers that don't support calendar styling */
.date-input-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.date-input-container::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%236B7280' viewBox='0 0 24 24'%3e%3cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

/* Enhanced date input styling for better UX */
input[type="date"]:hover {
    border-color: var(--color-primary-light);
}

input[type="date"]:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(47, 79, 47, 0.15);
}

/* Better visual feedback for valid/invalid dates */
input[type="date"]:valid:not(:focus) {
    border-color: var(--color-secondary);
    background-color: rgba(143, 188, 143, 0.05);
}

input[type="date"].error {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

/* Error message styling for date inputs */
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.error-message::before {
    content: '⚠';
    font-weight: bold;
}

/* ==========================================
   ENHANCED FORM VALIDATION STYLING
========================================== */

/* Field-specific error messages */
.field-error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideDown 0.3s ease-out;
}

.field-error-message::before {
    content: '⚠';
    font-weight: bold;
    color: #dc3545;
    font-size: 1rem;
}

/* Enhanced error styling for form inputs */
.reservation-form input.error,
.reservation-form select.error,
.reservation-form textarea.error {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.reservation-form input.error:focus,
.reservation-form select.error:focus,
.reservation-form textarea.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
    outline: none;
}

/* Success styling for valid inputs */
.reservation-form input:valid:not(:focus):not(.error),
.reservation-form select:valid:not(:focus):not(.error) {
    border-color: var(--color-secondary);
    background-color: rgba(143, 188, 143, 0.05);
}

/* Enhanced checkbox error styling */
.checkbox-item input[type="checkbox"].error {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

/* Form section error indicator */
.form-section.has-errors {
    border-left: 4px solid #dc3545;
    padding-left: calc(var(--space-lg) - 4px);
}

/* Error summary for better accessibility */
.form-errors-summary {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    color: #721c24;
}

.form-errors-summary h4 {
    margin: 0 0 var(--space-sm) 0;
    color: #dc3545;
    font-size: 1rem;
}

.form-errors-summary ul {
    margin: 0;
    padding-left: var(--space-md);
}

/* Specific styling for different input types */
input[type="email"].error {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='0 0 24 24'%3e%3cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

input[type="tel"].error {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='0 0 24 24'%3e%3cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

/* Success styling for valid inputs */
.reservation-form input:valid:not(:focus):not(.error),
.reservation-form select:valid:not(:focus):not(.error) {
    border-color: var(--color-secondary);
    background-color: rgba(143, 188, 143, 0.05);
}

/* Valid field styling with green border */
.reservation-form input.valid,
.reservation-form select.valid,
.reservation-form textarea.valid {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

.reservation-form input.valid:focus,
.reservation-form select.valid:focus,
.reservation-form textarea.valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.25);
    outline: none;
}

/* Valid indicator icon for successful validation */
.reservation-form input.valid:not([type="checkbox"]) {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2328a745' viewBox='0 0 24 24'%3e%3cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Specific styling for select elements when valid - no additional icons */
.reservation-form select.valid {
    /* Keep original dropdown arrow, just add green styling */
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

/* Enhanced checkbox valid styling */
.checkbox-item input[type="checkbox"].valid {
    accent-color: #28a745;
    outline: 2px solid #28a745;
    outline-offset: 2px;
}

/* Ensure date inputs also get validation styling */
input[type="date"].valid {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

/* Postal code specific styling */
input[name="postal_code"].valid::after {
    content: "✓";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
}

/* Animation for validation state changes */
.reservation-form input,
.reservation-form select,
.reservation-form textarea {
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Mobile optimizations for error messages */
@media (max-width: 768px) {
    .field-error-message {
        font-size: 0.8rem;
        padding: 0.4rem;
        margin-top: 0.3rem;
    }
    
    .reservation-form input.error,
    .reservation-form select.error,
    .reservation-form textarea.error {
        box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
    }
    
    .reservation-form input.valid,
    .reservation-form select.valid,
    .reservation-form textarea.valid {
        box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.15);
    }
    
    .reservation-form input.valid:not([type="checkbox"]) {
        background-size: 14px;
        padding-right: 35px;
    }
    
    .reservation-form select.valid {
        /* Mobile: Keep simple green styling without extra icons */
        border-color: #28a745;
        background-color: rgba(40, 167, 69, 0.05);
    }
}

/* ==========================================
   INTERACTIVE TIMELINE STYLES - ÜBERARBEITET
========================================== */

/* Wartungsmodus für Geschichte */
.history-maintenance-notice {
    background: linear-gradient(135deg, #2F4F2F, #228B22);
    color: var(--color-white);
    padding: var(--space-lg);
    border-radius: 12px;
    margin-bottom: var(--space-2xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    box-shadow: var(--shadow-md);
}

.history-maintenance-notice i {
    font-size: 1.5rem;
    color: #B8D8B8;
    flex-shrink: 0;
}

.history-maintenance-notice p {
    margin: 0;
    line-height: 1.6;
    color: #FFFFFF;
    font-weight: 500;
}

.history-maintenance-notice strong {
    color: #B8D8B8;
    font-weight: 600;
}

.coming-soon {
    filter: grayscale(0.3);
    opacity: 0.8;
}

/* History Section Intro */
.history-intro {
    text-align: center;
    font-size: 1.1em;
    color: var(--color-text-light);
    margin-bottom: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline Container */
.timeline {
    position: relative;
    margin: var(--space-2xl) 0;
}

/* Static Timeline Items (No Animations) */
.timeline-item .timeline-content h3 {
    margin-bottom: var(--space-sm);
}

/* Expanded Content Styles - Always visible */
.timeline-expanded-content {
    margin-top: var(--space-md);
}

/* Placeholder Content */
.expanded-content-placeholder {
    background: linear-gradient(135deg, var(--color-mint) 0%, var(--color-secondary-light) 100%);
    border: 2px dashed var(--color-sage);
    border-radius: 8px;
    padding: var(--space-lg);
    text-align: center;
    margin-top: var(--space-md);
    width: 100%;
    box-sizing: border-box;
}

.expanded-content-placeholder i {
    font-size: 2rem;
    color: var(--color-sage);
    margin-bottom: var(--space-sm);
    opacity: 0.8;
}

.expanded-content-placeholder p {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.expanded-content-placeholder p:first-of-type {
    font-size: 1.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.expanded-content-placeholder p:last-child {
    font-size: 0.9em;
    color: var(--color-text-light);
    font-style: italic;
    margin-bottom: 0;
}

/* History Note */
.history-note {
    background: var(--gradient-natural);
    border-radius: 12px;
    padding: var(--space-lg);
    text-align: center;
    margin-top: var(--space-2xl);
    border: 1px solid var(--color-secondary);
}

.history-note i {
    font-size: 1.2em;
    color: var(--color-primary);
    margin-right: var(--space-sm);
}

.history-note p {
    margin: 0;
    font-style: italic;
    color: var(--color-text-light);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .history-intro {
        font-size: 1em;
        margin-bottom: var(--space-xl);
    }
    
    .timeline-item {
        margin-bottom: var(--space-lg);
    }
    
    .expanded-content-placeholder {
        padding: var(--space-md);
    }
    
    .expanded-content-placeholder i {
        font-size: 1.5rem;
    }
}

/* ==========================================
   NEWS WARTUNGSMODUS STYLES
========================================== */

/* Wartungsmodus für Aktuelles/News */
.news-maintenance-notice {
    background: linear-gradient(135deg, #2F4F2F, #228B22);
    color: var(--color-white);
    padding: var(--space-lg);
    border-radius: 12px;
    margin-bottom: var(--space-2xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    box-shadow: var(--shadow-md);
}

.news-maintenance-notice i {
    font-size: 1.5rem;
    color: #B8D8B8;
    flex-shrink: 0;
}

.news-maintenance-notice p {
    margin: 0;
    line-height: 1.6;
    color: #FFFFFF;
    font-weight: 500;
}

.news-maintenance-notice strong {
    color: #B8D8B8;
    font-weight: 600;
}

/* News Placeholder Grid */
.news-placeholder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.placeholder-item {
    background: var(--color-white);
    border-radius: 12px;
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--color-gray);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.placeholder-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.placeholder-item:hover::before {
    left: 100%;
}

.placeholder-item i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    display: block;
}

.placeholder-item h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
}

.placeholder-item p {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.coming-soon-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.3s ease;
}

.placeholder-item:hover .coming-soon-badge::before {
    left: 100%;
}

/* Mobile Optimierungen */
@media (max-width: 768px) {
    .news-placeholder {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .placeholder-item {
        padding: var(--space-lg);
    }
    
    .placeholder-item i {
        font-size: 2rem;
    }
    
    .placeholder-item h3 {
        font-size: 1.1rem;
    }
}

/* Picture element specific styles to prevent stretching */
picture {
    display: block;
    width: 100%;
    height: 100%;
}

picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Ensure WebP images load correctly */
.gallery-slider__slide picture,
.room-gallery-slider__slide picture {
    width: 100%;
    height: 100%;
    display: block;
}

/* Additional fallback for older browsers */
.gallery-slider__slide picture img,
.room-gallery-slider__slide picture img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    vertical-align: middle;
}

/* Mobile Anpassungen für 2-Bild Layout */
@media (max-width: 768px) {
    .room-gallery-slider__slide {
        gap: 2px; /* Kleinerer Abstand auf Mobile */
    }
    
    .room-gallery-slider__slide img,
    .room-gallery-slider__slide picture,
    .room-gallery-slider__slide picture img {
        width: calc(50% - 1px);
        max-width: calc(50% - 1px);
    }
    
    /* Einzelne Bilder auf Mobile etwas breiter */
    .room-gallery-slider__slide:has(picture:only-child) picture,
    .room-gallery-slider__slide:has(picture:only-child) picture img,
    .room-gallery-slider__slide picture:only-child,
    .room-gallery-slider__slide picture:only-child img {
        width: 70%;
        max-width: 70%;
    }
} 