
/* Lokal ausgelieferte Fonts (ersetzen frueher @import von fonts.googleapis.com);
   erlaubt strikte CSP ohne fonts.googleapis.com / fonts.gstatic.com. */
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local('Roboto Condensed Light'), local('RobotoCondensed-Light'),
         url('../font/roboto-condensed-v31-latin_latin-ext-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Roboto Condensed'), local('RobotoCondensed-Regular'),
         url('../font/roboto-condensed-v31-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto Condensed';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: local('Roboto Condensed Italic'), local('RobotoCondensed-Italic'),
         url('../font/roboto-condensed-v31-latin_latin-ext-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Roboto Condensed Bold'), local('RobotoCondensed-Bold'),
         url('../font/roboto-condensed-v31-latin_latin-ext-700.woff2') format('woff2');
}

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

/* --- Kompatibilitaets-Banner (siehe bain_bleu_booking_compat.js) --------
   Wird eingeblendet, wenn der Browser Features fehlen, die die
   Online-Reservierung benoetigt (fetch, Promise, AbortController ...).
   Bewusst mit ganz einfachen CSS-Eigenschaften, damit die Warnung auch
   auf sehr alten Browsern anstaendig aussieht. */
.bb-compat-banner {
    display: block;
    position: relative;
    z-index: 10000;
    padding: 12px 20px;
    background: #fff3cd;
    color: #856404;
    border-bottom: 3px solid #ffc107;
    font: 14px/1.5 'Roboto Condensed', Arial, sans-serif;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.bb-compat-banner strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

body {
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    font: 400 16px/19px 'Roboto Condensed', sans-serif;
    line-height: 1.4em;
    font-weight: normal;
    text-align: center;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url('../img/bain_bleu_booking_background_1.jpg') no-repeat center center fixed;
    background-size: cover;
    z-index: -1;
    transform: scale(1.4);
}

/* headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    margin: .45em 0;
    line-height: 1.0em;
    padding: 0;
}

h2 { font-size: 24px; }
h3 { font-size: 19px; }

h2 { margin-bottom: 20px; }

/* links */
a { color: #A4DCFF; text-decoration: none; }
a:visited,
a:active,
a:hover { color: #A4DCFF; text-decoration: underline; }

.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}

.header {
    display: flex;
    align-items: center;
}

.header .logo {
    flex: 0 0 auto;
}

/* Explizite Groesse fuer das SVG-Logo. SVGs ohne intrinsische Pixelmasse
   (nur viewBox) wuerden sonst auf den Browser-Default 300x150 fallen.
   Bleibt bewusst in der CSS-Datei und nicht als Inline-`style`: die CSP der
   Booking-Seiten erlaubt `'unsafe-inline'` in `style-src` zwar (fuer
   sanitized Admin-Produkt-HTML), fuer eigenen Layout-Code vermeiden wir
   Inline-Styles trotzdem — haelt die Angriffsflaeche fuer CSS-Injektion klein. */
.header .logo img {
    height: 60px;
    width: auto;
    display: block;
}

.language-switcher {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
}

.language-switcher select {
    padding: 5px;
    background-color: #000;
    color: #FFFFFF;
    font-size: 11px;
    border: none;
    cursor: pointer;
}

.language-switcher select:hover {
    background-color: #990000;
}

.infobox {
    border: 1px solid #1e2c3f;
    border-radius: 4px;
    background: #171717;
    padding: 30px;
    text-align: left;
}

.infobox ol {
    padding-left: 1.5em;
}

/* ------------------------------------------------------------------
   Zwei-spaltiges Layout fuer die Info-Boxen oberhalb der Produktliste.
   Ab genuegend Breite nebeneinander, sonst untereinander (mobile-first).
   ------------------------------------------------------------------ */
.info-columns {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 15px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .info-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Innerhalb des Grids sollen die Boxen kein zusaetzliches Aussenraster
   erzeugen (Grid-Gap uebernimmt das). */
.info-columns > .infobox {
    margin: 0;
}

/* Aufklappbare Info-Boxen (<details>/<summary>). Standardmaessig zu. */
.info-collapsible > summary {
    cursor: pointer;
    font-weight: bold;
    font-size: 1.15em;
    list-style: none;
    padding: 2px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.info-collapsible > summary::-webkit-details-marker {
    display: none;
}

.info-collapsible > summary::before {
    content: '\25B8'; /* Kleines Dreieck nach rechts */
    display: inline-block;
    font-size: 0.9em;
    line-height: 1;
    transition: transform 0.15s ease;
}

.info-collapsible[open] > summary::before {
    transform: rotate(90deg);
}

.info-collapsible > summary:focus-visible {
    outline: 2px solid #DBE6FD;
    outline-offset: 3px;
    border-radius: 2px;
}

.info-collapsible-body {
    margin-top: 12px;
}

/* Abstand zwischen Intro-Text und Schritte-Liste in der Box
   "Ablauf der Bestellung" (infobox_intro <p> + infobox_steps <ol>).
   Der globale Reset `* { margin: 0 }` entfernt sonst den Zwischenraum. */
.info-collapsible-body > p + ol,
.info-collapsible-body > p + ul {
    margin-top: 12px;
}

.products-list {
    /* Max. zweispaltig: standardmaessig einspaltig (mobile-first);
       ab genuegend Breite genau zwei Spalten -- nie mehr. */
    display: grid;
    grid-template-columns: 1fr;
    /* Boxen sollen nur so hoch sein wie ihr Inhalt und nicht auf die
       Hoehe der groessten Box in derselben Grid-Zeile gestreckt werden. */
    align-items: start;
    gap: 15px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .products-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.products-list-title {
    margin-top: 30px;
}

.product-box {
    margin: 0;
    /* Produkt-Boxen tragen die Klasse `.infobox` (fuer Rahmen/Padding),
       sollen aber statt der einfarbigen graublauen Fuellung das
       gekachelte Hintergrundbild zeigen. Hoehere Spezifitaet als
       `.infobox`, damit diese Regel gewinnt. */
    background: url('../img/bain_bleu_box_bg_blue.jpg') no-repeat center center;
    background-size: cover;
}

.product-title {
    font-size: 22px;
    font-weight: bold;
    margin-top: 0;
    padding-bottom: 5px;
    border-bottom: thin solid #5C5C5C;
    margin-bottom: 20px;
}

.product-duration {
    font-size: 13px;
    font-weight: normal;
}

.product-description,
.product-treatment {
    margin: 10px 0;
    padding: 4px;
}

.product-prices {
    margin: 10px 0 0 0;
    padding: 4px;
}

.product-price-group {
    margin-top: 8px;
}

.product-price-group:first-child {
    margin-top: 0;
}

.product-price-header {
    font-weight: bold;
}

.product-price-line {
    padding: 4px 0;
}

.product-price-value {
    line-height: 1.3;
}

.product-price-range {
    font-size: 0.9em;
    font-style: italic;
    line-height: 1.3;
}

.product-actions {
    margin-top: 15px;
    text-align: left;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.btn-reserve {
    background-color: #A4DCFF;
    border-radius: 5px;
    color: #003D7E !important;
    text-align: center;
    display: inline-block;
    margin: 5px;
    padding: 5px 10px;
    text-decoration: none;
    font-weight: normal;
}

.btn-reserve strong {
    font-weight: bold;
}

.btn-reserve:hover {
    background-color: #003D7E;
    color: #FFFFFF !important;
}

.product-links {
    margin-top: 8px;
    padding: 4px;
    text-align: left;
    font-size: 80%;
}

.terms-box {
    /* margin-top wird jetzt durch .info-columns (Grid-Gap) geregelt. */
}

.terms-rules {
    margin: 10px 0;
    padding-left: 20px;
}

.terms-rules li {
    padding: 3px 0;
}

.terms-note {
    margin: 10px 0 0 0;
}

.footer {
    font-size: 80%;
    padding: 30px;
}

.footer a,
.footer a:visited,
.footer a:active,
.footer a:hover {
    color: #DBE6FD;
}
