/* SSB Herne: seitenweite Styles (Header-Feinschliff, Footer) */

/* Header */
html body .elementor-location-header { overflow-x: clip; }
html body .elementor-location-header .elementor-nav-menu--main .elementor-item { font-weight: 700; }
html body .elementor-location-header .elementor-nav-menu--main .elementor-item:hover,
html body .elementor-location-header .elementor-nav-menu--main .elementor-item.elementor-item-active { color: #161616; box-shadow: inset 0 -3px 0 #E9CD3B; }
html body .elementor-location-header a:focus-visible { outline: 3px solid #161616; outline-offset: 3px; }

/* Footer */
html body .ssb-footer { background: #161616; color: #D9D9D9; font-size: .98rem; }
html body .ssb-footer a { color: #FFFFFF; text-decoration: none; }
html body .ssb-footer a:hover { color: #E9CD3B; text-decoration: underline; text-underline-offset: 3px; }
html body .ssb-footer a:focus-visible { outline: 3px solid #E9CD3B; outline-offset: 3px; }
html body .ssb-footer__main { max-width: 1240px; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2.5rem); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
html body .ssb-footer__logo { display: inline-block; padding: .75rem 1rem; margin-bottom: 1.5rem; background: #FFFFFF; border-radius: 12px; }
html body .ssb-footer__logo img { display: block; width: 180px; height: auto; }
html body .ssb-footer__address { font-style: normal; line-height: 1.6; margin: 0 0 1rem; }
html body .ssb-footer__address strong { color: #FFFFFF; }
html body .ssb-footer__contact { margin: 0; line-height: 1.8; }
html body .ssb-footer__title { margin: 0 0 1rem; color: #E9CD3B; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
html body .ssb-footer__col ul, html body .ssb-footer__bottom ul { margin: 0; padding: 0; list-style: none; }
html body .ssb-footer__col li { margin: 0 0 .65rem; }
html body .ssb-footer__bottom { max-width: 1240px; margin: 0 auto; padding: 1.5rem clamp(1rem, 4vw, 2.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; }
html body .ssb-footer__bottom p { margin: 0; }
html body .ssb-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.5rem; }
@media (max-width: 1023px) { html body .ssb-footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { html body .ssb-footer__main { grid-template-columns: 1fr; } }

/* ---------- Seitenkopf (alle Unterseiten) ---------- */
html body .site-main > .page-header { margin: 0 0 clamp(1.75rem, 4vw, 3rem); padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
html body .site-main > .page-header .entry-title { margin: 0; font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 900; line-height: 1.02; letter-spacing: -.03em; color: #161616; }
html body .site-main > .page-header .entry-title::after { content: ""; display: block; width: 4.5rem; height: .45rem; margin-top: 1.1rem; border-radius: 4px; background: #E9CD3B; }
html body .site-main { padding-bottom: clamp(3rem, 7vw, 5rem); }

/* Gemeinsame Bausteine */
html body .yaspa input[type="search"], html body .yaspa input[type="text"], html body .yaspa input[type="number"], html body .yaspa select,
html body.woocommerce-page .woocommerce select, html body.woocommerce-page .woocommerce input.input-text, html body.woocommerce-page .woocommerce textarea {
	min-height: 3rem; padding: .6rem .85rem; border: 2px solid #DCD8CC; border-radius: 10px; background-color: #FFFFFF; color: #161616; font-size: 1rem;
}
html body .yaspa input:hover, html body .yaspa select:hover { border-color: #4E4E4E; }
html body .yaspa :is(a, button, input, select, summary):focus-visible,
html body.woocommerce-page .woocommerce :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #161616; outline-offset: 3px; }

/* ---------- YASPA: Suche, A bis Z, Ergebnisse (nur Optik) ---------- */
html body .yaspa-form { padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 1.75rem; border-radius: 18px; background: #E9CD3B; background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,0) 0 28px, rgba(255,255,255,.14) 28px 30px); }
html body .yaspa-form label, html body .yaspa-form legend { font-weight: 700; color: #161616; }
html body .yaspa-form button[type="submit"], html body .yaspa-form .yaspa-button, html body .yaspa .yaspa-button--primary {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.25rem; padding: .8rem 1.75rem; border: 0; border-radius: 999px; background: #161616; color: #FFFFFF; font-size: 1rem; font-weight: 700; cursor: pointer;
}
html body .yaspa-form button[type="submit"]:hover { background: #000; color: #E9CD3B; }
html body .yaspa-form button[type="submit"]:focus-visible { outline-color: #FFFFFF; box-shadow: 0 0 0 6px #161616; }
html body .yaspa-form details, html body .yaspa-form fieldset { border-color: rgba(22,22,22,.25); }
html body .yaspa-az { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 2rem; }
html body .yaspa-az a { display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .6rem; border: 2px solid #DCD8CC; border-radius: 10px; color: #161616; font-weight: 700; text-decoration: none; background: #FFFFFF; }
html body .yaspa-az a:hover { border-color: #161616; background: #FBF2C4; }
html body .yaspa-az a[aria-current="true"] { border-color: #161616; background: #161616; color: #FFFFFF; }
html body .yaspa-results__heading { margin: 0 0 1.25rem; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: -.02em; color: #161616; }
html body .yaspa-card { border: 2px solid #DCD8CC; border-radius: 14px; background: #FFFFFF; transition: border-color .2s ease, box-shadow .2s ease; }
html body .yaspa-card:hover { border-color: #161616; box-shadow: 0 12px 34px rgba(22,22,22,.10); }
html body .yaspa-card__title { font-weight: 800; line-height: 1.3; }
html body .yaspa-card__title a { color: #161616; text-decoration: none; }
html body .yaspa-card__title a:hover { text-decoration: underline; text-decoration-color: #E9CD3B; text-decoration-thickness: 3px; text-underline-offset: 4px; }
html body .yaspa-card__club a { color: #1A5FA8; font-weight: 600; }
html body .yaspa-card__meta { color: #4E4E4E; }
html body .yaspa-tags li { border-radius: 999px; background: #F6F4EE; color: #161616; border: 0; font-weight: 600; }
html body .yaspa-facts dt { color: #4E4E4E; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
html body .yaspa-facts dd { color: #161616; }
/* Seitennavigation: ul.page-numbers steht sonst auf inline-block und stapelt die Knoepfe untereinander */
html body .yaspa-pagination { margin-top: 2rem; }
html body .yaspa-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; list-style: none; margin: 0; padding: 0; }
html body .yaspa-pagination ul.page-numbers > li { margin: 0; padding: 0; list-style: none; }
/* nur die Knoepfe selbst, nicht das ul, das dieselbe Klasse traegt */
html body .yaspa-pagination :is(a, span).page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .75rem; border: 2px solid #DCD8CC; border-radius: 10px; background: #FFFFFF; color: #161616; font-weight: 700; text-decoration: none; }
html body .yaspa-pagination a.page-numbers:hover { border-color: #161616; background: #FBF2C4; }
html body .yaspa-pagination :is(a, span).page-numbers.current { background: #161616; border-color: #161616; color: #FFFFFF; }
html body .yaspa-pagination span.page-numbers.dots { border-color: transparent; background: transparent; }

/* ---------- WooCommerce: Kursliste ---------- */
html body.woocommerce-page .woocommerce-result-count { color: #4E4E4E; }
html body.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0; }
html body.woocommerce ul.products::before, html body.woocommerce ul.products::after { display: none; }
html body.woocommerce ul.products li.product { float: none; width: auto; margin: 0; display: flex; flex-direction: column; padding: 0 0 1.25rem; border: 2px solid #DCD8CC; border-radius: 14px; overflow: hidden; background: #FFFFFF; transition: border-color .2s ease, box-shadow .2s ease; }
html body.woocommerce ul.products li.product:hover { border-color: #161616; box-shadow: 0 12px 34px rgba(22,22,22,.10); }
html body.woocommerce ul.products li.product a img { margin: 0 0 1rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
html body.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 1.25rem; font-size: 1.2rem; font-weight: 800; color: #161616; }
html body.woocommerce ul.products li.product .price { padding: 0 1.25rem; color: #161616; font-size: 1.1rem; font-weight: 900; }
html body.woocommerce ul.products li.product .wc-gzd-additional-info, html body.woocommerce ul.products li.product p { padding: 0 1.25rem; }
html body.woocommerce ul.products li.product .button { margin: auto 1.25rem 0; align-self: flex-start; }
@media (max-width: 1023px) { html body.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { html body.woocommerce ul.products { grid-template-columns: 1fr; } }

/* Buttons */
html body.woocommerce-page .woocommerce a.button, html body.woocommerce-page .woocommerce button.button, html body.woocommerce-page .woocommerce input.button,
html body.woocommerce-page a.button, html body.woocommerce-page button.button, html body.woocommerce-page .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .75rem 1.5rem; border: 0; border-radius: 999px; background: #161616; color: #FFFFFF; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none;
}
html body.woocommerce-page .woocommerce a.button:hover, html body.woocommerce-page .woocommerce button.button:hover, html body.woocommerce-page a.button:hover, html body.woocommerce-page button.button:hover { background: #000; color: #E9CD3B; }
html body.woocommerce-page .woocommerce button.button.alt, html body.woocommerce-page .woocommerce a.button.alt, html body.woocommerce-page #place_order { background: #E9CD3B; color: #161616; }
html body.woocommerce-page .woocommerce button.button.alt:hover, html body.woocommerce-page #place_order:hover { background: #161616; color: #E9CD3B; }
html body.woocommerce-page .woocommerce button.button:disabled, html body.woocommerce-page .woocommerce button.button.disabled { opacity: .45; }

/* Einzelner Kurs */
html body.single-product .site-main { max-width: 1240px; padding-left: clamp(1rem, 4vw, 2.5rem); padding-right: clamp(1rem, 4vw, 2.5rem); }
html body.single-product div.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-top: clamp(2rem, 5vw, 3.5rem); }
html body.single-product div.product div.images, html body.single-product div.product div.summary { float: none; width: auto; margin: 0; }
html body.single-product div.product div.images img { border-radius: 18px; }
html body.single-product div.product .woocommerce-tabs, html body.single-product div.product .related, html body.single-product div.product .up-sells { grid-column: 1 / -1; }
html body.single-product div.product .product_title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.05; letter-spacing: -.03em; color: #161616; }
html body.single-product div.product p.price, html body.single-product div.product span.price { color: #161616; font-size: 1.5rem; font-weight: 900; }
html body.single-product div.product .woocommerce-product-details__short-description { color: #4E4E4E; line-height: 1.7; }
html body.single-product div.product form.cart { margin: 1.5rem 0; padding: 1.25rem; border-radius: 14px; background: #F6F4EE; }
html body.single-product div.product form.cart .variations { margin-bottom: 1rem; }
html body.single-product div.product form.cart .variations th { padding-right: 1rem; text-align: left; font-weight: 700; }
html body.single-product div.product form.cart .variations select { min-width: 16rem; }
html body.single-product div.product form.cart .quantity input { min-height: 3rem; border: 2px solid #DCD8CC; border-radius: 10px; }
html body.single-product div.product .stock.out-of-stock { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: #F2DEDE; color: #8A1F1E; font-weight: 700; }
html body.single-product div.product .stock.in-stock { color: #2F7D32; font-weight: 700; }
html body.single-product .woocommerce-product-attributes th { width: 30%; font-weight: 700; }
html body.single-product .woocommerce-product-attributes td p { margin: 0; white-space: pre-line; }
html body.single-product .woocommerce-tabs ul.tabs { padding: 0; }
html body.single-product .woocommerce-tabs ul.tabs li { border-radius: 10px 10px 0 0; }
@media (max-width: 767px) { html body.single-product div.product { grid-template-columns: 1fr; } }

/* Nachträge */
html body .yaspa-card { min-width: 0; overflow-wrap: anywhere; }
html body.woocommerce-page .woocommerce-products-header { padding: clamp(1.5rem, 4vw, 3rem) 0 1rem; }
html body.woocommerce-page .woocommerce-products-header__title { margin: 0; font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 900; line-height: 1.02; letter-spacing: -.03em; color: #161616; }
html body.woocommerce-page .woocommerce-products-header__title::after { content: ""; display: block; width: 4.5rem; height: .45rem; margin-top: 1.1rem; border-radius: 4px; background: #E9CD3B; }
html body.woocommerce-page .woocommerce-breadcrumb { margin-top: 1.5rem; color: #4E4E4E; font-size: .9rem; }
html body.woocommerce-page .woocommerce-breadcrumb a { color: #1A5FA8; }
html body.woocommerce-page .woocommerce-ordering select { min-height: 2.75rem; }
html body .ssb-price-free { font-weight: 900; }
html body.single-product .woocommerce-product-attributes { border: 0; border-collapse: collapse; width: 100%; }
html body.single-product .woocommerce-product-attributes tr { border-bottom: 1px solid #DCD8CC; }
html body.single-product .woocommerce-product-attributes th, html body.single-product .woocommerce-product-attributes td { padding: .9rem 1rem .9rem 0; background: transparent !important; text-align: left; vertical-align: top; font-style: normal; font-size: 1rem; }
html body.single-product .woocommerce-product-attributes td p { font-style: normal; }
html body.single-product .woocommerce-tabs .panel > h2:first-child { display: none; }
html body.single-product .related > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: -.02em; }
html body.single-product div.product form.cart .single_add_to_cart_button { min-height: 3rem; }
html body.woocommerce-page .woocommerce-breadcrumb a, html body.single-product .product_meta a, html body .page-content p a, html body .entry-content p a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Inhaltsseiten (Elementor, Standard-Vorlage) ---------- */
html body .ssb-page-title .elementor-heading-title { margin: clamp(2.5rem, 6vw, 4.5rem) 0 0; font-size: clamp(2.2rem, 5vw, 3.75rem) !important; font-weight: 900 !important; line-height: 1.02 !important; letter-spacing: -.03em; color: #161616 !important; text-align: left; font-family: inherit !important; }
html body .ssb-page-title .elementor-heading-title::after { content: ""; display: block; width: 4.5rem; height: .45rem; margin-top: 1.1rem; border-radius: 4px; background: #E9CD3B; }
html body .ssb-page-title { margin-bottom: clamp(1.5rem, 3vw, 2.5rem) !important; }
html body :is(.page-content, .ssb-main) .elementor-widget-heading h2.elementor-heading-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 900; line-height: 1.15; letter-spacing: -.015em; color: #161616; }
html body :is(.page-content, .ssb-main) .elementor-widget-heading h3.elementor-heading-title { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 800; line-height: 1.25; color: #161616; }
html body :is(.page-content, .ssb-main) .elementor-widget-heading h4.elementor-heading-title { font-size: 1.15rem; font-weight: 800; color: #161616; }
html body :is(.page-content, .ssb-main) .elementor-widget-text-editor { font-size: 1.0625rem; line-height: 1.7; color: #262626; }
html body :is(.page-content, .ssb-main) .elementor-widget-text-editor p { margin: 0 0 1em; }
html body :is(.page-content, .ssb-main) .elementor-widget-text-editor h2, html body :is(.page-content, .ssb-main) .elementor-widget-text-editor h3 { margin: 1.4em 0 .5em; font-weight: 800; line-height: 1.25; color: #161616; }
html body :is(.page-content, .ssb-main) .elementor-widget-text-editor ul, html body :is(.page-content, .ssb-main) .elementor-widget-text-editor ol { margin: 0 0 1em; padding-left: 1.3em; }
html body :is(.page-content, .ssb-main) .elementor-widget-text-editor li { margin-bottom: .35em; }
html body :is(.page-content, .ssb-main) .elementor-widget-text-editor a { color: #1A5FA8; font-weight: 600; }
html body :is(.page-content, .ssb-main) .elementor-widget-text-editor a:hover { color: #161616; }
html body :is(.page-content, .ssb-main) .elementor-widget-image img { border-radius: 14px; }
html body :is(.page-content, .ssb-main) a:focus-visible, html body :is(.page-content, .ssb-main) button:focus-visible, html body :is(.page-content, .ssb-main) summary:focus-visible { outline: 3px solid #161616; outline-offset: 3px; }

/* Buttons im Inhalt */
html body :is(.page-content, .ssb-main) .elementor-button { display: inline-flex; align-items: center; gap: .5rem; min-height: 3rem; padding: .75rem 1.5rem; border: 0; border-radius: 999px; background: #E9CD3B; color: #161616; font-size: 1rem; font-weight: 700; line-height: 1.25; text-align: left; white-space: normal; }
html body :is(.page-content, .ssb-main) .elementor-button:hover, html body :is(.page-content, .ssb-main) .elementor-button:focus-visible { background: #161616; color: #E9CD3B; }

/* Aufklapper */
html body :is(.page-content, .ssb-main) .e-n-accordion { display: flex; flex-direction: column; gap: .6rem; }
html body :is(.page-content, .ssb-main) .e-n-accordion-item { border: 2px solid #DCD8CC; border-radius: 12px; background: #FFFFFF; overflow: hidden; }
html body :is(.page-content, .ssb-main) .e-n-accordion-item[open] { border-color: #161616; }
html body :is(.page-content, .ssb-main) .e-n-accordion-item-title { padding: 1rem 1.25rem; border: 0 !important; background: transparent !important; }
html body :is(.page-content, .ssb-main) .e-n-accordion-item-title-text { font-size: 1.1rem !important; font-weight: 800 !important; color: #161616 !important; }
html body :is(.page-content, .ssb-main) .e-n-accordion-item-title:hover { background: #FBF2C4 !important; }
html body :is(.page-content, .ssb-main) .e-n-accordion-item > [role="region"] { padding: 0 1.25rem 1.25rem; border: 0 !important; }

/* Beitragslisten (Aktuelles, Veranstaltungsberichte) */
html body :is(.page-content, .ssb-main) .elementor-posts-container { gap: 1.5rem !important; }
html body :is(.page-content, .ssb-main) .elementor-post { position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.5rem; border: 2px solid #DCD8CC; border-radius: 14px; background: #FFFFFF; transition: border-color .2s ease, box-shadow .2s ease; }
html body :is(.page-content, .ssb-main) .elementor-post:hover { border-color: #161616; box-shadow: 0 12px 34px rgba(22,22,22,.10); }
html body :is(.page-content, .ssb-main) .elementor-post__thumbnail__link { margin: -1.4rem -1.5rem 1.2rem !important; }
html body :is(.page-content, .ssb-main) .elementor-post__thumbnail img { border-radius: 0; }
html body :is(.page-content, .ssb-main) .elementor-post__title { margin: 0 0 .5rem; font-size: 1.2rem !important; font-weight: 800 !important; line-height: 1.3 !important; }
html body :is(.page-content, .ssb-main) .elementor-post__title a { color: #161616 !important; text-decoration: none; }
html body :is(.page-content, .ssb-main) .elementor-post__title a::after { content: ""; position: absolute; inset: 0; }
html body :is(.page-content, .ssb-main) .elementor-post__meta-data { order: -1; margin: 0 0 .5rem; color: #4E4E4E !important; font-size: .88rem !important; }
html body :is(.page-content, .ssb-main) .elementor-post__excerpt p { color: #4E4E4E; font-size: .98rem; line-height: 1.6; }
html body :is(.page-content, .ssb-main) .elementor-post__read-more { color: #161616 !important; font-weight: 700 !important; font-size: .95rem !important; border-bottom: 3px solid #E9CD3B; }
html body :is(.page-content, .ssb-main) .elementor-pagination { margin-top: 2rem; display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; }
html body :is(.page-content, .ssb-main) .elementor-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .75rem; border: 2px solid #DCD8CC; border-radius: 10px; color: #161616; font-weight: 700; text-decoration: none; }
html body :is(.page-content, .ssb-main) .elementor-pagination .page-numbers.current { background: #161616; border-color: #161616; color: #FFFFFF; }

/* Kontaktblock */
html body .ssb-contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; margin-bottom: 2rem; }
html body .ssb-contact__card { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 18px; background: #E9CD3B; color: #161616; }
html body .ssb-contact__times { padding: clamp(1.5rem, 3vw, 2.25rem); border: 2px solid #DCD8CC; border-radius: 18px; background: #FFFFFF; }
html body .ssb-contact__title { margin: 0 0 1rem; font-size: 1.45rem; font-weight: 900; line-height: 1.2; color: #161616; }
html body .ssb-contact__subtitle { margin: 1.6rem 0 .6rem; font-size: 1.05rem; font-weight: 800; color: #161616; }
html body .ssb-contact__address { margin: 0 0 1.25rem; font-style: normal; font-size: 1.15rem; line-height: 1.5; }
html body .ssb-contact__ways { margin: 0 0 1.5rem; padding: 0; list-style: none; }
html body .ssb-contact__ways li { display: grid; grid-template-columns: 7.5rem 1fr; gap: .5rem; padding: .55rem 0; border-top: 1px solid rgba(22,22,22,.18); font-size: 1.02rem; }
html body .ssb-contact__ways span { font-weight: 700; }
html body .ssb-contact__ways a, html body .ssb-contact__map { color: #161616; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
html body .ssb-contact__list { margin: 0; }
html body .ssb-contact__list > div { display: grid; grid-template-columns: 12rem 1fr; gap: .75rem; padding: .6rem 0; border-top: 1px solid #DCD8CC; }
html body .ssb-contact__list dt { font-weight: 700; color: #161616; }
html body .ssb-contact__list dd { margin: 0; color: #262626; }
html body .ssb-contact a:focus-visible { outline: 3px solid #161616; outline-offset: 3px; }
@media (max-width: 899px) { html body .ssb-contact { grid-template-columns: 1fr; } }
@media (max-width: 499px) { html body .ssb-contact__list > div, html body .ssb-contact__ways li { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- News-Einzelseite (Elementor-Vorlage) ---------- */
html body .elementor-location-single .elementor-widget-theme-post-title .elementor-heading-title { font-size: clamp(2rem, 4.5vw, 3.25rem) !important; font-weight: 900 !important; line-height: 1.08 !important; letter-spacing: -.025em; color: #161616 !important; }
html body .elementor-location-single .elementor-widget-theme-post-title .elementor-heading-title::after { content: ""; display: block; width: 4.5rem; height: .45rem; margin-top: 1rem; border-radius: 4px; background: #E9CD3B; }
html body .elementor-location-single .elementor-widget-theme-post-content { font-size: 1.0625rem; line-height: 1.75; color: #262626; max-width: 72ch; }
html body .elementor-location-single .elementor-widget-theme-post-content p { margin: 0 0 1.1em; }
html body .elementor-location-single .elementor-widget-theme-post-content a { color: #1A5FA8; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
html body .elementor-location-single .elementor-widget-theme-post-content img { border-radius: 14px; height: auto; }
html body .elementor-location-single .elementor-post-info, html body .elementor-location-single .elementor-widget-post-info { color: #4E4E4E; font-size: .95rem; }
html body .elementor-location-single .elementor-widget-theme-post-featured-image img { border-radius: 18px; }
html body .elementor-location-single .elementor-button { display: inline-flex; align-items: center; gap: .5rem; min-height: 3rem; padding: .75rem 1.5rem; border: 0; border-radius: 999px; background: #161616; color: #FFFFFF; font-size: 1rem; font-weight: 700; }
html body .elementor-location-single .elementor-button:hover, html body .elementor-location-single .elementor-button:focus-visible { background: #E9CD3B; color: #161616; }
html body .elementor-location-single a:focus-visible { outline: 3px solid #161616; outline-offset: 3px; }

/* Veranstaltung: Abstand Details zu Beschreibung */
html body.single-ssb_event .site-main dl { margin-bottom: 1.75rem; }
html body.single-ssb_event .site-main .page-content { font-size: 1.0625rem; line-height: 1.7; max-width: 72ch; }

/* Sticky-Header bleibt beim Scrollen deckend weiß */
html body .elementor-location-header > .e-con,
html body .elementor-location-header .elementor-sticky--active,
html body .elementor-location-header .elementor-sticky--effects { background-color: #FFFFFF !important; opacity: 1 !important; backdrop-filter: none !important; }
html body .elementor-location-header .elementor-sticky--effects { box-shadow: 0 6px 20px rgba(22,22,22,.10) !important; }

/* Rechtsseiten: Lesbarkeit und Gliederung der reinen Textseiten */
html body:is(.page-id-3920, .page-id-3922, .page-id-3924, .page-id-3926, .page-id-3929, .page-id-101, .page-id-17) .page-content { max-width: 72ch; font-size: 1.0625rem; line-height: 1.7; }
html body:is(.page-id-3920, .page-id-3922, .page-id-3924, .page-id-3926, .page-id-3929) .page-content h2 { margin-top: 2.5rem; margin-bottom: .75rem; font-size: 1.375rem; line-height: 1.3; }
html body:is(.page-id-3920, .page-id-3922, .page-id-3924, .page-id-3926, .page-id-3929) .page-content h2:first-child { margin-top: 0; }
html body:is(.page-id-3920, .page-id-3922) .page-content ul { margin: 0 0 1.25rem 1.25rem; }

/* Muster-Widerrufsformular: als Formular erkennbar, Linien zum Ausfuellen */
html body .ssb-widerrufsformular { margin-top: 1.5rem; padding: 1.75rem; border: 2px solid #DCD8CC; border-radius: 12px; background: #FBF9F3; }
html body .ssb-widerrufsformular > p:first-child { margin-top: 0; }
html body .ssb-widerrufsformular .ssb-feld { margin: 1.75rem 0 0; padding-top: .4rem; border-top: 1px solid #161616; font-size: .9375rem; }

/* Entwurfshinweis: muss auffallen, damit niemand den Text fuer freigegeben haelt */
html body .ssb-hinweis--entwurf { margin-bottom: 2.5rem; padding: 1.25rem 1.5rem; border-left: 6px solid #C8102E; border-radius: 4px; background: #FDF1F3; }
html body .ssb-hinweis--entwurf p { margin: 0; }

/* Barrierefreiheit: das style.css des Child-Themes wird von Hello Elementor 3.4.9
   nicht mehr geladen (der Eltern-Handle in der Abhaengigkeit existiert nicht mehr).
   Die Regeln stehen deshalb hier, in den aktuellen SSB-Farben statt in #7a2140. */

/* Sprunglink "Zum Inhalt springen" (WCAG 2.4.1), ausgegeben vom Child-Theme nach <body> */
html body .skip-link { position: absolute; left: 12px; top: -120px; z-index: 100001; padding: 12px 22px; border-radius: 6px; background: #161616; color: #FFFFFF; font-size: 1rem; font-weight: 700; line-height: 1.4; text-decoration: none; transition: top .15s ease-in-out; }
html body .skip-link:focus { top: 12px; color: #FFFFFF; outline: 3px solid #E9CD3B; outline-offset: 2px; }
html body #hauptinhalt:focus, html body main#content:focus { outline: none; }

/* Nur fuer Screenreader */
html body :is(.screen-reader-text, .sr-only) { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Wer weniger Bewegung eingestellt hat, bekommt weniger Bewegung */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---- Shop: Korrekturen nach der Sichtprüfung am 25.10.2026 ---- */

/* "Weitere Kurse" war zerquetscht: WooCommerce setzt auf .related ul.products li.product
   eine Breite von 30,75 %. Im Grid bezieht die sich auf die Spalte statt auf die Liste,
   also blieben 114px statt 370px. Der Selektor hier hat eine Klasse mehr und gewinnt. */
html body.woocommerce :is(.related, .up-sells, .upsells, .cross-sells) ul.products li.product { width: auto; float: none; margin: 0; }
html body.woocommerce :is(.related, .up-sells, .upsells) > h2 { margin-bottom: 1.5rem; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; letter-spacing: -.02em; }

/* Der deaktivierte Warenkorb-Button war WooCommerce-Lila. Deren Regel hat eine Klasse
   mehr als unsere, deshalb hier gezielt mit .disabled im Selektor. */
html body.woocommerce-page :is(button, a, input).button.alt.disabled,
html body.woocommerce-page :is(button, input).button.alt:disabled,
html body.woocommerce-page :is(button, a, input).button.alt.disabled:hover,
html body.woocommerce-page :is(button, a, input).button.alt.wc-variation-selection-needed { background: #DCD8CC; color: #4E4E4E; opacity: 1; cursor: not-allowed; }
/* aktiver Zustand, ebenfalls ohne das innere .woocommerce, das es auf der Produktseite nicht gibt */
html body.woocommerce-page :is(button, a, input).button.alt:not(.disabled):not(:disabled) { background: #E9CD3B; color: #161616; }
html body.woocommerce-page :is(button, a, input).button.alt:not(.disabled):not(:disabled):hover { background: #161616; color: #E9CD3B; }

/* Variantenauswahl: war ein grauer Kasten ohne Bezug zum Rest */
html body.single-product div.product form.cart { border: 2px solid #DCD8CC; background: #FBF9F3; padding: 1.5rem; }
html body.single-product div.product form.cart .variations { width: 100%; margin-bottom: 1.25rem; border: 0; }
html body.single-product div.product form.cart .variations tr { display: grid; grid-template-columns: minmax(6rem, auto) minmax(0, 1fr); gap: .5rem 1rem; align-items: center; margin-bottom: .75rem; }
html body.single-product div.product form.cart .variations th,
html body.single-product div.product form.cart .variations td { display: block; padding: 0; border: 0; }
html body.single-product div.product form.cart .variations select { width: 100%; min-width: 0; min-height: 3rem; padding: .5rem .9rem; border: 2px solid #DCD8CC; border-radius: 10px; background-color: #FFFFFF; }
html body.single-product div.product form.cart .reset_variations { display: inline-block; margin-top: .25rem; font-size: .875rem; color: #4E4E4E; }
html body.single-product div.product .woocommerce-variation-price { margin-bottom: 1rem; }
@media (max-width: 599px) { html body.single-product div.product form.cart .variations tr { grid-template-columns: 1fr; } }

/* Lupe für die Bildergalerie: ohne Emoji-Grafik braucht das Zeichen etwas Rahmen */
html body.single-product .woocommerce-product-gallery__trigger { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: #FFFFFF; box-shadow: 0 2px 10px rgba(22,22,22,.18); font-size: 1.1rem; text-decoration: none; line-height: 1; }

/* Produktbilder auf ein gemeinsames Format bringen, sonst springen die Karten */
html body.single-product div.product div.images .woocommerce-product-gallery__image > img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* Hinweiszeile unter dem Preis */
html body.single-product div.product .wc-gzd-additional-info { margin: .25rem 0 1rem; color: #4E4E4E; font-size: .9375rem; }
/* Kategoriezeile unter dem Warenkorb: der Link war im Standardblau */
html body.single-product div.product .product_meta { color: #4E4E4E; font-size: .9375rem; }
html body.single-product div.product .product_meta a { color: #161616; text-decoration: underline; text-underline-offset: 3px; }
/* "Ausgebucht" steht jetzt im Kasten der Variantenauswahl, etwas Abstand nach unten */
html body.single-product div.product form.cart .stock.out-of-stock { margin-bottom: 1rem; }

/* ---- Geschaeftsstelle: Kontaktangaben und Team als Boxen ---- */

html body .ssb-gs { display: grid; gap: 1.25rem; }
html body .ssb-gs__box { padding: 1.5rem; border: 2px solid #DCD8CC; border-radius: 14px; background: #FFFFFF; }
html body .ssb-gs__box h2 { margin: 0 0 1rem; font-size: 1.125rem; font-weight: 800; letter-spacing: -.01em; color: #161616; }
html body .ssb-gs__box h2::after { content: ""; display: block; width: 2.5rem; height: .25rem; margin-top: .5rem; border-radius: 4px; background: #E9CD3B; }
html body .ssb-gs__box p { margin: 0 0 .75rem; line-height: 1.6; }
html body .ssb-gs__box p:last-child { margin-bottom: 0; }
html body .ssb-gs__box a { color: #161616; text-decoration: underline; text-underline-offset: 3px; }

/* Zeiten als zweispaltige Liste, damit nichts mit Leerzeichen ausgerichtet werden muss */
html body .ssb-gs__zeiten { display: grid; grid-template-columns: minmax(7rem, auto) 1fr; gap: .45rem 1.25rem; margin: 0; }
html body .ssb-gs__zeiten dt { font-weight: 700; color: #161616; }
html body .ssb-gs__zeiten dd { margin: 0; color: #4E4E4E; }
html body .ssb-gs__zeiten dd + dd { grid-column: 2; }
@media (max-width: 480px) {
  html body .ssb-gs__zeiten { grid-template-columns: 1fr; gap: .15rem; }
  html body .ssb-gs__zeiten dt { margin-top: .6rem; }
  html body .ssb-gs__zeiten dd + dd, html body .ssb-gs__zeiten dd { grid-column: 1; }
}

/* Personenkarten */
html body .ssb-team { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
html body .ssb-team__karte { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 1.25rem; align-items: start; padding: 1.25rem; border: 2px solid #DCD8CC; border-radius: 14px; background: #FFFFFF; }
html body .ssb-team__karte:hover { border-color: #161616; }
html body .ssb-team__bild { width: 92px; height: 115px; border-radius: 10px; object-fit: cover; background: #F6F4EE; }
/* Ohne Foto: Initialen statt Loch in der Reihe */
html body .ssb-team__platzhalter { display: grid; place-items: center; width: 92px; height: 115px; border-radius: 10px; background: #F6F4EE; border: 2px dashed #DCD8CC; color: #8A8574; font-size: 1.5rem; font-weight: 800; letter-spacing: .05em; }
html body .ssb-team__name { margin: 0 0 .2rem; font-size: 1.0625rem; font-weight: 800; color: #161616; }
html body .ssb-team__rolle { margin: 0 0 .6rem; color: #4E4E4E; line-height: 1.45; }
html body .ssb-team__daten { margin: 0; line-height: 1.6; }
html body .ssb-team__daten a { color: #161616; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 420px) {
  html body .ssb-team__karte { grid-template-columns: 1fr; }
  html body .ssb-team__bild, html body .ssb-team__platzhalter { width: 100%; max-width: 140px; height: 175px; }
}
/* Falls die Klasse des Editor-Plugins ohne dessen CSS im Frontend landet */
html body .mbfe-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---- Bilderslider ----
   Feste Hoehe, damit die Seite beim Blaettern nicht springt, aber contain statt
   cover: auf den Fotos sind Menschen, da darf nichts abgeschnitten werden. */
html body .elementor-widget-image-carousel .swiper-slide { background: #F6F4EE; border-radius: 14px; overflow: hidden; }
html body .elementor-widget-image-carousel .swiper-slide img,
html body .elementor-widget-image-carousel .elementor-carousel-image {
  aspect-ratio: 3 / 2; height: auto; width: 100%; object-fit: cover; object-position: center top; border-radius: 14px;
}
/* 3:2 ist das Format der meisten Fotos, die gehen damit ungeschnitten durch.
   Die wenigen anderen werden unten beschnitten, oben bleiben die Koepfe. */
html body .elementor-widget-image-carousel .elementor-carousel-image { background-size: cover; background-position: center top; }
/* Pfeile und Punkte in den Seitenfarben statt Elementor-Blau */
html body .elementor-widget-image-carousel .elementor-swiper-button { color: #161616; background: rgba(255,255,255,.9); width: 2.75rem; height: 2.75rem; border-radius: 999px; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(22,22,22,.18); }
html body .elementor-widget-image-carousel .elementor-swiper-button:hover { background: #E9CD3B; }
html body .elementor-widget-image-carousel .swiper-pagination-bullet { background: #DCD8CC; opacity: 1; }
html body .elementor-widget-image-carousel .swiper-pagination-bullet-active { background: #161616; }

/* Hervorgehobener Einstiegsabsatz, frueher faelschlich eine Ueberschrift */
html body .ssb-lead { font-size: 1.125rem; font-weight: 700; line-height: 1.55; color: #161616; margin-bottom: 1.25rem; }

/* Inklusionsseite: volle Spaltenbreite, aber lesbare Zeilenlaenge */
html body.page-id-3302 .elementor-widget-text-editor { max-width: 76ch; }
html body.page-id-3302 .elementor-widget-text-editor h2 { margin-top: 2rem; }

/* ---- Integration durch Sport: Bilder nebeneinander auf eine Linie ----
   Die Fotos haben Seitenverhaeltnisse von 1,27 bis 1,91. Nebeneinander gestellt
   standen sie dadurch unterschiedlich hoch und auf verschiedenen Grundlinien. */
html body.page-id-3269 .elementor-section .elementor-widget-image img { aspect-ratio: 3 / 2; object-fit: cover; object-position: center top; width: 100%; height: auto; border-radius: 14px; }
/* Logos sollen nicht beschnitten werden. Ueber die Widget-ID, nicht ueber die
   Position: die Abschnitte wurden umsortiert, first-of-type trifft das Falsche. */
html body.page-id-3269 .elementor-element-c704cfc img,
html body.page-id-3269 .elementor-element-8435317 img { aspect-ratio: auto; object-fit: contain; border-radius: 0; max-height: 18rem; width: auto; margin: 0 auto; }
html body.page-id-3269 .elementor-widget-text-editor { max-width: 76ch; }
