.contact-address {
    font-style: normal;
}

.contact-rush-note {
    background: rgba(37, 211, 102, 0.08);
    border-left: 3px solid #25d366;
    padding: 15px;
    border-radius: 4px;
    line-height: 1.5;
}

.contact-paths {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 24px 0 30px;
}

.contact-path {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    padding: 18px;
}

.contact-path span {
    color: var(--secondary-color);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.contact-path strong {
    color: #fff;
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.contact-path p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0;
}

.contact-route-teaser {
    align-items: center;
    background: rgba(212, 175, 55, 0.13);
    border: 1px solid rgba(212, 175, 55, 0.34);
    border-radius: 999px;
    color: var(--secondary-color);
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    line-height: 1.35;
    margin-bottom: 4px;
    padding: 10px 15px;
    text-decoration: none;
}

.contact-route-teaser::before {
    content: '';
    background: var(--secondary-color);
    border-radius: 999px;
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.14);
    height: 8px;
    width: 8px;
}

.contact-route-teaser:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.contact-rush-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.contact-flow-hint {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.82);
    margin-top: -8px;
    padding: 16px 18px;
}

.contact-flow-hint strong {
    color: var(--secondary-color);
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.contact-flow-hint p {
    margin: 0;
}

.contact-flow-hint__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.contact-flow-hint__actions a {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
    padding: 7px 12px;
    text-decoration: none;
}

.contact-rush-note strong {
    color: #25d366;
    display: block;
    margin-bottom: 3px;
}

.contact-rush-note a {
    color: #25d366;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px dashed #25d366;
}

.file-upload-wrapper {
    margin: 25px 0;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-label:hover,
.file-upload-label:focus-within {
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.08);
}

.file-upload-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.file-upload-text {
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.file-upload-text.is-selected {
    color: var(--primary-color);
}

.file-upload-help {
    color: #aaa;
    font-size: 0.85rem;
    margin-top: 8px;
}

.map-link {
    display: block;
    height: 100%;
    text-decoration: none;
}

/* Kontakt & Map */
.grid-contact {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 34px;
    align-items: start; /* Zieht Formular und Karte oben auf eine Linie */
}

/* Edler Einleitungstext über den Kontakt-Infos */
.grid-contact > div > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.contact-info {
    list-style: none;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Macht 2 Spalten, bricht auf dem Handy um */
    gap: 20px;
}

.contact-info li {
    background: rgba(255, 255, 255, 0.055); /* Transparenter Glas-Look passend zum Formular */
    padding: 20px;
    border-radius: 18px;
    border-left: 2px solid var(--secondary-color); /* Goldene Linie links */
    transition: transform 0.3s ease, background 0.3s ease;
}

.contact-info li:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px); /* Schwebt leicht nach rechts beim Hover */
}

.info-label {
    display: block;
    color: var(--secondary-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.info-value {
    display: block;
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
}

.appointment-note {
    grid-column: span 2; /* Erstreckt sich über beide Spalten des Grids */
    margin-top: 10px;
    font-style: italic;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Kleines Grid für tabellarische Öffnungszeiten */
.hours-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 15px; /* Abstand zwischen Tagen und Uhrzeiten */
}

/* Kontakt Formular */
.contact-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.09), transparent 34%),
        rgba(255, 255, 255, 0.045); /* Edler, transparenter Karten-Look */
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05); /* Zarte Lichtkante */
    box-shadow: 0 15px 35px rgba(0,0,0,0.2); /* Sanfter Schatten für mehr Tiefe */
}

/* Honeypot unsichtbar machen */
.honeypot {
    display: none !important;
    position: absolute;
    left: -9999px;
}

/* Schwebende Labels (Floating Labels) */
.input-group {
    position: relative;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-family: var(--font-body);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: border-color 0.3s ease;
    resize: vertical;
}

.input-group textarea {
    min-height: 80px;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-bottom-color: transparent; /* Macht Platz für die animierte Linie */
}

/* Animierte goldene Linie, die von der Mitte aus aufklappt */
.input-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.4s ease-out;
}

.input-group:focus-within::after {
    width: 100%;
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-style: italic; /* Kursiver Luxus-Look für Platzhalter */
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Schiebt das Label nach oben, wenn das Feld fokussiert ist oder Text enthält */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label,
.input-group select:focus ~ label,
.input-group select:valid ~ label {
    top: -22px;
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-family: var(--font-body);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px; /* Weiter Buchstabenabstand beim Hochfahren */
    font-weight: 600;
}

/* --- Kalender und Terminbuchungs-Modul --- */
select#service_type {
    appearance: none; /* Versteckt den Standard-Browser-Pfeil */
    -webkit-appearance: none;
    cursor: pointer;
    /* Neuer, fester Pfeil als SVG am rechten Rand */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0px center; /* Fixiert ganz rechts */
    background-size: 16px;
    padding-right: 30px; /* Platz, damit Text nicht über den Pfeil ragt */
}

select#service_type option {
    background-color: var(--primary-color);
    color: white;
}

.booking-module {
    background: rgba(0, 0, 0, 0.15);
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: -10px;
    animation: fadeInBooking 0.5s ease;
}

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

.calendar-wrapper input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.calendar-wrapper input:focus, .calendar-wrapper input:hover {
    border-color: var(--secondary-color);
    outline: none;
}

.slots-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 20px 0 10px;
    font-family: var(--font-heading);
}

.slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.time-slot-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 15px;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.time-slot-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.time-slot-btn.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    animation: selected-stitch 0.35s ease;
}

@keyframes selected-stitch {
    from { transform: scale(0.96); }
    to { transform: scale(1); }
}

/* Styling für belegte Termine */
.time-slot-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
}

.time-slot-btn.disabled:hover {
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 760px) {
    .contact-paths {
        grid-template-columns: 1fr;
    }
}

.slots-placeholder, .loading-spinner, .error-msg {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-style: italic;
}

.loading-spinner { color: var(--secondary-color); }

/* Flatpickr Dark Theme Anpassungen auf dein Gold */
.flatpickr-calendar.dark {
    background: #1a1d24 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}
.flatpickr-day.selected {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

/* Checkbox für DSGVO */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: -10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    accent-color: var(--secondary-color); /* Goldene Checkbox */
    cursor: pointer;
}

.checkbox-group label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.5;
    font-weight: 300;
}

.checkbox-group a {
    color: var(--secondary-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Eleganter Outline-Button für das Formular */
.btn-outline {
    align-self: flex-start;
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    margin-top: 15px;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 2px;
    border-radius: 999px;
    padding: 12px 35px;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); /* Sanftes goldenes Leuchten */
}

/* AJAX Loading Spinner für Buttons */
.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
    vertical-align: middle;
}

.btn-outline:hover .spinner {
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: white;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-outline.is-loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-outline.is-loading .spinner {
    display: inline-block;
}

/* Form Feedback Messages */
.form-feedback {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 18px;
    color: white;
    text-align: center;
}

.form-feedback.success {
    background-color: #28a745; /* Green */
}

.form-feedback.error {
    background-color: #dc3545; /* Red */
}

.map-container {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 30px;
    box-shadow: 0 24px 55px rgba(0,0,0,0.26);
    align-self: start;
    height: clamp(380px, 56vh, 520px);
    min-height: 380px;
    position: sticky;
    top: 110px;
}

.map-container::before {
    background:
        linear-gradient(135deg, rgba(44, 48, 58, 0.80), rgba(20, 23, 31, 0.50)),
        transparent;
    content: '';
    inset: 0;
    position: absolute;
    transition: opacity 0.35s ease, background 0.35s ease;
    z-index: 1;
}

.map-container:hover::before,
.map-container:focus-within::before {
    background:
        linear-gradient(135deg, rgba(44, 48, 58, 0.42), rgba(20, 23, 31, 0.22)),
        transparent;
}

.map-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Verhindert Verzerrungen trotz der neuen Höhe */
    transition: transform 0.3s;
}

.map-container:hover .map-image {
    transform: scale(1.05);
}

.map-overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), transparent 42%); /* Dunkelt die Karte ab, damit Text lesbar ist */
    transition: background 0.4s ease;
    z-index: 1;
}

.map-container:hover .map-overlay-backdrop {
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.10), transparent 42%);
}

.map-overlay-content {
    position: absolute;
    bottom: 34px; /* Platziert den Inhalt am unteren Rand */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 90%;
}

.map-pin {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: var(--secondary-color);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    padding: 8px 12px;
    text-transform: uppercase;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.6));
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.map-container:hover .map-pin {
    transform: translateY(-4px);
}

.map-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    display: inline-flex;
    padding: 13px 24px;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 999px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.map-container:hover .map-btn {
    background: #b5952f;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.map-privacy-note {
    color: rgba(255, 255, 255, 0.76);
    display: block;
    font-size: 0.78rem;
    line-height: 1.5;
    text-shadow: 0 2px 5px rgba(0,0,0,0.9); /* Starker Schatten für Lesbarkeit */
}

.pricing-cta .btn,
.pricing-cta .btn-outline-dark {
    border-radius: 999px;
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 768px) {
    .grid-contact {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .map-container {
        align-self: auto;
        height: 320px;
        min-height: 320px;
        position: relative;
        top: auto;
        width: 100%;
    }

    .map-image {
        position: absolute;
    }

    .map-overlay-content {
        bottom: 24px;
        width: calc(100% - 32px);
    }

    .map-pin {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
        margin-bottom: 10px;
        padding: 6px 9px;
    }

    .map-btn {
        font-size: 0.95rem;
        padding: 10px 18px;
    }
}
