/* Four Elements, Buchungsportal. Helle Oberfläche, kein Dunkelmodus.
   Systemschriften mit Rückfall, keine Google Fonts, keine fremde Quelle. */

:root {
    --pink: #DF689A;
    --pink-dunkel: #B84A79;
    --creme: #FBF6F1;
    --papier: #FFFFFF;
    --text: #2D2620;
    --text-mild: #6B5E52;
    --rand: #E7DCD1;
    --gruen: #3F7A4E;
    --warnung: #A6501F;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--creme);
    color: var(--text);
}

body {
    font-family: "DM Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.55;
    padding: 0 0 4rem;
}

h1, h2, h3 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.4rem; }

a { color: var(--pink-dunkel); }

.kopf {
    background: var(--papier);
    border-bottom: 1px solid var(--rand);
    padding: 1.5rem 1.25rem;
    margin-bottom: 2rem;
}

.kopf .marke {
    display: flex;
    align-items: center;
}

.kopf .marke img { height: 30px; width: auto; display: block; }

.inhalt {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.karte {
    background: var(--papier);
    border: 1px solid var(--rand);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

/* Mitgliedschaften stehen deutlich getrennt von den einmaligen Pässen,
   siehe Auftrag: ein eigener Rand statt nur einer Überschrift. */
.karte-mitgliedschaft { border-left: 4px solid var(--pink); }
/* Sprung von der Preisseite der Website (passes.php#angebot-<id>): die
   gewaehlte Karte hervorheben und nicht unter den Rand scrollen. */
.karte[id^="angebot-"] { scroll-margin-top: 16px; }
.karte:target { box-shadow: 0 0 0 2px var(--pink); }
.mitgliedschaft-hinweise { margin: 0 0 1.1rem; padding-left: 1.2rem; }
.mitgliedschaft-hinweise li { margin-bottom: 0.4rem; }

.termin {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.termin-info { flex: 1 1 260px; }

.termin-kurs { font-weight: 700; font-size: 1.1rem; }

.termin-zeit, .termin-lehrerin, .termin-plaetze {
    color: var(--text-mild);
    font-size: 0.95rem;
}

/* Raum des Termins: Fire Room zur vollen Stunde, sonst Air Room,
   siehe lib/raum.php. Warm und kuehl getoent, Text dunkel genug fuer
   ausreichenden Kontrast. */
.raum {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    vertical-align: middle;
}
.raum::before {
    content: "";
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background: currentColor;
}
.raum-fire { background: #FCE7DD; color: #9A3412; }
.raum-air { background: #E3EEF6; color: #1F4E6E; }

.knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.5rem;
    min-height: 44px;
    line-height: 1.3;
    font-size: 1rem;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
}

.knopf:hover { background: var(--pink-dunkel); }

.knopf.zurueckhaltend {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--rand);
}

.knopf.gefahr {
    background: var(--warnung);
}

.ausgebucht {
    color: var(--text-mild);
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--rand);
    border-radius: 999px;
    font-size: 0.9rem;
}

label {
    display: block;
    font-weight: 600;
    margin: 0.9rem 0 0.3rem;
}

input[type=text], input[type=email], input[type=date] {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--rand);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--papier);
    color: var(--text);
}

input:focus { outline: 2px solid var(--pink); outline-offset: 1px; }

.pflicht { color: var(--pink-dunkel); }

.feld {
    margin-bottom: 0.9rem;
}

.feld-fehler {
    color: var(--warnung);
    font-size: 0.9rem;
    margin: 0.3rem 0 0;
}

input.feld-mit-fehler {
    border-color: var(--warnung);
}

.tag-kopf {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin: 1.6rem 0 0.6rem;
}

.tag-kopf:first-of-type { margin-top: 0.4rem; }

.karte.termin.ausgebucht-karte {
    background: var(--creme);
    opacity: 0.85;
}

.rechtshinweis {
    font-size: 0.92rem;
    color: var(--text-mild);
    background: var(--creme);
    border: 1px solid var(--rand);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin: 1.2rem 0;
}

.rechtshinweis p { margin: 0 0 0.6em; }
.rechtshinweis p:last-child { margin-bottom: 0; }
.rechtshinweis a { color: var(--pink-dunkel); }

.preis-endgueltig {
    font-weight: 700;
    color: var(--text);
    font-size: 1.05rem;
}

.knopf-abstand-oben { margin-top: 1.2rem; }

.hinweis {
    background: #FFF4E0;
    border: 1px solid #E8C77E;
    color: #6B4E13;
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.uebungsbetrieb {
    background: #FDECEC;
    border: 1px solid #E3A7A7;
    color: #8A2C2C;
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.erfolg {
    background: #EAF5EC;
    border: 1px solid #B7DABF;
    color: #235B34;
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1rem;
}

.fehler {
    background: #FDECEC;
    border: 1px solid #E3A7A7;
    color: #8A2C2C;
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1rem;
}

.fuss {
    color: var(--text-mild);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 2.5rem;
}

/* ---------- Magenta traegt auch die Kundenseiten ---------- */

.kopf { border-top: 3px solid var(--pink); }

h1 {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
}

h1::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--pink);
    flex: 0 0 auto;
}

input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 2px;
}

input:focus, select:focus, textarea:focus { border-color: var(--pink); }

.pass-code {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--pink-dunkel);
    margin: 0.6rem 0;
}

/* Kleiner Hinweistext unter einem Formular, etwa zum Datenschutz. */
.hinweis-klein { font-size: 0.86rem; line-height: 1.5; color: var(--text-mild, #6B5D4C); }

/* Hinweis direkt unter der Ueberschrift: Hansefit heisst jetzt Epassi. Viele
   Mitglieder kennen nur den alten Namen, deshalb steht das dort, wo sie sich
   anmelden, und nicht im Kleingedruckten. */
.hinweis-umbenennung {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-mild, #6B5D4C);
    margin: 0 0 1rem;
}

/* Kündigungsseite nach § 312k BGB (kuendigen.php) */
fieldset.feld { border: 0; padding: 0; margin: 0 0 1rem; }
fieldset.feld legend { font-weight: 600; margin-bottom: 0.35rem; padding: 0; }
.auswahl { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 400; margin: 0.35rem 0; }
.auswahl input { width: auto; margin-top: 0.3rem; }
.kuendigung-angaben { display: grid; grid-template-columns: max-content 1fr; gap: 0.3rem 1rem; margin: 0 0 1rem; }
.kuendigung-angaben dt { color: #6B5E52; }
.kuendigung-angaben dd { margin: 0; }
@media (max-width: 480px) { .kuendigung-angaben { grid-template-columns: 1fr; } .kuendigung-angaben dd { margin-bottom: 0.4rem; } }
