/* ============================================
   CHALTENRIET 5 - PROFESSIONAL WEBSITE STYLES
   ============================================ */

/* Root Variables */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #f4a460;
    --accent-color: #1a3d6e;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --transition: all 0.3s ease;
}

/* ============================================
   GENERAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

a:hover {
    color: var(--secondary-color);
}

/* Tastatur-Fokus sichtbar machen (Accessibility / UX) */
a:focus-visible,
button:focus-visible,
.cta-button:focus-visible,
.submit-btn:focus-visible,
.download-btn:focus-visible,
.nav-link:focus-visible,
.room-interactive:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    color: var(--primary-color);
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.navbar-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.navbar-logo a:hover {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 600px;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/Chaltenriet5-113.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Verbesserte Lesbarkeit für Hero-Content mit transparentem Hintergrund */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Gemeinsamer transparenter Block für Hero-Titel und Untertitel */
.hero-text-container {
    background-color: rgba(0, 0, 0, 0.6); /* Schwarzer Hintergrund mit 60% Deckkraft */
    padding: 25px 30px;
    border-radius: 8px;
    display: inline-block;
    margin: 0 auto 25px auto;
    max-width: 80%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #f0f0f0; /* Gleiche Farbe wie hero-subtitle */
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0; /* Kein Abstand nach unten innerhalb des Containers */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: #f0f0f0;
}

/* Druckversion im normalen Zustand verstecken */
.print-hero {
    display: none;
}

/* Im normalen Zustand die Druckversion ausblenden */
@media screen {
    .print-hero {
        display: none !important;
    }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .hero-text-container {
        padding: 20px 25px;
        max-width: 90%;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-text-container {
        padding: 15px 20px;
        max-width: 95%;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }
}


.cta-button {
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #e89450;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Floor Buttons Styling */
.floor-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 1.5rem 0 2.5rem 0;
    justify-content: center;
}

.floor-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    min-width: 160px;
    display: inline-block;
}

.floor-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.floor-button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Anpassungen für die Buttons */
@media (max-width: 768px) {
    .floor-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .floor-button {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   PAGE HERO (for inner pages)
   ============================================ */

.page-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.page-hero-content h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.page-hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* ============================================
   KEY FACTS SECTION
   ============================================ */

.key-facts {
    background-color: var(--bg-light);
    padding: 3rem 2rem;
}

.facts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.fact-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.fact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.fact-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.fact-description {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ============================================
   INTRODUCTION SECTION
   ============================================ */

.introduction {
    padding: 2rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.intro-container h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.intro-container p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.2rem;
}

.intro-container strong {
    color: var(--text-dark);
    font-weight: 600;
}

.intro-container > ul {
    margin-left: 0;
    padding-left: 0;
    list-style-position: inside;
}

.intro-container > ul > li {
    margin: 0.35rem 0;
}

/* ============================================
   HIGHLIGHTS SECTION
   ============================================ */

.highlights {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 4rem 2rem;
}

.highlights-container {
    max-width: 1400px;
    margin: 0 auto;
}

.highlights-container h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

.highlight-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

/* ============================================
   SECTION CONTAINERS
   ============================================ */

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.section-container.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.section-container.reverse > * {
    direction: ltr;
}

.section-container > h2:first-child {
    grid-column: 1 / -1;
}

.section-intro {
    grid-column: 1 / -1;
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.section-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.section-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.section-media,
.section-content {
    display: flex;
    flex-direction: column;
}

/* ============================================
   MEDIA PLACEHOLDERS
   ============================================ */

.media-placeholder,
.gallery-placeholder,
.outdoor-video {
    background: linear-gradient(135deg, #e8ecf1 0%, #f5f7fa 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.media-placeholder img,
.gallery-placeholder img,
.outdoor-video video {
    width: 100%;
    height: auto;
    display: block;
}

.media-placeholder p {
    padding: 1rem;
    text-align: center;
    background-color: var(--bg-white);
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-spacer-top {
    margin-top: 1em;
}

/* ============================================
   FEATURE LISTS
   ============================================ */

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 1rem;
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.feature strong {
    color: var(--primary-color);
}

/* ============================================
   INTERACTIVE FLOORPLAN
   ============================================ */

.rooms-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.floorplan {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    border-radius: 10px;
}

.room-interactive {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 3px solid transparent;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.room-interactive:hover {
    background-color: var(--bg-light);
    transform: scale(1.05);
}

.room-interactive.active,
.room-interactive.highlight {
    border-color: var(--secondary-color);
    background-color: #fef8f3;
}

.room-interactive span {
    display: block;
    font-size: 1.1rem;
}

.highlight-badge {
    font-size: 0.75rem;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
}

.rooms-details {
    display: flex;
    flex-direction: column;
}

.room-detail {
    display: none;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 2rem;
    border-radius: 10px;
}

.room-detail.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.room-detail h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.room-specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.room-spec {
    background-color: var(--bg-white);
    padding: 0.8rem;
    border-left: 4px solid var(--secondary-color);
    border-radius: 4px;
    color: var(--text-light);
}

.room-spec strong {
    color: var(--text-dark);
}

/* ============================================
   GALLERY SECTIONS
   ============================================ */

.materials-grid,
.ceiling-gallery,
.seating-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.material-card,
.ceiling-item {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.material-card:hover,
.ceiling-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.material-card img,
.ceiling-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.material-card h3,
.ceiling-item p {
    padding: 1rem 1rem 0 1rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.material-card p {
    padding: 0 1rem 1rem 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.ceiling-item p {
    padding-bottom: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.seating-gallery {
    margin-top: 2rem;
}

.seating-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.seating-gallery img:hover {
    transform: scale(1.02);
}

/* ============================================
   ENERGY SECTION
   ============================================ */

.energy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tech-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tech-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tech-card ul {
    list-style: none;
    padding-left: 0;
}

.tech-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.tech-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* ============================================
   INFOGRAPHIC
   ============================================ */

.energy-infographic {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.energy-infographic h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.infographic {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.info-step {
    flex: 1;
    min-width: 120px;
    text-align: center;
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 0.8rem;
}

.info-step p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.arrow {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

/* ============================================
   MAINTENANCE SECTION
   ============================================ */

.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.maintenance-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.maintenance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.maintenance-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.maintenance-card h3,
.maintenance-card p {
    padding: 1rem;
}

.maintenance-card h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0;
}

.maintenance-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    padding-top: 0;
}

.maintenance-video {
    margin-top: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 2rem;
    border-radius: 10px;
}

.maintenance-video h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.maintenance-video video {
    width: 100%;
    border-radius: 8px;
}

/* ============================================
   DOCUMENTS SECTION
   ============================================ */

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.document-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.document-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.document-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.document-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.doc-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.doc-spec {
    background-color: var(--bg-light);
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.download-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.download-btn:hover {
    background-color: var(--secondary-color);
}

/* ============================================
   LOCATION & MAP
   ============================================ */

.location-section {
    padding: 3rem 2rem;
    background-color: var(--bg-light);
}

.location-section .section-container {
    grid-template-columns: 1fr;
}

.map-container {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.location-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-box {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-box p,
.info-box li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box li:before {
    content: "▶ ";
    color: var(--secondary-color);
    font-weight: 600;
    margin-right: 0.5rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 3rem 2rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
}

.form-group.checkbox input {
    width: 20px;
    height: 20px;
    margin-right: 0.8rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-info {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--accent-color);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .section-container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .rooms-layout {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .infographic {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        gap: 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 1rem;
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .navbar-container {
        padding: 1rem;
    }

    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .facts-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .fact-number {
        font-size: 2rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 250px;
    }

    .energy-grid {
        grid-template-columns: 1fr;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .materials-grid,
    .ceiling-gallery,
    .seating-gallery {
        grid-template-columns: 1fr;
    }

    .seating-gallery img {
        height: 250px;
    }

    .floorplan {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .room-detail {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0.8rem;
    }

    .navbar-logo a {
        font-size: 1.2rem;
    }

    .hero {
        height: 300px;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .facts-container {
        grid-template-columns: 1fr;
    }

    .page-hero {
        height: 250px;
    }

    .page-hero-content h1 {
        font-size: 1.5rem;
    }

    .page-hero-content p {
        font-size: 1rem;
    }

    .section-container {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .document-icon,
    .tech-icon,
    .highlight-icon {
        font-size: 2rem;
    }

    .floorplan {
        padding: 1rem;
        gap: 0.5rem;
    }

    .room-interactive {
        padding: 1rem;
    }

    .room-interactive span {
        font-size: 0.9rem;
    }

    .info-step {
        min-width: 100px;
        padding: 1rem;
    }

    .footer-container {
        gap: 1rem;
    }

    .contact-wrapper {
        gap: 1.5rem;
    }
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */

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

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

.animate-on-scroll {
    animation: slideInUp 0.6s ease-out;
}

/* Nutzerwunsch "Bewegung reduzieren" respektieren */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   3er-Fotoreihe und 2er-Fotoreihe mit Hover-Zoom
   ============================================ */

.photo-strip {
    padding: 3rem 2rem;
    background: var(--bg-white);
}

.photo-strip-container {
    max-width: 1400px;
    margin: 0 auto;
}

.photo-strip-container h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.photo-strip-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.photo-strip-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: start;
}

/* Kartenoptik wie bei deinen anderen Komponenten */
.photo-zoom {
    margin: 0;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.photo-zoom-link {
    display: block;
    overflow: hidden;
    outline: none;
}

/* Fixe Höhe für ein ruhiges Layout (wie Gallery) */
.photo-zoom img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.35s ease;
}

.photo-strip-grid-two .photo-zoom img {
    height: 320px;
}

.photo-text-grid .photo-zoom img {
    height: 320px;
}

/* Hover/Focus: Bild wird gross, Karte hebt sich ab */
.photo-zoom:hover,
.photo-zoom:focus-within {
    z-index: 5;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.photo-zoom:hover img,
.photo-zoom:focus-within img {
    transform: scale(1.18);
}

.photo-zoom figcaption {
    padding: 0.9rem 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .photo-strip-grid {
        grid-template-columns: 1fr;
    }

    .photo-zoom img {
        height: 280px;
    }
}

/* ============================================
   Einzelnes Foto hochkant
   ============================================ */

/* Klasse für hochformatige Fotos mit kontrollierter Breite */
.photo-container-portrait {
    width: 100%;
    max-width: 450px; /* Kontrolliert die maximale Breite */
    margin: 0 auto; /* Zentriert den Container */
}

/* Optional: Spezielle Höhe für Bilder in diesem Container */
.photo-container-portrait .photo-zoom img {
    height: 800px; /* Angepasste Höhe für Hochformat-Bilder */
    object-fit: cover;
}

/* ============================================
   Foto links (wie 3er-Fotos) + Text rechts
   ============================================ */

.photo-text {
    padding: 3rem 2rem;
    background: var(--bg-white);
}

.photo-text-container {
    max-width: 1400px;
    margin: 0 auto;
}

.photo-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center; /* Text vertikal mittig zum Foto */
}

/* optional: gleiche Kachel-Interaktion hier deaktivieren (wenn du keinen Zoom willst) */
.photo-zoom--static:hover,
.photo-zoom--static:focus-within {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.photo-zoom--static:hover img,
.photo-zoom--static:focus-within img {
    transform: none;
}

/* Textblock */
.photo-text-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.photo-text-content p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Bullet-Liste im Stil deiner Seite */
.photo-text-bullets {
    margin: 1rem 0 0 0;
    padding-left: 0;
    list-style: none;
}

.photo-text-bullets li {
    position: relative;
    padding-left: 1.4rem;
    margin: 0.5rem 0;
    color: var(--text-light);
}

.photo-text-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}


/* Responsive */
@media (max-width: 1024px) {
    .photo-text-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Video-Galerie Stile für Hochkant-Videos (9:16) */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-container video {
    width: 100%;
    max-width: 350px; /* Begrenzt die maximale Breite des Videos */
    display: block;
    border-radius: 10px 10px 0 0;
    aspect-ratio: 9/16; /* Hochkant-Format (9:16) */
    object-fit: cover;
}

.video-caption {
    padding: 1rem;
    text-align: center;
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    background-color: var(--bg-white);
    width: 100%;
}

/* Einzelnes Video */
.video-container-single {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 450px; /* Maximale Breite für das Video */
    margin: 0 auto; /* Zentriert das Video */
}

.video-container-single:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-container-single video {
    width: 100%;
    display: block;
    border-radius: 10px 10px 0 0;
    aspect-ratio: 9/16; /* Hochkant-Format (9:16) */
    object-fit: cover;
}

.video-container-single .video-caption {
    padding: 1rem;
    text-align: center;
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    background-color: var(--bg-white);
    width: 100%;
}

/* Bild im normalen Zustand ausblenden */
.print-only-poster {
    display: none;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .photo-text-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-container-single {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .video-gallery {
        grid-template-columns: 1fr;
    }

    .video-container video {
        max-width: 100%;
    }
}



/* ============================================
   PRINT STYLES – OPTIMIERT FÜR AUSDRUCK
   ============================================ */

@media print {
    /* Seiten-Setup */
    @page {
        size: A4;
        margin: 2cm;
    }

    p, li, blockquote {
        orphans: 3;
        widows: 3;
    }

    /* Verstecke Navigation & Interaktive Elemente */
    .navbar,
    .footer,
    .hamburger,
    #scrollToTop,
    .cta-button,
    .nav-menu,
    .download-btn,
    .submit-btn {
        display: none !important;
    }

    /* Globale Print-Styles */
    * {
        background: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    html, body {
        margin: 0;
        padding: 0;
    }

    body {
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 11pt;
        line-height: 1.6;
        color: #000;
    }

    /* Links */
    a {
        color: #000 !important;
        text-decoration: underline !important;
    }

    /* Überschriften */
    h1, h2, h3, h4, h5, h6 {
        color: #000 !important;
        break-after: avoid-page;
        break-inside: avoid;
        font-family: Georgia, serif;
        font-weight: bold;
    }

    h1 {
        font-size: 22pt;
        margin: 1rem 0 0.5rem 0;
        border-bottom: 3px solid #000;
        padding-bottom: 0.5rem;
    }

    h2 {
        font-size: 16pt;
        margin: 0.8rem 0 0.4rem 0;
        border-bottom: 2px solid #333;
        padding-bottom: 0.3rem;
    }

    h3 {
        font-size: 13pt;
        margin: 0.6rem 0 0.3rem 0;
    }

    /* Absätze */
    p {
        margin: 0.4rem 0;
        color: #000 !important;
        orphans: 3;
        widows: 3;
        line-height: 1.5;
    }

    /* Listen */
    ul, ol {
        margin: 0.5rem 0 0.5rem 1.5cm;
        padding: 0;
    }

    li {
        margin-bottom: 0.3rem;
        break-inside: avoid;
    }

    /* Druckversion des Hero-Bildes anzeigen */
    .print-hero {
        display: block !important;
        text-align: center !important;
        margin-bottom: 2cm !important;
        page-break-after: avoid !important;
    }

    .print-title {
        font-size: 24pt !important;
        font-weight: bold !important;
        margin-bottom: 1cm !important;
        color: #000 !important;
        border-bottom: 2px solid #000 !important;
        padding-bottom: 0.3cm !important;
    }

    .print-subtitle {
        font-size: 18pt !important;
        font-weight: bold !important;
        margin-top: 0.5cm !important;
        margin-bottom: 0 !important;
        color: #000 !important;
    }

    .print-hero-image {
        display: block !important;
        width: 100% !important;
        max-height: 10cm !important;
        object-fit: contain !important;
        border: 1px solid #999 !important;
        margin: 0 auto !important;
    }

    /* Ursprünglichen Hero-Bereich ausblenden */
    .hero {
        display: none !important;
    }

    /* Ursprünglichen Seitentitel ausblenden, da wir jetzt den print-title verwenden */
    body::before {
        content: none !important;
    }


    /* Section Container */
    .section-container {
        display: block !important;
        break-inside: avoid;
        padding: 0 !important;
        margin: 0.8rem 0 !important;
    }

    .section-container.reverse {
        direction: ltr !important;
    }

    .section-content,
    .section-media {
        margin-bottom: 0.6rem;
        break-inside: avoid;
    }

    .section-intro {
        margin-bottom: 0.5rem !important;
        font-size: 11pt;
        font-style: italic;
    }

    /* Introduction */
    .introduction {
        padding: 0 !important;
        margin: 0.8rem 0 !important;
        break-inside: avoid;
    }

    /* Key Facts */
    .key-facts {
        background: transparent !important;
        padding: 0.8rem 0 !important;
        margin: 0.8rem 0 !important;
        break-inside: avoid;
    }

    .facts-container {
        display: block !important;
    }

    .fact-card {
        background: #f5f5f5 !important;
        border: 1px solid #999 !important;
        padding: 0.8rem !important;
        margin-bottom: 0.8rem !important;
        box-shadow: none !important;
        break-inside: avoid;
    }

    .fact-number {
        font-size: 18pt;
        font-weight: bold;
        margin-bottom: 0.2rem;
    }

    .fact-label {
        font-size: 12pt;
        font-weight: bold;
        margin-bottom: 0.2rem;
    }

    .fact-description {
        font-size: 10pt;
        margin: 0;
    }

    /* Highlights */
    .highlights {
        background: transparent !important;
        padding: 0.8rem 0 !important;
        margin: 0.8rem 0 !important;
    }

    .highlights-grid {
        display: block !important;
    }

    .highlight-item {
        background: #f5f5f5 !important;
        border: 1px solid #999 !important;
        padding: 0.8rem !important;
        margin-bottom: 0.8rem !important;
        box-shadow: none !important;
        break-inside: avoid;
    }

    .highlight-item h3 {
        margin: 0 0 0.3rem 0 !important;
        font-size: 12pt;
    }

    .highlight-item p {
        font-size: 10pt;
        margin: 0.2rem 0 !important;
    }

    /* Feature Lists */
    .feature-list {
        display: block !important;
        margin: 0.5rem 0 !important;
    }

    .feature {
        background: #f9f9f9 !important;
        border-left: 3px solid #000 !important;
        padding: 0.4rem 0.6rem !important;
        margin-bottom: 0.4rem !important;
        font-size: 10pt;
        break-inside: avoid;
    }

    /* Galerien */
    .gallery-grid,
    .materials-grid,
    .ceiling-gallery,
    .seating-gallery,
    .garden-features,
    .energy-grid,
    .maintenance-grid,
    .documents-grid {
        display: block !important;
    }

    .material-card,
    .ceiling-item,
    .maintenance-card,
    .document-card,
    .tech-card,
    .feature-card {
        background: #f5f5f5 !important;
        border: 1px solid #999 !important;
        padding: 0.8rem !important;
        margin-bottom: 0.8rem !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        break-inside: avoid;
    }

    .material-card img,
    .ceiling-item img,
    .maintenance-card img,
    .gallery-grid img {
        max-width: 100% !important;
        width: 100%;
        height: auto !important;
        margin-bottom: 0.5rem !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }

    .material-card h3,
    .ceiling-item p,
    .tech-card h3 {
        font-size: 12pt;
        margin: 0 0 0.3rem 0 !important;
        padding: 0 !important;
        font-weight: bold;
    }

    .material-card p,
    .tech-card p,
    .feature-card p {
        font-size: 10pt;
        margin: 0.2rem 0 !important;
        padding: 0 !important;
    }

    /* Videos & Media */
    video,
    .hero-video,
    .outdoor-video,
    .garden-video,
    .maintenance-video,
    .map-container {
        display: none !important;
    }

    /* Interaktive Zimmer */
    .room-interactive {
        background: #f5f5f5 !important;
        border: 1px solid #999 !important;
        padding: 0.6rem !important;
        margin: 0.3rem !important;
        display: inline-block !important;
        font-size: 10pt;
    }

    .rooms-layout {
        display: block !important;
    }

    .floorplan {
        display: none !important;
    }

    /* Alle Room-Details beim Drucken anzeigen */
    .room-detail {
        display: block !important; /* Alle Room-Details anzeigen, nicht nur das aktive */
        margin-bottom: 1.5rem !important; /* Abstand zwischen den Room-Details */
        page-break-inside: avoid !important; /* Vermeidet Seitenumbrüche innerhalb eines Room-Details */
        border: 1px solid #999 !important; /* Rahmen für bessere visuelle Trennung */
        padding: 1rem !important;
        background: #f5f5f5 !important;
    }

    /* Überschriften für Room-Details */
    .room-detail h3 {
        margin-top: 0 !important;
        font-size: 14pt !important;
        color: #000 !important;
        border-bottom: 1px solid #999 !important;
        padding-bottom: 0.5rem !important;
    }

    /* Room-Specs formatieren */
    .room-specs {
        display: block !important;
        margin-top: 1rem !important;
    }

    .room-spec {
        background: #f9f9f9 !important;
        border-left: 3px solid #000 !important;
        padding: 0.3rem 0.5rem !important;
        margin-bottom: 0.3rem !important;
        font-size: 9pt;
    }

    .doc-spec {
        background: #f9f9f9 !important;
        border: 1px solid #999 !important;
        padding: 0.3rem 0.5rem !important;
        margin-bottom: 0.3rem !important;
        font-size: 9pt;
        display: inline-block !important;
    }

    /* Energy Infografik */
    .energy-infographic {
        background: transparent !important;
        border: 1px solid #999 !important;
        padding: 1rem !important;
        margin: 0.8rem 0 !important;
        break-inside: avoid;
    }

    .infographic {
        display: block !important;
    }

    .info-step {
        background: #f5f5f5 !important;
        border: 1px solid #ccc !important;
        padding: 0.6rem !important;
        margin-bottom: 0.6rem !important;
        break-inside: avoid;
    }

    .step-number {
        width: 28px !important;
        height: 28px !important;
        background: #000 !important;
        color: white !important;
        font-size: 11pt !important;
        margin-bottom: 0.3rem;
    }

    .arrow {
        display: none !important;
    }

    /* Kontakt Formulare */
    .contact-wrapper {
        display: block !important;
    }

    .contact-form {
        background: #f5f5f5 !important;
        border: 1px solid #999 !important;
        padding: 1rem !important;
        margin-bottom: 1rem !important;
        break-inside: avoid;
    }

    .form-group {
        margin-bottom: 0.6rem !important;
        break-inside: avoid;
    }

    .form-group label {
        font-weight: bold;
        font-size: 11pt;
        display: block;
        margin-bottom: 0.2rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        border: 1px solid #999 !important;
        background: white !important;
        width: 100% !important;
        padding: 0.3rem !important;
        margin-top: 0.2rem !important;
        font-family: Arial, sans-serif !important;
    }

    .form-group.checkbox {
        font-size: 10pt;
    }

    .form-group.checkbox input {
        width: auto !important;
        margin-right: 0.3rem !important;
    }

    /* Kontakt Info */
    .contact-info {
        background: #f5f5f5 !important;
        border: 1px solid #999 !important;
        padding: 1rem !important;
        break-inside: avoid;
    }

    .contact-info h3 {
        margin: 0 0 0.5rem 0 !important;
        font-size: 12pt;
    }

    .contact-item {
        margin-bottom: 0.6rem !important;
        break-inside: avoid;
    }

    .contact-item strong {
        font-size: 11pt;
        display: block;
        margin-bottom: 0.2rem;
    }

    .contact-item p {
        font-size: 10pt;
        margin: 0.1rem 0 !important;
    }

    /* Standort Info */
    .location-info {
        display: block !important;
    }

    .info-box {
        background: #f5f5f5 !important;
        border: 1px solid #999 !important;
        padding: 0.8rem !important;
        margin-bottom: 0.8rem !important;
        break-inside: avoid;
    }

    .info-box h3 {
        margin: 0 0 0.4rem 0 !important;
        font-size: 12pt;
    }

    .info-box p {
        font-size: 10pt;
        margin: 0.2rem 0 !important;
    }

    .info-box ul {
        margin-left: 1.2cm;
        font-size: 10pt;
    }

    .info-box li {
        margin-bottom: 0.2rem;
    }

    /* Tech-Inhalte */
    .tech-content {
        break-inside: avoid;
    }

    .tech-benefits {
        margin: 0.4rem 0 0 1.2cm;
        font-size: 10pt;
    }

    .tech-benefits li {
        margin-bottom: 0.3rem;
    }

    .tech-icon {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }

    /* Garten & Sitzplatz */
    .garden-section,
    .seating-area {
        margin: 0.8rem 0;
        break-inside: avoid;
    }

    /* Transitions & Animationen deaktivieren */
    * {
        -webkit-transition: none !important;
        transition: none !important;
        -webkit-transform: none !important;
        transform: none !important;
        -webkit-animation: none !important;
        animation: none !important;
    }

    /* Page Breaks */
    .page-break {
        break-after: page;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
        border: none !important;
    }

    /* Text-Formatierung */
    strong, b {
        font-weight: bold;
    }

    em, i {
        font-style: italic;
    }

    /* Code-Blöcke */
    pre, code {
        font-family: 'Courier New', monospace;
        font-size: 9pt;
        background: #f5f5f5 !important;
        border: 1px solid #999 !important;
        padding: 0.5rem !important;
        overflow: auto;
    }
    video, .video-caption {
        display: none !important;
    }

    /* Einheitliche Größe für Hochkant-Fotos und Videos */
    .photo-container-portrait,
    .video-container-single,
    .video-container {
        width: 60% !important; /* Mittlere Breite für beide Elemente */
        max-width: 350px !important; /* Begrenzte maximale Breite */
        margin: 0 auto 1rem !important; /* Zentriert mit Abstand unten */
        display: block !important; /* Block-Element für korrekte Zentrierung */
        text-align: center !important; /* Text zentrieren (für Bildunterschriften) */
    }

    /* Einheitlicher Rahmen und Hintergrund */
    .photo-container-portrait .photo-zoom,
    .video-container-single,
    .video-container {
        margin: 0 auto !important; /* Zentriert den Container */
        border: 1px solid #999 !important;
        width: 100% !important;
        background: #f5f5f5 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
    }

    /* Einheitliche Bilddarstellung */
    .photo-container-portrait .photo-zoom img,
    .print-only-poster {
        width: 100% !important;
        height: auto !important;
        max-height: 500px !important; /* Konsistente maximale Höhe */
        object-fit: contain !important; /* Bild vollständig anzeigen */
        display: block !important;
        margin: 0 auto !important; /* Zentriert das Bild im Container */
    }

    /* Video ausblenden */
    video {
        display: none !important;
    }

    /* Bildunterschriften einheitlich */
    .photo-container-portrait figcaption,
    .video-caption {
        display: block !important;
        background: transparent !important;
        padding: 0.5rem !important;
        text-align: center !important;
        font-size: 9pt !important;
        color: #000 !important;
        border-top: 1px solid #ccc !important;
        width: 100% !important; /* Volle Breite für die Bildunterschrift */
    }

    /* Foto-Streifen für den Druck optimieren */
    .photo-strip-grid-three,
    .photo-strip-grid-two,
    .photo-text-grid {
        display: block !important;
    }

    .photo-strip-grid-three .photo-zoom,
    .photo-strip-grid-two .photo-zoom,
    .photo-text-grid .photo-zoom {
        width: 100% !important;
        margin-bottom: 1rem !important;
        border: 1px solid #999 !important;
    }

    .photo-strip-grid-three .photo-zoom img,
    .photo-strip-grid-two .photo-zoom img,
    .photo-text-grid .photo-zoom img {
        height: auto !important;
        max-height: 300px !important;
        object-fit: contain !important;
    }

    /* Korrektur für die Flex-Ausrichtung bei Videos */
    .video-container,
    .video-container-single {
        display: block !important; /* Überschreibt flex-Ausrichtung */
        flex-direction: unset !important; /* Entfernt flex-direction */
        align-items: unset !important; /* Entfernt align-items */
    }

    .floor-buttons {
        display: none !important;
    }
}
