:root {
    --jamt-blue: #004B87;
    --jamt-green: #007A33;
    --dark: #0f172a;
    --light: #f8fafc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    min-height: 100vh;
}

/* Haupt-Wrapper Layout */
.main-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

/* Desktop-Layout & Fixierung der linken Spalte */
@media (min-width: 768px) {
    .main-wrapper {
        flex-direction: row;
    }

    /* Linke Seite: Fixiert, nimmt 60% der Breite & volle Bildschirmhöhe ein */
    .brand-side {
        position: fixed;
        top: 0;
        left: 0;
        width: 60%;
        height: 100vh;
        z-index: 10;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Vertikal zentrieren */
        align-items: center;     /* Horizontal zentrieren */
        text-align: center;
        padding: 40px;
    }

    /* Rechte Seite: Platzierung rechts neben der fixierten linken Spalte */
    .content-side {
        margin-left: 60%; /* Gleicht die 60% Breite der fixierten Spalte aus */
        width: 50%;
        max-width: 700px;
    }
}

/* Mobile-Layout (unter 768px) */
@media (max-width: 767.98px) {
    .brand-side {
        position: relative;
        width: 100%;
        padding: 60px 20px 40px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .content-side {
        width: 100%;
        margin-left: 0;
    }
}

/* Linke Seite Design-Details */
.brand-side {
    background: linear-gradient(135deg, var(--jamt-blue) 0%, #002f56 100%);
    color: white;
}

.brand-side::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--jamt-blue) 50%, var(--jamt-green) 45%, var(--jamt-green) 110%, #fff 90%);
}	

.brand-side h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.brand-side p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

/* Rechte Seite: Inhalt & Kontakt */
.content-side {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.section-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-bottom: 20px;
    margin-top: 30px;
    font-weight: 700;
}

.services-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.service-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
	border-left: 4px solid var(--jamt-green);
	border-right: 4px solid var(--jamt-green);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.service-card-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.service-description {
    width: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* SEO-Intro-Text unter den Service-Kacheln */
.seo-intro {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--jamt-blue);
	border-right: 4px solid var(--jamt-blue);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
}

/* Spezieller Style für die Kontaktkarte */
.contact-info-card {
    cursor: default;
}

.contact-name {
    font-size: 1.1rem;
    color: var(--dark);
}

.contact-divider {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #e2e8f0;
}

.opening-hours-section h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

/* Status Badges */
.status-container {
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 6px;
}

.status-container.offen {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-container.geschlossen {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.info-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 2px;
}

/* Kontakt-Formular */
.form-container {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-top: 25px;
    margin-bottom: 30px;
	border-left: 4px solid var(--jamt-blue);
	border-right: 4px solid var(--jamt-blue);
}

.form-container h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 22px;
    text-align: center;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
    outline: none;
}

textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--jamt-blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--jamt-green);
}

/* Footer Elemente */
.legal-footer1 {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
}

.legal-footer {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.legal-footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.legal-footer-links button {
    background: none;
    border: none;
    color: #0056b3;
    text-decoration: underline;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Fixed Elemente */
.language-switcher-fixed,
.portal-button-fixed {
    position: fixed;
    top: 20px;
    z-index: 9999;
}

.language-switcher-fixed { right: 20px; }
.portal-button-fixed { left: 20px; }

.language-switcher-fixed select,
.portal-button-fixed a {
    padding: 8px 14px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff;
    color: #333;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 600px) {
    .language-switcher-fixed, .portal-button-fixed { top: 10px; }
    .language-switcher-fixed { right: 10px; }
    .portal-button-fixed { left: 10px; }
    .form-row { flex-direction: column; gap: 0; }
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 2px solid #0056b3;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 10000;
    display: none;
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie-accept, .btn-cookie-reject {
    flex: 1;
    padding: 10px;
    font-weight: 600;
    border-radius: 6px;
    border: 2px solid #0056b3;
    background-color: #0056b3;
    color: #ffffff !important;
    cursor: pointer;
}

.btn-cookie-accept:hover, .btn-cookie-reject:hover {
    background-color: #004085;
}

.alert-box.warning {
    background-color: #fffbe6;
    border-left: 6px solid #faad14;
    padding: 15px;
    margin-top: 15px;
}

#promoModal .promo-modal-content {
            border: none;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 15px 45px rgba(0,0,0,0.25);
        }
        #promoModal .modal-dialog {
            max-width: 560px;
        }
        #promoModal .modal-body {
            padding: 0 2rem 2rem 2rem;
            position: relative;
        }
        #promoModal .promo-image {
            width: 100%;
            max-height: 75vh;
            object-fit: contain;
            background: #f4f4f4;
            display: block;
            margin-bottom: 1rem;
        }
        /* Modus "nur Bild": Badge/Titel/Text werden ausgeblendet, das Bild steht im Fokus */
        #promoModal.promo-mode-nur-bild .promo-badge,
        #promoModal.promo-mode-nur-bild .promo-title,
        #promoModal.promo-mode-nur-bild .promo-text {
            display: none;
        }
        #promoModal.promo-mode-nur-bild .modal-body {
            padding-top: 1.5rem;
        }
        /* Modus "kein Bild": Bild wird komplett ausgeblendet */
        #promoModal.promo-mode-kein-bild .promo-image {
            display: none;
        }
        #promoModal .promo-modal-close {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 1.4rem;
            line-height: 1;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(255,255,255,0.9);
            opacity: 1;
            z-index: 3;
        }
        #promoModal .promo-modal-close:hover {
            background: #fff;
        }
        #promoModal .promo-badge {
            display: inline-block;
            background: #d9534f;
            color: #fff;
            font-weight: 700;
            font-size: 0.8rem;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            padding: 5px 14px;
            border-radius: 30px;
            margin-top: 1.5rem;
            margin-bottom: 1rem;
        }
        #promoModal .promo-title {
            font-weight: 700;
            margin-bottom: 0.8rem;
        }
        #promoModal .promo-text {
            color: #444;
            margin-bottom: 1.6rem;
        }
        #promoModal .promo-cta-btn {
            padding: 10px 28px;
            font-weight: 600;
            border-radius: 8px;
        }
		
.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icon:hover,
.social-icon:focus {
  opacity: 0.85;
  transform: translateY(-2px);
  text-decoration: none;
}

.facebook-icon {
  background-color: #1877F2;
}

.instagram-icon {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.whatsapp-icon {
  background-color: #25D366;
}

