/* Super Bicycles CH – Layout-Styles (Farben/Schrift: theme.json) */
body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks > main, .wp-site-blocks main > .wp-block-post-content > .wp-block-group.alignfull,
.wp-site-blocks main > .wp-block-post-content > .wp-block-cover.alignfull { margin-block-start: 0; }

/* Abschnitte */
.sb-section { padding-top: 64px; padding-bottom: 64px; }
.sb-section.sb-tight { padding-top: 16px; padding-bottom: 32px; }
.wp-block-group.sb-wide { max-width: 1100px; margin-left: auto !important; margin-right: auto !important; }

/* Typografie */
.sb-h1 { font-size: clamp(34px, 4vw, 48px); font-weight: 900; letter-spacing: -0.03em; }
.sb-h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 32px; }
.sb-h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.sb-h4 { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 8px; }
.sb-kicker { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 6px; }
.sb-small, .sb-small p { font-size: 14px; font-weight: 500; line-height: 1.6; }
.sb-note { font-size: 11px; color: var(--wp--preset--color--muted); }
.sb-link a { font-size: 13px; font-weight: 800; text-underline-offset: 3px; }
mark.has-inline-color { padding: 2px 10px; border-radius: 8px; font-weight: 900; color: #000; }
.sb-price-line mark { font-size: 28px; padding: 4px 12px; }

/* Wortmarken */
.sb-wordmark { margin: 4px 0 18px; }
.sb-wordmark img { height: 48px; width: auto; }

/* Karten */
.sb-card, .sb-panel, .sb-box, .sb-callout, .sb-statbar { border-radius: 16px; }
.sb-card { padding: 24px; }
.wp-block-column > .sb-card:only-child { height: 100%; box-sizing: border-box; }
.sb-panel { padding: 48px; }
.sb-box { padding: 56px 32px; text-align: center; }
.sb-box .sb-kicker { text-align: center; }
.sb-award-card { padding: 48px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: background-color .2s; }
.sb-award-card:hover { background-color: #F7F2C9 !important; }
.sb-award img { height: 140px; width: auto; margin: 0 auto 24px; display: block; }
.sb-product-card, .sb-gallery-main { padding: 0; overflow: hidden; }
.sb-product img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; display: block; }
.sb-gallery-main .sb-product img { aspect-ratio: 1 / 1; }
.sb-thumbs { gap: 12px !important; margin-top: 12px; }
.sb-thumb-card { padding: 6px; }
.sb-thumb img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.sb-shop-card .sb-product { margin: -24px -24px 16px; }
.sb-photo { padding: 0; overflow: hidden; }
.sb-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.sb-badge img { width: 90px; height: auto; }
.sb-badge-lg img { width: 150px; height: auto; margin: 0 auto; }

/* Spezifikations-Tabelle */
.wp-block-table.sb-spec { margin: 8px 0 20px; }
.wp-block-table.sb-spec table { border: 0; font-size: 13px; }
.wp-block-table.sb-spec td { border: 0; border-bottom: 1px solid rgba(0,0,0,.08); padding: 10px 0; }
.wp-block-table.sb-spec td:last-child { text-align: right; font-weight: 800; }
.wp-block-table.sb-spec td:first-child { color: #333; }

/* Kennzahlen-Leiste */
.sb-statbar { padding: 24px 16px; margin-top: 24px; }
.sb-stats { gap: 0 !important; margin: 0; }
.sb-stats > .wp-block-column { text-align: center; border-right: 1px solid rgba(0,0,0,.08); padding: 8px; }
.sb-stats > .wp-block-column:last-child { border-right: 0; }
.sb-stat-value { font-size: 28px; font-weight: 900; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
.sb-stat-label { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin: 6px 0 0; }

/* Checkliste */
ul.sb-check { list-style: none; padding: 0; font-size: 14px; font-weight: 500; }
ul.sb-check li { padding: 4px 0 4px 24px; position: relative; }
ul.sb-check li::before { content: "✓"; position: absolute; left: 0; font-weight: 900; }

/* Zweispaltig mit klebender Überschrift */
@media (min-width: 782px) { .sb-sticky { position: sticky; top: 120px; } }
.sb-split > .wp-block-column:last-child > .wp-block-columns { margin-bottom: 16px; gap: 16px; }

/* FAQ / Akkordeon */
.sb-faq-title { margin-top: 56px !important; }
.wp-block-details { background: var(--wp--preset--color--grey); border-radius: 16px; margin: 0 0 10px !important; }
.wp-block-details summary { list-style: none; padding: 22px 60px 22px 28px; font-size: 15px; font-weight: 800; cursor: pointer; position: relative; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 28px; top: 50%; transform: translateY(-50%); font-weight: 500; font-size: 20px; }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :not(summary) { padding: 0 28px; font-size: 14px; }
.wp-block-details > :last-child { padding-bottom: 22px; }
.sb-specs-acc .wp-block-table.sb-spec td:last-child { text-align: left; font-weight: 500; }
.sb-specs-acc .wp-block-table.sb-spec td { border-bottom-color: rgba(0,0,0,.06); }

/* Gelbe Hinweis-Box */
.sb-callout { padding: 32px 36px; margin-top: 16px !important; }
.sb-callout p { margin: 0 0 12px; font-size: 14px; }
.sb-callout a { font-weight: 800; font-size: 13px; }

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: #000; border-color: #000; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #000; color: #fff; }
.wp-block-button.is-style-yellow > .wp-block-button__link { background: var(--wp--preset--color--yellow); border-color: var(--wp--preset--color--yellow); color: #000; }
.wp-block-button.is-style-yellow > .wp-block-button__link:hover { background: #fff; border-color: #fff; }
.wp-block-button.is-style-outline-light > .wp-block-button__link { background: transparent; border-color: #fff; color: #fff; }
.wp-block-button.is-style-outline-light > .wp-block-button__link:hover { background: #fff; color: #000; }

/* Hero */
.wp-block-cover.sb-hero { padding-left: max(50px, calc((100vw - 1100px) / 2)); padding-right: 50px; }
.wp-block-cover.sb-hero .wp-block-cover__inner-container { max-width: 720px; color: #fff; }
.sb-hero-title { color: #fff !important; font-size: clamp(34px, 4vw, 48px); font-weight: 900; letter-spacing: -0.03em; }
.sb-hero-lead { font-size: 16px; font-weight: 500; max-width: 520px; }

/* Header */
.sb-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .sb-header { top: 32px; }
.sb-header-bar { padding: 20px 50px !important; }
.sb-header .wp-block-site-logo img { width: 190px; height: auto; }
.sb-header .wp-block-navigation { font-size: 15px; font-weight: 500; }
.sb-header .wp-block-navigation a { color: rgba(18,18,18,.75); text-decoration: none; }
.sb-header .wp-block-navigation a:hover, .sb-header .wp-block-navigation .current-menu-item a { color: #121212; text-decoration: underline; text-underline-offset: 4px; }
.sb-announce { padding: 8px 16px !important; }
.sb-announce p { margin: 0; font-size: 13px; font-weight: 700; text-align: center; }
.sb-announce a { text-decoration: none; }

/* Footer */
.sb-footer { padding: 80px 50px 40px !important; }
.sb-footer .sb-kicker { margin-bottom: 18px; }
.sb-footer ul { list-style: none; padding: 0; margin: 0; font-size: 13px; line-height: 2.2; }
.sb-footer a { text-decoration: none; }
.sb-footer a:hover { text-decoration: underline; }
.sb-footer .sb-right { text-align: right; }
.sb-footer .sb-small { max-width: 300px; }
.sb-footer .wp-block-site-logo img { width: 150px; height: auto; }
.sb-footer-bottom { border-top: 1px solid rgba(0,0,0,.08); padding-top: 24px; margin-top: 48px !important; font-size: 12px; }

@media (max-width: 781px) {
	.sb-section { padding-top: 40px; padding-bottom: 40px; }
	.sb-panel { padding: 24px; }
	.sb-header-bar { padding: 14px 16px !important; }
	.admin-bar .sb-header { top: 0; }
	.wp-block-cover.sb-hero { padding-left: 20px; padding-right: 20px; min-height: 560px !important; }
	.sb-stats { flex-wrap: wrap !important; }
	.sb-stats > .wp-block-column { flex-basis: 50% !important; border-right: 0; }
	.sb-footer { padding: 48px 20px 32px !important; }
	.sb-footer .sb-right { text-align: left; }
}
