/* SSB Herne: Startseite */
:root {
	--ssb-yellow: #E9CD3B;
	--ssb-yellow-soft: #FBF2C4;
	--ssb-ink: #161616;
	--ssb-grey: #4E4E4E;
	--ssb-line: #DCD8CC;
	--ssb-paper: #F6F4EE;
	--ssb-white: #FFFFFF;
	--ssb-link: #1A5FA8;
	--ssb-green: #2F7D32;
	--ssb-radius: 14px;
	--ssb-wrap: 1240px;
	--ssb-gutter: clamp(1rem, 4vw, 2.5rem);
	--ssb-section: clamp(3.5rem, 8vw, 6.5rem);
	--ssb-shadow: 0 18px 50px rgba(22, 22, 22, .12);
}

html body .ssb-wrap { max-width: var(--ssb-wrap); margin: 0 auto; padding: 0 var(--ssb-gutter); }
html body .ssb-ico { width: 1.25em; height: 1.25em; flex: none; }
html body .ssb-kicker { margin: 0 0 .75rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
html body .ssb-h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; color: var(--ssb-ink); }
html body .ssb-lead { margin: .6rem 0 0; color: var(--ssb-grey); font-size: 1.05rem; max-width: 46ch; }
html body .ssb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }

html body .ssb-more { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ssb-ink); text-decoration: none; padding: .35rem 0; border-bottom: 3px solid var(--ssb-yellow); }
html body .ssb-more .ssb-ico { transition: transform .2s ease; }
html body .ssb-more:hover .ssb-ico, html body .ssb-more:focus-visible .ssb-ico { transform: translateX(4px); }

html body .ssb-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: .8rem 1.6rem; border: 2px solid transparent; border-radius: 999px; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
html body .ssb-btn:hover { transform: translateY(-1px); }
html body .ssb-btn--dark { background: var(--ssb-ink); color: var(--ssb-white); }
html body .ssb-btn--dark:hover, html body .ssb-btn--dark:focus-visible { background: #000; color: var(--ssb-yellow); }
html body .ssb-btn--yellow { background: var(--ssb-yellow); color: var(--ssb-ink); }
html body .ssb-btn--yellow:hover, html body .ssb-btn--yellow:focus-visible { background: var(--ssb-white); color: var(--ssb-ink); }
html body .ssb-btn--ghost { border-color: var(--ssb-ink); color: var(--ssb-ink); background: transparent; }
html body .ssb-btn--ghost:hover, html body .ssb-btn--ghost:focus-visible { background: var(--ssb-ink); color: var(--ssb-white); }

html body .ssb-hero a:focus-visible, html body .ssb-hero button:focus-visible,
html body .ssb-finder a:focus-visible, html body .ssb-finder button:focus-visible, .ssb-finder select:focus-visible, .ssb-finder input:focus-visible,
html body .ssb-paths a:focus-visible, html body .ssb-news a:focus-visible, html body .ssb-courses a:focus-visible, html body .ssb-about a:focus-visible {
	outline: 3px solid var(--ssb-ink); outline-offset: 3px;
}
html body .ssb-events a:focus-visible { outline: 3px solid var(--ssb-yellow); outline-offset: 3px; }

/* ---------- Hero: Headline links, Slider rechts ---------- */
html body .ssb-hero { padding: clamp(2.5rem, 6vw, 5rem) var(--ssb-gutter) clamp(2.5rem, 5vw, 4rem); background: var(--ssb-white); }
html body .ssb-hero__inner { max-width: var(--ssb-wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
html body .ssb-hero__headline { margin: 0; font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 900; line-height: .98; letter-spacing: -.035em; color: var(--ssb-ink); }
html body .ssb-hero__headline::after { content: ""; display: block; width: 5rem; height: .5rem; margin-top: 1.4rem; border-radius: 4px; background: var(--ssb-yellow); }
html body .ssb-hero__lead { margin: 1.4rem 0 0; max-width: 42ch; font-size: 1.15rem; line-height: 1.6; color: var(--ssb-grey); }
html body .ssb-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
html body .ssb-hero__stats { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 2.2rem 0 0; padding: 1.4rem 0 0; list-style: none; border-top: 1px solid var(--ssb-line); color: var(--ssb-grey); font-size: .95rem; }
html body .ssb-hero__stats strong { display: block; color: var(--ssb-ink); font-size: 2rem; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
html body .ssb-hero__media { position: relative; border-radius: calc(var(--ssb-radius) * 1.5); overflow: hidden; background: var(--ssb-ink); box-shadow: var(--ssb-shadow); }
html body .ssb-hero__track { position: relative; width: 100%; height: 0; padding-bottom: calc(50% + 4.25rem); }
html body .ssb-hero__slide { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr 4.25rem; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
html body .ssb-hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .6s ease; }
html body .ssb-hero__frame { position: relative; overflow: hidden; background: var(--ssb-yellow); }
html body .ssb-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
html body .ssb-hero__caption { display: flex; align-items: center; gap: 1rem; min-width: 0; padding: 0 12.5rem 0 1.25rem; }
html body .ssb-hero__title { margin: 0; min-width: 0; color: var(--ssb-white); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .ssb-hero__link { flex: none; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; background: var(--ssb-yellow); color: var(--ssb-ink); font-size: .95rem; font-weight: 700; text-decoration: none; }
html body .ssb-hero__link:hover { background: var(--ssb-white); }
html body .ssb-hero__controls { position: absolute; z-index: 3; right: .6rem; bottom: .6rem; display: flex; align-items: center; gap: .15rem; color: var(--ssb-white); }
html body .ssb-hero__btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
html body .ssb-hero__btn:hover { background: var(--ssb-yellow); color: var(--ssb-ink); }
html body .ssb-hero__btn:focus-visible { outline: 3px solid var(--ssb-yellow) !important; outline-offset: 1px; }
html body .ssb-hero__btn--pause .ssb-ico + .ssb-ico { display: none; }
html body .ssb-hero__media.is-paused .ssb-hero__btn--pause .ssb-ico:first-child { display: none; }
html body .ssb-hero__media.is-paused .ssb-hero__btn--pause .ssb-ico + .ssb-ico { display: block; }
html body .ssb-hero__count { min-width: 2.8rem; text-align: center; font-variant-numeric: tabular-nums; font-weight: 700; font-size: .9rem; }
@media (max-width: 1023px) {
	html body .ssb-hero__inner { grid-template-columns: 1fr; }
	html body .ssb-hero__headline { font-size: clamp(2.4rem, 8vw, 3.6rem); }
}
@media (max-width: 599px) {
	html body .ssb-hero__caption { padding-right: 8rem; padding-left: .75rem; }
	html body .ssb-hero__title, html body .ssb-hero__count { display: none; }
	html body .ssb-hero__link { font-size: .85rem; padding: .45rem .75rem; }
	html body .ssb-hero__btn { width: 2.4rem; height: 2.4rem; }
	html body .ssb-hero__actions .ssb-btn { flex: 1 1 100%; }
}

/* ---------- Finder ---------- */
html body .ssb-finder { position: relative; z-index: 4; padding: 0 var(--ssb-gutter); }
html body .ssb-finder__inner { max-width: var(--ssb-wrap); margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 3vw, 3rem); padding: clamp(1.75rem, 4vw, 3.25rem); background: var(--ssb-yellow); border-radius: calc(var(--ssb-radius) * 1.5); box-shadow: var(--ssb-shadow); color: var(--ssb-ink); background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.0) 0 28px, rgba(255,255,255,.14) 28px 30px); }
html body .ssb-finder__text { margin: 1rem 0 0; font-size: 1.05rem; line-height: 1.6; max-width: 36ch; }
html body .ssb-finder__title { margin: 0; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 900; line-height: .98; letter-spacing: -.03em; color: var(--ssb-ink); }
html body .ssb-finder__stats { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 1.75rem 0 0; padding: 0; list-style: none; font-size: .95rem; }
html body .ssb-finder__stats strong { display: block; font-size: 1.9rem; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
html body .ssb-finder__panel { align-self: center; background: var(--ssb-white); border-radius: var(--ssb-radius); padding: clamp(1rem, 2.5vw, 1.75rem); }
html body .ssb-finder__tabs { display: inline-flex; gap: .25rem; padding: .3rem; margin-bottom: 1.25rem; background: var(--ssb-paper); border-radius: 999px; }
html body .ssb-finder__tabs button { min-height: 2.75rem; padding: .5rem 1.25rem; border: 0; border-radius: 999px; background: transparent; color: var(--ssb-grey); font: inherit; font-weight: 700; cursor: pointer; }
html body .ssb-finder__tabs button[aria-selected="true"] { background: var(--ssb-ink); color: var(--ssb-white); }
html body .ssb-finder__form { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: .9rem; align-items: end; }
html body .ssb-finder__pane[hidden] { display: none; }
html body #ssb-panel-clubs .ssb-finder__form { grid-template-columns: 1.3fr 1fr; }
html body .ssb-finder__form .ssb-btn { grid-column: 1 / -1; width: 100%; }
html body .ssb-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
html body .ssb-field label { font-size: .85rem; font-weight: 700; color: var(--ssb-ink); }
html body .ssb-field select, html body .ssb-field input { width: 100%; min-height: 3rem; padding: .6rem .85rem; border: 2px solid var(--ssb-line); border-radius: 10px; background-color: var(--ssb-white); color: var(--ssb-ink); font: inherit; font-size: 1rem; }
html body .ssb-field select:hover, html body .ssb-field input:hover { border-color: var(--ssb-grey); }
html body .ssb-finder__more { margin: 1rem 0 0; font-size: .95rem; }
html body .ssb-finder__more a { color: var(--ssb-link); font-weight: 700; }

@media (max-width: 1023px) {
	html body .ssb-finder__inner { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
	html body .ssb-finder { padding: 0 .75rem; }
	html body .ssb-finder__form, html body #ssb-panel-clubs .ssb-finder__form { grid-template-columns: 1fr; }
	html body .ssb-finder__tabs { display: flex; }
	html body .ssb-finder__tabs button { flex: 1; }
}

/* ---------- Paths ---------- */
html body .ssb-paths { padding: var(--ssb-section) 0 calc(var(--ssb-section) * .6); }
html body .ssb-paths .ssb-h2 { margin-bottom: 1.75rem; }
html body .ssb-paths__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
html body .ssb-path { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1.25rem 1.25rem 1.25rem 1.1rem; border: 2px solid var(--ssb-line); border-radius: var(--ssb-radius); background: var(--ssb-white); color: var(--ssb-ink); text-decoration: none; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
html body .ssb-path:hover { border-color: var(--ssb-ink); background: var(--ssb-yellow-soft); transform: translateY(-2px); }
html body .ssb-path__icon { display: grid; place-items: center; flex: none; width: 3.25rem; height: 3.25rem; border-radius: 12px; background: var(--ssb-yellow); }
html body .ssb-path__icon .ssb-ico { width: 1.6rem; height: 1.6rem; }
html body .ssb-path__body { flex: 1; min-width: 0; }
html body .ssb-path__title { display: block; font-size: 1.1rem; font-weight: 800; }
html body .ssb-path__text { display: block; margin-top: .15rem; font-size: .92rem; color: var(--ssb-grey); line-height: 1.4; }
html body .ssb-path > .ssb-ico { color: var(--ssb-grey); transition: transform .2s ease; }
html body .ssb-path:hover > .ssb-ico { transform: translateX(4px); color: var(--ssb-ink); }
@media (max-width: 1023px) { html body .ssb-paths__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { html body .ssb-paths__grid { grid-template-columns: 1fr; } }

/* ---------- News ---------- */
html body .ssb-news { padding: calc(var(--ssb-section) * .6) 0 var(--ssb-section); }
html body .ssb-news__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
html body .ssb-news__lead { position: relative; border-radius: calc(var(--ssb-radius) * 1.25); overflow: hidden; background: var(--ssb-white); border: 2px solid var(--ssb-line); }
html body .ssb-news__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ssb-yellow); }
html body .ssb-news__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
html body .ssb-news__lead:hover .ssb-news__media img { transform: scale(1.03); }
html body .ssb-news__placeholder { position: absolute; inset: 0; display: block; background-color: #E9CD3B; background-image: url("/wp-content/uploads/2026/09/ssb-logo.png"), repeating-linear-gradient(-45deg, rgba(255,255,255,0) 0px, rgba(255,255,255,0) 28px, rgba(255,255,255,.22) 28px, rgba(255,255,255,.22) 31px); background-repeat: no-repeat, repeat; background-position: center, 0 0; background-size: min(60%, 360px) auto, auto; }
html body .ssb-news__media:has(.ssb-news__placeholder), html body .ssb-course__media:has(.ssb-news__placeholder) { background: var(--ssb-yellow); }
html body .ssb-news__body { padding: clamp(1.25rem, 2.5vw, 2rem); }
html body .ssb-news__meta { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin: 0 0 .6rem; font-size: .9rem; color: var(--ssb-grey); }
html body .ssb-tag { display: inline-block; padding: .2rem .65rem; border-radius: 999px; background: var(--ssb-ink); color: var(--ssb-white); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
html body .ssb-news__title { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 900; line-height: 1.15; letter-spacing: -.01em; }
html body .ssb-news__title a, html body .ssb-news__item-title a, html body .ssb-course__title a { color: var(--ssb-ink); text-decoration: none; }
html body .ssb-news__title a::after, html body .ssb-course__title a::after { content: ""; position: absolute; inset: 0; }
html body .ssb-news__title a:hover, html body .ssb-news__item-title a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--ssb-yellow); text-underline-offset: 4px; }
html body .ssb-news__excerpt { margin: .8rem 0 0; color: var(--ssb-grey); line-height: 1.65; }
html body .ssb-news__list { margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--ssb-ink); }
html body .ssb-news__item { padding: 1.35rem 0; border-bottom: 1px solid var(--ssb-line); }
html body .ssb-news__item .ssb-news__meta { margin-bottom: .35rem; }
html body .ssb-news__item-title { margin: 0; font-size: 1.15rem; font-weight: 800; line-height: 1.3; }
@media (max-width: 1023px) { html body .ssb-news__grid { grid-template-columns: 1fr; } }

/* ---------- Events ---------- */
html body .ssb-events { padding: var(--ssb-section) 0; background: var(--ssb-ink); color: #EDEDED; }
html body .ssb-events__inner { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 5vw, 5rem); }
html body .ssb-events .ssb-h2 { color: var(--ssb-white); }
html body .ssb-events__intro p { margin: 1rem 0 1.75rem; color: #C9C9C9; line-height: 1.6; max-width: 34ch; }
html body .ssb-events__list { margin: 0; padding: 0; list-style: none; }
html body .ssb-event { position: relative; display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.5rem; align-items: center; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.16); }
html body .ssb-event:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
html body .ssb-event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: var(--ssb-radius); background: var(--ssb-yellow); color: var(--ssb-ink); line-height: 1; }
html body .ssb-event__day { font-size: 2.1rem; font-weight: 900; letter-spacing: -.03em; }
html body .ssb-event__month { margin-top: .2rem; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
html body .ssb-event__title { margin: 0 0 .45rem; font-size: 1.2rem; font-weight: 800; line-height: 1.3; }
html body .ssb-event__title a { color: var(--ssb-white); text-decoration: none; }
html body .ssb-event__title a::after { content: ""; position: absolute; inset: 0; }
html body .ssb-event:hover .ssb-event__title a { color: var(--ssb-yellow); }
html body .ssb-event__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 0; font-size: .92rem; color: #C9C9C9; }
html body .ssb-event__meta span { display: inline-flex; align-items: center; gap: .4rem; }
html body .ssb-event__meta .ssb-ico { width: 1.05em; height: 1.05em; color: var(--ssb-yellow); }
html body .ssb-events__empty { margin: 0; padding: 2rem; border: 1px dashed rgba(255,255,255,.3); border-radius: var(--ssb-radius); color: #C9C9C9; }
@media (max-width: 1023px) { html body .ssb-events__inner { grid-template-columns: 1fr; } }
@media (max-width: 599px) { html body .ssb-event { grid-template-columns: 4.25rem 1fr; gap: 1rem; } html body .ssb-event__day { font-size: 1.6rem; } }

/* ---------- Courses ---------- */
html body .ssb-courses { padding: var(--ssb-section) 0; background: var(--ssb-paper); }
html body .ssb-courses__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
html body .ssb-course { position: relative; display: flex; flex-direction: column; border-radius: var(--ssb-radius); overflow: hidden; background: var(--ssb-white); box-shadow: 0 1px 0 var(--ssb-line); transition: transform .2s ease, box-shadow .2s ease; }
html body .ssb-course:hover { transform: translateY(-3px); box-shadow: var(--ssb-shadow); }
html body .ssb-course__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ssb-yellow); }
html body .ssb-course__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
html body .ssb-course__status { position: absolute; left: .75rem; top: .75rem; padding: .3rem .7rem; border-radius: 999px; background: var(--ssb-white); color: var(--ssb-grey); font-size: .8rem; font-weight: 700; }
html body .ssb-course__status.is-open { background: var(--ssb-green); color: var(--ssb-white); }
html body .ssb-course__body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.35rem; }
html body .ssb-course__title { margin: 0 0 .5rem; font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
html body .ssb-course__where { display: flex; align-items: flex-start; gap: .4rem; margin: 0 0 1rem; font-size: .9rem; color: var(--ssb-grey); }
html body .ssb-course__where .ssb-ico { width: 1.05em; height: 1.05em; margin-top: .15em; }
html body .ssb-course__price { margin: auto 0 0; font-size: 1.15rem; font-weight: 900; }
@media (max-width: 1023px) { html body .ssb-courses__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { html body .ssb-courses__grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
html body .ssb-about { padding: var(--ssb-section) 0; }
html body .ssb-about__inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
html body .ssb-about__figure { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 1; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: calc(var(--ssb-radius) * 1.5); background: var(--ssb-yellow); color: var(--ssb-ink); overflow: hidden; }
html body .ssb-about__figure::before { content: ""; position: absolute; right: -16%; top: -26%; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 28px solid var(--ssb-ink); opacity: .9; }
html body .ssb-about__number { position: relative; font-size: clamp(5rem, 13vw, 10rem); font-weight: 900; line-height: .85; letter-spacing: -.05em; }
html body .ssb-about__label { position: relative; margin-top: 1rem; font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 800; line-height: 1.15; }
html body .ssb-about__text p { color: var(--ssb-grey); font-size: 1.1rem; line-height: 1.7; max-width: 58ch; }
html body .ssb-about__text .ssb-kicker { color: var(--ssb-ink); }
html body .ssb-about__text .ssb-h2 { margin-bottom: 1.25rem; }
html body .ssb-about__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
@media (max-width: 767px) { html body .ssb-about__inner { grid-template-columns: 1fr; } html body .ssb-about__figure { aspect-ratio: 16 / 10; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html body .ssb-hero__slide, html body .ssb-btn, html body .ssb-path, html body .ssb-course, html body .ssb-news__media img, html body .ssb-more .ssb-ico, html body .ssb-path > .ssb-ico { transition: none !important; }
	html body .ssb-btn:hover, html body .ssb-path:hover, html body .ssb-course:hover { transform: none; }
}
