/* Contact Form 7 inside the new forms */
.tg26-cf7 .title{display:none}
.tg26-cf7 .grid{display:grid;gap:16px}
@media (min-width:640px){.tg26-cf7 .grid{grid-template-columns:1fr 1fr}}
.tg26-cf7 label{display:block;font-size:.82rem;font-weight:600;letter-spacing:.02em;margin:0 0 6px;color:var(--ink)}
.tg26-cf7 .wpcf7-form-control-wrap{display:block}
.tg26-cf7 input[type=text],.tg26-cf7 input[type=tel],.tg26-cf7 input[type=email],.tg26-cf7 textarea{width:100%;min-height:52px;padding:12px 16px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);font:inherit;color:var(--ink)}
.tg26-cf7 textarea{min-height:140px}
.tg26-cf7 input:focus,.tg26-cf7 textarea:focus{outline:2px solid var(--gold);outline-offset:1px}
.tg26-cf7 .icon-mail,.tg26-cf7 .icon-msg{margin-top:16px}
.tg26-cf7 .wpcf7-acceptance{display:block;margin:16px 0;font-size:.9rem}
.tg26-cf7 .wpcf7-acceptance input{margin-right:8px;width:18px;height:18px;vertical-align:-3px}
.tg26-cf7 input[type=submit]{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border:0;border-radius:var(--r-pill);background:var(--ink);color:var(--on-ink);font:600 1rem/1 'Manrope',sans-serif;cursor:pointer}
.tg26-cf7 input[type=submit]:hover{background:var(--gold-text)}
.tg26-cf7 .wpcf7-response-output{margin:16px 0 0;border-radius:var(--r-sm)}
.tg26 .tg26-text{overflow-wrap:anywhere} /* long links/e-mail addresses in legal texts */
.tg26 .tg26-text table{display:block;overflow-x:auto}

/* Old WPCode shop styles use --tg-* variables on every page: point them to the new palette everywhere (not only in the shop). */
body.tg26{--tg-gold:#09294F;--tg-gold-light:#C6A54F;--tg-gold-hover:#0c3364;--tg-ink:#09294F;--tg-ink-700:#3D5372;--tg-muted:#5A6B82;--tg-cream:#FBFAF7;--tg-border:rgba(9,41,79,.12);--tg-border-lt:rgba(9,41,79,.08);--tg-radius-pill:6px;--tg-shadow-btn:none}
/* base the parent reset used to give */
.tg26 img{max-width:100%;height:auto}
.tg26 button,.tg26 [type=button],.tg26 [type=submit]{font-family:inherit}
/* #5 contact form inside dark sections: readable labels, consent and button */
.tg-ink .tg26-cf7 label,.tg-ink .tg26-cf7 .wpcf7-acceptance,.tg-ink .tg26-cf7 .wpcf7-list-item-label,.tg-ink .tg26-cf7 a{color:#fff!important}
.tg-ink .tg26-cf7 input[type=text],.tg-ink .tg26-cf7 input[type=tel],.tg-ink .tg26-cf7 input[type=email],.tg-ink .tg26-cf7 textarea{background:#fff;border-color:transparent;color:var(--ink)}
.tg-ink .tg26-cf7 input[type=submit]{background:#fff!important;color:var(--ink)!important;border:1px solid #fff!important}
.tg-ink .tg26-cf7 input[type=submit]:hover{background:transparent!important;color:#fff!important}
/* booking page: no bottom bar on phones, the booking widget's own sticky button is the call to action */
@media (max-width:900px){body.tg26-termin .tg-fab{display:none!important}body.tg26-termin{padding-bottom:0}}
/* booking widget buttons in the site's button style (one line, 6 px radius, small caps) */
.tg26 .tgt-wid .tg-btn,.tg26 .tgt-wid [data-weiter],.tg26 .tgt-wid [data-absenden]{border-radius:6px!important;min-height:52px;padding:0 22px;font:600 .78rem/1.2 'Manrope',system-ui,sans-serif!important;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}
/* #20 images with captions from the editor carry a fixed width – keep them inside the column */
.tg26 .wp-caption,.tg26 figure.wp-caption{max-width:100%!important;width:auto!important;height:auto}
.tg26 .wp-caption img,.tg26 .woocommerce-Tabs-panel img,.tg26 .tg26-text img{max-width:100%!important;height:auto!important}
.tg26 .woocommerce-Tabs-panel table{display:block;max-width:100%;overflow-x:auto}
.tg26 .woocommerce-Tabs-panel{overflow-wrap:anywhere}
/* pay page / order tables on phones: no letter-by-letter wrapping of prices (inherited overflow-wrap:anywhere) */
.tg26 .tg26-text .woocommerce{overflow-wrap:normal}.tg26 .tg26-text table.shop_table{display:table;width:100%;overflow:visible}.tg26 .shop_table th,.tg26 .shop_table td{overflow-wrap:normal;word-break:normal;hyphens:manual}.tg26 .shop_table thead th,.tg26 .shop_table .product-quantity,.tg26 .shop_table .product-total,.tg26 .shop_table .product-subtotal,.tg26 .shop_table .amount{white-space:nowrap}.tg26 .shop_table .product-total,.tg26 .shop_table .product-subtotal,.tg26 .shop_table thead th:last-child{text-align:right}@media (max-width:600px){.tg26 .shop_table th,.tg26 .shop_table td{padding:12px 10px}.tg26 .shop_table td.product-name{font-size:.95rem;line-height:1.45}}
/* Akademie: NiSV courses with price, dates and booking (23.10.2026) */
.tg-kurs--nisv{gap:12px;--kurs-pad:clamp(24px,2.6vw,36px)}
.tg-kurs__bild ~ .tg-kurs__num{display:none}
.tg-kurs .tg-kurs__bild{display:block;width:calc(100% + 2*var(--kurs-pad,28px));max-width:none;margin:calc(-1*var(--kurs-pad,28px)) calc(-1*var(--kurs-pad,28px)) 4px;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r-md) var(--r-md) 0 0}
.tg-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.tg-chips li{font-size:.78rem;padding:4px 10px;border:1px solid var(--line);border-radius:999px;color:var(--ink-70,#3D5372)}
.tg-kurs__preis{margin:4px 0 0;font-size:1rem}
.tg-kurs__preis b{font-family:'Sora',sans-serif;font-size:1.6rem;font-weight:600;color:var(--ink)}
.tg-kurs__preis s{color:var(--ink-55,#5A6B82);margin-left:6px}
.tg-kurs__preis small{color:var(--ink-55,#5A6B82)}
.tg-kurs__termine{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.tg-kurs__termine li{border-top:1px solid var(--line);padding-top:10px;font-size:.92rem;line-height:1.45}
.tg-kurs__termine li span{color:var(--ink-55,#5A6B82)}
.tg-kurs__termine .tg-btn{margin-top:10px}
.tg-kurs__mehr{border-top:1px solid var(--line);padding-top:10px;font-size:.92rem}
.tg-kurs__mehr summary{cursor:pointer;font-weight:600;color:var(--ink)}
.tg-kurs__mehr h4{font-size:.9rem;margin:14px 0 6px}
.tg-kurs__mehr ul{margin:0;padding-left:18px}
.tg-kurs__mehr li{margin:2px 0}
.tg-kurs--nisv:hover,.tg-kurs--paket:hover{transform:none}
