:root {
    --primary-color: #7b887c;
    --secondary-color: #7b887c;
    --light-color: #f8f4e9;
    --dark-color: #7b887c;
    --accent-color: #7b887c;
    --text-color: #333;
    --main-bg: #ffffff;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--main-bg);
}

h1, h2, h3 {
    font-family: 'Georgia', serif;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: var(--light-color) !important;
}


.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 1rem 0;
}

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

/* Layout */
.page-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: var(--light-color);
    color: var(--dark-color);
    padding-top: 0px;
    margin-top: 0px;
    padding: 2rem 1rem;
    position: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--primary-color);
}

.logo {
    padding: 0px;
    margin: 0px;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--primary-color);
}

.logo-img {
    max-width: 200px; /* Anpassbar je nach Logo-Größe */
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Für mobile Ansicht */
@media (max-width: 768px) {
    .logo-img {
        max-width: 120px; /* Kleinere Größe für mobile Geräte */
    }
}

.nav-links {
    list-style: none;
    margin-top: 2rem;
}

.nav-links li {
    margin-bottom: 1.5rem;
}

.nav-links a {
    color: var(--dark-color) !important;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

/**.nav-links a:hover {
    color: var(--primary-color);
}**/

.nav-links i {
    margin-right: 1rem;
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 115, 85, 0.3);
    font-size: 0.9rem;
}

/* Main Content */
.main-content {
    margin-left: 250px;
    width: calc(100% - 250px);
    position: relative;
    z-index: 1;
}

.section {
    padding: 4rem 10%;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section:nth-child(even) {
    background-color: #f9f9f9;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    color: var(--dark-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-section .hero-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.hero-section .hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.hero-section .section-content {
    max-width: 900px;
    padding: 0 1rem;
}


/* Price Table */
.price-table {
    margin: 2rem 0;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
}

.price-table td {
    padding: 0.8rem;
    border-bottom: 1px solid #eee;
}

.price-table tr:last-child td {
    border-bottom: none;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    align-items: stretch; /* Stellt sicher, dass alle Zellen gleich hoch sind */
}

.image-gallery img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    min-height: 300px; /* Optional: Mindesthöhe */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.image-gallery img:hover {
    transform: scale(1.03);
}

/* Location Section - Korrigierte Version */
.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.location-info {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    grid-column: 1;
    grid-row: 1;
}

.map-container {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    grid-column: 2;
    grid-row: 1;
}

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

.location-info p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.8rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.2);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    margin: 1.5rem 0;
}

.checkbox input {
    margin-right: 0.8rem;
    margin-top: 0.3rem;
    min-width: 1.2rem;
    min-height: 1.2rem;
    accent-color: var(--primary-color);
}

.checkbox label {
    line-height: 1.5;
    color: var(--text-color);
    font-weight: normal;
    flex: 1;
}

.required-fields {
    font-size: 0.9rem;
    color: #777;
    margin: 1.5rem 0;
    text-align: center;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 1.2rem;
    background: var(--primary-color);
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.form-message {
    margin-top: 1em;
    font-weight: bold;
}

/* Wave Divider */
.wave-divider {
    width: 100%;
    height: 100px;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    position: relative;
    z-index: 2;
    margin-left: 250px;
}

.wave-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 100%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.wave-divider path {
    fill: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 3;
    margin-left: 250px;
    width: calc(100% - 250px);
}

.footer-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top p,
.footer-bottom p {
    color: white;
}

.footer-links {
    margin: 1.5rem 0;
}

.footer-links a {
    color: white;
    margin: 0 1rem;
    font-weight: bold;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--light-color);
    text-decoration: underline;
}

.footer-bottom i {
    color: white;
    margin-right: 0.5rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    color: white;
    background: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    z-index: 1100;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 992px) {
    .location-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    
    .location-info {
        grid-column: 1;
        grid-row: 2;
    }
    
    .map-container {
        grid-column: 1;
        grid-row: 1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content,
    .wave-divider,
    footer {
        margin-left: 0;
        width: 100%;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    .wave-divider {
        height: 80px;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 4rem 1rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
}

/* Hamburger Menu Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.sidebar.active .nav-links li {
    animation: fadeIn 0.3s ease forwards;
}

.sidebar.active .nav-links li:nth-child(1) { animation-delay: 0.1s; }
.sidebar.active .nav-links li:nth-child(2) { animation-delay: 0.2s; }
.sidebar.active .nav-links li:nth-child(3) { animation-delay: 0.3s; }
.sidebar.active .nav-links li:nth-child(4) { animation-delay: 0.4s; }

pre {
    font-family: 'Arial', sans-serif; /* Gleiche Schriftart wie body */
    line-height: 1.6; /* Gleicher Zeilenabstand */
    color: var(--text-color); /* Gleiche Textfarbe */
    white-space: pre-wrap; /* Behält Formatierung bei, aber erlaubt Zeilenumbrüche */
    word-wrap: break-word; /* Verhindert horizontales Scrollen */
    background-color: #ffffff; /* Heller Hintergrund */
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto; /* Nur bei Bedarf scrollen */
}

a.phone-white {
  color: white !important;           /* Schriftfarbe */
  text-decoration: none;  /* Unterstreichung entfernen (optional) */
}
