/*
Theme Name: HTB62
Theme URI: https://htb62.de
Author: Erik Jung
Description: Nachbau der HTB62-Seite aus Wix Studio (erikjung9.wixstudio.com/htb62). Wix Madefor Display/Text lokal eingebunden, Startseite komplett im Customizer unter „HTB62 Startseite“ pflegbar. Bilder der Wix-Seite lassen sich unter Design → HTB62 Bilder in die Mediathek übernehmen.
Version: 2.4.0
Requires at least: 6.3
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__icon { width: 25px; height: 25px; display: inline-flex; align-items: center; justify-content: center; transform: rotate(-45deg); transition: transform .25s ease; }
.link-btn__icon svg { width: 17px; height: 17px; }
.link-btn:hover .link-btn__icon { transform: rotate(-45deg) translate(3px, 3px); }
.link-btn:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.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-image: repeating-linear-gradient(135deg, rgba(255,255,255,.2) 0 1px, transparent 1px 4px); }
.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: fixed; inset: 0; z-index: -1; }
.kiwi__bg img { width: 100%; height: 100%; object-fit: cover; }
@supports (-webkit-touch-callout: none) { .kiwi__bg { position: absolute; } }
.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: 43px 0 41px; line-height: 1.6; }
.legal li { margin-bottom: 27px; line-height: 20px; }
.social { display: flex; gap: 14px; margin-top: 76px; }
.social svg { width: 20px; height: 20px; }
.site-footer__bottom { margin-top: 113px; }
.site-footer__claim { font-size: clamp(20px, 1.95vw, 28.125px); line-height: 1.3; margin-bottom: 31px; }
.site-footer__copy { font-size: 14px; }
@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:hover::before,
.wp-block-button.is-style-htb-arrow-light .wp-block-button__link:hover::before { transform: rotate(-45deg) scale(.68) translate(4px, 4px); }
.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 { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 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: rgba(0,0,0,.22); z-index: 0; 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; }
