/* =====================================================================
 * wellness-massage.css - Seite Wellness-Massagen (wellness-massage.php)
 *
 * Reihenfolge unter dem Hero: meine Arbeit (drei Schritte), Stargayte mit
 * den Zeiten aus dem Wellnessplaner, "bei mir", Preise, Vorstellung.
 * Danach das gemeinsame Anfrageformular. Panels, Kicker und Knoepfe
 * kommen aus components.css / base.css.
 * ===================================================================== */

.massage-arbeit,
.massage-stargayte,
.massage-zuhause,
.massage-preise,
.massage-ich {
    margin-top: clamp(32px, 5vw, 56px);
}

.massage-arbeit {
    margin-top: 0;
}

/* ---------- Hero: Logo der Marke ---------- */

.massage-logo {
    display: block;
    width: auto;
    height: 52px;
    max-width: 100%;
    margin-bottom: 14px;
}

/* ---------- Meine Arbeit ---------- */

.massage-schritte {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.massage-schritt {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: clamp(18px, 3vw, 26px);
}

.massage-schritt-nr {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue, #3C95B3);
    color: #fff;
    font-weight: 800;
}

.massage-schritt h3,
.massage-schritt p {
    margin: 0;
}

.massage-schritt p {
    color: var(--muted);
    line-height: 1.6;
}

/* ---------- Stargayte und Zeiten ---------- */

.massage-stargayte {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 44px);
    padding: clamp(20px, 3.4vw, 36px);
    border-left: 4px solid var(--orange, #EC5830);
    scroll-margin-top: 90px;
}

.massage-stargayte-text {
    display: grid;
    align-content: start;
    gap: 12px;
}

.massage-stargayte h2,
.massage-zuhause h2,
.massage-stargayte-text p,
.massage-zuhause p {
    margin: 0;
}

.massage-stargayte-text p,
.massage-zuhause p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.massage-stargayte-knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.massage-zeiten h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
}

.massage-zeiten-liste {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Eine Zeile je Termin: Tag | Art | Uhrzeit. Massage orange, Aufguss blau. */
.massage-termin {
    display: grid;
    grid-template-columns: 6.5em minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-variant-numeric: tabular-nums;
}

.massage-termin time {
    font-weight: 800;
}

.massage-termin-art {
    justify-self: start;
    padding: 3px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: .85rem;
    font-weight: 800;
}

.massage-termin-massage .massage-termin-art {
    background: var(--orange, #EC5830);
}

.massage-termin-aufguss .massage-termin-art {
    background: var(--blue, #3C95B3);
}

.massage-termin-zeit {
    color: var(--muted);
    font-weight: 700;
}

.massage-zeiten-leer,
.massage-zeiten-hinweis {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.massage-zeiten-hinweis {
    margin-top: 10px;
    font-size: .9rem;
}

/* ---------- Bei mir ---------- */

.massage-zuhause {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: clamp(18px, 3vw, 30px);
}

.massage-zuhause > div:first-child {
    display: grid;
    gap: 8px;
}

.massage-zuhause-knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- Preise ---------- */

.massage-preis-reihe {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
}

.massage-preis {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 22px 12px;
    text-align: center;
}

.massage-preis-dauer {
    color: var(--muted);
    font-weight: 800;
}

.massage-preis strong {
    color: var(--orange-text);
    font-size: clamp(1.6rem, 3.4vw, 2.2rem);
    font-variant-numeric: tabular-nums;
}

/* ---------- Vorstellung ---------- */

.massage-ich {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(20px, 4vw, 48px);
    align-items: center;
    padding: clamp(18px, 3vw, 32px);
}

/* Portraet vor einem weichen Wellness-Raum. Hoechstens 320 Pixel breit:
   die Vorlage hat gut 660 Pixel, das reicht fuer doppelte Pixeldichte. */
.massage-foto img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin-inline: auto;
    border-radius: 20px;
    box-shadow: var(--glas-boden, 0 12px 28px -14px rgba(0, 0, 0, .35));
}

.massage-ich-text {
    display: grid;
    gap: 12px;
}

.massage-ich-text h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.massage-ich-text p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ---------- Formular: Hinweis unter dem Wunschtermin ---------- */

.field-hinweis {
    color: var(--muted);
    font-size: .85rem;
    font-weight: 400;
    line-height: 1.5;
}

/* ---------- Schmale Bildschirme ---------- */

@media (max-width: 900px) {
    .massage-schritte,
    .massage-stargayte {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .massage-ich,
    .massage-zuhause {
        grid-template-columns: minmax(0, 1fr);
    }

    .massage-foto img {
        max-width: 240px;
    }

    .massage-logo {
        height: 40px;
    }

    .massage-preis {
        padding: 16px 6px;
    }

    /* Schritte kompakt: Nummer links neben Titel und Text. */
    .massage-schritt {
        grid-template-columns: 40px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 4px;
    }

    .massage-schritt-nr {
        grid-row: span 2;
    }

    .massage-termin {
        grid-template-columns: 5.5em minmax(0, 1fr) auto;
        gap: 8px;
        padding: 9px 10px;
    }
}

/* KI-Hinweis auf dem Portraet (Hintergrund mit KI erzeugt) */
.massage-foto-huelle {
    position: relative;
    max-width: 320px;
    margin-inline: auto;
}

.massage-ki-hinweis {
    right: 10px;
    bottom: 10px;
}

/* ---------- Einstieg: drei Worte, rechtsbuendig am Punkt (Lars, 18.10.2026) ---------- */
/* Jedes Wort eine eigene Zeile; alle Zeilen enden genau untereinander am
   Punkt. Der Titel ist so breit wie das laengste Wort ("Durchatmen."), die
   kuerzeren ruecken nach rechts. Gilt in allen Sprachen (drei Spans). */
#massageTitel {
    width: fit-content;
    text-align: right;
}

#massageTitel span {
    display: block;
}

/* ---------- Preiskarten: Foto und Umfang (Lars, 18.10.2026) ---------- */
/* Oben ein leicht weichgezeichnetes Foto der massierten Bereiche, darunter
   Dauer, Preis und der Umfang in Worten. */
.massage-preis {
    align-content: start;
    gap: 6px;
    padding: 0 0 20px;
    overflow: hidden;
}

.massage-preis-bild {
    position: relative;
    display: block;
    justify-self: stretch;
}

.massage-preis-bild .ki-hinweis {
    top: 8px;
    left: 8px;
}

.massage-preis-bild img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 10px;
}

.massage-preis > :not(.massage-preis-bild) {
    padding-inline: 16px;
}

.massage-preis-umfang {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.5;
}

.massage-preis-reihe {
    max-width: 960px;
}

@media (max-width: 760px) {
    .massage-preis-reihe {
        grid-template-columns: minmax(0, 1fr);
        max-width: 420px;
    }

    .massage-preis-bild img {
        aspect-ratio: 16 / 9;
    }
}
