/* SH Fachbetriebe – Styling im Magazin-Look von plugged.de. Mobile first.
 *
 * Die Werte unten sind aus dem Theme „plugged" abgeleitet
 * (wp-content/themes/plugged/assets/css/main.css, Stand 09/2026):
 *   Papier      --paper #FBFAF8, --paper-2 #F4F2EC, --surface #ffffff
 *   Tinte       --ink #1A1815, --black #141210 (Primärbutton-Hintergrund)
 *   Gold (Logo) --gold #9C8A5C, --gold-deep #857547 (Textlinks, Rahmen-Buttons)
 *   Haarlinie   --hair #E6E3DD, gedämpfter Text --muted #6B655C, --faint #a49d92
 *   Schrift     Fließtext und Überschriften Serif (Georgia …, font-weight 400),
 *               Labels/Buttons/Kicker Sans (Helvetica Neue …), 11 px, 600, uppercase,
 *               letter-spacing .16–.2em; Zahlen „Spline Sans Mono"
 *   Buttons     eckig (kein Radius), .btn-primary schwarz/weiß, .magazine-btn goldener
 *               1px-Rahmen mit gold-deep-Schrift; keine Schatten
 *   Radien      im Theme nur 3–4 px bei Kleinelementen → hier 2–3 px
 *   Links       im Artikeltext gold-deep, unterstrichen, underline-offset 3px
 * Fällt das Theme weg, greifen die Fallback-Werte der var()-Aufrufe.
 */

.sh-fb {
	--sh-paper: var(--paper, #FBFAF8);
	--sh-paper-2: var(--paper-2, #F4F2EC);
	--sh-surface: var(--surface, #ffffff);
	--sh-ink: var(--ink, #1A1815);
	--sh-black: var(--black, #141210);
	--sh-gold: var(--gold, #9C8A5C);
	--sh-gold-deep: var(--gold-deep, #857547);
	--sh-hair: var(--hair, #E6E3DD);
	--sh-muted: var(--muted, #6B655C);
	--sh-faint: var(--faint, #a49d92);
	--sh-sans: var(--sans, "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif);
	--sh-num: var(--font-num, "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace);
	/* abgeleitet */
	--sh-accent: var(--sh-gold-deep);
	--sh-border: var(--sh-hair);
	--sh-radius: 3px;
	--sh-radius-sm: 2px;
	--sh-gap: 1.25rem;
	--sh-error: #9b2c22;
	--sh-ok: #3d6b3f;
	box-sizing: border-box;
	max-width: 72rem;
	margin: 0 auto;
	line-height: 1.5;
	color: inherit;
}
.sh-fb *,
.sh-fb *::before,
.sh-fb *::after { box-sizing: inherit; }

/* Theme „plugged": auf Profilseiten die leere 290-px-Aside-Spalte des Artikel-Rasters freigeben,
   damit Inhalt + Kontaktkasten die volle Artikelbreite (max. 1040 px) nutzen. */
body.sh-fb-profile-page .article-grid { display: block; }
body.sh-fb-profile-page .article-main { max-width: none; }

/* Das Theme setzt in .article-body img { width:100%; margin:1.8em 0 .6em } – hier neutralisieren. */
.sh-fb img { width: auto; max-width: 100%; height: auto; margin: 0; display: block; }

.sh-fb-container { max-width: 72rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }

.sh-fb-muted { color: var(--sh-muted); font-weight: 400; }
.sh-fb-small { font-size: 0.85em; }
.sh-fb-req { color: var(--sh-error); }
.sh-fb-visually-hidden {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* Kicker / Labels: Kapitälchen-Anmutung wie .eyebrow im Theme */
.sh-fb-kicker,
.sh-fb-filter-label,
.sh-fb-label {
	font-family: var(--sh-sans); font-size: 11px; font-weight: 600; line-height: 1.4;
	letter-spacing: 0.18em; text-transform: uppercase; color: var(--sh-gold-deep);
}

/* Textlinks in der Akzentfarbe des Themes */
.sh-fb a:not(.sh-fb-btn) {
	color: var(--sh-gold-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.sh-fb a:not(.sh-fb-btn):hover { color: var(--sh-ink); }

/* Buttons – eckig wie im Theme, minimaler Radius, keine Schatten */
.sh-fb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
	padding: 0.75rem 1.3rem; border-radius: var(--sh-radius-sm); border: 1px solid var(--sh-black);
	font-family: var(--sh-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	line-height: 1.2; cursor: pointer; text-decoration: none; box-shadow: none; background: transparent;
	transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
}
.sh-fb-btn-primary { background: var(--sh-black); color: #fff; border-color: var(--sh-black); }
.sh-fb-btn-primary:hover, .sh-fb-btn-primary:focus { background: #2c2822; color: #fff; }
.sh-fb-btn-secondary { background: transparent; color: var(--sh-gold-deep); border-color: var(--sh-gold); }
.sh-fb-btn-secondary:hover, .sh-fb-btn-secondary:focus { background: var(--sh-gold); color: #fff; border-color: var(--sh-gold); }
.sh-fb-btn-link {
	background: transparent; border-color: transparent; color: var(--sh-gold-deep);
	padding-left: 0.2rem; padding-right: 0.2rem; text-transform: none; letter-spacing: 0.02em; font-size: 0.9rem; font-weight: 500;
	text-decoration: underline; text-underline-offset: 3px;
}
.sh-fb-btn-link:hover, .sh-fb-btn-link:focus { color: var(--sh-ink); }
.sh-fb-btn-block { width: 100%; }
.sh-fb-btn[disabled] { opacity: 0.6; cursor: wait; }
.sh-fb-btn:focus-visible { outline: 2px solid var(--sh-gold); outline-offset: 2px; }

/* Chips – flach, 1px-Rahmen, kleiner Radius */
.sh-fb .sh-fb-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sh-fb .sh-fb-chips li { margin: 0; }
.sh-fb-chip {
	display: inline-flex; align-items: center; padding: 0.3rem 0.65rem; border-radius: var(--sh-radius-sm);
	border: 1px solid var(--sh-border); background: transparent; color: var(--sh-ink);
	font-family: var(--sh-sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.3;
}
.sh-fb .sh-fb-chip a { color: inherit; text-decoration: none; }
.sh-fb-chip:hover { border-color: var(--sh-gold); color: var(--sh-gold-deep); }
.sh-fb .sh-fb-chip a:hover { color: var(--sh-gold-deep); }
.sh-fb-chips-systeme .sh-fb-chip { color: var(--sh-muted); font-weight: 500; }

/* Auswahl-Chips (Checkbox in Label) */
.sh-fb-chipgroup { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sh-fb-chip-input { cursor: pointer; user-select: none; position: relative; }
.sh-fb-chip-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sh-fb-chip-input:has(input:checked) { background: var(--sh-ink); border-color: var(--sh-ink); color: #fff; }
.sh-fb-chip-input:has(input:focus-visible) { outline: 2px solid var(--sh-gold); outline-offset: 2px; }
.sh-fb-chip-input.is-checked { background: var(--sh-ink); border-color: var(--sh-ink); color: #fff; } /* Fallback ohne :has */

/* Boxen */
.sh-fb-box { border: 1px solid var(--sh-border); border-radius: var(--sh-radius); padding: 1rem 1.25rem; margin: 0 0 1.25rem; background: var(--sh-surface); }
.sh-fb-box h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.sh-fb-box p:last-child { margin-bottom: 0; }
.sh-fb-box-warn { border-color: var(--sh-gold); background: var(--sh-paper-2); }
.sh-fb-box-info { border-color: var(--sh-border); background: var(--sh-paper-2); }
.sh-fb-box-success { border-color: var(--sh-ok); background: var(--sh-paper-2); }

/* Suche */
.sh-fb-search { margin: 0 0 1.5rem; }
.sh-fb-search-row { display: flex; gap: 0.5rem; }
.sh-fb-search-row input[type="search"] {
	flex: 1 1 auto; min-width: 0; padding: 0.7rem 0.9rem; border: 1px solid var(--sh-border);
	border-radius: var(--sh-radius-sm); font: inherit; font-size: 1rem; background: var(--sh-surface); color: var(--sh-ink); box-shadow: none;
	-webkit-appearance: none; appearance: none;
}
.sh-fb-search-row input[type="search"]:focus { outline: 2px solid var(--sh-gold); outline-offset: 1px; border-color: var(--sh-gold); }
.sh-fb-filters { margin-top: 0.75rem; border-top: 1px solid var(--sh-border); border-bottom: 1px solid var(--sh-border); padding: 0.5rem 0; }
.sh-fb-filters summary { cursor: pointer; padding: 0.35rem 0; font-family: var(--sh-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sh-ink); }
.sh-fb-badge { display: inline-block; min-width: 1.4em; padding: 0 0.4em; margin-left: 0.4em; border-radius: var(--sh-radius-sm); background: var(--sh-ink); color: #fff; font-family: var(--sh-num); font-size: 0.7rem; letter-spacing: 0; text-align: center; line-height: 1.5em; }
.sh-fb-filter-group { margin: 0.9rem 0; }
.sh-fb-filter-label { margin-bottom: 0.5rem; }
.sh-fb-filter-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 0.9rem 0 0.5rem; }

.sh-fb-result-meta p { margin: 0 0 1rem; color: var(--sh-muted); }
.sh-fb-result-meta strong { color: var(--sh-ink); font-weight: 600; }

/* Karten – ruhig, dünne Trennlinien, Serif-Titel vom Theme */
.sh-fb .sh-fb-cards { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--sh-gap); }
.sh-fb-card {
	margin: 0; border: 1px solid var(--sh-border); border-radius: var(--sh-radius); padding: 1.1rem 1.2rem;
	display: flex; flex-direction: column; gap: 0.7rem; background: var(--sh-surface); box-shadow: none; transition: border-color 0.15s;
}
.sh-fb-card:hover { border-color: var(--sh-gold); }
.sh-fb-card-head { display: flex; gap: 0.85rem; align-items: flex-start; }
.sh-fb-card-logo { width: 56px; height: 56px; object-fit: contain; border-radius: var(--sh-radius-sm); border: 1px solid var(--sh-border); background: #fff; flex: 0 0 auto; padding: 4px; }
.sh-fb-card-title { margin: 0; font-size: 1.2rem; line-height: 1.25; font-weight: 400; }
.sh-fb .sh-fb-card-title a { color: inherit; text-decoration: none; }
.sh-fb .sh-fb-card-title a:hover { color: var(--sh-gold-deep); }
.sh-fb-card-place { color: var(--sh-muted); font-size: 0.9rem; margin-top: 0.15rem; }
.sh-fb-card-systems { font-size: 0.9rem; color: var(--sh-muted); border-top: 1px solid var(--sh-border); padding-top: 0.6rem; }
.sh-fb-card-link { margin-top: auto; align-self: flex-start; font-family: var(--sh-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.sh-fb a.sh-fb-card-link { color: var(--sh-gold-deep); text-decoration: none; }
.sh-fb a.sh-fb-card-link:hover { color: var(--sh-ink); }

.sh-fb-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin: 1rem 0 1.5rem; padding-top: 1rem; border-top: 1px solid var(--sh-border); }
.sh-fb-pagination-info { color: var(--sh-muted); font-family: var(--sh-num); font-size: 0.85rem; }
.sh-fb-cta { margin-top: 2rem; border-top: 1px solid var(--sh-border); padding-top: 1rem; font-size: 0.9rem; }

/* Profil */
.sh-fb-breadcrumb { font-family: var(--sh-sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sh-muted); display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.sh-fb .sh-fb-breadcrumb a { text-decoration: none; }
.sh-fb-profile-head { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 1.75rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--sh-border); }
.sh-fb-profile-logo { width: 96px; height: 96px; object-fit: contain; border-radius: var(--sh-radius); border: 1px solid var(--sh-border); background: #fff; flex: 0 0 auto; padding: 6px; }
.sh-fb-kicker { margin: 0 0 0.35rem; }
.sh-fb-profile-title { margin: 0 0 0.25rem; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.12; font-weight: 400; }
.sh-fb-profile-place { margin: 0; color: var(--sh-muted); }

.sh-fb-profile-body { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.sh-fb-profile-main { min-width: 0; container-type: inline-size; }
.sh-fb-section { margin: 0 0 1.75rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--sh-border); }
.sh-fb-section:last-child { border-bottom: 0; padding-bottom: 0; }
.sh-fb-section h2 { font-size: 1.35rem; line-height: 1.2; margin: 0 0 0.75rem; font-weight: 400; }
.sh-fb-list { margin: 0; padding-left: 1.2rem; columns: 1; }
.sh-fb-list li { margin: 0 0 0.3rem; break-inside: avoid; }
.sh-fb-prose p { margin: 0 0 0.9rem; }
.sh-fb-prose p:last-child { margin-bottom: 0; }

/* Projekte */
.sh-fb .sh-fb-project-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1.5rem 1.25rem; }
.sh-fb .sh-fb-project { margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.sh-fb .sh-fb-project-media, .article-body .sh-fb .sh-fb-project-media {
	margin: 0; padding: 0; width: 100%; aspect-ratio: 16 / 10; height: auto; max-height: none; overflow: hidden; border-radius: var(--sh-radius-sm);
	background: var(--sh-paper-2); border: 1px solid var(--sh-border); display: block; position: relative;
}
.sh-fb .sh-fb-project-media img, .article-body .sh-fb .sh-fb-project-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; margin: 0; border: 0; border-radius: 0; }
.sh-fb .sh-fb-project-media figcaption { display: none; }
.sh-fb-project-placeholder { display: flex; align-items: center; justify-content: center; background: #e9e6e0; }
.sh-fb-project-placeholder .sh-fb-kicker { margin: 0; color: var(--sh-muted); }
.sh-fb-project-title { margin: 0.25rem 0 0; font-size: 1.05rem; line-height: 1.3; font-weight: 400; }
.sh-fb-project-meta { margin: 0; font-family: var(--sh-sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sh-muted); }
.sh-fb-project-text { margin: 0; font-size: 0.95rem; color: var(--sh-muted); }

/* Kontaktkasten – schlichter 1px-Rahmen, kein Balken, kein Schatten */
.sh-fb-contactbox { border: 1px solid var(--sh-border); border-radius: var(--sh-radius); padding: 1.1rem 1.2rem; background: var(--sh-surface); box-shadow: none; }
.sh-fb-contactbox h2 { font-size: 1.15rem; margin: 0 0 0.75rem; font-weight: 400; }
.sh-fb-contactbox address { font-style: normal; margin: 0 0 0.9rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--sh-border); }
.sh-fb-dl { margin: 0 0 1rem; font-size: 0.95rem; }
.sh-fb-dl dt { font-family: var(--sh-sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sh-muted); margin: 0.7rem 0 0.1rem; }
.sh-fb-dl dt:first-child { margin-top: 0; }
.sh-fb-dl dd { margin: 0; overflow-wrap: anywhere; }
.sh-fb-profile-foot { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--sh-border); }

/* Formular (Anmeldung) */
.sh-fb-fieldset { border: 1px solid var(--sh-border); border-radius: var(--sh-radius); padding: 1rem 1.1rem 1.1rem; margin: 0 0 1.25rem; min-width: 0; background: var(--sh-surface); }
.sh-fb-fieldset legend { padding: 0 0.4rem; font-family: var(--sh-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sh-gold-deep); }
.sh-fb-grid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.sh-fb-field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.sh-fb-field label { font-weight: 600; font-size: 0.92rem; }
.sh-fb-field input[type="text"], .sh-fb-field input[type="email"], .sh-fb-field input[type="tel"],
.sh-fb-field input[type="url"], .sh-fb-field input[type="number"], .sh-fb-field select, .sh-fb-field textarea {
	width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--sh-border); border-radius: var(--sh-radius-sm);
	font: inherit; font-size: 1rem; background: var(--sh-surface); color: inherit; box-shadow: none;
}
.sh-fb-field input:focus, .sh-fb-field select:focus, .sh-fb-field textarea:focus { outline: 2px solid var(--sh-gold); outline-offset: 1px; border-color: var(--sh-gold); }
.sh-fb-field .is-invalid { border-color: var(--sh-error); }
.sh-fb-field-error { color: var(--sh-error); font-size: 0.85rem; }
.sh-fb-counter { font-size: 0.8rem; color: var(--sh-muted); text-align: right; font-family: var(--sh-num); }
.sh-fb-check { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.6rem 0; font-weight: 400; cursor: pointer; }
.sh-fb-check input { margin-top: 0.3rem; flex: 0 0 auto; }
.sh-fb-check-inline { margin-top: 0.3rem; font-size: 0.9rem; }
.sh-fb-error { color: var(--sh-error); }
.sh-fb-form-error { border: 1px solid var(--sh-error); border-radius: var(--sh-radius); padding: 0.75rem 1rem; margin: 0 0 1rem; background: var(--sh-paper-2); }
.sh-fb-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Spinner */
.sh-fb-spinner {
	display: inline-block; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent;
	border-radius: 50%; animation: sh-fb-spin 0.8s linear infinite; vertical-align: -0.15em;
}
@keyframes sh-fb-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sh-fb-spinner { animation: none; } }

/* Breakpoints */
@media (min-width: 600px) {
	.sh-fb .sh-fb-cards { grid-template-columns: repeat(2, 1fr); }
	.sh-fb-grid { grid-template-columns: repeat(2, 1fr); }
	.sh-fb-col-2 { grid-column: span 2; }
	.sh-fb-list { columns: 2; column-gap: 2rem; }
	.sh-fb .sh-fb-project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
	.sh-fb .sh-fb-cards { grid-template-columns: repeat(3, 1fr); }
	.sh-fb-profile-body { grid-template-columns: minmax(0, 1fr) minmax(14rem, 17rem); align-items: start; }
	.sh-fb-profile-side { position: sticky; top: 5rem; }
}
@media (min-width: 1400px) {
	.sh-fb .sh-fb-project-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Kein eigener Dunkelmodus: Das Theme von plugged.de hat keinen, die Seite
 * bleibt also hell, auch wenn das Betriebssystem des Besuchers dunkel steht.
 * Eine eigene Dunkelvariante hat hier helle Schrift auf hellem Grund erzeugt
 * und Bereiche, Systeme und Beschriftungen unlesbar gemacht. */


.sh-fb-spinner[hidden], .sh-fb-form [hidden], .sh-fb-signup [hidden] { display: none !important; }

/* ------------------------------------------------------------------ */
/* Referenzen (Shortcode [sh_referenzen], z. B. Rubrikseite Smart Homes) */
/* ------------------------------------------------------------------ */
.sh-fb-referenzen { margin: 2.5rem 0; }
.sh-fb .sh-fb-referenzen-title { margin: 0 0 0.35rem; }
.sh-fb .sh-fb-referenzen-intro { margin: 0 0 1.5rem; color: var(--sh-muted); max-width: 46rem; }
.sh-fb .sh-fb-referenz-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 2rem 1.5rem; }
.sh-fb .sh-fb-referenz { margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.sh-fb .sh-fb-referenz-body { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.sh-fb .sh-fb-referenz-figure { margin: 0 0 0.35rem; padding: 0; }
.sh-fb .sh-fb-referenz-media, .article-body .sh-fb .sh-fb-referenz-media {
	margin: 0; padding: 0; width: 100%; aspect-ratio: 16 / 10; height: auto; max-height: none;
	overflow: hidden; border-radius: var(--sh-radius-sm); background: var(--sh-paper-2);
	border: 1px solid var(--sh-border); display: block; position: relative;
}
.sh-fb .sh-fb-referenz-media a { display: block; width: 100%; height: 100%; }
.sh-fb .sh-fb-referenz-placeholder { background: var(--sh-paper-2); }
.sh-fb .sh-fb-referenz-media img, .article-body .sh-fb .sh-fb-referenz-media img {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover;
	display: block; margin: 0; border: 0; border-radius: 0; transition: transform 0.4s ease;
}
.sh-fb .sh-fb-referenz-media a:hover img { transform: scale(1.02); }
.sh-fb .sh-fb-referenz-kicker { margin: 0; color: var(--sh-gold-deep); }
.sh-fb .sh-fb-referenz-title { margin: 0; font-size: 1.15rem; line-height: 1.28; font-weight: 400; }
.sh-fb .sh-fb-referenz-title a { text-decoration: none; color: var(--sh-ink); }
.sh-fb .sh-fb-referenz-title a:hover, .sh-fb .sh-fb-referenz-title a:focus { color: var(--sh-gold-deep); }
.sh-fb .sh-fb-referenz-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sh-fb .sh-fb-referenz-meta {
	margin: 0; font-family: var(--sh-sans); font-size: 11px; letter-spacing: 0.1em;
	text-transform: uppercase; color: var(--sh-muted);
}
.sh-fb .sh-fb-referenz-text { margin: 0.25rem 0 0; color: var(--sh-muted); font-size: 0.97rem; }
.sh-fb .sh-fb-referenzen-more { margin: 1.75rem 0 0; }

@media (min-width: 700px) {
	.sh-fb .sh-fb-referenz-grid { grid-template-columns: repeat(2, 1fr); }
	.sh-fb-layout-magazin .sh-fb-referenz-lead {
		grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr;
		column-gap: 2rem; row-gap: 0; align-items: start;
	}
	.sh-fb-layout-magazin .sh-fb-referenz-lead > .sh-fb-referenz-figure,
	.sh-fb-layout-magazin .sh-fb-referenz-lead > .sh-fb-referenz-media { margin-bottom: 0; }
	.sh-fb-layout-magazin .sh-fb-referenz-lead .sh-fb-referenz-title { font-size: 1.5rem; margin-top: 0.15rem; }
	.sh-fb-layout-magazin .sh-fb-referenz-lead .sh-fb-referenz-text { font-size: 1rem; margin-top: 0.5rem; }
}
@media (min-width: 1000px) {
	.sh-fb-layout-raster .sh-fb-referenz-grid { grid-template-columns: repeat(3, 1fr); }
}
.sh-fb .sh-fb-referenz-sub { margin: 0; color: var(--sh-ink); font-size: 1.02rem; }
.sh-fb .sh-fb-credit {
	margin: 0.15rem 0 0; font-family: var(--sh-sans); font-size: 10px; letter-spacing: 0.08em;
	text-transform: uppercase; color: var(--sh-faint, var(--sh-muted));
}

/* Umkreissuche: Entfernung, Gruppen, Hinweise */
.sh-fb .sh-fb-card-head { justify-content: space-between; }
.sh-fb-distance {
	flex: 0 0 auto;
	font-family: var(--sh-num);
	font-size: 0.8rem;
	color: var(--sh-gold-deep);
	white-space: nowrap;
	padding-top: 0.25rem;
}
.sh-fb .sh-fb-group-title {
	font-size: 0.95rem;
	font-weight: 400;
	font-family: var(--sh-sans);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sh-muted);
	margin: 2rem 0 0.9rem;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid var(--sh-border);
}
.sh-fb .sh-fb-group-title:first-of-type { margin-top: 0.5rem; }
.sh-fb .sh-fb-search-hint { font-size: 0.85rem; margin: 0.5rem 0 0.25rem; }
.sh-fb .sh-fb-chip-more { color: var(--sh-muted); }

/* Karten mit Projektbild */
.sh-fb .sh-fb-card { padding: 0; gap: 0; overflow: hidden; }
.sh-fb .sh-fb-card-body {
	display: flex; flex-direction: column; gap: 0.7rem;
	padding: 1.1rem 1.2rem; flex: 1 1 auto;
}
.sh-fb .sh-fb-card-figure {
	display: block; position: relative; aspect-ratio: 16 / 9;
	overflow: hidden; background: var(--sh-paper-2);
	border-bottom: 1px solid var(--sh-border);
	margin: 0; text-decoration: none;
}
.sh-fb .sh-fb-card-figure img {
	position: absolute; inset: 0; display: block;
	width: 100%; height: 100%; max-width: none; margin: 0;
	object-fit: cover; border: 0; border-radius: 0;
	transition: transform 0.45s ease;
}
.sh-fb .sh-fb-card-has-project:hover .sh-fb-card-figure img { transform: scale(1.03); }
.sh-fb .sh-fb-card-figure-label {
	position: absolute; left: 0; bottom: 0;
	background: var(--sh-black); color: #fff;
	font-family: var(--sh-sans); font-size: 10px; font-weight: 600;
	letter-spacing: 0.16em; text-transform: uppercase;
	padding: 0.35rem 0.6rem;
}
.sh-fb .sh-fb-card-has-project { border-color: var(--sh-gold); }
.sh-fb .sh-fb-card-project { margin: 0; font-size: 0.95rem; line-height: 1.35; }
.sh-fb .sh-fb-card-project a { color: var(--sh-ink); text-decoration: none; }
.sh-fb .sh-fb-card-project a:hover { color: var(--sh-gold-deep); text-decoration: underline; }
.sh-fb .sh-fb-chips-bereiche { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.sh-fb .sh-fb-card-systems { margin-top: auto; }
.sh-fb .sh-fb-card-link { margin-top: 0; }
.sh-fb .sh-fb-group-title-featured { margin-top: 0.5rem; color: var(--sh-ink); border-bottom-color: var(--sh-gold); }
.sh-fb .sh-fb-group-title-land { margin-top: 1.6rem; }

/* Projekteinreichung */
.sh-fb-projekt-intro { font-size: 1.15rem; margin-bottom: 0.4rem; }
.sh-fb .sh-fb-projekt-liste ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.sh-fb .sh-fb-projekt-liste li { font-size: 0.92rem; color: var(--sh-muted); margin-bottom: 0.2rem; }
.sh-fb .sh-fb-req {
	font-family: var(--sh-sans); font-size: 10px; font-weight: 600;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--sh-gold-deep);
	margin-left: 0.4rem;
}
.sh-fb-projekt-vorschau { margin-top: 0.7rem; }
.sh-fb .sh-fb-projekt-vorschau img {
	display: block; width: 100%; max-width: 420px; height: auto;
	border: 1px solid var(--sh-border); border-radius: var(--sh-radius-sm); margin: 0 0 0.4rem;
}
.sh-fb .sh-fb-checkfield { margin-top: 0.4rem; }
.sh-fb .sh-fb-check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; line-height: 1.45; }
.sh-fb .sh-fb-check input { margin-top: 0.25rem; flex: 0 0 auto; }
.sh-fb .sh-fb-hint { font-size: 0.85rem; color: var(--sh-muted); margin: 0.25rem 0 0; }

/* Projektformular: Dateiauswahl und Rechtehinweis ruhiger setzen */
.sh-fb .sh-fb-field input[type="file"] { margin-top: 0.45rem; }
.sh-fb .sh-fb-check span { font-weight: 400; }

/* Projektformular: Kennzeichnung freiwilliger Felder. */
.sh-fb .sh-fb-optional {
	font-family: var(--sh-sans); font-size: 10px; font-weight: 600;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--sh-muted);
	margin-left: 0.4rem;
}
