/*
Theme Name: Tanzschule Seelig
Description: Schlankes Theme für die Neuumsetzung ohne Elementor
Version: 0.1
Text Domain: tz-seelig
*/
@font-face { font-family: 'Rajdhani'; font-weight: 400; font-style: normal; font-display: swap; src: url('assets/fonts/rajdhani-400.woff2') format('woff2'); }
@font-face { font-family: 'Rajdhani'; font-weight: 500; font-style: normal; font-display: swap; src: url('assets/fonts/rajdhani-500.woff2') format('woff2'); }
/* geändert 22.11.2026: Standardfarbe Schiefer (wird zusätzlich aus der Einstellung per wp_head gesetzt, tz-ortpalette.php); Knopfschrift in drei Regeln (Kasse, Warenkorb, Direktkauf) von color: #B14D7C auf var(--tz-farbe); alt: --tz-farbe: #B14D7C */
:root { --tz-farbe: #5d6b7d; --tz-akzent: #C65D17; --tz-hoehe: 80px; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--tz-farbe); color: #fff; font-family: 'Rajdhani', sans-serif; font-size: 20px; line-height: 28px; font-weight: 500; }
body.tz-menue-offen { overflow: hidden; }
a { color: #fff; }
h1, h2, h3 { text-transform: uppercase; letter-spacing: -2px; line-height: 1.05; font-weight: 500; }
h1 { font-size: 45px; }
h2 { font-size: 32px; }
.tz-kopf { display: flex; justify-content: space-between; align-items: center; height: var(--tz-hoehe); padding: 0 20px; background: var(--tz-farbe); position: sticky; top: 0; z-index: 20; }
.tz-logo svg { height: 56px; width: auto; display: block; }
.tz-burger { background: none; border: 0; padding: 8px; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.tz-burger span { display: block; height: 3px; background: #fff; border-radius: 2px; }
/* geändert: Menü nicht mehr deckend in Seitenfarbe, sondern 20 % abgedunkelt mit leichtem Weichzeichner, damit es als Overlay erkennbar ist; alt: .tz-menue { position: fixed; top: var(--tz-hoehe); right: 0; bottom: 0; left: 0; background: var(--tz-farbe); z-index: 10; overflow: auto; padding: 20px; } */
.tz-menue { position: fixed; top: var(--tz-hoehe); right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, .2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 10; overflow: auto; padding: 20px; }
.tz-menue[hidden] { display: none; }
.tz-menue ul { list-style: none; margin: 0; padding: 0; }
.tz-menue a { display: block; padding: 12px 0; text-decoration: none; text-transform: uppercase; font-size: 28px; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.tz-inhalt { max-width: 1100px; margin: 0 auto; padding: 30px 20px 60px; }
.tz-fuss { padding: 20px; text-align: center; font-size: 16px; background: rgba(0, 0, 0, .18); }
/* Shop (aus tz-shop-style.php der Staging übernommen) */
body.woocommerce-checkout .tz-inhalt, body.woocommerce-cart .tz-inhalt { max-width: 700px; }
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control input, .wc-block-components-country-input select, .wc-block-components-state-input select, .wc-block-components-textarea, .wc-blocks-components-select select { background: rgba(0, 0, 0, .18) !important; color: #fff !important; border: 0 !important; border-radius: 0 !important; font-family: inherit; font-size: 20px; }
.wc-block-components-text-input label, .wc-blocks-components-select label, .wc-block-components-checkbox label, .wc-block-components-radio-control__label, .wc-block-components-title, .wc-block-components-totals-item, .wc-block-components-product-name, .wc-block-components-order-summary, .wc-block-components-checkout-step__title, .wc-block-components-panel__button { color: #fff !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option, .wc-block-components-sidebar .wc-block-components-main { background: transparent; border-color: rgba(255, 255, 255, .5) !important; box-shadow: none; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar { background: rgba(0, 0, 0, .12); padding: 16px; }
.wc-block-components-checkout-place-order-button, .wc-block-components-button:not(.is-link) { background: #fff !important; color: var(--tz-farbe) !important; text-transform: uppercase; font-weight: 500; border-radius: 0 !important; border: 0 !important; }
.wc-block-components-text-input input::placeholder { color: #fff; }
.woocommerce-message, .woocommerce-error { background: rgba(0, 0, 0, .18); color: #fff; border: 0; }
form.cart select, form.cart input[type=text], form.cart input.qty { background: rgba(0, 0, 0, .18); color: #fff; border: 0; border-radius: 0; font-family: inherit; font-size: 20px; }
form.cart table.variations th, form.cart table.variations td, form.cart table.variations label { background: transparent; color: #fff; }
.single_add_to_cart_button { background: #fff !important; color: var(--tz-farbe) !important; text-transform: uppercase; border-radius: 0 !important; }
.price, .woocommerce-variation-price .price { color: #fff !important; }
.woocommerce-breadcrumb, .woocommerce-breadcrumb a { color: #fff; opacity: .85; font-size: 16px; }
.wc-block-components-country-input select, .wc-block-components-state-input select, .wc-blocks-components-select .wc-blocks-components-select__select { background-color: rgba(0, 0, 0, .18) !important; color: #fff !important; }
.wc-blocks-components-select .wc-blocks-components-select__label { color: #fff !important; }
/* Produktseite: Variantenauswahl, Knopf, Reiter (spezifisch genug gegen WooCommerce-Standard) */
.woocommerce div.product form.cart .variations select { background: rgba(0, 0, 0, .18); color: #fff; border: 0; border-radius: 0; font-family: inherit; font-size: 20px; padding: 6px 10px; min-width: 260px; }
.woocommerce div.product form.cart .variations select option { color: #000; }
.woocommerce div.product form.cart .reset_variations { color: #fff; }
.woocommerce div.product form.cart .button, .woocommerce div.product form.cart .single_add_to_cart_button { font-family: inherit; font-size: 20px; padding: 10px 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: rgba(0, 0, 0, .18); border-color: transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #C65D17; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
/* Kasse: weißen Container um die Auswahlfelder (Land, Bundesland) durchsichtig machen */
.wc-blocks-components-select__container { background: transparent !important; }
/* Brotkrumen: Regel spezifischer als WooCommerce, damit Weiß statt Grau gilt */
.woocommerce .woocommerce-breadcrumb, .woocommerce .woocommerce-breadcrumb a { color: #fff; font-size: 16px; }
/* Partnerformular: E-Mail-Feld wie die Textfelder, Lagerhinweis lesbar */
.tz-partner input[type=email]{background:rgba(0,0,0,.18);color:#fff;border:0;border-radius:0;padding:1px 2px;font:20px Rajdhani,sans-serif;width:210px;height:28px;box-sizing:border-box}
body.woocommerce div.product p.stock.in-stock{color:#fff}
/* neu: Unterpunkte im Menü (Anmeldung → Orte) eingerückt und kleiner */
.tz-menue .sub-menu a { padding-left: 24px; font-size: 22px; }
/* neu: Layout wie live: Footer am unteren Rand, Logo links unten, Menü als schmale Spalte links */
body { min-height: 100vh; display: flex; flex-direction: column; }
.tz-inhalt { flex: 1 0 auto; width: 100%; box-sizing: border-box; }
@media (min-width: 900px) {
    .tz-logo { position: fixed; left: 40px; bottom: 40px; z-index: 20; }
    .tz-logo svg { width: 140px; height: auto; }
    /* geändert: Menüfeld am Desktop 20 % abgedunkelt statt transparent (Overlay erkennbar); alt: .tz-menue { right: auto; bottom: auto; width: 260px; background: transparent; padding: 0 20px; } */
    .tz-menue { right: auto; bottom: auto; width: 260px; background: rgba(0, 0, 0, .2); padding: 0 20px; }
    .tz-menue a { font-size: 20px; padding: 4px 0; border-bottom: 0; }
    .tz-menue .sub-menu a { font-size: 16px; padding-left: 16px; }
}
/* Logo schwebt über dem Inhalt (auch bei schmalen Fenstern), Ortsstreifen bleiben bei z-index 30 darunter */
body .tz-logo{z-index:40}
/* Footerzeile ausgeblendet (wie live: Copyright und rechtliche Links stehen im Menü); zum Wiedereinschalten diese Zeile entfernen */
footer.tz-fuss{display:none}
/* Menüende: Copyright und rechtliche Links */
.tz-menu-copy span{font-size:14px;opacity:.7}
.tz-menu-recht a{font-size:14px!important}
/* Handy: Ortsbalken waagerecht am unteren Rand */
@media(max-width:900px){
    body .tz-ortsleiste,body .tz-start-leiste{display:flex!important;flex-direction:row!important;position:fixed!important;top:auto!important;left:0!important;right:0!important;bottom:0!important;height:48px!important;width:auto!important;z-index:30}
    body .tz-ortsleiste a,body .tz-start-leiste a{writing-mode:horizontal-tb!important;transform:none!important;width:auto!important;flex:1 1 0!important;font-size:12px!important;line-height:1.1;text-align:center;padding:0 2px;font-weight:400!important}
    body .tz-ortsleiste a:hover,body .tz-start-leiste a:hover{width:auto!important}
    .tz-inhalt{padding-bottom:60px}
}
/* Handy: Menü endet oberhalb der waagerechten Ortsbalken */
@media(max-width:900px){
    #tz-menue{padding-bottom:64px}
}
/* Handy: Menü an die Bildschirmhöhe angepasst, damit alle Punkte ohne Scrollen sichtbar sind */
@media(max-width:900px){
    body #tz-menue{padding-bottom:56px}
    body #tz-menue > ul > li > a{font-size:clamp(17px,3vh,28px);line-height:1.1;padding:.9vh 0}
    body #tz-menue .sub-menu a{font-size:clamp(14px,2.2vh,22px);line-height:1.1;padding:.75vh 0 .75vh 20px}
    body #tz-menue .tz-menu-recht a{font-size:clamp(11px,1.6vh,14px)!important;line-height:1.1;padding:.6vh 0}
    body #tz-menue .tz-menu-copy span{font-size:clamp(10px,1.5vh,13px)}
}
/* Desktop: Ortsbalken wie live, Schrift von oben nach unten lesbar (Kopf nach rechts geneigt), Wortenden auf der Grundlinie von "TANZSCHULE" im Logo (41,5 px über dem Fensterrand) */
@media(min-width:901px){
    body .tz-ortsleiste a,body .tz-start-leiste a{transform:none!important;justify-content:flex-end!important;padding-bottom:41.5px!important;box-sizing:border-box}
}
/* Desktop: Logo oben rechts über den Ortsbalken; Breite = alle Balkenbreiten minus eine, Abstand oben und rechts = halbe Balkenbreite */
@media(min-width:901px){
    body .tz-logo{left:auto!important;bottom:auto!important;top:calc(var(--tz-w,70px)/2)!important;right:calc(var(--tz-w,70px)/2)!important;width:calc((var(--tz-orte,5) - 1)*var(--tz-w,70px))!important;z-index:40}
    body .tz-logo svg,body .tz-logo img{width:100%!important;height:auto!important}
}
/* Logo: Breite = (Orte-2) Balkenbreiten, linke Kante = Fensterbreite - (Orte-1) Balkenbreiten, Oberkante = Oberkante Burger-Menü; unabhängig von sichtbarer Balkenzahl; Header über die Balken (Stapelkontext) */
@media(min-width:901px){
    body .tz-kopf{z-index:40}
    body .tz-logo{left:calc(100% - (var(--tz-orte,5) - 1)*var(--tz-w,70px))!important;right:auto!important;bottom:auto!important;top:18px!important;width:calc((var(--tz-orte,5) - 2)*var(--tz-w,70px))!important}
    body.admin-bar .tz-logo{top:50px!important}
}
/* Header liegt jetzt über den Ortsbalken: Hintergrund transparent, damit die Balken bis zum oberen Rand sichtbar bleiben (Seitenhintergrund kommt vom body) */
@media(min-width:901px){
    body .tz-kopf{background:transparent!important}
}
/* Knopf "Jetzt kaufen" (tz-direkt) sieht aus wie "In den Warenkorb" */
.woocommerce div.product form.cart .button.tz-direkt { background: #fff !important; color: var(--tz-farbe) !important; text-transform: uppercase; border-radius: 0 !important; font-family: inherit; font-size: 20px; padding: 10px 24px; }
/* Kaufknöpfe auf Kursseiten gleich breit wie die Eingabefelder, mit Abstand zueinander */
.woocommerce div.product form.cart .single_add_to_cart_button, .woocommerce div.product form.cart .button.tz-direkt { width: 210px; box-sizing: border-box; text-align: center; }
.woocommerce div.product form.cart .button.tz-direkt { margin-top: 8px; }
/* ADTV-Logo im Menü (wie live: oberster Punkt, 80 px breit) */
.tz-menu-adtv a{border-bottom:0!important}
.tz-menu-adtv img{display:block;width:80px;height:auto}
/* ADTV-Logo wie live: bei Mouse-Over einmal um 360° nach rechts drehen (0,7 s), beim Verlassen zurück */
.tz-menu-adtv a{width:80px;line-height:0;margin-bottom:10px;transition:transform .7s}
.tz-menu-adtv a:hover{transform:rotate(360deg)}
