/* Block „seminartermine“: Gestaltung, die functions.php nur laedt, wenn die Seite den Block traegt
   (bausteine.php, block_stil). Bis 1.0.83 stand das in style.css; aufgeteilt und entdoppelt am
   08.11.2026 (Bjoern: „raeum es auf“). Je Selektor EINE Stelle - neue Regeln hier aendern, nicht
   unten anhaengen. */

/* Block „Seminartermine“: je Termin eine Kachel mit Kalenderblatt, Fakten, Preis und Knopf. */

.seminartermine {
    padding: 70px 0;
}

.seminartermine .container {
    max-width: 900px; margin: 0 auto; padding: 0 20px;
}

.seminartermine__titel {
    margin: 0 0 12px;
}

.seminartermine__text {
    margin: 0 0 30px; color: #555;
}

.seminartermine__leer {
    padding: 28px; background: #f6f6f6; border-radius: 4px;
}

.seminartermine__geschlossen {
    margin: 0 0 24px; padding: 16px 20px; background: rgba(240, 179, 52, .16); border-left: 4px solid #f0b334; border-radius: 4px; color: #5c3c00;
}

.seminartermine__leer p {
    margin: 0 0 16px; color: #555;
}

.seminartermine__liste {
    display: grid; gap: 16px;
}

.stermin {
    display: grid; grid-template-columns: 88px 1fr auto; gap: 24px; align-items: center;
    padding: 22px 26px; background: #fff; border: 1px solid #e3e3e3;
    transition: box-shadow .25s ease, transform .25s ease;
}

.stermin:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, .09); transform: translateY(-2px);
}

.stermin--voll {
    background: #fafafa; border-color: #ececec;
}

.stermin--voll:hover {
    box-shadow: none; transform: none;
}

.stermin__datum {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 12px 6px; background: #37C0AA; color: #fff; line-height: 1.1;
}

.stermin--voll .stermin__datum {
    background: #cfcfcf;
}

.stermin__tag {
    font-family: 'Roboto Slab', Georgia, serif; font-size: 30px; font-weight: 700;
}

.stermin__monat {
    font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}

.stermin__jahr {
    font-size: 12px; opacity: .85; margin-top: 2px;
}

.stermin__mitte {
    min-width: 0;
}

.stermin__wann {
    margin: 0 0 4px; font-size: 17px; font-weight: 700;
}

.stermin__weitere {
    display: block; font-size: 14px; font-weight: 400; color: #666;
}

.stermin__fakten {
    margin: 0 0 10px; font-size: 14.5px; color: #555;
}

.stermin__plaetze {
    margin: 0;
}

.stermin__frist {
    display: inline-block; margin-left: 10px; font-size: 14px; color: #666;
}

.stermin__pille {
    display: inline-block; padding: 3px 12px; border-radius: 999px;
    font-size: 13px; font-weight: 700; letter-spacing: .01em;
}

.stermin__pille--frei {
    background: rgba(55, 192, 170, .16); color: #0F5D63;
}

.stermin__pille--knapp {
    background: rgba(240, 179, 52, .22); color: #8a5a00;
}

.stermin__pille--voll {
    background: #ececec; color: #666;
}

.stermin__rechts {
    text-align: right; display: grid; gap: 10px; justify-items: end;
}

.stermin__preis {
    margin: 0; line-height: 1.25;
}

.stermin__betrag {
    display: block; font-family: 'Roboto Slab', Georgia, serif; font-size: 22px; font-weight: 700;
}

.stermin__betrag .woocommerce-Price-amount {
    font-size: inherit;
}

.stermin__proTn {
    display: block; font-size: 12.5px; color: #666;
}

/* Beide Knöpfe exakt gleich groß — sonst richtet sich die Breite nach der Textlänge
   (.btn des Themes ist auf width:100% ausgelegt). „Warteliste“ ist der stille von beiden. */

.stermin .stermin__knopf {
    width: 190px; height: 46px; flex: none; white-space: nowrap;
    font-size: 14px; letter-spacing: .03em;
}

.stermin .stermin__knopf--buchen {
    background-color: var(--button-primary-background-color, #f0b334);
    color: var(--button-primary-text-color, #000);
}

.stermin .stermin__knopf--buchen:hover, .stermin .stermin__knopf--buchen:focus {
    background-color: #1f2a28; color: #fff;
}

.stermin .stermin__knopf--warte {
    background-color: #fff; color: #1f2a28; box-shadow: inset 0 0 0 1px #c9c9c9;
}

.stermin .stermin__knopf--warte:hover, .stermin .stermin__knopf--warte:focus {
    background-color: #1f2a28; color: #fff; box-shadow: none;
}

@media (max-width: 720px) {
    .stermin {
        grid-template-columns: 64px 1fr; gap: 16px; padding: 18px;
    }

    .stermin__datum {
        padding: 8px 4px;
    }

    .stermin__tag {
        font-size: 24px;
    }

    .stermin__rechts {
        grid-column: 1 / -1; justify-items: stretch; text-align: left;
        display: flex; align-items: center; justify-content: space-between; gap: 14px;
        border-top: 1px solid #ededed; padding-top: 14px;
    }

    .stermin .stermin__knopf {
        width: 150px;
    }
}

/* Terminblock grau, wenn gewaehlt (1.0.37, Mechthild 25.09.2026: kein weiss auf weiss). */

.seminartermine--grau {
    background: #ededed;
}

/* Terminblock: Zwischenueberschrift im Text wie in den anderen Bloecken (1.0.43, Mechthild 25.09.2026). */

.seminartermine__text h3 {
    margin: 0 0 10px; color: #000; font-family: Lato, sans-serif; font-weight: 300; font-size: 25px; line-height: 140%;
}

@media (max-width: 1440px) {
    .seminartermine__text h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .seminartermine__text h3 {
        font-size: 16px;
    }
}
