/*
Theme Name: sbcom
Theme URI: https://www.sbcom.at
Author: sbcom GmbH
Description: Schlankes Block-Theme für die Website der sbcom GmbH – EDV-Systemhaus. Farben, Schrift und Bausteine sind fest hinterlegt, Inhalte werden im Block-Editor gepflegt.
Version: 3.3.1
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
License: Proprietär – nur für sbcom GmbH
Text Domain: sbcom
*/

/* ---------- Grundlagen ---------- */
body { -webkit-font-smoothing: antialiased; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-site-blocks > main { margin-block-start: 0; }
.entry-content > *:first-child { margin-block-start: 0; }
img { height: auto; }

/* ---------- Sektionen ---------- */
.sb-section {
	padding-top: var(--wp--preset--spacing--80) !important;
	padding-bottom: var(--wp--preset--spacing--80) !important;
}
.wp-block-post-content > .sb-section,
.entry-content > .sb-section { margin-block-start: 0 !important; }

.sb-hero {
	padding-top: clamp(3rem, 6vw, 4.5rem) !important;
	padding-bottom: clamp(4rem, 8vw, 6rem) !important;
}
.sb-hero h1 { max-width: 920px; }

/* Überzeile */
.sb-eyebrow {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-dark);
}
.has-ink-background-color .sb-eyebrow,
.sb-hero .sb-eyebrow,
.is-style-panel-dark .sb-eyebrow { color: var(--wp--preset--color--gold); }

/* Einleitungstext */
.sb-lead {
	max-width: 700px;
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.6;
	color: var(--wp--preset--color--muted);
}
.has-ink-background-color .sb-lead,
.sb-hero .sb-lead { color: #D6D8DC; }
.sb-hero .sb-breadcrumb, .sb-hero .sb-breadcrumb a { color: #B9BDC3; }
.sb-hero .sb-breadcrumb a:hover { color: #FFFFFF; }

/* Brotkrumen */
.sb-breadcrumb { font-size: 0.875rem; color: #6B6B73; }
.sb-breadcrumb a { color: #6B6B73; }
.sb-breadcrumb a:hover { color: var(--wp--preset--color--ink); }

/* Hervorhebung in Überschriften */
.sb-accent { color: var(--wp--preset--color--gold); }

/* ---------- Karten (Block-Stile der Gruppe) ---------- */
.is-style-card,
.is-style-card-dark,
.is-style-card-accent {
	border-radius: 20px;
	padding: 2rem !important;
	position: relative;
}
.is-style-card { background: var(--wp--preset--color--surface); }
.has-surface-background-color .is-style-card { background: var(--wp--preset--color--base); }
/* „Karte (betont)“: hell mit orangem Rand oben */
.is-style-card-dark { background: var(--wp--preset--color--base); color: var(--wp--preset--color--ink); border: 1px solid var(--wp--preset--color--line); border-top: 4px solid var(--wp--preset--color--gold); box-shadow: 0 6px 24px rgba(18,18,18,0.06); }
.is-style-card-dark p { color: var(--wp--preset--color--muted); }
.is-style-card-dark h2, .is-style-card-dark h3 { color: var(--wp--preset--color--ink); }
.has-ink-background-color .is-style-card-dark { background: var(--wp--preset--color--graphite); border: 1px solid #2E2E32; }
.is-style-card-accent { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--ink); }
.is-style-card-accent p { color: #2A2A2A; }

.is-style-card p,
.is-style-card-dark p,
.is-style-card-accent p { font-size: 0.9375rem; line-height: 1.65; }
.is-style-card p { color: var(--wp--preset--color--muted); }
.is-style-card > * + *,
.is-style-card-dark > * + *,
.is-style-card-accent > * + * { margin-block-start: 0.75rem; }

/* Ganze Karte klickbar, wenn sie einen „Mehr erfahren“-Link enthält */
p.sb-more { font-size: 0.875rem; font-weight: 700; margin-top: auto !important; }
.sb-more a { text-decoration: none; color: var(--wp--preset--color--gold-dark); }
.sb-more a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sb-more a:focus-visible::after { outline: 2px solid var(--wp--preset--color--gold); outline-offset: 3px; }
.is-style-card:has(.sb-more),
.is-style-card-dark:has(.sb-more) { display: flex; flex-direction: column; transition: transform .15s ease; }
.is-style-card:has(.sb-more):hover,
.is-style-card-dark:has(.sb-more):hover { transform: translateY(-3px); }

/* Große Panels (Handlungsaufforderung) */
.is-style-panel-dark {
	background: var(--wp--preset--color--anthracite-dark);
	color: #FFFFFF;
	border-radius: 28px;
	padding: clamp(2rem, 5vw, 3.5rem) !important;
}
.is-style-panel-dark p { color: #B4B4BC; }
.is-style-panel-dark h2 { color: #FFFFFF; font-size: clamp(1.75rem, 3.5vw, 2.25rem); }

/* Große Zahlen / Kennzahlen */
p.sb-stat { font-size: clamp(2.5rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
p.sb-stat.sb-stat-text { font-size: clamp(1.6rem, 2.6vw, 2rem); letter-spacing: -0.02em; line-height: 1.1; }
p.sb-step-num { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--wp--preset--color--gold); }
p.sb-tag { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.08em; color: var(--wp--preset--color--gold-dark); }
.is-style-card-accent .sb-tag { color: var(--wp--preset--color--ink); }

/* ---------- Icons auf Karten ---------- */
[class*="sb-icon-"]::before {
	content: "";
	display: block;
	width: 52px;
	height: 52px;
	border-radius: 4px;
	margin-bottom: 0.25rem;
	background-color: var(--wp--preset--color--gold-light);
	background-image: var(--sb-icon);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 26px 26px;
}
.is-style-card-dark[class*="sb-icon-"]::before { background-color: var(--wp--preset--color--gold); }
.sb-icon-bulb    { --sb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E"); }
.sb-icon-server  { --sb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='7' rx='2'/%3E%3Crect x='3' y='14' width='18' height='7' rx='2'/%3E%3Cpath d='M7 6.5h.01M7 17.5h.01'/%3E%3C/svg%3E"); }
.sb-icon-cloud   { --sb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19H9a7 7 0 1 1 6.7-9h1.8a4.5 4.5 0 1 1 0 9z'/%3E%3C/svg%3E"); }
.sb-icon-lock    { --sb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
.sb-icon-chat    { --sb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.sb-icon-printer { --sb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V2h12v7'/%3E%3Crect x='3' y='9' width='18' height='8' rx='2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E"); }
.is-style-card-dark.sb-icon-bulb { --sb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E"); }

/* ---------- Partner-Chips ---------- */
.is-style-pill {
	display: inline-block;
	padding: 0.6rem 1.1rem;
	border-radius: 999px;
	background: var(--wp--preset--color--surface);
	font-size: 0.875rem;
	font-weight: 700;
}
.has-surface-background-color .is-style-pill { background: var(--wp--preset--color--base); }
.has-ink-background-color .is-style-pill,
.sb-hero .is-style-pill { background: transparent; border: 1px solid #3A3A3D; color: #E4E4E7; }

/* ---------- Häkchen-Liste ---------- */
ul.is-style-checks { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 1rem; }
ul.is-style-checks li {
	position: relative;
	padding-left: 2.1rem;
	line-height: 1.5;
}
ul.is-style-checks li::before {
	content: "";
	position: absolute; left: 0; top: 0.1rem;
	width: 22px; height: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A00' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Buttons ---------- */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--contrast);
	padding-top: calc(0.9rem - 1px); padding-bottom: calc(0.9rem - 1px);
}
.has-ink-background-color .wp-block-button.is-style-outline > .wp-block-button__link,
.sb-hero .wp-block-button.is-style-outline > .wp-block-button__link,
.is-style-panel-dark .wp-block-button.is-style-outline > .wp-block-button__link,
.sb-header .wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: rgba(255,255,255,0.55);
	color: #FFFFFF;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--wp--preset--color--gold); }

/* ---------- Kopfzeile ---------- */
.sb-header { border-bottom: 1px solid var(--wp--preset--color--line); }
.sb-header .wp-block-navigation a { color: var(--wp--preset--color--ink); text-decoration: none; }
.sb-header .wp-block-navigation a:hover,
.sb-header .wp-block-navigation .current-menu-item > a,
.sb-header .wp-block-navigation .current-menu-ancestor > a { color: var(--wp--preset--color--gold-dark); }
.sb-header .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--base) !important;
	border: 1px solid var(--wp--preset--color--line) !important;
	box-shadow: 0 12px 32px rgba(18,18,18,0.10);
	border-radius: 4px;
	padding: 0.5rem !important;
	min-width: 260px !important;
}
.sb-header .wp-block-navigation__submenu-container a { padding: 0.55rem 0.8rem !important; border-radius: 3px; }
.sb-header .wp-block-navigation__submenu-container a:hover { background: var(--wp--preset--color--surface); }
.sb-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--base) !important; padding: 1.5rem !important; }
.sb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { background: transparent !important; border: 0 !important; }
.sb-header .wp-block-navigation__responsive-container-open,
.sb-header .wp-block-navigation__responsive-container-close { color: var(--wp--preset--color--ink); }
.sb-logo img { display: block; height: 48px; width: auto; }

/* ---------- Fußzeile ---------- */
.sb-footer { color: #A1A1AA; font-size: 0.875rem; }
.sb-footer a { color: #D4D4D8; text-decoration: none; }
.sb-footer a:hover { color: var(--wp--preset--color--gold); }
.sb-footer .sb-footer-title { color: #FFFFFF; font-size: 1rem; font-weight: 700; }
.sb-footer .sb-footer-list { display: flex; flex-direction: column; gap: 0.6rem; }
.sb-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem !important; font-size: 0.8125rem; }
.sb-footer .sb-logo img { height: 40px; }

/* ---------- Formulare (Plugin sbcom Formulare) ---------- */
.sb-form { background: var(--wp--preset--color--surface); border-radius: 4px; padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; gap: 1.25rem; }
.has-surface-background-color .sb-form { background: var(--wp--preset--color--base); }
.sb-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.sb-field { display: flex; flex-direction: column; gap: 0.5rem; }
.sb-field label { font-size: 0.875rem; font-weight: 600; }
.sb-field input, .sb-field select, .sb-field textarea {
	min-height: 52px; padding: 0 1rem; border-radius: 4px; border: 1px solid #C9CBD1; background: #FFFFFF;
	font: inherit; font-size: 1rem; color: var(--wp--preset--color--contrast);
}
.sb-field textarea { padding: 0.85rem 1rem; resize: vertical; min-height: 140px; }
.sb-field input:focus, .sb-field select:focus, .sb-field textarea:focus { outline: 2px solid var(--wp--preset--color--gold); outline-offset: 1px; border-color: transparent; }
.sb-consent { margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--wp--preset--color--muted); }
.sb-consent input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; }
.sb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sb-form button {
	align-self: flex-start; min-height: 52px; padding: 0 2rem; border: none; border-radius: 4px;
	background: var(--wp--preset--color--ink); color: #FFFFFF; font: inherit; font-weight: 700; cursor: pointer;
}
.sb-form button:hover { background: #2A2A2D; }
.sb-notice { padding: 1rem 1.25rem; border-radius: 4px; font-weight: 600; }
.sb-notice.is-success { background: #E7F4EA; color: #1E5A2B; }
.sb-notice.is-error { background: #FBE9E7; color: #8A1F11; }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 781px) {
	.sb-hide-mobile { display: none !important; }
	.sb-header .sb-header-phone { display: none; }
}

/* Mehr Luft zwischen den Hauptelementen einer Sektion */
.sb-section > * + * { margin-block-start: 2.5rem !important; }

/* Illustration */
.sb-illu { margin-top: 1.5rem !important; }
.sb-illu img { width: 100%; max-width: 440px; height: auto; }

/* Buttons auf orangem Hintergrund */
.is-style-card-accent .wp-block-button__link { background: var(--wp--preset--color--ink) !important; color: #fff !important; }
.is-style-card-accent .wp-block-button__link:hover { background: #000 !important; }

/* Netzwerkplan und Anfahrtsplan */
.sb-illu img { max-width: 100%; border-radius: 4px; }
.sb-map { margin-top: 0 !important; }
.sb-map img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 6px 24px rgba(18,18,18,0.06); }

/* =====================================================================
   Design 3.0 – „Plan und Präzision“
   Aufbau aus Konzept A, Kontrast Anthrazit/Orange, Schrift Plus Jakarta Sans
   ===================================================================== */

/* Kopfzeile: größeres Logo, Telefonnummer als Text */
.sb-header .sb-logo img { width: 260px !important; height: auto; }
.sb-header-phone { margin: 0; padding-left: 1.75rem; border-left: 1px solid var(--wp--preset--color--line); font-weight: 800; font-size: 1rem; white-space: nowrap; }
.sb-header-phone a { color: var(--wp--preset--color--ink); text-decoration: none; }
.sb-header-phone a:hover { color: var(--wp--preset--color--gold-dark); }
@media (max-width: 781px) {
	.sb-header .sb-logo img { width: 190px !important; }
	.sb-header-phone { padding-left: 0; border-left: 0; }
}

/* Etiketten über Überschriften: normale Schreibweise statt Großbuchstaben */
.sb-eyebrow { text-transform: none !important; letter-spacing: 0 !important; font-size: 1rem !important; font-weight: 700 !important; }
p.sb-tag { text-transform: none; letter-spacing: 0; font-size: 0.9375rem; }

/* Kacheln werden zu ruhigen Textblöcken mit Linie oben */
.is-style-card,
.is-style-card-dark {
	background: transparent !important;
	border: 0 !important;
	border-top: 1px solid var(--wp--preset--color--line) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 1.5rem 0 0 !important;
}
.is-style-card-dark { border-top: 3px solid var(--wp--preset--color--gold) !important; }
.is-style-card:has(.sb-more):hover,
.is-style-card-dark:has(.sb-more):hover { transform: none; }
.is-style-card h3, .is-style-card-dark h3 { font-size: 1.25rem; }
[class*="sb-icon-"]::before { display: none !important; }

/* Kacheln auf Anthrazit */
.has-anthracite-background-color .is-style-card,
.has-anthracite-dark-background-color .is-style-card { border-top-color: rgba(255,255,255,0.2) !important; }
.has-anthracite-background-color .is-style-card h3,
.has-anthracite-background-color .is-style-card-dark h3,
.has-anthracite-dark-background-color .is-style-card h3 { color: #FFFFFF; }
.has-anthracite-background-color .is-style-card p,
.has-anthracite-background-color .is-style-card-dark p,
.has-anthracite-dark-background-color .is-style-card p { color: #C9CDD1; }
.has-anthracite-background-color .sb-eyebrow { color: var(--wp--preset--color--gold); }
.has-anthracite-background-color .sb-lead { color: #D6D8DC; }

/* Hinweisbox: hell mit orangem Rand links statt oranger Fläche */
.is-style-card-accent {
	background: var(--wp--preset--color--surface) !important;
	color: var(--wp--preset--color--ink) !important;
	border-left: 6px solid var(--wp--preset--color--gold);
	border-radius: 4px !important;
}
.has-surface-background-color .is-style-card-accent { background: var(--wp--preset--color--base) !important; }
.is-style-card-accent p { color: var(--wp--preset--color--muted) !important; }

/* Große Kästen und Partner: kleine Radien */
.is-style-panel-dark { border-radius: 4px !important; }
.is-style-pill { border-radius: 3px !important; }

/* Verzeichnis-Zeilen (z. B. Leistungen auf der Startseite) */
.sb-index { gap: 0 !important; }
.sb-index > .sb-zeile {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
	gap: 2rem;
	align-items: baseline;
	padding: 1.75rem 0;
	border-top: 1px solid var(--wp--preset--color--line);
	position: relative;
	margin: 0 !important;
}
.sb-index > .sb-zeile:last-child { border-bottom: 1px solid var(--wp--preset--color--line); }
.sb-zeile h3 { font-size: 1.5rem; margin: 0; }
.sb-zeile h3 a { color: var(--wp--preset--color--ink); text-decoration: none; }
.sb-zeile h3 a::after { content: ""; position: absolute; inset: 0; }
.sb-zeile h3 a:focus-visible::after { outline: 2px solid var(--wp--preset--color--gold); outline-offset: 4px; }
.sb-zeile:hover h3 a { color: var(--wp--preset--color--gold-dark); }
.sb-zeile p { margin: 0 !important; color: var(--wp--preset--color--muted); }
@media (max-width: 781px) { .sb-index > .sb-zeile { grid-template-columns: 1fr; gap: 0.4rem; } }

/* Kennzahlenleiste unter dem Einstieg */
.sb-fakten { border-bottom: 1px solid var(--wp--preset--color--line); }
.sb-fakten-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 !important; }
.sb-fakten-grid > * { padding: 1.6rem 1.75rem 1.75rem; border-right: 1px solid var(--wp--preset--color--line); margin: 0 !important; }
.sb-fakten-grid > *:first-child { padding-left: 0; }
.sb-fakten-grid > *:last-child { border-right: 0; }
p.sb-fakt { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
.sb-fakten-grid p:not(.sb-fakt) { font-size: 0.9375rem; color: var(--wp--preset--color--muted); margin: 0.25rem 0 0; }
@media (max-width: 781px) {
	.sb-fakten-grid { grid-template-columns: 1fr 1fr; }
	.sb-fakten-grid > * { padding: 1.25rem 0; border-right: 0; border-bottom: 1px solid var(--wp--preset--color--line); }
	.sb-fakten-grid > *:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Netzwerkplan im Einstieg */
.sb-hero-plan img { width: 100%; height: auto; }

/* Hinweisbox: Überschrift etwas kleiner */
.is-style-card-accent h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* =====================================================================
   Design 3.1 – Mittelweg: Punkte wieder klar abgegrenzt
   ===================================================================== */
.is-style-card,
.is-style-card-dark {
	background: var(--wp--preset--color--surface) !important;
	border: 0 !important;
	border-top: 3px solid #C9CDD2 !important;
	border-radius: 6px !important;
	padding: 1.5rem 1.6rem 1.6rem !important;
}
.is-style-card-dark { border-top-color: var(--wp--preset--color--gold) !important; }
.has-surface-background-color .is-style-card,
.has-surface-background-color .is-style-card-dark { background: var(--wp--preset--color--base) !important; }

/* auf Anthrazit: leicht aufgehellte Flächen */
.has-anthracite-background-color .is-style-card,
.has-anthracite-background-color .is-style-card-dark,
.has-anthracite-dark-background-color .is-style-card { background: rgba(255,255,255,0.06) !important; }

/* Leistungs-Verzeichnis: jede Zeile als eigene Fläche */
.sb-index { gap: 0.75rem !important; }
.sb-index > .sb-zeile {
	background: var(--wp--preset--color--surface);
	border: 0;
	border-left: 4px solid #C9CDD2;
	border-radius: 6px;
	padding: 1.4rem 1.6rem;
	transition: border-color .15s ease, background-color .15s ease;
}
.sb-index > .sb-zeile:last-child { border-bottom: 0; }
.sb-index > .sb-zeile:hover { border-left-color: var(--wp--preset--color--gold); background: #ECEEF1; }
.sb-zeile h3 { font-size: 1.3rem; }

/* Leistungen: Überschrift oben, Bereiche in zwei Spalten */
.sb-leistungen > .wp-block-group:first-child { max-width: 720px; }
.sb-index { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem !important; }
.sb-index > .sb-zeile { grid-template-columns: 1fr; gap: 0.5rem; align-content: start; }
@media (max-width: 781px) { .sb-index { grid-template-columns: 1fr; } }

/* Design 3.2 – alle Akzentlinien einheitlich in Orange */
.is-style-card,
.is-style-card-dark { border-top-color: var(--wp--preset--color--gold) !important; }
.sb-index > .sb-zeile { border-left-color: var(--wp--preset--color--gold); }
.sb-index > .sb-zeile:hover { border-left-color: var(--wp--preset--color--gold-dark); background: #ECEEF1; }

/* Design 3.3 – Telefonnummer am Handy sichtbar */
@media (max-width: 781px) {
	.sb-header .sb-logo img { width: 158px !important; }
	.sb-header .sb-header-phone { display: block !important; order: -1; font-size: 0.9375rem; padding: 0 !important; border: 0 !important; }
}

/* Design 3.3 – ruhiger Abschluss auf den Unterseiten statt dunklem Kasten */
.sb-cta-section { padding-top: 0 !important; }
.sb-cta {
	border-top: 3px solid var(--wp--preset--color--gold);
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 2.25rem 0 !important;
}
.sb-cta h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; }
.sb-cta p { color: var(--wp--preset--color--muted); margin: 0; }
.sb-cta .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); }
