
/* =====================================================
   MULISH – Local Hosting
===================================================== */

@font-face {
    font-family: 'Mulish';
    src: url('../fonts/mulish/mulish-v18-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mulish';
    src: url('../fonts/mulish/mulish-v18-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mulish';
    src: url('../fonts/mulish/mulish-v18-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =====================================================
   Open Sans – lokal eingebunden
===================================================== */

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans/open-sans-v44-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans/open-sans-v44-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans/open-sans-v44-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =====================================================
   Globaler Box-Model-Fix
===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

/* =====================================================
   Grundlayout Body (Sticky Header/Footer Offset)
===================================================== */
body {
    margin: 0;
    font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f9efe7;
    color: #2b2b2b;

    /* Platz für sticky Header & Footer */
    padding-top: 80px;
    padding-bottom: 56px;
}

/* =====================================================
   Überschriften – Mulish wie Hauptseite
===================================================== */

h1,
h2,
h3,
.summary h3,
.success-title {
    font-family: 'Mulish', sans-serif;
}

/* =====================================================
   Headline-Hierarchie (Booking & Calendar konsistent)
===================================================== */

h1 {
    font-family: 'Mulish', sans-serif;
    font-size: 42px;          /* Hero-Größe */
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin: 0 0 48px;
    color: #5f2e91;           /* dunkellila */
}

h2 {
    font-family: 'Mulish', sans-serif;
    font-size: 30px;          /* größer als h3, kleiner als h1 */
    font-weight: 500;
    line-height: 1.3;
    margin: 48px 0 28px;
    color: #5f2e91;           /* gleiches dunkellila wie h1 */
}

h3 {
    font-family: 'Mulish', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 18px;
    color: #9356ba;           /* helleres Lila für Steps */
}
/* =====================================================
Button-Blinken
===================================================== */
@keyframes pulse-highlight {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 79, 170, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(108, 79, 170, 0);
        transform: scale(1.03);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(108, 79, 170, 0);
        transform: scale(1);
    }
}

.btn-pulse {
    animation: pulse-highlight 1.2s ease-out 4;
}

/* =====================================================
   Öffentlicher Header (eTermin-Style) – FINAL STABLE
===================================================== */

.public-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 80px;
    height: auto;

    background: #f9efe7;
    border-bottom: 1px solid #e6e6e6;
    z-index: 1000;
}

.public-header-inner {
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 8px 20px;
    gap: 20px;
}

/* Linke Seite */
.ph-left {
    display: flex;
    align-items: center;
    gap: 14px;

    flex: 1 1 auto;     /* darf wachsen */
    min-width: 0;       /* extrem wichtig bei Flex */
}

/* Logo */
.ph-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;

    flex: 0 0 42px;
    max-width: 42px;
    max-height: 42px;
}

/* =====================================================
   Header – Custom Google Rating (ohne iframe)
===================================================== */

.ph-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;   /* keine feste Breite mehr */
}

.ph-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    white-space: nowrap;
}

.ph-rating-text {
    display: flex;
    gap: 6px;
    align-items: center;
    color: #2b2b2b;
}

.ph-rating-text strong {
    font-weight: 600;
}

.ph-rating-text span {
    color: #666;
    font-size: 13px;
}

/* Sterne */
.ph-stars {
    --percent: calc(var(--rating) / 5 * 100%);
    position: relative;
    display: inline-block;
    font-size: 16px;
    line-height: 1;
}

.ph-stars::before {
    content: "★★★★★";
    letter-spacing: 2px;
    background: linear-gradient(90deg, #f5b301 var(--percent), #e0e0e0 var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Textblock */
.ph-info {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
/* =====================================================
   Header – Reviews Widget (CommonNinja Share-Version)
===================================================== */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 40px;   /* oben weniger Abstand */
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
}

.layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Calendar – manueller Step-Abstand (final, robust)
===================================================== */
.calendar-step-spacer {
    height: 32px;
}


/* =====================================================
   Cards / Steps
===================================================== */

.card {
    background: #fdf7ff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.step {
    background: #fdf7ff;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

/* ================================
   Service Card
================================ */
.option {
    position: relative;              /* Referenz für absolut positionierten Preis */
    border: 2px solid #e4dff1;
    border-radius: 16px;
    padding: 18px;
    background: #faf8fd;
    cursor: pointer;
}

.option:hover {
    border-color: #7a4df3;
}

.option.selected {
    border-color: #7a4df3;
    background: #f0eaff;
}

#service-info-text a {
    color: #9356BA;
    text-decoration: underline;
    cursor: pointer;
    pointer-events: auto;
}

.service-bullets div {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.service-bullets .bullet {
    color: #9356ba;
    font-weight: bold;
    flex-shrink: 0;
}

/* ================================
   Header – eTermin FINAL
================================ */
.option-header {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 6px;
}

/* Logo */
.option-logo {
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
}

.option-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Titel */
.option-title {
    grid-column: 2;
    grid-row: 1;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

/* Meta-Zeile: Minuten + Preis */
.option-meta {
    grid-column: 2;
    grid-row: 2;

    display: flex;
    align-items: baseline;
    justify-content: space-between;

    font-size: 14px;
    color: #7a4df3;
}

.option-price {
    font-weight: 600;
    color: #7a4df3;      /* exakt wie .option-meta */
    white-space: nowrap;
}
/* =====================================================
   Beschreibung
===================================================== */
.option-desc {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.45;
    color: #333;
}

/* Service-Liste innerhalb der Leistungsbeschreibung */
.option-desc .service-list {
    margin: 8px 0 0 18px;
    padding: 0;
}

.option-desc .service-list li::marker {
    color: #9356ba;
    font-size: 1.2em;
}

/* Nicht buchbare Leistungen: keine Interaktion, aber normale Optik */
.option-disabled {
    cursor: default;
}

/* Hover-Effekt unterdrücken */
.option-disabled:hover {
    border-color: #e4dff1;
    background: #faf8fd;
}

/* =====================================================
   Summary
===================================================== */
.summary {
    position: sticky;
    top: 30px;
    background: #fdf7ff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.summary h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px;
    color: #9356ba;
}

.summary-item {
    display: grid;
    grid-template-columns: 120px 1fr; /* feste Label-Spalte */
    column-gap: 8px;

    font-size: 14px;
    margin-bottom: 10px;
}

.summary-total {
    margin-top: 14px;
    font-weight: normal; /* kein Fett */
}

/* =====================================================
   Buttons
===================================================== */
.btn {
    margin-top: 18px;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    background: #7a4df3;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

.btn:disabled {
    background: #bbb;
    cursor: not-allowed;
}

/* =====================================================
   Booking – Hero / Begrüßung
===================================================== */

.booking-hero {
    background: #f9efe7;
    padding: 60px 0 20px;
    margin-bottom: 0;
}

.booking-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* 🔹 Zurück-Button korrekt rechts */
.booking-hero-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 24px;
}

.booking-hero-back {
    background: #9356ba;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
}

.booking-hero-back:hover {
    background: #7f45a6;
}

/* 🔹 Hauptüberschrift */
.booking-hero-title {
    font-family: 'Mulish', sans-serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.3px;
    color: #5f2e91;
    margin: 0 0 18px;   /* statt 64px */
}

.booking-hero-title span {
    display: block;
}

/* 🔹 Drei Textzeilen darunter – identischer Abstand */
.booking-hero-lead,
.booking-hero-services,
.booking-hero-highlight {
    margin: 0 0 18px;
}

.booking-hero-lead {
    font-size: 20px;       /* gleiche Größe wie Highlight */
    font-weight: 500;      /* gleiche Stärke */
    color: #9356ba;        /* Ihre Markenfarbe */
}

.booking-hero-services {
    font-size: 15px;
    color: #2b2b2b;
}

.booking-hero-highlight {
    font-size: 20px;
    font-weight: 500;
    color: #9356ba;
}


/* =====================================================
   Calendar – Kalender & Slots
===================================================== */

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.calendar-header button {
    border: none;
    background: #f0eaff;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}

.weekday {
    font-weight: 600;
    color: #555;
    font-size: 13px;
}

.day {
    padding: 6px;
    cursor: pointer;
    font-size: 14px;
}

.day.disabled {
    text-decoration: line-through;
    color: #aaa;
    cursor: default;
}

.day.active {
    color: #7a4df3;
    border-bottom: 2px solid #7a4df3;
}

/* =====================================================
   Calendar – Slots
===================================================== */

.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.slot {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
}

.slot:hover {
    background: #f0eaff;
    border-color: #7a4df3;
}

.slot.selected {
    background: #f0eaff;
    border-color: #7a4df3;
    font-weight: 600;
}

/* =====================================================
   Calendar – Therapeut:innen Navigation
===================================================== */

.therapist-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-arrow {
    border: none;
    background: #f0eaff;
    color: #7a4df3;
    font-size: 20px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.nav-arrow:hover {
    background: #e6dcff;
}

/* =====================================================
   Calendar – Drag / Swipe für Therapeut:innen
===================================================== */
.calendar-page .therapist-nav .options {
    user-select: none;
    -webkit-overflow-scrolling: touch;
}

/* =====================================================
   Calendar – Summary Höhenabgleich
===================================================== */

.summary-col {
    display: flex;
    flex-direction: column;
}

.summary-offset {
    height: 44px; /* exakt Höhe des linken h2 */
}

.summary-wrap {
    flex: 1;
    display: flex;
}

/* =====================================================
   Calendar – Layout FIXES (wichtig!)
===================================================== */

.calendar-page #therapists {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: auto;
    overscroll-behavior: contain;

    cursor: grab;
}

/* Therapeut:innen Cards */
.calendar-page .option {
    min-width: 200px;
    padding: 16px;
    background: #fdf7ff;
    border-radius: 16px;
    border: 2px solid #e4dff1;
    text-align: center;
    transition: .2s;
}

/* =====================================================
   Calendar – "beliebig" wie echte Card (eTermin-Style)
===================================================== */

.calendar-page .option.option-any {
    min-width: 120px;
    max-width: 120px;
    flex: 0 0 120px;

    padding: 16px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


.calendar-page .option-any .any-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #2f3e72;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 26px;

    margin: 0 auto 10px;   /* 🔥 exakt wie therapist-photo */
}

.calendar-page .option-any .option-title {
    font-weight: 700;      /* gleich wie .option-title global */
    font-size: 15px;
    margin-bottom: 4px;    /* identisch zu Therapeut:innen */
}

.calendar-page .option.selected {
    border-color: #7a4df3;
    background: #f0eaff;
}

/* Avatar */
.calendar-page .therapist-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 auto 10px;
    object-fit: cover;
}

/* Namen & Text */
.calendar-page .option-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
}

.calendar-page .option-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.35;
}

/* Therapeut:innen Cards */
.calendar-page .option {
    min-width: 200px;
    padding: 16px;
    background: #fdf7ff;
    border-radius: 16px;
    border: 2px solid #e4dff1;
    text-align: center;
    transition: .2s;
}

/* 🔧 Einheitliche Kartenhöhe erzwingen */
.calendar-page .option,
.calendar-page .option-any {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* =====================================================
   Calendar – weiße Karten erzwingen
===================================================== */

.calendar-page .card {
    background: #fdf7ff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* =====================================================
   Calendar – Zurück-Link korrekt positionieren
===================================================== */

.calendar-page .btn-back {
    display: block;          /* eigene Zeile */
    text-align: right;       /* rechtsbündig */
    margin-top: 14px;        /* Abstand zum Weiter-Button */
}

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

.contact-page .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

.contact-page .form-grid input,
.contact-page .form-grid textarea,
.contact-page .form-grid select {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    line-height: 1.4;
    min-height: 48px;
}

.contact-page .form-grid textarea {
    grid-column: 1 / -1;
    height: 72px;
    resize: vertical;
}

.contact-page .form-grid > * {
    min-width: 0;
}

/* =========================
   Contact – Checkboxen
========================= */

.contact-page .checkbox-card {
    margin-top: 24px;
}

.contact-page .checkbox-error {
    outline: 2px solid #c20000;
    outline-offset: 4px;
    border-radius: 6px;
    background: #fff3f3;
}

/* =========================
   Contact – Summary
========================= */

.contact-page .summary hr {
    border: none;
    border-top: 1px solid #000;
    margin: 16px 0;
}

.contact-page .therapist-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-page .summary .therapist-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    background: #ddd;
    display: block;
    margin: 8px auto 12px auto;
}

/* =========================
   Contact – Buttons
========================= */

.contact-page .btn-back {
    display: inline-block;
    margin-top: 20px;
    padding: 6px 12px;
    font-size: 13px;
    background: transparent;
    color: #6b5bd2;
    border-radius: 8px;
    text-decoration: underline;
}

.contact-page .btn-back:hover {
    background: #f0eaff;
    text-decoration: none;
}

/* =========================
   Layout Desktop
========================= */

@media (min-width: 1000px) {
    .contact-page .layout {
        column-gap: 56px;
    }
}
/* =========================
   Contact – Checkboxen (FINAL, iOS-sicher)
========================= */

.contact-page .checkbox-card label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.4;
    margin-bottom: 10px;

    /* 🔧 wichtig: verhindert Text-Zerreißen auf iOS */
    flex-wrap: nowrap;
}

.contact-page .checkbox-card label input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #7a4df3;
    cursor: pointer;
}

/* Textblock neben Checkbox */
.contact-page .checkbox-card label span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;

    /* 🔧 iOS Safari Fix */
    white-space: normal;
    word-break: normal;
}

/* =========================
   Contact – Select / Dropdown
========================= */

.contact-page select {
    width: auto;
    min-width: 240px;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fdf7ff;
    cursor: pointer;
}

.contact-page .checkbox-card + div {
    margin-top: 14px;
}

/* FORCE: Anliegen-Feld bewusst kurz */
.contact-page .form-grid textarea#concern {
    min-height: 72px !important;
    height: 72px !important;
    resize: vertical;
}

/* =====================================================
   Request Success – Buchung abgeschlossen
===================================================== */

.request-success-page .container {
    max-width: 900px;
    padding: 60px 20px;
}

.request-success-page .card {
    border-radius: 18px;
    padding: 36px 32px;
}

.request-success-page h1 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 20px;
}

.request-success-page .notice {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 12px;
    background: #f7f2ed;
    font-size: 15px;
}

/* =====================================================
   Request Success – Abschlussseite
===================================================== */

.success-message {
    margin-top: 10px;
}

.success-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    color: #9356ba;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 24px;
}

/* ================================
   Animierter Haken – sauber & langsam
================================ */

.success-check {
    width: 64px;
    height: 64px;
}

.success-check path {
    fill: none;
    stroke: #9356ba;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 100;
    stroke-dashoffset: 100;

    animation: draw-check 2.8s cubic-bezier(.22,.61,.36,1) forwards;
}

@keyframes draw-check {
    from {
        stroke-dashoffset: 100;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.success-icon-circle {
    width: 34px;
    height: 34px;
    background: #9356ba;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}


.success-team {
    text-align: center;
    color: #9356ba;
    font-size: 18px;
    font-weight: 500;
    margin-top: 28px;
}

.success-hint {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #555;
}

/* normaler Textblock – rechtsbündig */
.success-body {
    text-align: left;
}

.success-body p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 16px;
}

/* Abschlussseite – Hinweisblock */
.success-body .notice {
    background: #f3f3f3;        /* hellgrau */
    border-radius: 12px;
    padding: 16px 18px;
    margin: 20px 0;
}

/* Wichtig-Hinweis mit Icon */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
}

.info-icon-circle {
    width: 26px;
    height: 26px;
    background: #9356ba;
    color: #ffffff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    font-weight: 700;

    flex-shrink: 0;
}

.success-intro {
    text-align: center;
}
.success-body .notice p {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.5;
}

.success-body .notice p:last-child {
    margin-bottom: 0;
}



/* =====================================================
   Öffentlicher Footer
===================================================== */
.public-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 56px;

    background: #f9efe7;
    border-top: 1px solid #e6e6e6;
    z-index: 1000;
}

.public-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;

    font-size: 13px;
    color: #555;
}
.footer-left {
    white-space: nowrap;
}

.footer-right a {
    color: #6b5bd2;
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}

.footer-sep {
    margin: 0 6px;
    color: #999;
}

/* ============================================================
   Gutschein-Code – exakt wie normale Formularfelder
============================================================ */

.contact-page #voucher_code {
    width: 100%;
    height: 48px;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.4;
    border-radius: 10px;
    box-sizing: border-box;
    display: block;

    border: 1px solid #ddd;   /* explizit wie andere Inputs */
    outline: none;            /* 🔥 entfernt schwarze Focus-Outline */
}

.contact-page #voucher_code:focus {
    border-color: #7a4de8;    /* gleiche Fokusfarbe wie restliche Inputs */
    outline: none;
}

/* Mobile */
@media (max-width: 700px) {
    .public-footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .rating {
        position: relative;
        display: inline-block;
        font-size: 1em;
        line-height: 1;
    }

    .rating-bg {
        color: #e0e0e0;
    }

    .rating-fg {
        position: absolute;
        top: 0;
        left: 0;
        overflow: hidden;
        white-space: nowrap;
        color: #f5b301;
    }
}   /* ← DIESE KLAMMER HAT GEFEHLT */

/* =====================================================
   Mobile Footer CTA – global
===================================================== */

.mobile-footer-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 56px; /* Höhe des public_footer */
    z-index: 1100;

    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #7a4df3;

    display: none; /* default: aus */
}

.mobile-footer-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;

    border: none;
    border-radius: 14px;

    background: #ffffff;
    color: #7a4df3;

    cursor: pointer;
}

.mobile-footer-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =====================================================
   Contact – Mobile Layout
===================================================== */

@media (max-width: 700px) {

    /* Formular einspaltig */
    .contact-page .form-grid {
        grid-template-columns: 1fr;
    }

    /* Layout untereinander statt Spalten */
    .contact-page .layout {
        display: flex;
        flex-direction: column;
    }

    .contact-form-col {
        order: 1;
    }

    .contact-summary-col {
        order: 2;
        margin-top: 24px;
    }

}
/* =====================================================
   Contact – Select unter Label (Mobile & Desktop)
===================================================== */

.checkbox-card label.label-vertical {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.checkbox-card label.label-vertical select {
    width: 100%;
}
/* =====================================================
   Mobile Footer CTA – Sichtbarkeit
===================================================== */

@media (max-width: 900px) {

    /* CTA standardmäßig verborgen */
    .mobile-footer-cta {
        display: none;
    }

    /* CTA nur bei aktivem State */
    body.mobile-footer-visible .mobile-footer-cta {
        display: block;
    }

    /* Platz schaffen, damit nichts verdeckt wird */
    body.mobile-footer-visible {
        padding-bottom: 140px; /* CTA + Footer + Luft */
    }

}
/* =====================================================
   Public Header – Mobile Fix (FINAL)
===================================================== */
@media (max-width: 700px) {

    .public-header {
        height: auto;
        min-height: 72px;
        width: 100%;
    }

    .public-header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 8px;
        padding-bottom: 8px;
        gap: 10px;
    }

    .ph-left {
        align-items: flex-start;
        width: 100%;
    }

    .ph-right {
        width: 100%;
        justify-content: flex-start;
    }

    .ph-rating {
        font-size: 13px;
        gap: 6px;
    }

    .ph-stars {
        font-size: 14px;
    }

    /* 🔥 WICHTIG: Mobile Textumbruch */
    .ph-info {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.35;
        font-size: 13px;
    }

    body {
        padding-top: 120px;
    }
}

.booking-hero-back {
    background: #9356ba !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    cursor: pointer;
}

.booking-hero-back:hover {
    background: #7f45a6 !important;
}

.booking-hero + .container h2 {
    margin-top: 64px;
}
.booking-hero-lead {
    margin-top: 48px;
}