/*
Theme Name: HTB62
Theme URI: https://htb62.de
Author: Erik Jung
Description: Theme des Hamburger Turnerbund von 1862 e.V. Enthält alle Vereinsfunktionen (Abteilungen, Sportarten-Karten, Netzwerk-News, Contact-Form-7-Anbindung, SEO, Weiterleitungen, Karten), kein ACF und keine Zusatz-Plugins nötig. Inhalte pflegen unter „HTB62 Website“ und direkt im Block-Editor.
Version: 4.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: htb62
*/

/* ---------- Schriften ---------- */
@font-face { font-family: "Madefor Display"; font-weight: 400; font-display: swap; src: url(assets/fonts/wix-madefor-display-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Madefor Display"; font-weight: 500; font-display: swap; src: url(assets/fonts/wix-madefor-display-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Madefor Display"; font-weight: 700; font-display: swap; src: url(assets/fonts/wix-madefor-display-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Madefor Text"; font-weight: 400; font-display: swap; src: url(assets/fonts/wix-madefor-text-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Madefor Text"; font-weight: 500; font-display: swap; src: url(assets/fonts/wix-madefor-text-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Madefor Text"; font-weight: 700; font-display: swap; src: url(assets/fonts/wix-madefor-text-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "HTB62 Serif"; font-weight: 400; font-display: swap; src: url(assets/fonts/dm-serif-display-latin-400-normal.woff2) format("woff2"); }

/* ---------- Tokens (gemessen an 1440 px Breite) ---------- */
:root {
	--ink: #1A1A1A;
	--nav-ink: #262A31;
	--red: #D11400;
	--grey: #F7F7F7;
	--dark: #262626;
	--line: rgba(26, 26, 26, .2);
	--display: "Madefor Display", system-ui, -apple-system, "Segoe UI", sans-serif;
	--text: "Madefor Text", system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "HTB62 Serif", Georgia, serif;
	--g: clamp(29px, 3.9vw, 56px);         /* Seitenrand 56 px */
	--sec: clamp(64px, 9.375vw, 135px);    /* Abschnitts-Innenabstand 135 px */
	--header-h: 107px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); font-size: 16px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.25; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

.skip-link { position: absolute; left: -9999px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

.container { width: 100%; padding: 0 var(--g); }
.center { display: flex; justify-content: center; }
.right { display: flex; justify-content: flex-end; }

/* Typo-Stufen der Wix-Seite */
.label { font-family: var(--display); font-size: clamp(18px, 1.53vw, 22px); line-height: 1.27; }
.label a:hover { color: var(--red); }
.display-l { font-family: var(--text); font-size: clamp(30px, 4.69vw, 67.5px); line-height: 1.26; font-weight: 400; }
.body-l { font-size: 18px; line-height: 1.7; }

/* Wix-Button: Pfeil + Text */
.link-btn { display: inline-flex; align-items: center; gap: 5px; font-family: var(--text); font-size: 18px; line-height: 1.3; color: var(--ink); }
.link-btn { transition: color .2s; }
.link-btn__icon { width: 25px; height: 25px; display: inline-flex; align-items: center; justify-content: center; transform: rotate(-45deg); transition: transform .2s; }
.link-btn__icon svg { width: 17px; height: 17px; }
.link-btn:hover { color: #76747B; }
.link-btn:hover .link-btn__icon { transform: rotate(0deg); }
.link-btn--light { color: #fff; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	height: var(--header-h);
	background: #fff; color: var(--nav-ink);
	transition: transform .4s ease, background .25s ease, color .25s ease;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header--hero { position: fixed; left: 0; right: 0; background: transparent; color: #fff; }
.site-header--hero .site-header__crest img { filter: brightness(0) invert(1); }
.site-header--hero.is-solid, .site-header--hero:hover, .site-header--hero:focus-within { background: #fff; color: var(--nav-ink); }
.site-header--hero.is-solid .site-header__crest img, .site-header--hero:hover .site-header__crest img, .site-header--hero:focus-within .site-header__crest img { filter: none; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { position: relative; height: 100%; display: flex; align-items: center; padding: 0 var(--g); }
.site-header__crest { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.site-header__crest img { width: 58px; height: auto; transition: filter .25s ease; }

.main-nav__list { display: flex; gap: 12px; }
.main-nav__item { position: relative; }
.main-nav__link {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 2px 8px; background: none; border: 0; cursor: pointer;
	font-family: var(--text); font-size: 15px; line-height: 21px; color: inherit;
	transition: color .2s;
}
.main-nav__link svg { width: 10px; height: 6px; transition: transform .2s; }
.main-nav__link:hover, .main-nav__item.is-open > .main-nav__link { color: var(--red); }
.main-nav__item.is-open > .main-nav__link svg { transform: rotate(180deg); }
.sub-menu {
	position: absolute; left: 0; top: calc(100% + 25px);
	min-width: 200px; padding: 10px 6px;
	background: #fff; color: var(--nav-ink);
	display: none;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; }
.sub-menu--cols { display: none; grid-template-columns: auto auto; column-gap: 24px; width: max-content; }
.main-nav__item.is-open > .sub-menu { display: block; }
.main-nav__item.is-open > .sub-menu--cols { display: grid; }
.sub-menu a { display: block; padding: 3px 6px; font-size: 14px; line-height: 1.4; white-space: nowrap; }
.sub-menu a:hover { color: var(--red); }

.menu-toggle { display: none; width: 40px; height: 40px; padding: 10px 6px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: #fff; color: var(--nav-ink); padding: calc(var(--header-h) + 20px) var(--g) 40px; overflow-y: auto; }
.mobile-menu > nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-menu summary, .mobile-menu__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--display); font-size: 24px; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 14px; height: 8px; transition: transform .2s; }
.mobile-menu details[open] summary svg { transform: rotate(180deg); }
.mobile-menu details ul { padding: 0 0 16px; }
.mobile-menu details a { display: block; padding: 6px 0; font-size: 17px; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: #fff; color: var(--nav-ink); transform: none; }
body.menu-open .site-header__crest img { filter: none; }

@media (max-width: 900px) {
	:root { --header-h: 80px; }
	.main-nav { display: none; }
	.menu-toggle { display: flex; }
	.site-header__crest img { width: 46px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; color: #fff; overflow: hidden; background: #111; }
.admin-bar .hero { height: calc(100vh - 32px); }
.hero__media, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__pattern { position: absolute; inset: 0; background: var(--htb-pattern) repeat; }
.hero__side {
	position: absolute; left: var(--g); top: 90px; z-index: 2;
	writing-mode: vertical-rl; font-size: 16px; line-height: 20px; white-space: nowrap;
}
.hero__inner {
	position: absolute; left: var(--g); right: var(--g); bottom: 45px; z-index: 2;
	display: grid; grid-template-columns: minmax(0, 1fr) 397px; gap: 40px; align-items: end;
}
.hero__title { font-family: var(--display); font-weight: 700; font-size: clamp(56px, 8.7vw, 125px); line-height: 1; letter-spacing: 0; }
.hero__title span { display: block; white-space: nowrap; }
.hero__aside p { font-size: 18px; line-height: 1.6; margin-bottom: 23px; }
@media (max-width: 1100px) { .hero__inner { grid-template-columns: 1fr; } .hero__aside { max-width: 420px; } }
@media (max-width: 600px) {
	.hero { min-height: 0; height: 100svh; }
	.hero__side { top: calc(var(--header-h) + 10px); font-size: 14px; }
	.hero__inner { left: 65px; right: 29px; top: calc(var(--header-h) + 30px); bottom: 36px; display: flex; flex-direction: column; justify-content: space-between; }
	.hero__title { font-size: clamp(44px, 20vw, 77px); }
	.hero__title span { white-space: normal; }
	.hero__aside p { font-size: 17px; }
}

/* ---------- Über uns ---------- */
.about { padding: var(--sec) var(--g); }
.about__inner { max-width: 810px; margin: 0 auto; }
.about .label { margin-bottom: 40px; }
.about__head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 11px; }
.about__logo { width: 221px; height: auto; }
.about__text { max-width: 427px; margin-left: auto; }
@media (max-width: 760px) {
	.about__logo { width: 110px; }
	.about__head .display-l { font-size: 30px; }
	.about__text { margin-left: 0; max-width: none; }
}

/* ---------- Sportarten ---------- */
.sports { display: grid; grid-template-columns: minmax(0, 596fr) minmax(0, 596fr); column-gap: 136px; padding: 0 var(--g) 180px; }
.sports__col--1 { padding-top: 337px; }
.sport { margin-bottom: 135px; }
.sport__media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--grey); }
.sport__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.sport:hover .sport__media img { transform: scale(1.04); }
.sport__head { margin: 25px 0 28px; }
.sport__head a { display: inline-flex; align-items: center; gap: 0; }
.sport__arrow { width: 18px; height: 18px; display: inline-flex; margin-right: 15px; transition: transform .25s; }
.sport__arrow svg { width: 18px; height: 18px; }
.sport__head a:hover .sport__arrow { transform: translateX(4px); }
.sport__num { font-family: var(--text); font-size: 18px; line-height: 1.4; margin-right: 20px; }
.sport__title { font-family: var(--display); font-size: clamp(26px, 2.34vw, 33.75px); line-height: 1.27; }
.sport__head a:hover .sport__title { color: var(--red); }
.sport__text { max-width: 427px; font-size: 16px; line-height: 1.6; }
@media (max-width: 760px) {
	.sports { grid-template-columns: 1fr; padding: 0 29px; }
	.sports__col--1 { padding-top: 0; }
	.sport { margin-bottom: 72px; }
	.sports__col { display: contents; }
	.sport { order: var(--o, 0); }
}

/* ---------- Sport-Icons ---------- */
.icons { padding: 112px var(--g) 168px; }
.icons__list { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-bottom: 57px; }
.icons__list a { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 139px; padding: 14px 0; color: var(--ink); }
.icons__icon { width: 30px; height: 30px; color: var(--red); display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.icons__icon svg { max-width: 30px; max-height: 30px; width: 100%; height: 100%; }
.icons__list a:hover .icons__icon { transform: translateY(-4px); }
.icons__label { font-family: var(--display); font-size: 19px; line-height: 1.25; }
@media (max-width: 600px) { .icons__list { gap: 0; } .icons__list a { width: 33.33vw; max-width: 120px; } .icons__label { font-size: 16px; } }

/* ---------- Wieso wir ---------- */
.why { background: var(--grey); padding: 112px var(--g) 169px; }
.why__inner { max-width: 1215px; margin: 0 auto; }
.why__label { padding-left: 112px; margin-bottom: 40px; }
.why__list { padding-left: 247px; display: grid; gap: 40px; }
.why__list li { display: flex; align-items: center; gap: 60px; font-family: var(--display); font-size: clamp(25px, 3.125vw, 45px); line-height: 1.27; }
.why__icon { width: 29px; height: 29px; flex: none; display: inline-flex; }
.why__icon svg { width: 29px; height: 29px; }
@media (max-width: 900px) { .why__label, .why__list { padding-left: 0; } .why__list { padding-left: 48px; gap: 24px; } .why__list li { gap: 24px; } .why__icon, .why__icon svg { width: 20px; height: 20px; } }

/* ---------- Unser Kiwi ---------- */
.kiwi { position: relative; height: 793px; display: flex; align-items: center; justify-content: center; overflow: hidden; clip-path: inset(0); }
.kiwi__bg { position: absolute; left: 0; right: 0; top: -20vh; bottom: -20vh; z-index: 0; will-change: transform; }
.kiwi__bg img { width: 100%; height: 100%; object-fit: cover; }
.kiwi__card { position: relative; z-index: 1; width: min(651px, calc(100% - 58px)); background: #fff; border-radius: 15px; padding: 47px 43px; text-align: center; }
.kiwi__title { font-family: var(--serif); font-size: clamp(36px, 3.28vw, 47.25px); line-height: 1.3; margin-bottom: 11px; color: #000; }
.kiwi__card p { font-size: 16px; line-height: 1.6; color: #000; margin-bottom: 22px; }
.kiwi__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(50px, 8vw, 120px); z-index: 1; }
@media (max-width: 600px) { .kiwi { height: 620px; } .kiwi__card { padding: 36px 24px; } }

/* ---------- News ---------- */
.news { padding: 57px 0 52px; }
.news__title { margin: 45px 0 70px; }
.news__grid { display: grid; grid-template-columns: repeat(4, 266px); gap: 34px; }
.news-card a { display: flex; flex-direction: column; height: 556px; border: 1px solid var(--line); background: #fff; transition: border-color .2s; }
.news-card a:hover { border-color: var(--ink); }
.news-card__media { display: block; height: 356px; overflow: hidden; flex: none; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 37px 24px 24px; display: flex; flex-direction: column; min-height: 0; }
.news-card.has-img .news-card__body { padding-top: 37px; }
.news-card__meta { font-family: var(--display); font-size: 12px; margin-bottom: 23px; }
.news-card__title { font-family: var(--display); font-size: 20px; line-height: 1.4; margin-bottom: 11px; }
.news-card a:hover .news-card__title { color: var(--red); }
.news-card__excerpt { font-family: var(--display); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news__more { margin-top: 11px; max-width: calc(266px * 4 + 34px * 3); }
@media (max-width: 1240px) { .news__grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } .news__more { max-width: none; } }
@media (max-width: 600px) { .news-card a { height: auto; min-height: 260px; } .news-card__media { height: 240px; } .news__title { margin: 24px 0 40px; } }

/* ---------- So packen wir's an ---------- */
.mission { display: grid; grid-template-columns: 653px minmax(0, 1fr); column-gap: 90px; padding: 158px var(--g) 56px 0; }
.mission__media { position: sticky; top: 30px; height: 1161px; max-height: calc(100vh - 60px); overflow: hidden; background: var(--grey); align-self: start; }
.mission__media img { width: 100%; height: 100%; object-fit: cover; }
.mission__body .label { margin-bottom: 39px; }
.mission__text p { font-family: var(--display); font-size: clamp(24px, 3.125vw, 45px); line-height: 1.4; margin-bottom: 1.4em; }
.mission__body > .right { margin: 0 22px 168px 0; }
.partners .label { margin-bottom: 2px; }
.partners__list { display: flex; gap: 89px; align-items: center; flex-wrap: wrap; }
.partners__list img { width: 83px; height: 83px; object-fit: contain; }
@media (max-width: 1240px) { .mission { grid-template-columns: 45% minmax(0, 1fr); column-gap: 48px; } }
@media (max-width: 760px) {
	.mission { grid-template-columns: 1fr; padding: 0 0 56px; }
	.mission__media { position: relative; top: 0; height: 420px; margin-bottom: 48px; }
	.mission__body { padding: 0 29px; }
	.mission__body > .right { margin: 0 0 72px; }
	.partners__list { gap: 32px; }
	.partners__list img { width: 64px; height: 64px; }
}

/* ---------- Basketball ---------- */
.bb { background: var(--grey); padding: 135px var(--g) 135px; }
.bb__intro { max-width: 675px; margin: 0 auto 125px; }
.bb__intro .label { margin-bottom: 40px; }
.bb__text { max-width: 427px; margin: 40px 0 40px auto; }
.bb__media { aspect-ratio: 1327 / 821; overflow: hidden; }
.bb__media img { width: 100%; height: 100%; object-fit: cover; }
.bb figcaption { font-size: 14px; line-height: 1.6; margin-top: 0; padding-top: 0; }
@media (max-width: 760px) { .bb__intro { margin-bottom: 60px; } .bb__text { margin: 24px 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #fff; padding: 56px var(--g) 56px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; min-height: 578px; }
.site-footer__title { font-family: var(--display); font-size: clamp(40px, 4.69vw, 67.5px); line-height: 1.4; max-width: 314px; margin: 23px 0 23px; }
.site-footer__crest img { width: 69px; height: auto; }
.site-footer__col--name p { font-size: 18px; line-height: 1.4; padding: 49px 0 0 55px; }
.site-footer__col--info { padding: 48px 0 0 139px; font-size: 16px; }
.footer-nav li { line-height: 22.4px; }
.footer-nav summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.footer-nav summary::-webkit-details-marker { display: none; }
.footer-nav summary svg { width: 12px; height: 6px; margin-right: 18px; transition: transform .2s; }
.footer-nav details[open] summary svg { transform: rotate(180deg); }
.footer-nav details ul { padding: 6px 0 8px 12px; opacity: .85; }
.site-footer__contact { margin: 40px 0 41px; line-height: 1.6; }
.legal li { margin-bottom: 27px; line-height: 20px; }
.social { display: flex; gap: 12px; margin-top: 92px; }
.social svg { width: 22px; height: 22px; }
.site-footer__bottom { margin-top: 109px; }
.site-footer__claim { font-size: clamp(20px, 1.95vw, 28.125px); line-height: 1.25; margin-bottom: 32px; }
.site-footer__copy { font-size: 14px; line-height: 1.3; }
@media (max-width: 1100px) { .site-footer__col--info { padding-left: 0; } .site-footer__col--name p { padding-left: 0; } }
@media (max-width: 760px) {
	.site-footer__grid { grid-template-columns: 1fr; min-height: 0; }
	.site-footer__col--name p, .site-footer__col--info { padding: 0; }
	.social { margin-top: 32px; }
	.site-footer__bottom { margin-top: 64px; }
}

/* ---------- Unterseiten ---------- */
.subpage { padding-bottom: var(--sec); }
.page-head { padding-top: 57px; padding-bottom: 56px; }
.page-head .label { margin-bottom: 45px; }
.page-thumb { margin-bottom: 64px; }
.page-thumb img { width: 100%; max-height: 720px; object-fit: cover; }
.entry-content { max-width: 920px; font-size: 18px; line-height: 1.7; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-family: var(--display); font-size: clamp(26px, 2.34vw, 34px); margin-top: 1.8em; }
.entry-content h3 { font-family: var(--display); font-size: 22px; margin-top: 1.6em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--red); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; list-style: disc; }
.entry-content blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 2px solid var(--red); font-family: var(--display); font-size: 1.3em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content img { height: auto; }
.entry-content .wp-block-button__link { background: var(--ink); color: #fff; border-radius: 0; text-decoration: none; font-size: 16px; padding: 14px 26px; }
.entry-content .wp-block-button__link:hover { background: var(--red); color: #fff; }
.entry-content > .alignwide { max-width: 1328px; }
.entry-content > .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.news__grid--archive { margin-bottom: 40px; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; }
.post-nav a { text-decoration: none; }
.pagination .nav-links { display: flex; gap: 6px; }
.pagination .page-numbers { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.has-htb62-red-color { color: var(--red); }
.has-htb62-grey-background-color { background: var(--grey); }
.has-htb62-dark-background-color { background: var(--dark); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   UNTERSEITEN-BAUSTEINE (Block-Klassen, gemessen an 1440 px)
   ===================================================================== */
.canvas { overflow-x: clip; }
.canvas > * + * { margin-top: 0; }
.canvas p, .canvas h1, .canvas h2, .canvas h3, .canvas h4, .canvas h5 { margin: 0; }
.canvas a { text-decoration: none; }
.canvas .wp-block-image { margin: 0; }
.canvas .wp-block-image img { width: 100%; height: auto; }
.canvas .wp-block-columns { margin: 0; }
.htb-label { font-family: var(--display); font-size: clamp(18px, 1.53vw, 22px); line-height: 1.27; font-weight: 400; }
.htb-display { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.125vw, 45px); line-height: 1.4; }
.htb-display.is-big { font-family: var(--text); font-size: clamp(34px, 4.69vw, 67.5px); line-height: 1.26; }
.htb-display-xl { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5.63vw, 81px); line-height: 1.2; }

/* Pfeil-Link-Buttons (Block-Stil „HTB62 Pfeil-Link“) */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 20px; }
.wp-block-button.is-style-htb-arrow .wp-block-button__link,
.wp-block-button.is-style-htb-arrow-light .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 0; background: none; border: 0; border-radius: 0;
	font-family: var(--text); font-size: 18px; line-height: 1.3; color: var(--ink); text-decoration: none;
}
.wp-block-button.is-style-htb-arrow-light .wp-block-button__link { color: #fff; }
.wp-block-button.is-style-htb-arrow .wp-block-button__link::before,
.wp-block-button.is-style-htb-arrow-light .wp-block-button__link::before {
	content: ""; flex: none; width: 25px; height: 25px;
	background: currentColor; transform: rotate(-45deg) scale(.68);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='19.588 20.146 159.561 159.541'%3E%3Cpath d='M170.281 20.146v144.371L25.892 20.16l-6.27 6.268 144.421 144.393H19.588v8.866h159.561V20.146h-8.868z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='19.588 20.146 159.561 159.541'%3E%3Cpath d='M170.281 20.146v144.371L25.892 20.16l-6.27 6.268 144.421 144.393H19.588v8.866h159.561V20.146h-8.868z'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .25s ease;
}
.wp-block-button.is-style-htb-arrow .wp-block-button__link,
.wp-block-button.is-style-htb-arrow-light .wp-block-button__link { transition: color .2s; }
.wp-block-button.is-style-htb-arrow .wp-block-button__link::before,
.wp-block-button.is-style-htb-arrow-light .wp-block-button__link::before { transition: transform .2s; }
.wp-block-button.is-style-htb-arrow .wp-block-button__link:hover::before,
.wp-block-button.is-style-htb-arrow-light .wp-block-button__link:hover::before { transform: rotate(0deg) scale(.68); }
.wp-block-button.is-style-htb-arrow .wp-block-button__link:hover,
.wp-block-button.is-style-htb-arrow-light .wp-block-button__link:hover { color: #76747B; text-decoration: none; }

/* ---------- Abteilungs-Hero ---------- */
.wp-block-cover.htb-hero { min-height: 100vh !important; padding: 0; align-items: stretch; color: #fff; }
.admin-bar .wp-block-cover.htb-hero { min-height: calc(100vh - 32px) !important; }
.htb-hero .wp-block-cover__inner-container { position: relative; width: 100%; max-width: none; min-height: inherit; color: #fff; }
.htb-hero__side { position: absolute; left: var(--g); top: 115px; writing-mode: vertical-rl; font-size: 16px; line-height: 20px; white-space: nowrap; }
.htb-hero__title { position: absolute; left: 45px; bottom: 79px; max-width: 62%; font-family: var(--display) !important; font-weight: 700 !important; font-size: clamp(64px, 13.9vw, 200px) !important; line-height: 1 !important; color: #fff; }
.htb-hero--small .htb-hero__title { font-size: clamp(54px, 8.6vw, 124px) !important; }
.htb-hero__intro { position: absolute; right: 45px; bottom: 96px; width: 404px; font-size: 18px; line-height: 1.6; }
@media (max-width: 900px) {
	.htb-hero__title { left: 29px; right: 29px; max-width: none; bottom: auto; top: 40%; font-size: clamp(48px, 17vw, 120px) !important; }
	.htb-hero__intro { left: 65px; right: 29px; width: auto; bottom: 40px; font-size: 16px; }
	.htb-hero__side { top: calc(var(--header-h) + 10px); font-size: 14px; }
}

/* ---------- Abteilungs-Navigation (Pille) ---------- */
.htb-subnav {
	position: sticky; top: 12px; z-index: 60;
	display: flex; align-items: center; gap: 24px;
	margin: 16px 45px; padding: 10px 40px 10px 54px; min-height: 75px;
	background: #fff; border-radius: 100px; box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.has-hero .htb-subnav { margin-top: 16px; }
.htb-subnav__logo { flex: none; width: auto !important; }
.htb-subnav__logo img { height: 55px !important; width: auto !important; }
.htb-subnav__links { flex: 1; display: flex; justify-content: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.htb-subnav__links a { font-size: 16px; color: var(--ink); }
.htb-subnav__links a:hover, .htb-subnav__links a[aria-current="page"] { color: #626262; }
.htb-subnav .wp-block-buttons { flex: none; }
@media (max-width: 900px) {
	.htb-subnav { margin: 12px 12px; padding: 8px 18px; gap: 12px; border-radius: 24px; flex-wrap: wrap; justify-content: space-between; }
	.htb-subnav__logo img { height: 38px !important; }
	.htb-subnav__links { order: 3; flex-basis: 100%; justify-content: flex-start; gap: 18px; overflow-x: auto; padding-bottom: 4px; }
	.htb-subnav__links a { font-size: 14px; white-space: nowrap; }
	.htb-subnav .wp-block-button__link { font-size: 15px !important; }
}

/* ---------- Inside HTB62 ---------- */
.htb-inside { background: var(--grey); padding: 135px var(--g) 135px; }
.htb-inside > .htb-label { margin-left: 19.6%; margin-bottom: 40px; max-width: 458px; }
.htb-inside > .htb-display { margin-left: 19.6%; max-width: 809px; margin-bottom: 40px; }
.htb-inside__body { margin-left: 44.6%; max-width: 450px; }
.htb-inside__body p { font-size: 18px; line-height: 1.7; }
.htb-inside__body p + p { margin-top: 40px; }
.htb-inside__body .wp-block-buttons { margin-top: 22px; }
.htb-inside__body a:not(.wp-block-button__link) { text-decoration: underline; text-underline-offset: 3px; }
.htb-inside--about .htb-inside__body { margin-left: 41.9%; max-width: 540px; }
.htb-inside--about .htb-inside__body p { font-size: 16px; line-height: 1.6; }
.htb-inside--about .htb-inside__body p + p { margin-top: 26px; }
.htb-values { display: flex; justify-content: flex-end; gap: 66px; margin: 105px 0 0 auto; max-width: 690px; padding-right: 2%; }
.htb-value { width: 120px; text-align: center; }
.htb-value p { font-family: var(--display); font-size: 19px; line-height: 1.25; margin-top: 12px !important; }
.htb-icon { display: inline-flex; width: 30px; height: 30px; color: var(--red); }
.htb-icon svg { width: 100%; height: 100%; }
.htb-full { margin-top: 135px !important; }
.htb-full.is-wide img { aspect-ratio: 1327 / 449; object-fit: cover; }
.htb-full img { aspect-ratio: 1327 / 787; object-fit: cover; }
.htb-full figcaption, .htb-inside .wp-element-caption { font-size: 14px; line-height: 1.6; margin: 8px 0 0; text-align: left; color: var(--ink); }
.htb-pair { margin-top: 135px !important; gap: 30px !important; }
.htb-pair .wp-block-column { flex: 1 1 0 !important; }
.htb-pair img { aspect-ratio: 649 / 790; object-fit: cover; }
@media (max-width: 900px) {
	.htb-inside { padding: 72px 29px; }
	.htb-inside > .htb-label, .htb-inside > .htb-display, .htb-inside__body, .htb-inside--about .htb-inside__body { margin-left: 0; max-width: none; }
	.htb-values { justify-content: space-between; gap: 12px; margin-top: 56px; max-width: none; padding: 0; }
	.htb-value { width: auto; flex: 1; }
	.htb-value p { font-size: 15px; }
	.htb-full, .htb-pair { margin-top: 56px !important; }
	.htb-pair { flex-direction: column; }
}

/* ---------- Trainingszeiten ---------- */
.htb-training { background: var(--grey); }
.htb-training > .wp-block-columns { gap: 0 !important; min-height: 744px; }
.htb-training > .wp-block-columns > .wp-block-column:first-child { padding: 0 56px 72px 58px; flex: 0 0 50% !important; }
.htb-training > .wp-block-columns > .wp-block-column:last-child { flex: 0 0 calc(50% - 56px) !important; margin-left: auto; }
.htb-training .htb-display { font-size: clamp(36px, 4.69vw, 67.5px); line-height: 1.26; margin-bottom: 20px !important; }
.htb-training__lines { font-size: 18px; line-height: 1.4; color: var(--nav-ink); max-width: 332px; margin-bottom: 30px !important; }
.htb-training h3 { font-family: var(--display); font-size: 28px; line-height: 1.4; margin: 32px 0 22px !important; }
.htb-training p { font-size: 18px; line-height: 1.4; max-width: 563px; }
.htb-training p + p { margin-top: 22px; }
.htb-training p.is-strong { font-weight: 700; color: var(--nav-ink); }
.htb-training a:not(.wp-block-button__link) { text-decoration: underline; }
.htb-training .wp-block-buttons { margin-top: 16px; }
.htb-training .wp-block-shortcode, .htb-training .htb-map { height: 100%; }
.htb-training.is-center { padding: 93px var(--g) 120px; }
.htb-training.is-center > * { max-width: 894px; margin-left: auto !important; margin-right: auto !important; }
.htb-training.is-center .htb-training__lines { max-width: none; }
@media (max-width: 900px) {
	.htb-training > .wp-block-columns { flex-direction: column; min-height: 0; }
	.htb-training > .wp-block-columns > .wp-block-column:first-child, .htb-training > .wp-block-columns > .wp-block-column:last-child { flex-basis: auto !important; padding: 56px 29px; }
	.htb-training > .wp-block-columns > .wp-block-column:last-child { padding: 0; height: 420px; }
}

/* Karte mit Zwei-Klick */
.htb-map { position: relative; width: 100%; height: 100%; min-height: 420px; background: #e6e4df; }
.htb-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.htb-map__consent { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 32px; gap: 10px; font-size: 15px; }
.htb-map__consent p { margin: 0; max-width: 360px; }
.htb-map__load { font: inherit; padding: 10px 22px; border: 1px solid var(--ink); background: #fff; cursor: pointer; }
.htb-map__load:hover { background: var(--ink); color: #fff; }
.htb-map__consent a { text-decoration: underline; }

/* ---------- Call-to-Action mit Bild ---------- */
.wp-block-cover.htb-cta { padding: 89px 24px; color: #fff; justify-content: center; align-items: flex-start; }
.htb-cta::after { content: ""; position: absolute; inset: 0; background: var(--htb-pattern) repeat, rgba(0,0,0,.22); z-index: 1; pointer-events: none; }
.htb-cta .wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; max-width: 877px; text-align: center; color: #fff; }
.htb-cta__title { font-family: var(--display) !important; font-weight: 400 !important; font-size: clamp(38px, 5.63vw, 81px) !important; line-height: 1.2 !important; color: #F7F7F7; margin-bottom: 20px !important; }
.htb-cta .wp-block-buttons { justify-content: center; }

/* ---------- Geteilter Seitenkopf (Teams, Trainer, Gruppen, News) ---------- */
.wp-block-media-text.htb-splithero { grid-template-columns: 61.8% 1fr !important; background: var(--grey); min-height: 487px; }
.htb-splithero .wp-block-media-text__media { align-self: stretch; height: 100%; }
.htb-splithero .wp-block-media-text__media img { width: 100%; height: 100% !important; min-height: 487px; object-fit: cover; }
.htb-splithero .wp-block-media-text__content { padding: 60px 70px; align-self: center; }
.htb-splithero .htb-label { font-family: var(--text); font-size: 18px; margin-bottom: 10px; }
@media (max-width: 760px) {
	.wp-block-media-text.htb-splithero { grid-template-columns: 1fr !important; }
	.htb-splithero .wp-block-media-text__media img { min-height: 300px; height: 300px !important; }
	.htb-splithero .wp-block-media-text__content { padding: 40px 29px; }
}

.htb-intro { background: var(--grey); padding: 90px var(--g); }
.htb-intro p { max-width: 855px; margin: 0 auto; text-align: center; font-size: 16px; line-height: 1.6; }

/* ---------- Team-/Gruppen-Zeilen ---------- */
.wp-block-media-text.htb-teamrow { grid-template-columns: 1fr 50% !important; background: var(--grey); min-height: 900px; }
.htb-teamrow .wp-block-media-text__media { align-self: stretch; height: 100%; }
.htb-teamrow .wp-block-media-text__media img { width: 100%; height: 100% !important; min-height: 900px; object-fit: cover; }
.htb-teamrow .wp-block-media-text__content { padding: 80px 8%; text-align: center; align-self: center; }
.htb-teamrow__title { font-family: var(--display) !important; font-size: clamp(30px, 2.78vw, 40px) !important; line-height: 1.3 !important; margin-bottom: 20px !important; }
.htb-teamrow p { max-width: 436px; margin: 0 auto; font-size: 16px; line-height: 1.6; }
.htb-teamrow p + p { margin-top: 24px; }
@media (max-width: 760px) {
	.wp-block-media-text.htb-teamrow { grid-template-columns: 1fr !important; min-height: 0; }
	.htb-teamrow .wp-block-media-text__media { grid-row: 1; }
	.htb-teamrow .wp-block-media-text__media img { min-height: 340px; height: 340px !important; }
	.htb-teamrow .wp-block-media-text__content { padding: 48px 29px 64px; }
}

.htb-closing { background: var(--grey); padding: 90px var(--g); text-align: center; }
.htb-closing__title { font-family: var(--display) !important; font-size: clamp(32px, 3.75vw, 54px) !important; line-height: 1.3 !important; }

/* ---------- Personen-Raster ---------- */
.htb-team { padding: 150px 46px 120px; }
.htb-team > .htb-label { font-family: var(--text); font-size: 20px; margin-bottom: 18px; }
.htb-team > .htb-display { font-family: var(--text); font-size: clamp(32px, 4.69vw, 67.5px); line-height: 1.4; margin-bottom: 70px; }
.htb-team__sub { font-family: var(--display) !important; font-size: clamp(28px, 2.9vw, 42px) !important; line-height: 1.26 !important; margin: 80px 0 40px !important; }
.htb-team--page > .htb-display + .htb-team__sub { margin-top: 0 !important; }
.htb-people { display: grid; grid-template-columns: repeat(4, minmax(0, 323px)); gap: 50px 20px; }
.htb-person__img img { width: 100%; aspect-ratio: 323 / 372; object-fit: cover; background: var(--grey); }
.htb-person__name { font-family: var(--display) !important; font-weight: 700 !important; font-size: 22px !important; line-height: 1.2 !important; margin: 24px 0 10px !important; }
.htb-person__line { font-size: 16px; line-height: 1.35; }
.htb-person__line + .htb-person__line { margin-top: 7px; }
.htb-person__line a:hover { color: var(--red); }
@media (max-width: 1100px) { .htb-people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .htb-team { padding: 72px 29px; } .htb-people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; } .htb-person__name { font-size: 18px !important; } .htb-person__line { font-size: 14px; } }

/* ---------- Werte (Über uns) ---------- */
.htb-values-page { padding: 113px 113px 120px; }
.htb-values-page > .htb-label { margin-bottom: 66px; }
.htb-valueset + .htb-valueset { margin-top: 80px; }
.htb-valueset__head { display: flex; align-items: center; gap: 59px; margin-bottom: 52px; }
.htb-valueset__head .htb-icon { width: 42px; height: 42px; color: var(--ink); }
.htb-valueset__head .htb-display { font-family: var(--text); font-size: clamp(34px, 4.69vw, 67.5px); line-height: 1.26; }
.htb-valueset__cols { gap: 135px !important; }
.htb-valueset__cols .wp-block-column { position: relative; max-width: 315px; }
.htb-valueset__num { position: absolute; top: 0; left: 0; font-size: 18px; line-height: 1.6; }
.htb-valueset__name { font-size: 18px; line-height: 1.6; padding-left: 44px; margin-bottom: 19px !important; }
.htb-valueset__cols p:last-child { font-size: 16px; line-height: 1.6; }
@media (max-width: 900px) { .htb-values-page { padding: 72px 29px; } .htb-valueset__head { gap: 20px; } .htb-valueset__cols { flex-direction: column; gap: 32px !important; } }

/* ---------- Textseiten ---------- */
.htb-page { padding: 130px var(--g) var(--sec); }
.htb-page__title { font-family: var(--text) !important; font-weight: 400 !important; font-size: clamp(38px, 4.69vw, 67.5px) !important; line-height: 1.26 !important; }
.htb-page__date { font-size: 16px; margin-top: 18px !important; }
.htb-page__lead { font-size: 18px; line-height: 1.6; margin-top: 28px !important; }
.htb-page--center .htb-page__head { text-align: center; max-width: 1025px; margin: 0 auto 100px; }
.htb-page--center .htb-page__lead { max-width: 729px; margin-left: auto !important; margin-right: auto !important; }
.htb-page--intro { padding-bottom: 60px; }
.htb-page--intro .htb-page__lead { font-size: 16px; max-width: 797px; }
.htb-prose { max-width: 774px; margin: 0 auto; font-size: 16px; line-height: 1.6; }
.htb-prose > * + * { margin-top: 1.4em !important; }
.htb-prose h3 { font-family: var(--display); font-size: clamp(28px, 3.125vw, 45px); line-height: 1.4; margin-top: 2em !important; }
.htb-prose h4 { font-family: var(--display); font-size: clamp(22px, 2.34vw, 33.75px); line-height: 1.27; margin-top: 1.6em !important; }
.htb-prose h5 { font-family: var(--display); font-size: clamp(20px, 1.95vw, 28px); line-height: 1.4; margin-top: 1.4em !important; }
.htb-prose ul { padding-left: 1.2em; list-style: disc; }
.htb-prose li + li { margin-top: .3em; }
.htb-prose a:not(.wp-block-button__link) { text-decoration: underline; text-underline-offset: 3px; }
.htb-prose a:hover { color: var(--red); }
.htb-page--center .htb-prose .wp-block-buttons { justify-content: flex-start; }
.htb-page--offset .htb-page__head { max-width: 900px; margin: 0 0 40px 12.8%; }
.htb-page--offset .htb-page__date { margin-left: 25%; }
.htb-page--offset .htb-prose { margin: 0 0 0 41.9%; max-width: 540px; font-size: 18px; }
.htb-page--offset .htb-prose h3 { font-size: clamp(28px, 3.125vw, 45px); }
.htb-page--left .htb-page__head { margin: 0 0 30px 11.1%; }
.htb-page--left .htb-prose { margin: 0 0 0 11.1%; max-width: 748px; font-size: 18px; }
.htb-page--left .htb-prose h3 { font-size: clamp(24px, 2.34vw, 33.75px); }
.htb-page:has(.htb-page__date) .htb-page__head { margin-bottom: 70px; }
@media (max-width: 900px) {
	.htb-page { padding: 72px 29px; }
	.htb-page--offset .htb-page__head, .htb-page--left .htb-page__head, .htb-page--offset .htb-prose, .htb-page--left .htb-prose { margin-left: 0; }
	.htb-page--offset .htb-page__date { margin-left: 0; }
}

/* ---------- Beiträge ---------- */
.htb-page__head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 734px); gap: 40px; align-items: start; margin-bottom: 120px; }
.htb-page__head--split .htb-display { font-family: var(--text); font-size: clamp(32px, 3.75vw, 54px); line-height: 1.26; }
.htb-page__head--split .htb-page__lead { margin-top: 0 !important; font-size: 16px; }
.htb-prices { display: grid; grid-template-columns: repeat(4, minmax(0, 301px)); justify-content: center; gap: 20px; margin-bottom: 110px; }
.htb-price { background: var(--grey); padding: 0 32px 34px; min-height: 302px; display: flex; flex-direction: column; }
.htb-price::before { content: ""; display: block; height: 1px; background: rgba(26,26,26,.25); margin: 30px 0 40px; }
.htb-price__title { font-family: var(--display) !important; font-size: 23px !important; line-height: 1.3 !important; min-height: 60px; }
.htb-price__notes { margin-top: auto; }
.htb-price__note { font-size: 14px; line-height: 1.6; }
.htb-price__note + .htb-price__note { margin-top: 14px; }
.htb-price__amount { font-family: var(--text); font-size: clamp(44px, 4.44vw, 64px); line-height: 1.1; margin-top: 18px !important; }
.htb-prices > .htb-price:nth-child(5) { grid-column: 2; }
@media (max-width: 1100px) { .htb-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } .htb-prices > .htb-price:nth-child(5) { grid-column: auto; } .htb-page__head--split { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .htb-prices { grid-template-columns: 1fr; } .htb-price { min-height: 0; } }

/* ---------- Formulare ---------- */
.htb-page--form .htb-page__title { text-align: center; margin-bottom: 70px; }
.htb-formpage__body { max-width: 602px; margin: 0 auto; }
.htb-formpage__intro { font-family: var(--display); font-size: 20px; line-height: 1.5; margin-bottom: 26px !important; }
.htb-formpage__intro a, .htb-formpage__note a { text-decoration: underline; }
.htb-formpage__note { font-size: 16px; line-height: 1.6; margin-top: 24px !important; }
.htb-form { margin-top: 60px; }
.htb-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 46px; margin-bottom: 36px; }
.htb-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.htb-field--full { grid-column: 1 / -1; margin-bottom: 30px; }
.htb-field input, .htb-field textarea {
	width: 100%; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(26,26,26,.55); border-radius: 0;
	background: transparent; font: inherit; font-size: 16px; color: var(--ink);
}
.htb-field input::placeholder, .htb-field textarea::placeholder { color: rgba(26,26,26,.4); }
.htb-field input:focus, .htb-field textarea:focus { outline: none; border-bottom-color: var(--red); }
.htb-field textarea { resize: vertical; min-height: 75px; }
.htb-form__checks { border: 0; padding: 0; margin: 0 0 36px; display: grid; gap: 18px; }
.htb-form__checks legend { font-size: 16px; margin-bottom: 18px; }
.htb-check { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; cursor: pointer; }
.htb-check input { flex: none; width: 16px; height: 16px; margin: 4px 0 0; accent-color: var(--ink); }
.htb-check a { text-decoration: underline; }
.htb-check--consent { margin: 6px 0 30px; }
.htb-form__submit { text-align: right; }
.htb-form__submit button { font: inherit; font-size: 16px; padding: 11px 34px; min-width: 187px; background: var(--ink); color: #fff; border: 1px solid var(--ink); cursor: pointer; transition: background .2s, border-color .2s; }
.htb-form__submit button:hover { background: var(--red); border-color: var(--red); }
.htb-form__hp { position: absolute; left: -9999px; }
.htb-form__notice { padding: 14px 18px; margin-bottom: 30px; font-size: 16px; }
.htb-form__notice.is-ok { background: #e9f3ea; }
.htb-form__notice.is-error { background: #fbe9e6; color: var(--red-dark, #A81000); }
.htb-contactcols { gap: 140px !important; margin-top: 30px !important; }
.htb-contactcols > .wp-block-column:first-child { flex: 0 0 264px !important; font-size: 16px; line-height: 1.6; padding-top: 10px; }
.htb-contactcols > .wp-block-column:first-child p + p { margin-top: 26px; }
.htb-contactcols > .wp-block-column:last-child { max-width: 602px; }
.htb-page--contact .htb-page__title { margin-bottom: 40px; }
.htb-page--contact .htb-form { margin-top: 30px; }
@media (max-width: 900px) { .htb-contactcols { flex-direction: column; gap: 48px !important; } .htb-contactcols > .wp-block-column:first-child { flex-basis: auto !important; } }
@media (max-width: 560px) { .htb-form__grid { grid-template-columns: 1fr; gap: 24px; } .htb-form__submit { text-align: left; } }

/* ---------- Eingebettet (Vereinsplaner) ---------- */
.htb-page--embed .htb-page__head { text-align: center; margin-bottom: 40px; }
.htb-page--embed .htb-label { font-family: var(--text); font-size: 18px; margin-bottom: 14px; }
.htb-page--embed .htb-display { font-family: var(--text); font-size: clamp(38px, 4.69vw, 67.5px); line-height: 1.4; }
.htb-embed iframe { width: 100%; border: 0; display: block; }

/* ---------- FAQ ---------- */
.htb-page--faq { padding-top: 68px; }
.htb-page--faq .htb-page__head { margin-bottom: 80px; }
.htb-faq { max-width: 1374px; margin: 0 auto; }
.htb-faq__bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.htb-faq__tabs { display: flex; gap: 32px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.htb-faq__tabs button { background: none; border: 0; padding: 18px 0 16px; font: inherit; font-size: 16px; cursor: pointer; color: var(--ink); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.htb-faq__tabs button[aria-selected="true"] { border-bottom-color: var(--ink); }
.htb-faq__search { width: 256px; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(26,26,26,.55); font: inherit; font-size: 15px; background: transparent; }
.htb-faq__search:focus { outline: none; border-bottom-color: var(--red); }
.htb-faq__group + .htb-faq__group { margin-top: 40px; }
.js .htb-faq__group + .htb-faq__group { margin-top: 0; }
.htb-faq__cat { font-family: var(--display) !important; font-size: 22px !important; margin-bottom: 10px !important; }
.js .htb-faq__cat { position: absolute; left: -9999px; }
.htb-faq details { border-bottom: 1px solid var(--line); }
.htb-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 16px; min-height: 81px; cursor: pointer; list-style: none; font-family: var(--display); font-size: 20px; line-height: 1.3; }
.htb-faq summary::-webkit-details-marker { display: none; }
.htb-faq summary::after { content: "+"; font-family: var(--text); font-size: 26px; line-height: 1; transition: transform .2s; }
.htb-faq details[open] summary::after { transform: rotate(45deg); }
.htb-faq details p { padding: 0 16px 28px; max-width: 900px; font-size: 16px; line-height: 1.6; }
.htb-faq details a { text-decoration: underline; }
.htb-faq__more { text-align: center; max-width: 911px; margin: 140px auto 0; }
.htb-faq__more p { font-size: 18px; margin-top: 24px !important; }
.htb-faq__more p a { text-decoration: underline; }
.htb-faq__more .wp-block-buttons { justify-content: center; margin-top: 40px; }

/* ---------- Naturbad (Abschnitte untereinander) ---------- */
.htb-stack { padding: 130px var(--g) 140px; }
.htb-stack__item { max-width: 911px; margin: 0 auto; }
.htb-stack__item + .htb-stack__item { margin-top: 130px; }
.htb-stack__item .htb-display { margin-bottom: 26px; }
.htb-stack__item p { font-size: 16px; line-height: 1.6; }
.htb-stack__item p + p { margin-top: 16px; }
.htb-stack__item a:not(.wp-block-button__link) { text-decoration: underline; }
.htb-stack__item .wp-block-buttons { margin-top: 10px; }

/* ---------- News-Listen & Kategoriefilter ---------- */
.cat-filter { margin: 40px 0 50px; }
.cat-filter ul { display: flex; flex-wrap: wrap; gap: 8px 34px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.cat-filter a { font-size: 14px; color: var(--ink); }
.cat-filter a:hover, .cat-filter a[aria-current="page"] { color: var(--red); }
.htb-posts__title { font-family: var(--display); font-size: clamp(28px, 2.5vw, 36px); line-height: 1.3; margin: 0 0 60px 56px; font-weight: 400; }
.news-archive .htb-posts__title { margin-left: 56px; }
.news-card__cat { font-family: var(--display); font-size: 12px; color: var(--red); margin: -12px 0 12px; }
.htb-newslist { padding: 80px var(--g) 100px; }
.htb-newslist .news__grid { justify-content: center; }
.news-archive .news__grid { justify-content: center; }
.htb-posts__empty { text-align: center; font-size: 16px; }

/* ---------- Einzelner Beitrag ---------- */
.single-post .cat-filter { margin: 30px 0 80px; }
.post-article { max-width: 740px; margin: 0 auto; padding: 0 29px; box-sizing: content-box; }
.post-article__meta { font-size: 14px; margin-bottom: 30px; }
.post-article__title { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 2.78vw, 40px); line-height: 1.3; margin-bottom: 36px; }
.post-article__thumb { margin-bottom: 36px; }
.post-article__thumb img { width: 100%; height: auto; }
.post-article__body { max-width: none; font-size: 18px; line-height: 1.6; }
.post-article__cats { margin-top: 48px; display: flex; gap: 10px; flex-wrap: wrap; }
.post-article__cats a { font-size: 14px; padding: 6px 14px; border: 1px solid var(--line); }
.post-article__cats a:hover { border-color: var(--ink); }

/* Klassische Themes: WordPress legt in Gruppen einen inneren Container an – für Layout ignorieren */
.wp-block-group[class*="htb-"] > .wp-block-group__inner-container { display: contents; }
.htb-training > .wp-block-columns > .wp-block-column:first-child { padding-top: 51px; }
.htb-subnav .wp-block-image { margin: 0; }
.htb-prose > * + * { margin-top: .85em !important; }
.htb-prose > h3 { margin-top: 1.5em !important; }
.htb-prose > h4 { margin-top: 1.1em !important; }
.htb-prose > h5 { margin-top: 1em !important; }
.htb-prose > h3 + h4, .htb-prose > h4 + h5 { margin-top: .5em !important; }

/* ---------- Mobiler Probetraining-Button ---------- */
.htb-sticky-cta { display: none; }
@media (max-width: 760px) {
	.htb-sticky-cta {
		position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 80;
		display: flex; align-items: center; justify-content: center; gap: 10px;
		padding: 15px 20px; background: var(--ink); color: #fff; font-size: 17px; border-radius: 100px;
		box-shadow: 0 8px 28px rgba(0,0,0,.25); transition: transform .3s ease, opacity .3s ease;
	}
	.htb-sticky-cta svg { width: 14px; height: 14px; transform: rotate(-45deg); }
	.htb-sticky-cta:active { transform: scale(.98); }
	body.menu-open .htb-sticky-cta { opacity: 0; pointer-events: none; }
	.site-footer { padding-bottom: 110px; }
}

/* ---------- Personen ohne Foto: Initialen ---------- */
.htb-person__initials {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 323 / 372; background: var(--grey);
	font-family: var(--display); font-size: clamp(40px, 4.4vw, 64px); color: rgba(26,26,26,.35); letter-spacing: .02em;
}
.htb-team__note { margin-top: 80px; max-width: 560px; }
.htb-team__note p { font-size: 18px; line-height: 1.6; margin-bottom: 20px !important; }
@media (max-width: 760px) { .htb-hero__intro { bottom: 104px; } .hero__inner { bottom: 104px; } }

/* ---------- Wix-Effekte (Muster, Einflug, Reveal, Parallax, Tilt) ---------- */
:root { --htb-pattern: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAClJREFUeNpi+P//PwMIgwASO5IBXQIsiAUQIYisHWYszOhIZEUwDBBgADAIK+1LvwAlAAAAAElFTkSuQmCC"); }
.wp-block-cover.htb-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--htb-pattern) repeat; pointer-events: none; }
.wp-block-cover.htb-hero > .wp-block-cover__inner-container, .wp-block-cover.htb-cta > .wp-block-cover__inner-container { z-index: 2 !important; }
.js .fx { opacity: 0; transition: opacity var(--fx-d, 800ms) cubic-bezier(.445,.05,.55,.95) var(--fx-delay, 0ms), transform var(--fx-d, 800ms) cubic-bezier(.445,.05,.55,.95) var(--fx-delay, 0ms); }
.js .fx--up { transform: translateY(60px); }
.js .fx--left { transform: translateX(-60px); }
.js .fx--right { transform: translateX(60px); }
.js .fx.is-in { opacity: 1; transform: none; }
.js .fx-reveal { will-change: clip-path, transform; }
.kiwi__card.has-tilt { transition: transform 500ms ease-out; }
@media (prefers-reduced-motion: reduce) {
	.js .fx { opacity: 1; transform: none; transition: none; }
	.kiwi__bg { top: 0; bottom: 0; transform: none !important; }
}

/* ---------- Startseite aus Blöcken (ab 3.0) ---------- */
.front figure.wp-block-image { margin: 0; }
.htb-hero--home .wp-block-cover__inner-container { position: absolute; inset: 0; }
.htb-hero--home .hero__title { margin: 0; color: #fff; }
.htb-hero--home .hero__aside p { color: #fff; }
@media (max-width: 600px) { .wp-block-cover.htb-hero--home { min-height: 100svh !important; } }
.about__logo img { width: 221px; height: auto; }
@media (max-width: 760px) { .about__logo img { width: 110px; } }
.about__head .wp-block-heading { margin: 0; }

.sport__media a { display: block; width: 100%; height: 100%; }
.sport__head.wp-block-heading { display: flex; align-items: center; font-family: var(--display); font-size: clamp(26px, 2.34vw, 33.75px); line-height: 1.27; }
.sport__head.wp-block-heading::before { content: ""; flex: none; width: 18px; height: 18px; margin-right: 15px; background: currentColor; -webkit-mask: var(--ico-arrow) center / contain no-repeat; mask: var(--ico-arrow) center / contain no-repeat; transition: transform .25s; }
.sport__head.wp-block-heading:hover::before { transform: translateX(4px); }
.sport__head.wp-block-heading a { display: inline-flex; align-items: baseline; color: inherit; }
.sport__head.wp-block-heading a::before { content: var(--n, ""); font-family: var(--text); font-size: 18px; line-height: 1.4; margin-right: 20px; color: var(--ink); }
.sport__head.wp-block-heading a:hover { color: var(--red); }
.sport--01 { --n: "01"; } .sport--02 { --n: "02"; } .sport--03 { --n: "03"; } .sport--04 { --n: "04"; }
.sport--05 { --n: "05"; } .sport--06 { --n: "06"; } .sport--07 { --n: "07"; } .sport--08 { --n: "08"; }
@media (max-width: 760px) {
	.sport--01 { order: 1; } .sport--02 { order: 2; } .sport--03 { order: 3; } .sport--04 { order: 4; }
	.sport--05 { order: 5; } .sport--06 { order: 6; } .sport--07 { order: 7; } .sport--08 { order: 8; }
}

.icons__item { margin: 0; }
.icons__item a { font-family: var(--display); font-size: 19px; line-height: 1.25; text-align: center; }
.icons__item a::before { content: ""; width: 30px; height: 30px; background: var(--red); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; transition: transform .25s; }
.icons__item a:hover::before { transform: translateY(-4px); }
@media (max-width: 600px) { .icons__item a { font-size: 16px; } }

.why__list.wp-block-list { list-style: none; margin: 0; }
.why__list.wp-block-list li::before { content: ""; flex: none; width: 29px; height: 29px; background: currentColor; -webkit-mask: var(--ico-corner) center / contain no-repeat; mask: var(--ico-corner) center / contain no-repeat; }
@media (max-width: 900px) { .why__list.wp-block-list li::before { width: 20px; height: 20px; } }

.kiwi .kiwi__bg { margin: 0; }
.kiwi__card .wp-block-buttons { justify-content: center; }
.kiwi__card .kiwi__title { margin-top: 0; }
.news .htb-posts { margin: 0 0 11px; }
.partners__list figure { margin: 0; }
.partners__list img { width: 83px; height: 83px; object-fit: contain; }
.mission__text p:last-child { margin-bottom: 1.4em; }
.bb__figure img { width: 100%; aspect-ratio: 1327 / 821; object-fit: cover; }
.bb__figure .wp-element-caption { font-size: 14px; line-height: 1.6; margin: 0; text-align: left; }

/* ---------- Barrierefreiheit: sichtbarer Tastaturfokus ---------- */
.wp-block-button__link:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.site-footer :focus-visible, .htb-hero :focus-visible, .htb-cta :focus-visible, .hero :focus-visible, .htb-sticky-cta:focus-visible { outline-color: #fff; }
.htb-field input:focus-visible, .htb-field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.front--blocks { overflow-x: clip; }
.front--blocks a { text-decoration: none; }
.front .sport__media img, .front .mission__media img, .front .kiwi__bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.front .partners__list img { width: 83px; height: 83px; max-width: none; object-fit: contain; }
.front .about__logo img { width: 221px; height: auto; max-width: none; }
@media (max-width: 760px) { .front .partners__list img { width: 64px; height: 64px; } .front .about__logo img { width: 110px; } }
.front .mission__media { margin: 0; }

/* ---------- Abgleich mit Wix (Nov. 2026) ---------- */
/* Beitrag: „Aktuelle Beiträge“ unter dem Artikel */
.post-recent { max-width: 980px; margin: 80px auto 0; padding: 0 29px; box-sizing: content-box; }
.post-recent__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 24px; margin-bottom: 28px; border-top: 1px solid var(--line); }
.post-recent__title { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.3; }
.post-recent__all { font-size: 16px; }
.post-recent__all:hover { color: var(--red); }
.news__grid.post-recent__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .news__grid.post-recent__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Wix-Abgleich Teil 2 (Nov. 2026): Typografie, Abstände und Stile
   gemessen an erikjung9.wixstudio.com/htb62 bei 1440 px Breite
   ===================================================================== */

/* Große Überschriften nutzen auf Wix „Madefor Display“ */
.htb-page__title { font-family: var(--display) !important; }
.htb-page:has(.htb-page__lead) .htb-page__title { line-height: 1.4 !important; }
.htb-display.is-big,
.htb-team > .htb-display,
.htb-valueset__head .htb-display,
.htb-page__head--split .htb-display,
.htb-page--embed .htb-display,
.bb .display-l { font-family: var(--display); }
.htb-page__head--split .htb-display { line-height: 1.2; }

/* Textseiten: Spalte bei 15 % wie auf Wix, Abstände wie Wix-Leerzeilen */
.htb-page--left { padding-top: 109px; }
.htb-page--left:has(.htb-page__date) .htb-page__head { margin-bottom: 34px; }
.htb-page--left .htb-prose > * + * { margin-top: 24px !important; }
.htb-page--left .htb-prose > * + h3 { margin-top: 76px !important; }
.htb-page--left .htb-prose > p + ul { margin-top: 27px !important; }
.htb-page--left .htb-page__date { margin-top: 35px !important; }
.htb-page--center .htb-page__head { margin-bottom: 80px; }
.htb-page--faq { padding-top: 69px; }
.htb-page--form .htb-page__title { margin-bottom: 153px; }
.htb-page__date { font-size: 18px; line-height: 1.6; }
.htb-page--center .htb-page__date { font-size: 16px; }
.htb-page--left .htb-page__head, .htb-page--left .htb-prose { margin-left: calc(15vw - var(--g)); }
.htb-page--left .htb-prose li { font-size: 16px; line-height: 1.6; }
.htb-page--left .htb-prose li + li { margin-top: 2px; }
.htb-page--left .htb-prose ul { padding-left: 32px; }
.htb-page--offset .htb-prose { line-height: 2; }
.htb-prose h3, .htb-prose h4, .htb-prose h5 { line-height: 1.6; }
.htb-page--left .htb-prose h3 { line-height: 1.4; }
.htb-page--center .htb-prose > * + * { margin-top: 0 !important; }
.htb-page--center .htb-prose > p + p { margin-top: 25.6px !important; }
.htb-page--center .htb-prose > * + h3, .htb-page--center .htb-prose > * + h4, .htb-page--center .htb-prose > * + h5 { margin-top: 25.6px !important; }

/* Gefüllte Wix-Buttons (Textseiten, Satzung, FAQ) */
.htb-page--left .wp-block-button .wp-block-button__link,
.htb-page--center .htb-prose .wp-block-button .wp-block-button__link,
.htb-page--center .htb-page__head .wp-block-button .wp-block-button__link,
.htb-faq__more .wp-block-button .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 0;
	background: var(--ink); color: #fff; font-family: var(--text); font-size: 16.875px; line-height: 1.4;
	padding: 9px 16.875px; min-height: 42px; border-radius: 0; text-decoration: none;
}
.htb-page--left .wp-block-button .wp-block-button__link::before,
.htb-page--center .htb-prose .wp-block-button .wp-block-button__link::before,
.htb-page--center .htb-page__head .wp-block-button .wp-block-button__link::before,
.htb-faq__more .wp-block-button .wp-block-button__link::before { display: none; }
.htb-page--left .wp-block-button .wp-block-button__link:hover,
.htb-page--center .htb-prose .wp-block-button .wp-block-button__link:hover,
.htb-page--center .htb-page__head .wp-block-button .wp-block-button__link:hover,
.htb-faq__more .wp-block-button .wp-block-button__link:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.htb-page--left .wp-block-button .wp-block-button__link { width: 142px; }
.htb-page--center .htb-prose .wp-block-button .wp-block-button__link,
.htb-page--center .htb-page__head .wp-block-button .wp-block-button__link { min-width: 319px; min-height: 55px; }
.htb-faq__more .wp-block-button .wp-block-button__link { background: #000; font-size: 14px; width: 240px; min-height: 50px; padding: 8px; border-radius: 100px; }

/* FAQ wie Wix: Suche rechts über den Reitern, Reiter mit roter Linie, Fragen als Kästen */
.htb-page--faq .htb-page__head { margin-bottom: 0; }
.htb-faq { max-width: none; margin: 0 -24px; }
.htb-faq__bar { display: grid; grid-template-columns: 1fr; border-bottom: 0; margin-bottom: 24px; gap: 0; }
.htb-faq__search { justify-self: end; order: -1; width: 280px; margin: 0 0 22px; padding: 6px 28px 6px 0; font-size: 14px; border-bottom: 1px solid var(--ink);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%231a1a1a' stroke-width='1.3'%3E%3Ccircle cx='6' cy='6' r='5'/%3E%3Cpath d='m10 10 3.5 3.5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.htb-faq__search::placeholder { color: var(--ink); }
.htb-faq__tabs { gap: 0; flex-wrap: nowrap; justify-content: space-between; }
.htb-faq__tabs button { padding: 14px 41px; font-size: 16px; line-height: 1.5; border-bottom: 3px solid transparent; margin: 0; }
.htb-faq__tabs button[aria-selected="true"] { color: var(--red); border-bottom-color: var(--red); }
.htb-faq__tabs button:hover { color: var(--red); }
.htb-faq__group { display: flex; flex-direction: column; gap: 12px; }
.htb-faq__group[hidden] { display: none; }
.htb-faq details { border: 1px solid var(--ink); background: #fff; }
.htb-faq summary { padding: 24px; min-height: 80px; font-family: var(--text); font-size: 20px; line-height: 1.2; }
.htb-faq summary::after { content: ""; width: 14px; height: 8px; flex: none; margin-right: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' stroke='%231a1a1a' stroke-width='1.3'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.htb-faq details[open] summary::after { transform: rotate(180deg); }
.htb-faq details p { padding: 0 24px 24px; }
.htb-faq__more { margin-top: 80px; }
.htb-faq__more h2 { font-family: var(--display); font-size: 45px; line-height: 1.4; }
.htb-faq__more p { font-size: 16px; }
.htb-faq__more .wp-block-buttons { margin-top: 30px; }
@media (max-width: 900px) { .htb-faq { margin: 0; } .htb-faq__tabs { overflow-x: auto; justify-content: flex-start; } .htb-faq__tabs button { padding: 14px 20px; white-space: nowrap; } .htb-faq__search { width: 100%; } }

/* Formulare wie Wix */
.htb-formpage__body { transform: translateX(min(103px, 7.15vw)); }
.htb-formpage__intro a { color: var(--red); }
.htb-form__grid { gap: 26px 36px; margin-bottom: 26px; }
.htb-field { gap: 8px; line-height: 1.4; }
.htb-field input, .htb-field textarea { padding: 8px 2px 8px 0; border-bottom-color: var(--ink); line-height: 1.5; }
.htb-field input::placeholder, .htb-field textarea::placeholder { color: rgba(26,26,26,.45); }
.htb-form__checks { gap: 12px; margin-bottom: 30px; }
.htb-form__checks legend { font-size: 14px; line-height: 1.4; margin-bottom: 8px; }
.htb-check { line-height: 1.5; }
.htb-check input { width: 18px; height: 18px; margin-top: 3px; }
.htb-form__submit { text-align: left; }
.htb-form__submit button { min-width: 289px; padding: 11px 14px; line-height: 1.2; border-radius: 100px; }
@media (max-width: 900px) { .htb-formpage__body { transform: none; } }

/* News-Karten, Kategoriefilter und Beiträge wie Wix */
.news-card__meta, .news-card__cat, .news-card__excerpt { font-family: var(--text); }
.news-card__meta, .news-card__cat { font-size: 14px; }
.news-card__title { font-size: 22px; line-height: 1.4; }
.news-card__excerpt { font-size: 16px; line-height: 1.5; }
.cat-filter a { line-height: 1.4; }
.single-post .cat-filter a[aria-current="page"] { color: var(--ink); }
.post-article__body { line-height: 1.5; }
.post-article__body h2 { font-size: 28px; line-height: 1.4; }

/* Vorstand & Team, Mitglied werden: Wix nutzt reines Schwarz */
.htb-team--page, .htb-page--embed .htb-label { color: #000; }

/* Abteilungs-Navigation */
.htb-subnav__links a { letter-spacing: .05em; }

/* Beiträge */
.htb-price__title { line-height: 1.47 !important; }
.htb-price__amount { line-height: .9; letter-spacing: -.04em; }

/* Impressum: schmale Spalte bei 34,5 %, Zwischenüberschriften als normale Absätze */
.htb62-page-impressum .htb-prose { margin-left: calc(34.5vw - var(--g)); max-width: 650px; font-size: 18px; line-height: 1.4; }
.htb62-page-impressum .htb-prose h4 { font-family: var(--text); font-size: 18px; line-height: 1.4; }
.htb62-page-impressum .htb-prose > * + * { margin-top: 25.2px !important; }
@media (max-width: 900px) { .htb62-page-impressum .htb-prose { margin-left: 0; } }

/* Sportkarten: Wix-Raster mit versetzten Karten (Werte in vw, wie Wix sie skaliert) */
@media (min-width: 761px) {
	.sports { column-gap: 9.375vw; row-gap: 9.375vw; align-items: start; }
	.sports__col { display: contents; }
	.sports__col--1 { padding-top: 0; }
	.sports .sport { margin-bottom: 0; }
	.sports .sport--01 { grid-area: 1 / 1 / 2 / 2; }
	.sports .sport--02 { grid-area: 1 / 2 / 3 / 3; margin-top: 23.435vw; }
	.sports .sport--03 { grid-area: 2 / 1 / 4 / 2; }
	.sports .sport--04 { grid-area: 3 / 2 / 4 / 3; margin-top: 10.52vw; }
	.sports .sport--05 { grid-area: 4 / 1 / 5 / 2; margin-top: -19.763vw; }
	.sports .sport--06 { grid-area: 4 / 2 / 5 / 3; margin-top: 11.855vw; }
	.sports .sport--07 { grid-area: 5 / 1 / 6 / 2; margin-top: -27.667vw; }
	.sports .sport--08 { grid-area: 5 / 2 / 6 / 3; margin-top: 3.953vw; }
}

/* Feinabgleich Textseiten, FAQ, Formular */
.htb-page--left .htb-prose > p:first-child { max-width: 534px; }
.htb-page--left .htb-prose > .wp-block-buttons { margin-top: 29px !important; padding-left: 45.3%; }
.htb-page--center .htb-prose > p + p { margin-top: 0 !important; }
.htb-page--center .htb-prose ul, .htb-page--center .htb-prose ol { padding-left: 29px; }
.htb-page--center .htb-prose li + li { margin-top: 0; }
.htb62-page-satzung .htb-page__head { margin-bottom: 30px; }
.htb62-page-satzung .htb-prose > .wp-block-buttons:first-child { justify-content: center; }
.htb62-page-satzung .htb-prose > .wp-block-buttons + * { margin-top: 56px !important; }
.htb62-page-impressum .htb-prose > h4 + * { margin-top: 0 !important; }
.htb-page--faq .htb-page__lead { line-height: 1.28; }
.htb-page--faq .htb-page__head { margin-bottom: 200px; }
.htb-faq__tabs { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
.htb-faq__tabs::-webkit-scrollbar { display: none; }
.htb-faq__tabs li { flex: none; }
.htb-faq__tabs button { white-space: nowrap; }
.htb-field--full { margin-bottom: 6px; }
.htb-check--consent { margin-bottom: 22px; }
.htb-page--center .htb-prose > h3 + h4, .htb-page--center .htb-prose > h4 + h5 { margin-top: 0 !important; }
.htb62-page-impressum .htb-page--center .htb-prose > * + * { margin-top: 25.2px !important; }
.htb62-page-impressum .htb-page--center .htb-prose > h4 + * { margin-top: 0 !important; }
.htb-page--offset .htb-page__head { margin-left: calc(18.75vw - var(--g)); }
.htb-page--offset .htb-page__date { margin-left: 25vw; line-height: 1.28; }
.htb-page--offset:has(.htb-page__date) .htb-page__head { margin-bottom: 44px; }
.htb-page--offset .htb-prose { margin-left: calc(43.75vw - var(--g)); }
.htb-page--offset .htb-prose h3 { line-height: 1.4; }
.htb-page--offset .htb-prose > * + * { margin-top: 23px !important; }
.htb-page--offset .htb-prose > * + h3 { margin-top: 22px !important; }
.htb-faq__bar { margin-bottom: 10px; }
.htb-faq__more { margin-top: 112px; }
@media (max-width: 900px) { .htb-page--offset .htb-page__head, .htb-page--offset .htb-prose, .htb-page--offset .htb-page__date { margin-left: 0; } }

/* Konfliktmanagement: einspaltiges Formular, Hinweise vor Zustimmung und Button wie auf Wix */
.htb62-page-konfliktmanagement .htb-page--form .htb-page__title { margin-bottom: 108px; }
.htb62-page-konfliktmanagement .htb-formpage__intro { margin-bottom: 34px !important; }
.htb62-page-konfliktmanagement .htb-formpage__body { display: flex; flex-direction: column; }
.htb62-page-konfliktmanagement .htb-form { display: contents; }
.htb62-page-konfliktmanagement .htb-form > .htb-form__checks:first-of-type { margin: 25px 0 24px; gap: 28px; }
.htb62-page-konfliktmanagement .htb-form__grid { grid-template-columns: 1fr; gap: 19px; margin-bottom: 26px; }
.htb62-page-konfliktmanagement .htb-form__checks { gap: 28px; }
.htb62-page-konfliktmanagement .htb-form__checks legend { font-size: 16px; line-height: 1.5; margin-bottom: 20px; }
.htb62-page-konfliktmanagement .htb-field--full { margin-bottom: 0; }
.htb62-page-konfliktmanagement .htb-formpage__note { order: 1; font-size: 16px; line-height: 1.5; margin: 0 0 24px !important; }
.htb62-page-konfliktmanagement .htb-check--consent { order: 2; margin: 0 0 26px; }
.htb62-page-konfliktmanagement .htb-form__submit { order: 3; text-align: right; }
.htb62-page-konfliktmanagement .htb-form > .htb-field--full:last-of-type { margin-bottom: 64px; }
.htb-faq__more .wp-block-buttons { margin-top: 49px; }
.htb62-page-satzung .htb-page:has(.htb-page__date) .htb-page__head { margin-bottom: 30px; }
.htb-page--offset:has(.htb-page__date) .htb-page__head { margin-bottom: 20px; }
.htb-page--offset .htb-prose > p + p { margin-top: 0 !important; }
.htb62-page-impressum .htb-page--center .htb-prose > h4 + p + p { margin-top: 0 !important; }
.htb-page--offset .htb-prose > h3:first-child { margin-top: 25px !important; }
.htb62-page-konfliktmanagement .htb-form > .htb-form__checks:first-of-type { gap: 20px; margin-bottom: 20px; }
.htb62-page-konfliktmanagement .htb-form__checks { gap: 20px; margin-bottom: 22px; }
.htb62-page-konfliktmanagement .htb-form__grid { margin-bottom: 0; }

/* Abteilungsseiten */
@media (min-width: 901px) {
	.htb-inside > .htb-label, .htb-inside > .htb-display { margin-left: calc(23.47vw - var(--g)); }
	.htb-inside__body { margin-left: calc(48.4vw - var(--g)); }
}
.htb-subnav__links { gap: 20px; }
.htb-training > .wp-block-columns > .wp-block-column:first-child p,
.htb-training > .wp-block-columns > .wp-block-column:first-child .htb-training__lines { max-width: 514px; }
.htb-training.is-center { text-align: center; }
.htb-training.is-center > * { max-width: 520px; transform: translateX(62px); }
.htb-training.is-center .wp-block-buttons { justify-content: center; }
.htb62-page-dart .htb-training.is-center { text-align: left; padding-left: 58px; }
.htb62-page-dart .htb-training.is-center > * { margin-left: 0 !important; transform: none; max-width: 514px; }
.htb62-page-dart .htb-training.is-center .wp-block-buttons { justify-content: flex-start; }
.htb62-page-leichtathletik .htb-hero__title { font-size: clamp(54px, 11.86vw, 170.8px) !important; }
.htb62-page-wasserball .htb-hero__title { font-size: clamp(60px, 13.28vw, 191.3px) !important; }
.htb62-page-bogenschiessen .htb-cta__title { font-size: clamp(36px, 5.14vw, 74px) !important; }
@media (max-width: 900px) { .htb-training.is-center > * { transform: none; } }

/* Hauptmenü: aktiver Punkt rot */
.main-nav__item.is-current > .main-nav__link { color: var(--red); }

/* Vorstand & Team */
.htb-team--page { padding-top: 43px; }
.htb-team--page > .htb-display { margin-bottom: 17px; }
.htb-person__img { margin: 0 !important; }
.htb-person__img img { border-radius: 22.5px; }

/* Beiträge: Raster 1260 px, Karten 297 × 386 */
.htb-page--prices { padding-top: 119px; }
.htb-page--prices .htb-page__head--split { max-width: 1260px; margin: 0 auto 58px; }
.htb-page--prices .htb-page__head--split > p, .htb-page--prices .htb-page__head--split > .wp-block-paragraph { margin-top: 54px !important; }
@media (min-width: 1101px) {
	.htb-prices { max-width: 1260px; margin: 0 auto; gap: 24px; grid-template-columns: repeat(4, minmax(0, 297px)); }
	.htb-price { padding: 40px 26px; min-height: 386px; }
	.htb-price::before { margin: 0 0 23px; }
}
.htb-price__title { font-size: 22.5px !important; line-height: 1.5 !important; }
.htb-page--prices .htb-prose { max-width: 1260px; margin: 122px auto 0; }

/* Mitglied werden */
.htb-page--embed { padding-top: 43px; }

/* Sportangebot: Kopf linksbündig bei 26,3 % wie Wix */
.htb62-page-sportangebot .htb-page--center { padding-top: 234px; }
.htb62-page-sportangebot .htb-page--center .htb-page__head { text-align: left; max-width: 800px; margin: 0 0 135px calc(26.32vw - var(--g)); }
.htb62-page-sportangebot .htb-page--center .htb-page__lead { margin: 47px 0 0 !important; max-width: 790px; }
.sports .sport__head { margin: 25px 0 28px !important; }
.htb-team--page .htb-team__sub { margin-top: 121px !important; }
.htb-team--page > .htb-display + .htb-team__sub { margin-top: 0 !important; }
@media (min-width: 1101px) { .htb-prices { row-gap: 7px; } }
.htb62-page-sportangebot .htb-page--center .htb-page__head { margin-bottom: 101px; }
.htb-values-page { padding-top: 94px; }
.htb-valueset__head { margin-bottom: 68px; }
.htb-valueset + .htb-valueset { margin-top: 75px; }
@media (min-width: 901px) {
	.htb-inside--about > .htb-label, .htb-inside--about > .htb-display { margin-left: calc(18.82vw - var(--g)); }
	.htb-inside--about .htb-inside__body { margin-left: calc(43.75vw - var(--g)); }
}

/* Startseite, News und Beiträge: Feinabgleich */
.news-card__meta { font-size: 12px; }
.sports { padding-bottom: 126px; }
.icons__list { margin-bottom: 6px; }
@media (min-width: 901px) { .bb__intro { transform: translateX(-46px); } }
.news-archive .cat-filter ul { justify-content: flex-start; gap: 8px 40px; padding-left: 36px; }
.news-archive .cat-filter { margin-top: 47px; }
.single-post .cat-filter ul { max-width: 940px; margin: 0 auto; justify-content: flex-start; gap: 8px 40px; }
.single-post .cat-filter { margin-top: 47px; }
.htb-person__img { overflow: hidden; border-radius: 22.5px; }
.htb-person__img img { transform: scale(1.75); transform-origin: 50% 10%; }

/* Header rechts: schmale Desktops, damit Probetraining + Naturbad nicht ans Wappen stoßen */
@media (min-width: 901px) and (max-width: 1100px) { .header-right__list { gap: 18px; } .header-right .wp-block-button.is-style-htb-arrow .wp-block-button__link { font-size: 15px; } }

/* =====================================================================
 * Aus „Customizer → Zusätzliches CSS“ übernommen (Stand 6. Nov 2026).
 * Das Theme leert das Feld beim ersten Backend-Aufruf, wenn es noch genau
 * diesen Inhalt hat. Neue Anpassungen bitte hier im Theme eintragen.
 * ===================================================================== */
/* HTB62: Abstand Hero-Text zum Probetraining-Button (mobil) */
@media (max-width: 760px) { .htb-hero__intro { bottom: 104px; } .hero__inner { bottom: 104px; } }

/* === Angleichung an Wix-Version (erikjung9.wixstudio.com/htb62), Nov 2026 === */
/* Kiwi-Karte: Milchglas statt weiss */
.kiwi__card{background:rgba(255,255,255,.12);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid #fff;}
.kiwi__card .kiwi__title,.kiwi__card p{color:#fff;}
.kiwi__card .wp-block-button__link{color:#fff;}
.kiwi__card .wp-block-button__link:hover{color:rgba(255,255,255,.75);}
/* Abstaende */
.mission{padding-top:168px;padding-bottom:46px;}
.bb .bb__figure{padding-top:8px;}
.bb figure.wp-block-image img{height:787px;object-fit:cover;}
.bb figure.wp-block-image figcaption{margin-top:12px;}
.news__more{max-width:1213px;}
@media (max-width:1240px){.news__more{max-width:none;}}
@media (max-width:900px){.bb figure.wp-block-image img{height:auto;}}

/* --- Feinschliff 2 (Farben + Abstaende), Nov 2026 --- */
/* Header ueber dem Hero: dunkle Navigation + farbiges Wappen wie Wix */
.site-header--hero{color:var(--nav-ink);}
.site-header--hero .site-header__crest img{filter:none;}
/* Kiwi-Button weiss (Theme-Regel ist spezifischer) */
.kiwi__card .wp-block-button.is-style-htb-arrow .wp-block-button__link{color:#fff;}
.kiwi__card .wp-block-button.is-style-htb-arrow .wp-block-button__link:hover{color:rgba(255,255,255,.75);}
.kiwi__card{padding:55px 31px 47px;}
.kiwi__card .kiwi__title{margin-top:12px;margin-bottom:-1px;}
@media (min-width:761px){
.htb-hero--home .hero__aside p{margin-bottom:27px;}
.htb-hero--home .hero__aside .wp-block-buttons{position:relative;top:5px;}
.sports{padding-bottom:69px;}
.icons__list{margin-bottom:62px;}
.news{padding-bottom:43px;}
.news__more{margin-top:20px;}
.mission__text > p:last-of-type{margin-bottom:49px;}
.mission{padding-bottom:60px;}
.bb__text{margin-bottom:49px;}
.bb__intro{margin-bottom:116px;}
}

/* --- News-Ueberschrift "Immer up-2-date": Abstaende skalieren mit der Bildschirmbreite wie bei Wix --- */
@media (min-width:601px){
.news{padding-top:3.958vw;}
.news__title{margin:3.125vw 0 4.861vw;}
}
@media (max-width:600px){
.news__title{margin:11px 0 25px;}
}

/* --- Bilder fuellen ihre Boxen immer komplett aus (cover), auf allen Seiten --- */
.sport__media img,.mission__media img,.kiwi__bg img,.news-card__media img,.bb__media img{width:100%;height:100%!important;max-width:none;object-fit:cover;}

/* --- Contact Form 7 im HTB62-Formular-Design --- */
.htb-form .wpcf7-form-control-wrap{display:block;}
.htb-form .wpcf7-checkbox,.htb-form .wpcf7-acceptance{display:grid;gap:12px;}
.htb-form .wpcf7-list-item{display:block;margin:0;}
.htb-form .wpcf7-list-item label{display:flex;align-items:flex-start;gap:12px;font-size:16px;line-height:1.5;cursor:pointer;}
.htb-form .wpcf7-list-item input{flex:none;width:18px;height:18px;margin:3px 0 0;accent-color:var(--ink);}
.htb-form .wpcf7-list-item-label a{text-decoration:underline;}
.htb-form .htb-check--consent{margin:6px 0 30px;}
.htb-form .wpcf7-submit{font:inherit;font-size:16px;line-height:1.2;padding:11px 14px;min-width:289px;border-radius:100px;background:var(--ink);color:#fff;border:1px solid var(--ink);cursor:pointer;transition:background .2s,border-color .2s;}
.htb-form .wpcf7-submit:hover{background:var(--red);border-color:var(--red);}
.htb-form .wpcf7-submit:disabled{opacity:.6;cursor:default;}
.htb-form .wpcf7-spinner{margin:0 0 0 14px;vertical-align:middle;}
.htb-form .wpcf7-not-valid-tip{color:var(--red);font-size:14px;margin-top:6px;}
.htb-form .wpcf7-not-valid{border-bottom-color:var(--red)!important;}
.wpcf7 form.htb-form .wpcf7-response-output{margin:24px 0 0;padding:14px 18px;border:0;font-size:16px;}
.wpcf7 form.htb-form.sent .wpcf7-response-output{background:#e9f3ea;}
.wpcf7 form.htb-form.invalid .wpcf7-response-output,.wpcf7 form.htb-form.unaccepted .wpcf7-response-output,.wpcf7 form.htb-form.failed .wpcf7-response-output,.wpcf7 form.htb-form.spam .wpcf7-response-output{background:#fbe9e6;color:var(--red-dark,#A81000);}
@media (max-width:560px){.htb-form .wpcf7-submit{min-width:0;width:100%;}}
/* Konflikt-Seite: CF7-Wrapper durchlässig machen, damit Hinweis, Einwilligung und Button in der richtigen Reihenfolge stehen */
.htb62-page-konfliktmanagement .htb-formpage__body .wpcf7{display:contents;}
.htb62-page-konfliktmanagement .wpcf7-response-output{order:4;}

/* --- Sportarten-Liste: ab Karte 09 versetzt weiter wie Karten 05/06 --- */
@media (min-width:761px){
.sports .sport.sport--extra{margin-top:-19.763vw;}
.sports .sport.sport--extra.sport--extra-right{margin-top:11.855vw;}
}

/* === News: Karten, Aufmacher, Filter, Seitenzahlen === */
/* Karten */
.news-card a{height:auto;min-height:0;border:0;background:none;display:flex;flex-direction:column;color:var(--ink);}
.news-card__media{display:block;height:auto;aspect-ratio:4/3;overflow:hidden;background:var(--grey);}
.news-card__media img{width:100%;height:100%!important;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.7,.2,1);}
.news-card a:hover .news-card__media img{transform:scale(1.04);}
.news-card__media--placeholder{position:relative;display:flex;align-items:flex-end;padding:24px;}
.news-card__media--placeholder::before{content:"";position:absolute;top:24px;left:24px;width:32px;height:3px;background:var(--red);}
.news-card__media--placeholder span{font-family:var(--display);font-size:clamp(22px,2.1vw,30px);line-height:1.15;}
.news-card .news-card__body,.news-card.has-img .news-card__body{padding:20px 0 0;display:flex;flex-direction:column;gap:10px;min-height:0;}
.news-card .news-card__cat{display:block;margin:0;font-family:var(--text);font-size:12px;line-height:1.3;letter-spacing:.08em;text-transform:uppercase;color:var(--red);}
.news-card .news-card__title{margin:0;font-family:var(--display);font-size:22px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;transition:color .2s;}
.news-card a:hover .news-card__title{color:var(--red);}
.news-card .news-card__excerpt{font-family:var(--text);font-size:15px;line-height:1.55;color:rgba(26,26,26,.72);-webkit-line-clamp:3;}
.news-card .news-card__meta{margin:2px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;font-family:var(--text);font-size:13px;line-height:1.4;color:rgba(26,26,26,.55);}
.news-card__src{flex-basis:100%;font-size:12px;color:rgba(26,26,26,.55);}
/* Raster */
.htb-posts .news__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:64px 40px;justify-content:stretch;margin-bottom:0;}
.news .htb-posts .news__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;}
/* Aufmacher */
.news__grid--lead .news-card--lead{grid-column:1/-1;}
.news-card--lead a{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:56px;align-items:center;}
.news-card--lead .news-card__media{aspect-ratio:16/10;}
.news-card.news-card--lead .news-card__body{padding:0;gap:16px;}
.news-card--lead .news-card__title{font-size:clamp(28px,2.9vw,42px);line-height:1.18;-webkit-line-clamp:4;}
.news-card--lead .news-card__excerpt{font-size:17px;line-height:1.6;-webkit-line-clamp:5;}
.news-card--lead .news-card__media--placeholder span{font-size:clamp(32px,3.5vw,52px);}
/* Kopf der News-Seite */
.news-archive .htb-posts{display:flex;flex-direction:column;}
.news-archive .htb-posts__head{order:-1;margin:64px 0 32px;}
.news-archive .htb-posts__title,.news-archive .htb-posts .htb-posts__title{margin:0;font-family:var(--text);font-size:clamp(40px,4.69vw,67.5px);line-height:1.2;font-weight:400;}
.htb-posts__intro{margin:16px 0 0;max-width:640px;font-size:18px;line-height:1.6;color:rgba(26,26,26,.75);}
.htb-posts__more{color:var(--red);white-space:nowrap;text-decoration:none;}
.htb-posts__more:hover{text-decoration:underline;}
/* Filter wie in der Wix-Version: schlichter Text, aktive Kategorie rot */
.htb-posts .cat-filter,.news-archive .htb-posts .cat-filter{margin:0 0 56px;}
.htb-posts .cat-filter ul,.news-archive .cat-filter ul{display:flex;flex-wrap:wrap;gap:8px 40px;margin:0;padding:0;list-style:none;justify-content:flex-start;border:0;}
.htb-posts .cat-filter li{margin:0;}
.htb-posts .cat-filter a{display:inline-block;padding:0;margin:0;border:0;border-radius:0;background:none;font-size:14px;line-height:20px;color:var(--ink);text-decoration:none;white-space:nowrap;transition:color .2s;}
.htb-posts .cat-filter a::after,.htb-posts .cat-filter a::before{display:none;}
.htb-posts .cat-filter a:hover{color:var(--red);}
.htb-posts .cat-filter a[aria-current]{background:none;color:var(--red);}
/* Seitenzahlen */
.htb-posts .pagination{margin:80px 0 0;display:flex;justify-content:center;}
.htb-posts .pagination .navigation{margin:0;}
.htb-posts .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;}
.htb-posts .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 12px;border:1px solid rgba(26,26,26,.18);border-radius:100px;font-size:15px;color:var(--ink);text-decoration:none;transition:border-color .2s,background .2s;}
.htb-posts a.page-numbers:hover{border-color:var(--ink);}
.htb-posts .page-numbers.current{background:var(--ink);border-color:var(--ink);color:#fff;}
.htb-posts .page-numbers.dots{border:0;min-width:24px;padding:0;}
@media (max-width:1100px){
.htb-posts .news__grid,.news .htb-posts .news__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 28px;}
.news-card--lead a{grid-template-columns:1fr;gap:24px;}
}
@media (max-width:600px){
.htb-posts .news__grid,.news .htb-posts .news__grid{grid-template-columns:1fr;gap:44px;}
.news-archive .htb-posts__head{margin:36px 0 24px;}
.htb-posts .cat-filter ul,.news-archive .cat-filter ul{flex-wrap:nowrap;overflow-x:auto;gap:0 28px;margin:0 -29px;padding:0 29px;scrollbar-width:none;}
.htb-posts .cat-filter ul::-webkit-scrollbar{display:none;}
.htb-posts .cat-filter,.news-archive .htb-posts .cat-filter{margin-bottom:36px;}
.htb-posts .pagination{margin-top:56px;}
}

/* === Probetraining: Formular in drei Schritten === */
.htb-steps__nav{display:none;}
.htb-steps.is-stepped .htb-steps__nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;margin:0 0 48px;padding:0;}
.htb-steps__nav li{margin:0;padding:12px 0 0;border-top:2px solid rgba(26,26,26,.15);font-size:14px;line-height:20px;color:rgba(26,26,26,.55);transition:color .2s,border-color .2s;}
.htb-steps__nav li span{margin-right:8px;}
.htb-steps__nav li.is-done{border-top-color:var(--ink);color:var(--ink);}
.htb-steps__nav li.is-active{border-top-color:var(--red);color:var(--red);}
.htb-steps .htb-step{border:0;margin:0;padding:0;min-width:0;}
.htb-steps .htb-step + .htb-step{margin-top:56px;}
.htb-steps.is-stepped .htb-step{margin-top:0;}
.htb-steps.is-stepped .htb-step:not(.is-active){display:none;}
.htb-steps .htb-step__title{display:block;float:left;width:100%;margin:0 0 32px;padding:0;font-family:var(--display);font-size:clamp(26px,2.4vw,34px);line-height:1.2;font-weight:400;color:var(--ink);}
.htb-steps .htb-step__title + *{clear:both;}
.htb-steps .htb-form__checks{border:0;margin:28px 0 0;padding:0;min-width:0;}
.htb-steps .htb-form__checks legend{padding:0;}
.htb-steps .wpcf7-radio{display:grid;gap:12px;}
.htb-steps .htb-form__checks--cols .wpcf7-radio{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 32px;}
.htb-steps .wpcf7-radio .wpcf7-list-item{display:block;margin:0;}
.htb-steps .wpcf7-radio label{display:flex;align-items:flex-start;gap:12px;font-size:16px;line-height:1.5;cursor:pointer;}
.htb-steps .wpcf7-radio input{flex:none;width:18px;height:18px;margin:3px 0 0;accent-color:var(--ink);}
.htb-steps .htb-field--full{margin-top:32px;}
.htb-steps .htb-step__hint{margin:24px 0 0;padding:2px 0 2px 16px;border-left:3px solid var(--red);font-size:15px;line-height:1.55;}
.htb-steps .htb-step__hint[hidden]{display:none;}
.htb-steps .htb-step__hint a{color:var(--red);white-space:nowrap;}
.htb-steps .htb-check--consent{margin:32px 0 0;}
.htb-steps .htb-step__nav{display:flex;flex-wrap:wrap;align-items:center;gap:16px 32px;margin-top:40px;}
.htb-steps .htb-step__next{font:inherit;font-size:16px;line-height:1.2;padding:11px 14px;min-width:289px;border-radius:100px;background:var(--ink);color:#fff;border:1px solid var(--ink);cursor:pointer;transition:background .2s,border-color .2s;}
.htb-steps .htb-step__next:hover{background:var(--red);border-color:var(--red);}
.htb-steps .htb-step__back{font:inherit;font-size:16px;line-height:1.2;padding:11px 0;background:none;border:0;color:var(--ink);cursor:pointer;transition:color .2s;}
.htb-steps .htb-step__back::before{content:"← ";}
.htb-steps .htb-step__back:hover{color:var(--red);}
.htb-steps:not(.is-stepped) .htb-step__next,.htb-steps:not(.is-stepped) .htb-step__back{display:none;}
.htb-steps .htb-tip{display:block;}
.htb-steps__done{display:none;}
.htb-steps.is-sent .htb-step,.htb-steps.is-sent .htb-steps__nav,.wpcf7 form.htb-steps.is-sent .wpcf7-response-output{display:none!important;}
.htb-steps.is-sent .htb-steps__done{display:block;}
.htb-steps__done h2{margin:0 0 20px;font-family:var(--display);font-size:clamp(28px,2.8vw,40px);line-height:1.2;font-weight:400;}
.htb-steps__done p{margin:0;font-size:18px;line-height:1.55;}
@media (max-width:560px){
.htb-steps.is-stepped .htb-steps__nav{gap:10px;margin-bottom:36px;}
.htb-steps__nav li{font-size:13px;}
.htb-steps__nav li span{display:block;margin:0;}
.htb-steps .htb-form__checks--cols .wpcf7-radio{grid-template-columns:1fr;}
.htb-steps .htb-step__next{min-width:0;width:100%;}
.htb-steps .htb-step__nav{flex-direction:column;align-items:stretch;gap:8px;}
.htb-steps .htb-step__back{text-align:center;}
}

/* === Header rechts (Menü „Header rechts“, z. B. Probetraining) === */
.header-right{margin-left:auto;position:relative;z-index:1;}
.header-right__list{display:flex;align-items:center;gap:32px;margin:0;padding:0;list-style:none;}
.header-right__item{margin:0;}
.header-right .wp-block-button{display:flex;margin:0;}
.header-right__list{margin-right:8px;}
@media (max-width:900px){.header-right{display:none;}}
/* ===== Trainingstage mit Karte ===== */
.htb-training ul.htb-times{list-style:none;margin:8px 0 32px;padding:0;max-width:440px;}
.htb-training ul.htb-times li{display:flex;justify-content:space-between;align-items:baseline;gap:24px;margin:0;padding:15px 0;border-top:1px solid rgba(26,26,26,.18);font-size:18px;line-height:26px;color:var(--ink);}
.htb-training ul.htb-times li:last-child{border-bottom:1px solid rgba(26,26,26,.18);}
.htb-training ul.htb-times li strong{font-weight:400;}
.htb-training ul.htb-times li span{font-variant-numeric:tabular-nums;white-space:nowrap;}
.htb-training .htb-training__lines{margin-bottom:4px;}

.htb-training .wp-block-columns > .wp-block-column:last-child{padding:64px 64px 64px 0;box-sizing:border-box;}
.htb-training .htb-map{position:relative;height:100%;min-height:520px;overflow:hidden;background-color:#e7e4dd;
 background-image:
  linear-gradient(28deg,transparent 47.4%,#fbfaf7 47.6%,#fbfaf7 49.4%,transparent 49.6%),
  linear-gradient(118deg,transparent 61.6%,#fbfaf7 61.8%,#fbfaf7 63.2%,transparent 63.4%),
  linear-gradient(162deg,transparent 30.8%,#f3f1ec 31%,#f3f1ec 31.8%,transparent 32%),
  repeating-linear-gradient(90deg,transparent 0 118px,rgba(255,255,255,.65) 118px 122px),
  repeating-linear-gradient(0deg,transparent 0 94px,rgba(255,255,255,.65) 94px 98px),
  radial-gradient(circle at 78% 22%,#d9dfd2 0 70px,transparent 71px),
  radial-gradient(circle at 14% 82%,#d9dfd2 0 90px,transparent 91px);}
.htb-training .htb-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;}
.htb-training .htb-map__consent{position:absolute;left:50%;top:50%;right:auto;bottom:auto;height:auto;transform:translate(-50%,-50%);width:calc(100% - 48px);max-width:400px;box-sizing:border-box;background:#fff;padding:32px 32px 28px;text-align:left;box-shadow:0 18px 40px -18px rgba(26,26,26,.35);}
.htb-training .htb-map__consent::before{content:"";position:absolute;left:50%;top:-58px;width:30px;height:30px;margin-left:-15px;background:var(--red);border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 0 0 6px rgba(209,20,0,.18);}
.htb-training .htb-map__consent::after{content:"";position:absolute;left:50%;top:-49px;width:12px;height:12px;margin-left:-6px;background:#fff;border-radius:50%;}
.htb-training .htb-map__consent p{margin:0;font-size:15px;line-height:22px;}
.htb-training .htb-map__consent p:first-child::before{content:"Hier trainieren wir";display:block;margin-bottom:10px;font-family:var(--text);font-weight:400;font-size:12px;line-height:16px;letter-spacing:.08em;text-transform:uppercase;color:var(--red);}
.htb-training .htb-map__consent p:first-child strong{display:block;font-family:var(--display);font-weight:400;font-size:24px;line-height:30px;color:var(--ink);}
.htb-training .htb-map__consent p:nth-child(2){order:3;margin-top:16px;font-size:13px;line-height:19px;color:#6b6b6b;}
.htb-training .htb-map__consent{display:flex;flex-direction:column;}
.htb-training .htb-map__consent p:last-child{order:2;display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:22px;}
.htb-training .htb-map__load{appearance:none;border:0;cursor:pointer;background:var(--ink);color:#fff;font-family:var(--text);font-size:15px;line-height:20px;padding:11px 22px;border-radius:999px;transition:background .2s;}
.htb-training .htb-map__load:hover,.htb-training .htb-map__load:focus-visible{background:var(--red);}
.htb-training .htb-map__consent p:last-child a{display:inline-flex;align-items:center;gap:10px;font-size:15px;line-height:20px;color:var(--ink);text-decoration:none;}
.htb-training .htb-map__consent p:last-child a::before{content:"";width:16px;height:16px;flex:none;background:currentColor;transform:rotate(-90deg);transition:transform .25s;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='19.588 20.146 159.561 159.541'%3E%3Cpath d='M170.281 20.146v144.371L25.892 20.16l-6.27 6.268 144.421 144.393H19.588v8.866h159.561V20.146h-8.868z'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='19.588 20.146 159.561 159.541'%3E%3Cpath d='M170.281 20.146v144.371L25.892 20.16l-6.27 6.268 144.421 144.393H19.588v8.866h159.561V20.146h-8.868z'/%3E%3C/svg%3E") center/contain no-repeat;}
.htb-training .htb-map__consent p:last-child a:hover{color:var(--red);}
.htb-training .htb-map__consent p:last-child a:hover::before{transform:rotate(0);}
@media (max-width:900px){
 .htb-training .wp-block-columns > .wp-block-column:last-child{padding:0 29px 56px;height:auto;flex:0 0 100% !important;width:100%;}
 .htb-training .htb-map{min-height:460px;}
 .htb-training ul.htb-times li{font-size:17px;}
}

/* ===== Mobil: Unterseiten-Leiste und Werte-Reihe ===== */
@media (max-width:900px){
 .htb-subnav{position:relative;top:auto;}
 .htb-values{flex-wrap:wrap;justify-content:center;row-gap:32px;column-gap:0;}
 .htb-values > .htb-value{flex:0 0 50%;}
}

/* ===== Einleitung über eingebetteten Formularen (Mitglied werden) ===== */
.htb-page__head .htb-page__intro{max-width:620px;margin:20px auto 0;font-size:17px;line-height:1.65;color:var(--ink);}
.htb-page__head .htb-page__intro + .htb-page__intro{margin-top:12px;}
.htb-page__head .htb-page__intro a{color:inherit;text-decoration:underline;text-decoration-color:var(--red);text-underline-offset:3px;}
.htb-page__head .htb-page__intro a:hover{color:var(--red);}

/* ===== Cookie-Banner im HTB62-Stil ===== */
#cmplz-cookiebanner-container.cmplz-soft-cookiewall{background:transparent!important;pointer-events:none!important;}
#cmplz-cookiebanner-container .cmplz-cookiebanner{pointer-events:auto!important;}
.cmplz-cookiebanner.cmplz-cookiebanner{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;
 left:24px!important;right:auto!important;bottom:24px!important;top:auto!important;transform:none!important;margin:0!important;
 width:420px!important;max-width:calc(100vw - 32px)!important;max-height:calc(100vh - 48px)!important;overflow:auto!important;
 padding:28px 28px 22px!important;border-radius:0!important;background:#fff!important;border:0!important;border-top:3px solid var(--red)!important;
 box-shadow:0 24px 60px -24px rgba(26,26,26,.45),0 2px 8px rgba(26,26,26,.06)!important;
 font-family:var(--text)!important;color:var(--ink)!important;animation:htbCookieIn .35s ease-out both;}
@keyframes htbCookieIn{from{opacity:0;transform:translateY(16px);}to{opacity:1;transform:none;}}
.cmplz-cookiebanner .cmplz-header{display:block!important;text-align:left!important;margin:0 0 10px!important;padding:0!important;}
.cmplz-cookiebanner .cmplz-logo,.cmplz-cookiebanner .cmplz-divider{display:none!important;}
.cmplz-cookiebanner .cmplz-title{display:block!important;justify-self:stretch!important;width:auto!important;padding-right:24px!important;font-family:var(--display)!important;font-weight:400!important;font-size:24px!important;line-height:30px!important;color:var(--ink)!important;text-align:left!important;margin:0!important;}
.cmplz-cookiebanner .cmplz-close{top:20px!important;right:20px!important;color:var(--ink)!important;opacity:.6;}
.cmplz-cookiebanner > *,.cmplz-cookiebanner .cmplz-body > *{justify-self:stretch!important;}
.cmplz-cookiebanner .cmplz-body{display:block!important;width:auto!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;}
.cmplz-cookiebanner .cmplz-body .cmplz-message,.cmplz-cookiebanner .cmplz-body .cmplz-categories{width:auto!important;}
.cmplz-cookiebanner .cmplz-message,.cmplz-cookiebanner .cmplz-message p{font-family:var(--text)!important;font-size:14px!important;line-height:21px!important;color:#5a5a5a!important;text-align:left!important;margin:0!important;}
.cmplz-cookiebanner .cmplz-buttons{display:flex!important;justify-self:stretch!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;margin:22px 0 0!important;padding:0!important;}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn{flex:1 1 0!important;width:auto!important;min-width:0!important;height:auto!important;margin:0!important;padding:11px 18px!important;
 border-radius:999px!important;font-family:var(--text)!important;font-size:15px!important;font-weight:400!important;line-height:20px!important;white-space:nowrap!important;text-decoration:none!important;
 transition:background-color .2s,color .2s,border-color .2s!important;cursor:pointer;}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept{background:var(--ink)!important;border:1px solid var(--ink)!important;color:#fff!important;}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept:hover{background:var(--red)!important;border-color:var(--red)!important;}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny,.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences{background:#fff!important;border:1px solid var(--ink)!important;color:var(--ink)!important;}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny:hover,.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences:hover{border-color:var(--red)!important;color:var(--red)!important;}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences{flex-basis:100%!important;}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences{flex:1 0 100%!important;background:none!important;border:0!important;border-radius:0!important;color:var(--ink)!important;padding:6px 0 0!important;text-align:left!important;font-size:14px!important;
 text-decoration:underline!important;text-decoration-color:var(--red)!important;text-underline-offset:4px!important;}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences:hover{color:var(--red)!important;}
.cmplz-cookiebanner .cmplz-documents,.cmplz-cookiebanner .cmplz-links{margin:12px 0 0!important;justify-content:flex-start!important;}
.cmplz-cookiebanner .cmplz-links ul{display:flex!important;gap:16px!important;justify-content:flex-start!important;margin:0!important;padding:0!important;}
.cmplz-cookiebanner .cmplz-link{font-size:13px!important;color:#6b6b6b!important;text-decoration:none!important;}
.cmplz-cookiebanner .cmplz-link:hover{color:var(--red)!important;}
.cmplz-cookiebanner .cmplz-categories{margin:16px 0 0!important;}
.cmplz-cookiebanner .cmplz-categories .cmplz-category{background:none!important;border-radius:0!important;border-top:1px solid rgba(26,26,26,.15)!important;margin:0!important;padding:0!important;}
.cmplz-cookiebanner .cmplz-categories .cmplz-category:last-of-type{border-bottom:1px solid rgba(26,26,26,.15)!important;}
.cmplz-cookiebanner .cmplz-category-header{padding:12px 0!important;}
.cmplz-cookiebanner .cmplz-category-title{font-family:var(--text)!important;font-weight:400!important;font-size:15px!important;color:var(--ink)!important;}
.cmplz-cookiebanner .cmplz-always-active{color:var(--red)!important;font-size:13px!important;font-weight:400!important;}
.cmplz-cookiebanner .cmplz-description{font-size:13px!important;line-height:19px!important;color:#6b6b6b!important;padding:0 0 12px!important;}
#cmplz-manage-consent .cmplz-manage-consent{font-family:var(--text)!important;font-size:13px!important;background:var(--ink)!important;color:#fff!important;border-radius:999px 999px 0 0!important;padding:8px 18px!important;box-shadow:none!important;left:24px!important;right:auto!important;}
@media (max-width:600px){
 .cmplz-cookiebanner.cmplz-cookiebanner{left:12px!important;right:12px!important;bottom:12px!important;width:auto!important;max-width:none!important;padding:22px 20px 16px!important;}
 .cmplz-cookiebanner .cmplz-title{font-size:21px!important;line-height:26px!important;}
 .cmplz-cookiebanner .cmplz-message,.cmplz-cookiebanner .cmplz-message p{font-size:13px!important;line-height:19px!important;}
 #cmplz-manage-consent .cmplz-manage-consent{left:12px!important;}
}
