/* ==========================================================================
   1. FONTS & VARIABLES
   ========================================================================== */

/* inter-300 - latin */
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/inter-v20-latin-300.woff2') format('woff2');
}
/* inter-regular (400) - latin */
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
}
/* inter-600 - latin */
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/inter-v20-latin-600.woff2') format('woff2');
}
/* inter-800 - latin */
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/inter-v20-latin-800.woff2') format('woff2');
}

:root {
    color-scheme: light;
    --color-dark: #232B28;
    --color-medium: #4E5D58;
    --color-muted: #8A9A86;
    --color-accent: #D4B483;
    --color-light: #F4F6F5;
    --color-white: #FFFFFF;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* ==========================================================================
   2. RESET & BASICS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-light);
    color: var(--color-dark);
    line-height: 1.52;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   3. COMPONENTS (Buttons, Forms, Cards)
   ========================================================================== */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-dark);
}

.btn-primary:hover {
    background-color: var(--color-dark);
    color: var(--color-accent);
}

.btn-secondary {
    background-color: var(--color-muted);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-medium);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 4px;
    border: 1px solid var(--color-muted);
    background-color: var(--color-light);
    color: var(--color-dark);
    font-family: var(--font-main);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: 2px solid var(--color-medium); /* Kontraststärkere Outline für bessere Accessibility */
}

/* ==========================================================================
   4. LAYOUT SECTIONS
   ========================================================================== */

/* Header */
.main-header {
    background-color: rgba(20, 24, 21, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 0;
    backdrop-filter: saturate(180%) blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    background: transparent;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.logo img {
    max-height: 56px;
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-caption {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.95);
    font-weight: 600;
    line-height: 1;
    margin-top: 0;
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 400;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-accent);
}

.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    font-size: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-left: 3rem;
}

/* Hero & Detail Hero Section */
.hero-section, .detail-hero-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    color: var(--color-white);
    padding-top: 80px;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-container.video-fallback-active,
.split-section.video-fallback-active {
    background: radial-gradient(circle at 20% 25%, rgba(138, 154, 134, 0.45) 0%, rgba(78, 93, 88, 0.55) 38%, rgba(35, 43, 40, 0.9) 100%);
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

video.is-video-managed {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
}

video.is-video-managed.is-video-ready {
    opacity: 1;
    visibility: visible;
}

video.is-video-managed::-webkit-media-controls-start-playback-button,
video.is-video-managed::-webkit-media-controls-play-button,
video.is-video-managed::-webkit-media-controls-panel {
    display: none !important;
    -webkit-appearance: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(35, 43, 40, 0.65) 0%, rgba(78, 93, 88, 0.50) 100%);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.text-accent {
    color: var(--color-accent);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-ctas .btn-primary {
    margin-right: 1rem;
}

/* Global Section Headers */
.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.2rem;
}

.services-header h2 {
    font-size: 2.5rem;
    color: var(--color-dark);
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    padding: 8rem 0;
    background-color: var(--color-white);
}

#leistungen.services-section {
    padding-top: 0;
    scroll-margin-top: 0;
}

.services-badge, .about-badge, .booking-badge {
    color: var(--color-muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
    display: block;
    text-align: center;
}

.services-header p {
    color: var(--color-medium);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Grid System & Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--color-light);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(138, 154, 134, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(35, 43, 40, 0.05);
}

.service-meta-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-muted);
    background-color: var(--color-white);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(138, 154, 134, 0.15);
    width: fit-content;
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.service-icon i {
    color: var(--color-muted);
    font-size: 1.4rem;
}

.service-card h3 {
    font-size: 1.35rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--color-medium);
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 1.1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0; 
}

.service-card li {
    font-size: 0.95rem;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card li:last-child {
    margin-bottom: 0;
}

.service-card li i {
    color: var(--color-muted);
    font-size: 0.85rem;
}

/* Split Screen Section */
.split-screen-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
}

.split-section-link {
    display: grid;
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

.split-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.split-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 24, 20, 0.42) 0%, rgba(35, 43, 40, 0.22) 100%);
    z-index: 1;
    pointer-events: none;
}

.split-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.split-content {
    position: relative;
    z-index: 2;
    margin-bottom: 1.15rem;
    color: var(--color-white);
}

.split-content h2 {
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 1.15rem;
    color: var(--color-white);
    line-height: 1.1;
}

.split-content p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background-color: var(--color-light);
}

.about-row {
    display: flex;
    flex-direction: column; 
    gap: 40px;
    align-items: center;
}

.about-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--color-dark);
    margin-bottom: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--color-medium);
    line-height: 1.58;
}

.text-highlight {
    color: var(--color-dark);
    font-weight: 600;
}

.about-image {
    width: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
    min-height: 300px;
    max-height: 450px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(35, 43, 40, 0.08);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: var(--color-dark);
    color: var(--color-white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.8rem;
    margin-bottom: 1.1rem;
}

.direct-meta {
    margin-top: 1.4rem;
    font-size: 1.1rem;
}

.direct-meta p {
    margin-bottom: 0.5rem;
}

.direct-meta a {
    color: var(--color-white);
    text-decoration: none;
}

.direct-meta a:hover {
    text-decoration: underline;
}

.direct-meta i {
    color: var(--color-accent);
    margin-right: 0.5rem;
}

.contact-form-wrapper {
    background-color: var(--color-medium);
    padding: 2.5rem;
    border-radius: 8px;
}

/* Detail Pages Styling */
.detail-content-section {
    padding: 6rem 0;
    background-color: var(--color-light);
}

.detail-content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--color-dark);
}

.service-item {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.service-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.service-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.service-item h3 i {
    color: var(--color-accent);
    margin-right: 0.5rem;
}

.service-item p {
    color: var(--color-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-item ul {
    padding-left: 20px;
}

.service-item li {
    margin-bottom: 8px;
}

.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-medium) 100%);
    color: var(--color-white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Booking Page */
.booking-page-wrapper {
    padding: 10rem 0 6rem;
    background-color: var(--color-light);
}

.booking-page-header {
     text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.booking-page-header h1 {
    font-size: 3rem;
    color: var(--color-dark);
    font-weight: 800;
    margin-bottom: 1rem;
}

.booking-page-header p {
    color: var(--color-medium);
    font-size: 1.1rem;
    line-height: 1.6;
}

.booking-pricing-panel {
    background: #ffffff;
    border: 1px solid rgba(138, 154, 134, 0.24);
    border-radius: 12px;
    padding: 1.6rem 1.4rem;
    box-shadow: 0 8px 22px rgba(35, 43, 40, 0.05);
    margin: 0 auto 1.2rem;
    max-width: 920px;
}

.booking-pricing-head {
    margin-bottom: 1.25rem;
}

.booking-pricing-head h2 {
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 0.4rem;
}

.booking-pricing-head p {
    color: var(--color-medium);
    font-size: 0.97rem;
}

.booking-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.booking-pricing-card {
    background: var(--color-light);
    border: 1px solid rgba(138, 154, 134, 0.2);
    border-radius: 10px;
    padding: 1rem;
}

.booking-pricing-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    color: var(--color-dark);
    margin-bottom: 0.9rem;
}

.booking-pricing-card h3 i {
    color: #2f6b54;
}

.booking-pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.booking-pricing-card li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 0.42rem 0;
    border-bottom: 1px dashed rgba(78, 93, 88, 0.2);
    font-size: 0.93rem;
    color: var(--color-dark);
}

.booking-pricing-card li:last-child {
    border-bottom: none;
}

.booking-pricing-card li strong {
    color: #1f5945;
    font-weight: 700;
    white-space: nowrap;
}

.booking-price-note {
    margin-top: 1rem;
    margin-bottom: 0;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.booking-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(138, 154, 134, 0.15);
    box-shadow: 0 4px 20px rgba(35, 43, 40, 0.02);
}

.info-card h3 {
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i {
    color: var(--color-muted);
}

.steps-list {
    padding-left: 1.2rem;
    margin: 0;
}

.steps-list li {
    font-size: 0.95rem;
    color: var(--color-medium);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.steps-list li strong {
    color: var(--color-dark);
    display: block;
    margin-bottom: 0.2rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card ul li {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card ul li i {
    color: var(--color-muted);
    font-size: 0.85rem;
}

.booking-form-container {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(138, 154, 134, 0.15);
    box-shadow: 0 4px 25px rgba(35, 43, 40, 0.04);
}

.booking-flow-container {
    max-width: 920px;
    margin: 0 auto;
}

.booking-page .booking-form-container.booking-flow-container {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: grid;
    gap: 1.15rem;
}

.booking-step-section {
    margin-top: 0;
    background: #ffffff;
    border: 1px solid rgba(138, 154, 134, 0.22);
    border-radius: 12px;
    padding: 1.35rem 1.25rem;
    scroll-margin-top: 110px;
    box-shadow: 0 8px 24px rgba(35, 43, 40, 0.06);
}

.booking-choice-grid,
.booking-service-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-choice-card,
.booking-service-card {
    border: 1px solid rgba(138, 154, 134, 0.2);
    border-radius: 10px;
    background: #ffffff;
    color: #232b28;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
}

.booking-choice-card i,
.booking-service-card i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: #eef6f1;
    color: #2f6b54;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.booking-choice-card span,
.booking-service-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.booking-service-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.booking-service-price {
    font-size: 0.78rem;
    font-weight: 700;
    color: #466959;
    letter-spacing: 0.01em;
}

.booking-choice-card:hover,
.booking-service-card:hover {
    border-color: #89b99f;
    transform: translateY(-1px);
}

.booking-choice-card.is-active,
.booking-service-card.is-active {
    border-color: #4f9b77;
    box-shadow: 0 0 0 2px rgba(79, 155, 119, 0.16);
    background: #f7fcf9;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.booking-page .calendar-label {
    font-weight: 700;
    color: #232b28;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
    font-family: sans-serif;
}

.booking-page .calendar-instruction {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    font-family: sans-serif;
}

.booking-page .calendar-legend {
    margin: 0.35rem 0 1.1rem;
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 600;
}

.booking-page .month-selector-container {
    margin-bottom: 1.5rem;
    font-family: sans-serif;
}

.booking-page .month-select {
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    color: #232b28;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.booking-page .month-select:focus {
    border-color: #10b981;
}

.booking-page .timeline-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
    padding: 14px 8px;
    font-family: sans-serif;
}

.booking-page .calendar-weekday-header {
    font-weight: 700;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
    padding-bottom: 5px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.booking-page .timeline-empty-slot {
    background: transparent;
    border: 1px dashed transparent;
    box-shadow: none;
    cursor: default;
    pointer-events: none;
}

.booking-page .timeline-row {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.booking-page .timeline-date {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.booking-page .timeline-status {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

.booking-page .timeline-row.status-booked {
    background: #f1f5f9;
    border-color: #dbe3ec;
    opacity: 0.9;
    cursor: not-allowed;
}

.booking-page .timeline-row.status-booked .timeline-status {
    display: none;
}

.booking-page .timeline-row.status-booked .timeline-date {
    color: #94a3b8;
    text-decoration: none;
}

.booking-page .timeline-row.status-available {
    background: #ffffff;
    border-top: 3px solid #10b981;
}

.booking-page .timeline-row.status-available .timeline-status {
    background: #d1fae5;
    color: #059669;
}

.booking-page .timeline-row.status-available.user-selected {
    background: linear-gradient(180deg, #eefbf5 0%, #e3f7ee 100%);
    border-color: #6dcfa8;
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.18);
}

.booking-page .timeline-row.status-available.user-selected .timeline-date {
    color: #14532d;
}

.booking-page .timeline-row.status-available.user-selected .timeline-status {
    background: #bbf7d0;
    color: #166534;
}

.booking-page .admin-banner {
    background: #232b28;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
    border: 2px solid #64748b;
}

.booking-page .admin-save-btn {
    padding: 6px 15px;
    margin-left: 15px;
    font-size: 0.85rem;
    display: inline-block;
    width: auto;
}

.booking-page .booking-form {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(138, 154, 134, 0.2);
    padding-top: 2rem;
}

@media (min-width: 769px) {
    .booking-page .booking-form .btn-primary {
        min-height: 60px;
        font-size: 1.08rem;
        padding: 1.05rem 1.2rem;
    }
}

.booking-page .form-helper-text {
    margin-top: 0.5rem;
    margin-bottom: 0;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.45;
}

.price-general-info {
    background-color: #f8f9fa;
    border-left: 4px solid #2c3e50;
    padding: 15px;
    margin-top: 30px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #495057;
}

.price-general-info i {
    color: #2c3e50;
    margin-right: 8px;
}

/* Footer */
.main-footer {
    background-color: #181E1C;
    color: rgba(255, 255, 255, 0.6);
    padding: 3rem 0;
    font-size: 0.9rem;
    border-top: 1px solid var(--color-dark);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.footer-brand {
    justify-self: start;
}

.footer-socials {
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-name {
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.1rem;
}

.legal-name a,
.legal-name a:visited,
.legal-name a:hover,
.legal-name a:active {
    color: inherit;
    text-decoration: none;
}

.footer-socials a {
    color: var(--color-white);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--color-accent);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-left: 1.5rem;
}

.footer-legal {
    justify-self: end;
}

.footer-legal a:first-child {
    margin-left: 0;
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* ==========================================================================
   5. RESPONSIVE DESIGN (MEDIA QUERIES GESAMMELT)
   ========================================================================== */

/* Desktop / Tablet Breakpoint (992px) */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .booking-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet (Min-Width 768px für Desktop-Layout-Modi) */
@media (min-width: 768px) {
    .about-row {
        flex-direction: row; 
        gap: 80px;
        margin-bottom: 120px;
    }
    .about-row.reverse {
        flex-direction: row-reverse; 
    }
    .about-text, .about-image {
        width: 50%;
    }
    .about-text h2 {
        font-size: 2.6rem;
    }
}

/* Mobile Breakpoint (768px) */
@media (max-width: 768px) {
    .main-header {
        padding: 0.5rem 0;
    }

    .header-container {
        min-height: 58px;
    }

    .mobile-menu-toggle {
        display: grid;
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
        margin-left: 1rem;
    }

    /* Mobile Menu Logic: Cleaned Visibility */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 1rem;
        background: rgba(35,43,40,0.98);
        padding: 1rem;
        border-radius: 6px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.25);
        width: calc(100% - 2rem);
        z-index: 1100;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95) translateY(-10px);
        transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1) translateY(0);
    }

    .nav-links a {
        margin: 0.6rem 0;
        font-size: 1rem;
        margin-left: 0; /* Verhindert ungewollten Einzug auf Mobile */
    }

    .hero-section, .detail-hero-section {
        min-height: 100svh;
        height: 100svh;
        padding-top: 0;
        align-items: center;
        justify-content: center;
        padding-bottom: 1rem;
    }

    #home.hero-section {
        padding-top: calc(72px + env(safe-area-inset-top));
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .mobile-text-hide {
        display: none;
    }

    .hero-ctas a {
        display: block;
        margin-bottom: 0.75rem;
    }

    .hero-ctas {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-ctas .btn-outline {
        display: inline-block;
        width: auto;
        align-self: flex-start;
        margin-bottom: 0;
        padding: 0.62rem 1.2rem;
    }

    .services-section {
        padding: 5rem 0;
    }

    #leistungen.services-section {
        padding-top: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .split-screen-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .split-section {
        min-height: 100svh;
    }

    .split-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .split-content h2 {
        font-size: 2rem;
    }

    .split-content p {
        font-size: 1rem;
    }

    .about-row {
        gap: 40px;
    }

    .about-section .about-row:not(:last-child) {
        margin-bottom: 56px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-section .booking-form input,
    .contact-section .booking-form select,
    .contact-section .booking-form textarea {
        font-size: 16px;
        line-height: 1.45;
        min-height: 48px;
        padding: 0.8rem 1rem;
        border-radius: 4px;
    }

    .contact-section .booking-form label[for="bereich"] {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .contact-section .booking-form select#bereich {
        min-height: 48px;
        line-height: 1.45;
        padding: 0.8rem 2.4rem 0.8rem 0.8rem;
        border-radius: 4px;
        border: 1px solid var(--color-muted);
        background-color: var(--color-light);
        color: var(--color-dark);
        appearance: none;
        -webkit-appearance: none;
        background-image: linear-gradient(45deg, transparent 50%, #4E5D58 50%), linear-gradient(135deg, #4E5D58 50%, transparent 50%);
        background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
        background-size: 6px 6px, 6px 6px;
        background-repeat: no-repeat;
    }

    .detail-content-section {
        padding: 3rem 0;
    }

    .detail-content-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .booking-page-wrapper {
        padding: 8rem 0 4rem;
    }

    .booking-page-header h1 {
        font-size: 2.2rem;
    }

    .booking-form-container {
        padding: 2rem 1.5rem;
    }

    .booking-page .booking-form-container.booking-flow-container {
        gap: 0.9rem;
    }

    .booking-step-section {
        padding: 1rem 0.9rem;
    }

    .booking-pricing-panel {
        padding: 1.1rem 1rem;
    }

    .booking-pricing-head h2 {
        font-size: 1.12rem;
    }

    .booking-pricing-grid {
        grid-template-columns: 1fr;
    }

    .booking-pricing-card li {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .booking-choice-grid,
    .booking-service-grid {
        grid-template-columns: 1fr;
    }

    .booking-page .booking-form {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .booking-page .booking-form .form-group {
        margin-bottom: 1.2rem;
    }

    .booking-page .booking-form .form-group label {
        font-size: 1rem;
        margin-bottom: 0.45rem;
    }

    .booking-page .booking-form input,
    .booking-page .booking-form select,
    .booking-page .booking-form textarea {
        font-size: 1rem;
        line-height: 1.45;
        padding: 0.95rem 1rem;
        min-height: 48px;
    }

    .booking-page .booking-form textarea {
        min-height: 140px;
    }

    .booking-page .month-select {
        width: 100%;
        min-height: 48px;
        font-size: 1rem;
    }

    .booking-page .booking-form .btn-primary {
        min-height: 52px;
        font-size: 1rem;
        padding: 0.95rem 1rem;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .logo {
        padding: 0.15rem 0.4rem;
    }

    .logo img {
        max-height: 36px;
    }

    .logo-caption {
        font-size: 0.62rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        display: flex;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-legal {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.25rem;
        width: 100%;
    }

    .footer-legal a {
        margin-left: 0;
    }

    .booking-page .timeline-container {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        padding: 6px 0;
        max-height: none;
        overflow: visible;
    }

    .booking-page .timeline-row {
        padding: 8px 3px;
        min-height: 60px;
        border-radius: 6px;
    }

    .booking-page .timeline-date {
        font-size: 0.8rem;
        margin-bottom: 3px;
    }

    .booking-page .timeline-status {
        font-size: 0.58rem;
        padding: 1px 5px;
    }

    .booking-page .calendar-weekday-header,
    .booking-page .timeline-empty-slot {
        display: none;
    }

    .booking-page .admin-banner {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
        text-align: left;
    }

    .booking-page .admin-save-btn {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 520px) {
    .booking-page .timeline-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
    }

    .booking-page .timeline-row {
        min-height: 56px;
        padding: 7px 2px;
    }

    .booking-page .timeline-status {
        font-size: 0.54rem;
        padding: 1px 4px;
    }

    .booking-form-container {
        padding: 1.5rem 1rem;
    }

    .booking-page .booking-form .form-group label {
        font-size: 0.98rem;
    }

    .booking-page .booking-form input,
    .booking-page .booking-form select,
    .booking-page .booking-form textarea,
    .booking-page .month-select,
    .booking-page .booking-form .btn-primary {
        font-size: 16px;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }

    body {
        background-color: #0f1412;
        color: #e7eee9;
    }

    .services-section,
    .about-section,
    .detail-content-section,
    .booking-page-wrapper {
        background-color: #111815;
    }

    .services-header h2,
    .about-text h2,
    .detail-content-section h2,
    .booking-page-header h1,
    .service-card h3,
    .service-card li,
    .service-item h3,
    .info-card h3,
    .steps-list li strong,
    .booking-page .calendar-label,
    .booking-page .timeline-date {
        color: #e7eee9;
    }

    .services-header p,
    .about-text p,
    .service-card p,
    .service-item p,
    .steps-list li,
    .booking-page-header p,
    .booking-pricing-head p,
    .booking-page .calendar-instruction,
    .booking-page .calendar-legend,
    .booking-page .form-helper-text,
    .price-general-info {
        color: #b8c5bf;
    }

    .text-highlight,
    .services-badge,
    .about-badge,
    .booking-badge,
    .service-card li i,
    .service-item h3 i,
    .info-card h3 i {
        color: #a9c7b6;
    }

    .service-card,
    .service-item,
    .info-card,
    .booking-form-container,
    .booking-step-section,
    .booking-choice-card,
    .booking-service-card,
    .booking-page .timeline-row,
    .booking-pricing-panel,
    .booking-pricing-card,
    .price-general-info {
        background-color: #18211d;
        border-color: rgba(153, 176, 162, 0.25);
        box-shadow: none;
    }

    .service-meta-info,
    .service-icon,
    .booking-choice-card i,
    .booking-service-card i {
        background-color: #111815;
        border-color: rgba(153, 176, 162, 0.2);
        color: #9fbaa8;
    }

    .booking-choice-card,
    .booking-service-card,
    .booking-page .month-select,
    .booking-page .timeline-row.status-available,
    .booking-page .timeline-row.status-booked,
    .booking-page .timeline-row.status-available.user-selected {
        color: #e7eee9;
    }

    .booking-pricing-head h2,
    .booking-pricing-card h3,
    .booking-pricing-card li,
    .booking-service-title {
        color: #e7eee9;
    }

    .booking-pricing-card li strong,
    .booking-service-price {
        color: #9fd3b9;
    }

    .form-group input,
    .form-group select,
    .form-group textarea,
    .booking-page .month-select,
    .contact-section .booking-form select#bereich {
        background-color: #101713;
        color: #e7eee9;
        border-color: #445449;
    }

    .btn-primary {
        background-color: #d9bf92;
        color: #17201c;
    }

    .btn-primary:hover {
        background-color: #f1dcb2;
        color: #131a17;
    }

    .btn-secondary {
        background-color: #3e5348;
        color: #edf4f0;
    }

    .btn-secondary:hover {
        background-color: #50685b;
    }

    .btn-outline {
        border-color: #dcc49a;
        color: #f4ebd5;
    }

    .btn-outline:hover {
        background-color: #dcc49a;
        color: #17201c;
    }

    .booking-choice-card.is-active,
    .booking-service-card.is-active {
        border-color: #78b696;
        background: #1d2b24;
        box-shadow: 0 0 0 2px rgba(120, 182, 150, 0.2);
    }

    .booking-page .timeline-row.status-booked {
        background: #1a2320;
        border-color: #2a3731;
    }

    .booking-page .timeline-row.status-booked .timeline-date {
        color: #7f9488;
    }

    .booking-page .timeline-row.status-available .timeline-status {
        background: #1f3a2f;
        color: #85d4ac;
    }

    .booking-page .timeline-row.status-available {
        background: #17231d;
        border-color: #2d4a3c;
        border-top-color: #4fa67d;
    }

    .booking-page .timeline-row.status-available .timeline-date {
        color: #d9e8e0;
    }

    .booking-page .timeline-row.status-available.user-selected .timeline-status {
        background: #2a4b3d;
        color: #abebca;
    }

    .booking-page .calendar-weekday-header {
        color: #9cb1a6;
        border-bottom-color: #2d3a34;
    }

    .footer-legal a {
        color: rgba(233, 241, 236, 0.8);
    }

    /* Detail pages contain inline colors; force high-contrast overrides in dark mode. */
    .detail-content-section h1 {
        color: #eef5f0 !important;
    }

    .detail-content-section .service-item,
    .detail-content-section .service-item p,
    .detail-content-section .service-item li,
    .detail-content-section .service-item td,
    .detail-content-section .service-item strong {
        color: #d1ddd6;
    }

    .detail-content-section .service-item[style] {
        background-color: #18211d !important;
        border-color: rgba(153, 176, 162, 0.28) !important;
    }

    .detail-content-section table tr[style] {
        border-bottom-color: rgba(153, 176, 162, 0.28) !important;
    }

    .detail-content-section .service-item h3 {
        color: #eef5f0;
    }

    .detail-content-section .service-item h4 {
        color: #e1ece6;
    }

    .detail-content-section .service-item ul li {
        color: #d1ddd6;
    }

    .detail-content-section .service-item a,
    .detail-content-section .service-item a[style] {
        color: #9fd6b6 !important;
    }

    .detail-content-section .service-item a:hover,
    .detail-content-section .service-item a:focus-visible {
        color: #c3ebd3 !important;
    }

    .footer-brand,
    .company-sub {
        color: rgba(233, 241, 236, 0.88);
    }
}