/*
Theme Name:   ScanHub Child
Theme URI:    https://zell-scanhub.de/
Description:  ZELL ScanHub – Child-Theme zu Bricks. Design-Tokens (--sh-*) und globale Klassen (sh-*) nach der Konvention von zell-aufmass.de (design-tokens-vorgabe.md). Schriften lokal. Keine externen Dienste.
Author:       Sebastian Zell CAD- und Aufmaß Service
Template:     bricks
Version:      1.1.0
Text Domain:  scanhub-child
*/

/* ---------- Schriften (lokal, WOFF2) ---------- */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(assets/fonts/archivo-normal-400.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(assets/fonts/fraunces-normal-400.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(assets/fonts/fraunces-italic-400.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/plex-mono-400.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(assets/fonts/plex-mono-500.woff2) format('woff2'); }

/* ---------- Design-Tokens ---------- */
:root {
  --sh-primary:       #0F2340;  /* Nachtblau */
  --sh-primary-dark:  #0A1830;
  --sh-accent:        #FF6B1A;  /* Signalorange: nur Fläche, nie Schrift auf Weiß */
  --sh-accent-hover:  #E85E12;
  --sh-family:        #1D3E8F;  /* ZELL-Blau: Links */
  --sh-family-dark:   #142C66;
  --sh-ok:            #0E7C66;  /* Messgrün */
  --sh-bg:            #FFFFFF;
  --sh-bg-alt:        #E9ECEF;  /* Betongrau */
  --sh-bg-soft:       #F5F6F8;
  --sh-text:          #1F2328;  /* Anthrazit */
  --sh-text-muted:    #4B5563;
  --sh-text-on-dark:  #FFFFFF;
  --sh-text-on-accent:#0F2340;
  --sh-border:        #D3D8DF;
  --sh-error:         #B42318;

  --sh-font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sh-font-head: 'Fraunces', Georgia, serif;
  --sh-font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --sh-fs-h1: clamp(2.1rem, 1.4rem + 2.2vw, 3.4rem);
  --sh-fs-h2: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
  --sh-fs-h3: 1.35rem;
  --sh-fs-body: 1.0625rem;
  --sh-fs-small: .9rem;
  --sh-lh-body: 1.65;

  --sh-space-section: clamp(3.5rem, 2rem + 4vw, 6.5rem);
  --sh-space-block: 2rem;
  --sh-radius: 10px;
  --sh-radius-btn: 999px;
  --sh-shadow: 0 8px 28px rgba(15, 35, 64, .10);
  --sh-container: 1200px;
}

/* ---------- Basis ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { font-family: var(--sh-font-body); font-size: var(--sh-fs-body); line-height: var(--sh-lh-body); color: var(--sh-text); background: var(--sh-bg); overflow-x: clip; }
h1, h2, h3, h4 { font-family: var(--sh-font-head); color: var(--sh-primary); line-height: 1.15; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: var(--sh-fs-h1); } h2 { font-size: var(--sh-fs-h2); } h3 { font-size: var(--sh-fs-h3); font-family: var(--sh-font-body); font-weight: 600; } h4 { font-size: 1.1rem; font-family: var(--sh-font-body); font-weight: 600; }
p, ul, ol, table { margin: 0 0 1.1em; }
a { color: var(--sh-family); text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
a:hover { color: var(--sh-family-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--sh-accent); outline-offset: 2px; }
img, svg, video { max-width: 100%; height: auto; }
strong { font-weight: 600; }
code, .sh-mono, .sh-zahl { font-family: var(--sh-font-mono); font-variant-numeric: tabular-nums; }
.brxe-section, .brxe-container, .brxe-block { display: block; }
#brx-content { overflow-x: clip; }

/* ---------- Layout ---------- */
.sh-container { width: 100%; max-width: var(--sh-container); margin-inline: auto; padding-inline: clamp(1rem, .5rem + 2vw, 2rem); }
.sh-container--schmal { max-width: 820px; }
.sh-section { padding-block: var(--sh-space-section); }
.sh-section--alt { background: var(--sh-bg-alt); }
.sh-section--soft { background: var(--sh-bg-soft); }
.sh-section--dark { background: var(--sh-primary); color: var(--sh-text-on-dark); }
.sh-section--dark h2, .sh-section--dark h3, .sh-section--dark h4 { color: var(--sh-text-on-dark); }
.sh-section--dark a { color: #FFFFFF; }
.sh-section--flach { padding-block: calc(var(--sh-space-section) * .5); }
.sh-grid { display: grid; gap: 1.5rem; }
.sh-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .sh-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sh-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sh-grid--2, .sh-grid--3, .sh-grid--4 { grid-template-columns: 1fr; } }

/* ---------- Typografie-Klassen ---------- */
.sh-h1 { font-size: var(--sh-fs-h1); }
.sh-h2 { font-size: var(--sh-fs-h2); }
.sh-h3 { font-size: var(--sh-fs-h3); }
.sh-lead { font-size: 1.2rem; color: var(--sh-text-muted); max-width: 42em; }
.sh-section--dark .sh-lead { color: rgba(255, 255, 255, .85); }
.sh-small { font-size: var(--sh-fs-small); color: var(--sh-text-muted); }
.sh-eyebrow { font-family: var(--sh-font-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sh-family); margin-bottom: .6rem; }
.sh-section--dark .sh-eyebrow { color: var(--sh-accent); }
.sh-content { max-width: 820px; }
.sh-content h2 { margin-top: 1.8em; }
.sh-content h3 { margin-top: 1.4em; }
.sh-content ul, .sh-content ol { padding-left: 1.4em; }
.sh-content li { margin-bottom: .35em; }
.sh-content table { width: 100%; border-collapse: collapse; font-size: .96rem; display: block; overflow-x: auto; }
.sh-content thead th { background: var(--sh-primary); color: #fff; text-align: left; padding: .6rem .75rem; font-weight: 600; }
.sh-content tbody td { padding: .55rem .75rem; border-bottom: 1px solid var(--sh-border); vertical-align: top; }
.sh-content tbody tr:nth-child(even) td { background: #F8F9FA; }
.sh-content td:last-child:is(.sh-zahl), .sh-content td.sh-zahl { text-align: right; font-family: var(--sh-font-mono); white-space: nowrap; }
.sh-hinweis { border-left: 4px solid var(--sh-accent); background: var(--sh-bg-soft); padding: 1rem 1.25rem; border-radius: 0 var(--sh-radius) var(--sh-radius) 0; margin: 1.5rem 0; }
.sh-hinweis p:last-child { margin-bottom: 0; }
.sh-grenzen { border: 1px solid var(--sh-border); border-top: 4px solid var(--sh-primary); border-radius: var(--sh-radius); padding: 1.25rem 1.5rem; margin: 2rem 0; background: #fff; }
.sh-grenzen h3 { margin-top: 0; }

/* ---------- Buttons ---------- */
.sh-btn, .sh-btn.brxe-button, .bricks-button.sh-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.5rem; border-radius: var(--sh-radius-btn); font-family: var(--sh-font-body); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, box-shadow .15s; }
.sh-btn--primary, .sh-btn--primary.brxe-button, .bricks-button.sh-btn--primary { background: var(--sh-accent); color: var(--sh-text-on-accent); border-color: var(--sh-accent); }
.sh-btn--primary:hover, .sh-btn--primary.brxe-button:hover { background: var(--sh-accent-hover); border-color: var(--sh-accent-hover); color: var(--sh-text-on-accent); box-shadow: var(--sh-shadow); }
.sh-btn--ghost, .sh-btn--ghost.brxe-button, .bricks-button.sh-btn--ghost { background: transparent; color: var(--sh-primary); border-color: var(--sh-primary); }
.sh-btn--ghost:hover, .sh-btn--ghost.brxe-button:hover { background: var(--sh-primary); color: #fff; }
.sh-section--dark .sh-btn--ghost, .sh-hero .sh-btn--ghost { color: #fff; border-color: #fff; }
.sh-section--dark .sh-btn--ghost:hover, .sh-hero .sh-btn--ghost:hover { background: #fff; color: var(--sh-primary); }
.sh-btn--light { background: #fff; color: var(--sh-primary); border-color: #fff; }
.sh-btn-reihe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Karten ---------- */
.sh-card { background: #fff; border: 1px solid var(--sh-border); border-radius: var(--sh-radius); padding: 1.5rem; box-shadow: none; transition: box-shadow .15s, transform .15s; display: flex; flex-direction: column; gap: .5rem; height: 100%; }
.sh-card:hover { box-shadow: var(--sh-shadow); }
.sh-card__title { font-size: 1.15rem; margin: 0; font-family: var(--sh-font-body); font-weight: 600; }
.sh-card__title a { color: var(--sh-primary); text-decoration: none; }
.sh-card__title a::after { content: ""; position: absolute; inset: 0; }
.sh-card { position: relative; }
.sh-card__title a:hover { color: var(--sh-family); }
.sh-card__text { color: var(--sh-text-muted); margin: 0; font-size: .97rem; }
.sh-card__meta { font-family: var(--sh-font-mono); font-size: .8rem; color: var(--sh-text-muted); margin: 0; }
.sh-card__more { margin-top: auto; padding-top: .5rem; font-weight: 600; color: var(--sh-family); font-size: .95rem; }
.sh-card--dunkel { background: var(--sh-primary); border-color: var(--sh-primary); color: #fff; }
.sh-card--dunkel .sh-card__title a, .sh-card--dunkel .sh-card__text, .sh-card--dunkel .sh-card__more { color: #fff; }

/* ---------- Tags, Kennzahlen, Schritte ---------- */
.sh-tag { display: inline-block; font-family: var(--sh-font-mono); font-size: .75rem; letter-spacing: .04em; padding: .2rem .6rem; border-radius: 999px; background: var(--sh-bg-alt); color: var(--sh-primary); }
.sh-tag--ok { background: var(--sh-ok); color: #fff; }
.sh-tag--akzent { background: var(--sh-accent); color: var(--sh-text-on-accent); }
.sh-kennzahlen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
@media (max-width: 1023px) { .sh-kennzahlen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sh-kennzahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sh-kennzahl { background: var(--sh-bg-soft); border-radius: var(--sh-radius); padding: 1rem 1.1rem; }
.sh-kennzahl__wert { font-family: var(--sh-font-mono); font-size: 1.5rem; font-weight: 500; color: var(--sh-primary); display: block; }
.sh-kennzahl__text { font-size: .9rem; color: var(--sh-text-muted); }
.sh-schritte { counter-reset: schritt; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 1.5rem 0; }
@media (max-width: 1023px) { .sh-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sh-schritte { grid-template-columns: 1fr; } }
.sh-schritt { counter-increment: schritt; background: #fff; border: 1px solid var(--sh-border); border-radius: var(--sh-radius); padding: 1.25rem; position: relative; }
.sh-schritt::before { content: counter(schritt, decimal-leading-zero); font-family: var(--sh-font-mono); color: var(--sh-accent); font-weight: 500; display: block; margin-bottom: .4rem; }
.sh-schritt h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.sh-schritt p { margin: 0; font-size: .95rem; color: var(--sh-text-muted); }
.sh-list-check { list-style: none; padding: 0; }
.sh-list-check li { position: relative; padding-left: 1.8rem; margin-bottom: .5rem; }
.sh-list-check li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--sh-ok); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23000'/%3E%3Cpath d='M5.5 10.5l3 3 6-6' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23000'/%3E%3Cpath d='M5.5 10.5l3 3 6-6' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- Header ---------- */
.sh-topbar { background: var(--sh-primary); color: #fff; font-size: .88rem; padding-block: .4rem; }
.sh-topbar a { color: #fff; text-decoration: none; }
.sh-topbar a:hover { text-decoration: underline; }
.sh-topbar__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.sh-topbar__inner > span { white-space: nowrap; }
.sh-header { background: #fff; border-bottom: 1px solid var(--sh-border); position: sticky; top: 0; z-index: 50; }
.sh-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.sh-header__logo img, .sh-header__logo svg { height: 46px; width: auto; display: block; }
.sh-header__logo .bricks-site-logo { height: 46px; width: auto; }
.sh-header__cta { margin-left: auto; }
@media (max-width: 1023px) { .sh-header__cta { display: none; } }

/* Bricks-Navigation (Desktop) */
.sh-nav .bricks-nav-menu { display: flex; gap: .25rem; flex-wrap: wrap; }
.sh-nav .bricks-nav-menu > li > a { padding: .6rem .8rem; color: var(--sh-primary); text-decoration: none; font-weight: 500; border-radius: 6px; }
.sh-nav .bricks-nav-menu > li > a:hover, .sh-nav .bricks-nav-menu > li.current-menu-item > a, .sh-nav .bricks-nav-menu > li.current-menu-ancestor > a { background: var(--sh-bg-soft); color: var(--sh-family); }
.sh-nav .bricks-nav-menu .sub-menu { background: #fff; border: 1px solid var(--sh-border); border-radius: var(--sh-radius); box-shadow: var(--sh-shadow); min-width: 260px; padding: .4rem; }
.sh-nav .bricks-nav-menu .sub-menu a { padding: .55rem .8rem; color: var(--sh-text); text-decoration: none; border-radius: 6px; display: block; }
.sh-nav .bricks-nav-menu .sub-menu a:hover { background: var(--sh-bg-soft); color: var(--sh-family); }
.sh-nav .bricks-nav-menu .sub-menu .current-menu-item > a { color: var(--sh-family); font-weight: 600; }
/* Bricks-Mobilmenü */
.sh-nav .bricks-mobile-menu-toggle { color: var(--sh-primary); }
.sh-nav .bricks-mobile-menu-wrapper { background: var(--sh-primary); }
.sh-nav .bricks-mobile-menu-wrapper a { color: #fff; }
.sh-nav .bricks-mobile-menu-wrapper .brx-submenu-toggle button { color: #fff; }
.sh-nav .bricks-mobile-menu-wrapper .sub-menu { background: rgba(255,255,255,.06); }
.sh-nav .bricks-mobile-menu-wrapper .bricks-mobile-menu > li > a { font-weight: 600; }

/* ---------- Hero ---------- */
.sh-hero { background: var(--sh-primary); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.sh-hero__bild { position: absolute; inset: 0; z-index: -1; }
.sh-hero__bild img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.sh-hero__inner { padding-block: clamp(3.5rem, 2rem + 5vw, 7rem); max-width: 760px; }
.sh-hero h1 { color: #fff; }
.sh-hero .sh-lead { color: rgba(255, 255, 255, .88); font-size: 1.25rem; }
.sh-hero .sh-eyebrow { color: var(--sh-accent); }
.sh-hero--flach .sh-hero__inner { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.sh-breadcrumb { font-size: .85rem; color: rgba(255, 255, 255, .8); margin-bottom: 1rem; font-family: var(--sh-font-mono); }
.sh-breadcrumb a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.sh-breadcrumb a:hover { text-decoration: underline; }
.sh-breadcrumb .sep { margin: 0 .4em; opacity: .6; }
.sh-pagehead { background: var(--sh-bg-soft); border-bottom: 1px solid var(--sh-border); }
.sh-pagehead .sh-breadcrumb { color: var(--sh-text-muted); }
.sh-pagehead .sh-breadcrumb a { color: var(--sh-family); }

/* ---------- Formulare (Bricks-Formular) ---------- */
.sh-form { max-width: 760px; }
.sh-form .form-group { margin-bottom: 1rem; }
.sh-form label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: .3rem; color: var(--sh-primary); }
.sh-form input[type="text"], .sh-form input[type="email"], .sh-form input[type="tel"], .sh-form input[type="number"], .sh-form input[type="date"], .sh-form select, .sh-form textarea { width: 100%; padding: .7rem .85rem; border: 1px solid var(--sh-border); border-radius: 8px; font: inherit; color: var(--sh-text); background: #fff; }
.sh-form select { appearance: auto; }
.sh-form textarea { min-height: 8em; }
.sh-form .bricks-button, .sh-form button[type="submit"] { background: var(--sh-accent); color: var(--sh-text-on-accent); border-radius: var(--sh-radius-btn); padding: .85rem 1.6rem; font-weight: 600; border: 0; cursor: pointer; }
.sh-form .bricks-button:hover, .sh-form button[type="submit"]:hover { background: var(--sh-accent-hover); }
.sh-form .form-group.sh-form__halb { display: inline-block; width: calc(50% - .5rem); vertical-align: top; }
.sh-form .form-group.sh-form__halb + .sh-form__halb { margin-left: 1rem; }
@media (max-width: 640px) { .sh-form .form-group.sh-form__halb { display: block; width: 100%; } .sh-form .form-group.sh-form__halb + .sh-form__halb { margin-left: 0; } }
.sh-form .checkbox-wrapper, .sh-form .radio-wrapper { gap: .5rem; }
.sh-form .form-group[data-honigtopf], .sh-form .sh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sh-form .message { padding: 1rem 1.25rem; border-radius: var(--sh-radius); margin-top: 1rem; }
.sh-form .message.success { background: #E6F3F0; color: var(--sh-ok); border: 1px solid var(--sh-ok); }
.sh-form .message.error, .sh-form .message.danger { background: #FBEAE8; color: var(--sh-error); border: 1px solid var(--sh-error); }
.sh-form .required { color: var(--sh-error); }
.sh-form .sh-form__hinweis { font-size: .9rem; color: var(--sh-text-muted); margin-top: .75rem; }
.sh-form .brxe-form .form-group label.checkbox-wrapper, .sh-form .checkbox-wrapper label { font-weight: 400; }

/* ---------- Preistabellen und Rechner ---------- */
.sh-price-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; font-size: .97rem; }
.sh-price-table th { background: var(--sh-primary); color: #fff; text-align: left; padding: .65rem .8rem; font-weight: 600; }
.sh-price-table td { padding: .6rem .8rem; border-bottom: 1px solid var(--sh-border); vertical-align: top; }
.sh-price-table tr:nth-child(even) td { background: #F8F9FA; }
.sh-price-table td.sh-zahl, .sh-price-table th.sh-zahl { text-align: right; font-family: var(--sh-font-mono); white-space: nowrap; }
.sh-price-table__wrap { overflow-x: auto; }
.sh-rechner { background: var(--sh-bg-soft); border: 1px solid var(--sh-border); border-radius: var(--sh-radius); padding: 1.5rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; margin: 1.5rem 0 2rem; }
@media (max-width: 760px) { .sh-rechner { grid-template-columns: 1fr; } }
.sh-rechner fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.sh-rechner legend { font-weight: 600; color: var(--sh-primary); margin-bottom: .4rem; }
.sh-rechner label { display: block; margin-bottom: .35rem; }
.sh-rechner select, .sh-rechner input[type="number"] { padding: .55rem .7rem; border: 1px solid var(--sh-border); border-radius: 8px; font: inherit; background: #fff; }
.sh-rechner__ergebnis { background: var(--sh-primary); color: #fff; border-radius: var(--sh-radius); padding: 1.5rem; }
.sh-rechner__ergebnis h3 { color: #fff; margin-top: 0; }
.sh-rechner__summe { font-family: var(--sh-font-mono); font-size: 2rem; font-weight: 500; display: block; margin: .5rem 0; }
.sh-rechner__zeilen { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .92rem; }
.sh-rechner__zeilen li { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.sh-rechner__zeilen li span:last-child { font-family: var(--sh-font-mono); white-space: nowrap; }
.sh-rechner__hinweis { font-size: .85rem; color: rgba(255,255,255,.8); margin: 0; }
.sh-rechner .sh-btn--light { margin-top: .75rem; }

/* ---------- FAQ ---------- */
.sh-faq details { border: 1px solid var(--sh-border); border-radius: var(--sh-radius); padding: 0 1.25rem; margin-bottom: .75rem; background: #fff; }
.sh-faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; color: var(--sh-primary); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.sh-faq summary::-webkit-details-marker { display: none; }
.sh-faq summary::after { content: "+"; font-family: var(--sh-font-mono); color: var(--sh-accent); font-size: 1.3rem; line-height: 1; flex: none; }
.sh-faq details[open] summary::after { content: "–"; }
.sh-faq details > div { padding: 0 0 1rem; color: var(--sh-text); }
.sh-faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Termine ---------- */
.sh-termine { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.sh-termine th { text-align: left; padding: .5rem .7rem; background: var(--sh-bg-alt); color: var(--sh-primary); }
.sh-termine td { padding: .5rem .7rem; border-bottom: 1px solid var(--sh-border); }
.sh-termine td:first-child { font-family: var(--sh-font-mono); white-space: nowrap; }

/* ---------- Beiträge ---------- */
.sh-artikel { max-width: 820px; }
.sh-artikel__meta { font-family: var(--sh-font-mono); font-size: .85rem; color: var(--sh-text-muted); margin-bottom: 1.5rem; }
.sh-artikel figure { margin: 0 0 1.5rem; }
.sh-artikel img.sh-artikel__bild { border-radius: var(--sh-radius); width: 100%; }
.sh-kurz { background: var(--sh-bg-soft); border-radius: var(--sh-radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.sh-kurz h2 { font-size: 1.1rem; font-family: var(--sh-font-body); margin-top: 0; }

/* ---------- Abschluss-CTA ---------- */
.sh-cta { background: var(--sh-primary); color: #fff; border-radius: var(--sh-radius); padding: 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; }
.sh-cta h2 { color: #fff; font-size: 1.5rem; margin: 0; }
.sh-cta p { margin: .3rem 0 0; color: rgba(255,255,255,.85); }

/* ---------- Footer ---------- */
.sh-footer { background: var(--sh-primary); color: rgba(255, 255, 255, .88); padding-block: 3rem 1.5rem; font-size: .95rem; }
.sh-footer a { color: #fff; text-decoration: none; }
.sh-footer a:hover { text-decoration: underline; }
.sh-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 1023px) { .sh-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sh-footer__grid { grid-template-columns: 1fr; } }
.sh-footer__title { font-family: var(--sh-font-body); color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: .75rem; }
.sh-footer__links { list-style: none; padding: 0; margin: 0; }
.sh-footer__links li { margin-bottom: .4rem; }
.sh-footer__logo img { height: 44px; width: auto; margin-bottom: 1rem; }
.sh-footer__zusatz { font-size: .88rem; color: rgba(255, 255, 255, .7); }
.sh-footer__legal { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 2rem; padding-top: 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; font-size: .85rem; color: rgba(255,255,255,.7); font-family: var(--sh-font-mono); }
.sh-mobilecta { display: none; }
@media (max-width: 1023px) {
  .sh-mobilecta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: #fff; border-top: 1px solid var(--sh-border); padding: .5rem; gap: .5rem; }
  .sh-mobilecta a { flex: 1; text-align: center; justify-content: center; }
  body { padding-bottom: 64px; }
}
.sh-skip { position: absolute; left: -9999px; top: 0; background: var(--sh-accent); color: var(--sh-primary); padding: .6rem 1rem; z-index: 100; }
.sh-skip:focus { left: 1rem; top: 1rem; }

/* =====================================================================
   Fassung 1.1 (12.11.2026) – sachliche Gestaltung
   Vorgabe des Inhabers: sehr seriös. Gerade Kanten, ruhige Flächen, Orange nur als Akzent,
   keine Effekte. Diese Regeln stehen bewusst am Ende und überschreiben die Grundfassung.
   ===================================================================== */
:root {
  --sh-radius: 2px;
  --sh-radius-btn: 2px;
  --sh-shadow: 0 1px 2px rgba(15, 35, 64, .08);
  --sh-container: 1240px;
  --sh-text-breite: 46rem;
  --sh-hell-auf-dunkel: #B9C6E4;
  --sh-fs-h1: clamp(2rem, 1.5rem + 1.8vw, 3rem);
  --sh-fs-h2: clamp(1.55rem, 1.25rem + 1vw, 2.05rem);
}
/* Bricks setzt html auf 62.5 %. Dann wäre 1 rem = 10 px und alle Maße dieses Themes zu klein. */
html { font-size: 100%; }
body { text-align: left; -webkit-font-smoothing: antialiased; }
h1, h2 { font-weight: 500; letter-spacing: -.012em; }
h2 { margin-top: 0; }
.sh-lead { font-size: 1.15rem; line-height: 1.6; }

/* Textspalte lesbar halten, Karten und Tabellen dürfen die volle Breite nutzen */
.sh-content { max-width: none; }
.sh-content > .brxe-text > :is(p, ul, ol, h2, h3, h4, .sh-hinweis, details), .sh-content > .brxe-text-basic { max-width: var(--sh-text-breite); }
.sh-content.sh-faq > .brxe-text > details { max-width: 52rem; }
.sh-content > .sh-formular, .sh-content > .sh-grenzen { max-width: 52rem; }
.sh-content > * + .brxe-block, .sh-content > * + .sh-schritte, .sh-content > * + .sh-kennzahlen { margin-top: 1.5rem; }
.sh-content > .brxe-block + .brxe-text, .sh-content > .sh-schritte + .brxe-text, .sh-content > .sh-kennzahlen + .brxe-text, .sh-content > .brxe-text + .brxe-text > h2:first-child { margin-top: 3.5rem; display: block; }
.sh-content h2 { margin-top: 2.6em; padding-top: 1.4rem; border-top: 1px solid var(--sh-border); }
.sh-content > .brxe-text:first-child > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.sh-content table { display: table; }
.sh-price-table__wrap { border: 1px solid var(--sh-border); margin: 1rem 0 1.75rem; }
.sh-price-table, .sh-content .sh-price-table { margin: 0; font-size: .95rem; }
.sh-price-table th, .sh-content thead th { font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; padding: .7rem .9rem; }
.sh-price-table td, .sh-content tbody td { padding: .7rem .9rem; }
.sh-price-table tr:nth-child(even) td, .sh-content tbody tr:nth-child(even) td { background: var(--sh-bg-soft); }
.sh-price-table tr:last-child td { border-bottom: 0; }

/* Buttons: rechteckig, ruhig */
.sh-btn, .sh-btn.brxe-button, .bricks-button.sh-btn { padding: .78rem 1.35rem; font-size: .95rem; letter-spacing: .01em; border-width: 1px; }
.sh-btn--primary:hover, .sh-btn--primary.brxe-button:hover { box-shadow: none; }
.sh-btn--ghost, .sh-btn--ghost.brxe-button, .bricks-button.sh-btn--ghost { border-width: 1px; }
.sh-form .bricks-button, .sh-form button[type="submit"] { border-radius: var(--sh-radius-btn); }

/* Kopfbereich */
.sh-topbar { font-size: .84rem; padding-block: .45rem; background: var(--sh-primary-dark); letter-spacing: .01em; }
.sh-topbar__inner { flex-direction: row; align-items: center; }
.sh-topbar__inner > span { color: rgba(255, 255, 255, .82); }
@media (max-width: 760px) { .sh-topbar__inner > span:last-child { display: none; } }
.sh-header { box-shadow: 0 1px 0 var(--sh-border); border-bottom: 0; }
.sh-header__inner { flex-direction: row; flex-wrap: nowrap; min-height: 84px; gap: 1.25rem; }
.sh-header__logo { display: block; flex: none; line-height: 0; }
.sh-header__logo img { height: 46px; width: auto; display: block; }
.sh-nav { margin-left: auto; }
.sh-nav .bricks-nav-menu { flex-wrap: nowrap; gap: 0; }
.sh-nav .bricks-nav-menu > li { margin: 0; }
.sh-nav .bricks-nav-menu a { text-decoration: none; }
.sh-nav .bricks-nav-menu > li > a, .sh-nav .bricks-nav-menu > li > .brx-submenu-toggle > a { padding: .55rem .55rem; color: var(--sh-primary); font-weight: 500; font-size: .95rem; border-radius: 0; white-space: nowrap; }
.sh-nav .bricks-nav-menu > li > .brx-submenu-toggle { gap: 0; }
.sh-nav .bricks-nav-menu > li > .brx-submenu-toggle > button { color: var(--sh-text-muted); padding: 0 .35rem 0 0; }
.sh-nav .bricks-nav-menu > li:hover > a, .sh-nav .bricks-nav-menu > li:hover > .brx-submenu-toggle > a, .sh-nav .bricks-nav-menu > li.current-menu-item > a, .sh-nav .bricks-nav-menu > li.current-menu-ancestor > .brx-submenu-toggle > a { background: transparent; color: var(--sh-family); box-shadow: inset 0 -2px 0 var(--sh-accent); }
.sh-nav .bricks-nav-menu .sub-menu { border-radius: 0; box-shadow: 0 6px 18px rgba(15, 35, 64, .10); border-top: 2px solid var(--sh-primary); padding: .35rem 0; min-width: 280px; }
.sh-nav .bricks-nav-menu .sub-menu a { border-radius: 0; padding: .5rem 1rem; font-size: .93rem; }
.sh-header__cta { margin-left: .5rem; flex: none; }
@media (max-width: 1239px) { .sh-header__cta { display: none; } }
.sh-nav .bricks-mobile-menu-wrapper a { text-decoration: none; }
.sh-nav .bricks-mobile-menu-toggle { margin-left: auto; }

/* Hero: Bild zurückgenommen, Text auf ruhiger Fläche */
.sh-hero__bild img { opacity: .34; }
.sh-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 35, 64, .96) 0%, rgba(15, 35, 64, .86) 45%, rgba(15, 35, 64, .35) 100%); }
.sh-hero__inner { max-width: 46rem; padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.sh-hero--flach .sh-hero__inner { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.sh-hero h1 { font-weight: 500; margin-bottom: .5em; }
.sh-hero .sh-lead { font-size: 1.18rem; color: rgba(255, 255, 255, .9); }
.sh-hero .sh-eyebrow, .sh-section--dark .sh-eyebrow { color: var(--sh-hell-auf-dunkel); }
.sh-eyebrow { font-size: .76rem; letter-spacing: .12em; display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
.sh-eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--sh-accent); flex: none; }
.sh-breadcrumb { font-size: .8rem; letter-spacing: .02em; margin-bottom: 1.5rem; }
.sh-pagehead .sh-hero__inner, .sh-pagehead.brxe-section > .sh-container { max-width: var(--sh-container); }
.sh-pagehead h1 { max-width: 46rem; }

/* Karten, Schritte, Kennzahlen */
.sh-grid { gap: 1.25rem; width: 100%; }
.sh-card { padding: 1.6rem 1.5rem 1.4rem; border-color: var(--sh-border); border-top: 3px solid var(--sh-primary); gap: .6rem; transition: border-color .15s; }
.sh-card:hover { box-shadow: none; border-top-color: var(--sh-accent); }
.sh-card__title { font-size: 1.12rem; line-height: 1.3; }
.sh-card__text { font-size: .96rem; line-height: 1.55; }
.sh-card__more { font-size: .9rem; letter-spacing: .01em; }
.sh-tag { border-radius: 2px; background: var(--sh-bg-soft); border: 1px solid var(--sh-border); }
.sh-schritt { border-left: 3px solid var(--sh-primary); }
.sh-schritt::before { color: var(--sh-text-muted); font-size: .85rem; letter-spacing: .08em; }
.sh-kennzahlen { gap: 0; border-top: 1px solid var(--sh-border); border-bottom: 1px solid var(--sh-border); }
.sh-kennzahl { background: transparent; border-radius: 0; padding: 1.25rem 1rem 1.25rem 0; }
.sh-kennzahl > div { display: block; }
.sh-kennzahl__wert { font-size: 1.6rem; }
.sh-hinweis { border-left-width: 3px; border-left-color: var(--sh-primary); border-radius: 0; }
.sh-grenzen { border-radius: 0; }
.sh-faq details { border-radius: 0; border-width: 0 0 1px; padding: 0; margin: 0; }
.sh-faq summary { padding: 1.05rem 0; }
.sh-faq summary::after { color: var(--sh-primary); }
.sh-termine th { font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }

/* Formulare und Rechner */
.sh-form input[type="text"], .sh-form input[type="email"], .sh-form input[type="tel"], .sh-form input[type="number"], .sh-form input[type="date"], .sh-form select, .sh-form textarea, .sh-rechner select, .sh-rechner input[type="number"] { border-radius: 2px; border-color: #B6BEC9; }
.sh-form input:focus, .sh-form select:focus, .sh-form textarea:focus { border-color: var(--sh-family); }
.sh-rechner, .sh-rechner__ergebnis { border-radius: 0; }

/* Abschluss und Fuß */
.sh-cta { border-radius: 0; padding: 2.25rem 2.5rem; margin-top: 4rem; border-left: 4px solid var(--sh-accent); }
.sh-cta h2 { font-size: 1.45rem; border: 0; padding: 0; }
.sh-cta > .brxe-div { display: block; max-width: 40rem; }
.sh-footer { padding-block: 4rem 1.75rem; font-size: .93rem; border-top: 4px solid var(--sh-accent); }
.sh-footer__title { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sh-hell-auf-dunkel); margin-bottom: 1rem; }
.sh-footer__links li { margin-bottom: .5rem; line-height: 1.5; }
.sh-footer__logo img { height: 46px; }
.sh-footer__legal { font-family: var(--sh-font-body); font-size: .84rem; }
.sh-footer__legal a { margin-left: .25rem; }
.sh-rechtstext h2 { font-family: var(--sh-font-body); font-size: 1.2rem; font-weight: 600; letter-spacing: 0; }
.sh-rechtstext p { font-size: .98rem; }
.sh-entwurf { border: 1px solid var(--sh-error); color: var(--sh-error); font-family: var(--sh-font-mono); font-size: .82rem; padding: .5rem .8rem; display: inline-block; margin-bottom: 1.5rem; }
@media print { .sh-topbar, .sh-header, .sh-footer, .sh-mobilecta, .sh-cta { display: none !important; } body { font-size: 11pt; } }

/* Fassung 1.1, Nachtrag: Kopfzeile bleibt im Satzspiegel; Logo ohne Leerraum (logo_web_*.svg) */
.sh-header__inner { min-height: 80px; gap: 1rem; }
.sh-header__logo img { height: 38px; }
.sh-footer__logo img { height: 40px; margin-bottom: 1.25rem; }
.sh-nav .bricks-nav-menu > li > a, .sh-nav .bricks-nav-menu > li > .brx-submenu-toggle > a { padding: .55rem .45rem; font-size: .94rem; }
.sh-nav .bricks-nav-menu > li > .brx-submenu-toggle > button { padding: 0; margin: 0 .45rem 0 -.15rem; width: 14px; min-width: 0; }
.sh-nav .bricks-nav-menu > li > .brx-submenu-toggle > button svg { width: 10px; height: 10px; }
.sh-header__cta.sh-btn, .sh-header__cta.brxe-button { padding: .65rem 1.1rem; font-size: .92rem; white-space: nowrap; }
.sh-pagehead .sh-hero__inner { padding-block: 2.5rem 2.25rem; }
.sh-pagehead .sh-lead { margin-bottom: 0; }
.sh-section { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }

/* Fassung 1.1, Nachtrag 2 (Sichtprüfung 12.11.2026): Mobil ohne Querlauf, Formulare, Tabellen, Schritte */
@media (max-width: 1239px) { .sh-header__cta, .sh-header__cta.brxe-button, .bricks-button.sh-header__cta { display: none; } }
@media (max-width: 760px) {
  .sh-topbar__inner > span { white-space: normal; }
  .sh-header__inner { min-height: 64px; }
  .sh-header__logo img { height: 32px; }
  .sh-cta { padding: 1.5rem; }
  .sh-price-table__wrap { overflow-x: auto; }
  .sh-price-table { min-width: 34rem; }
}
.sh-schritte { padding-left: 0; margin-left: 0; }
.sh-content ol.sh-schritte, .sh-content ul.sh-footer__links { padding-left: 0; }
.sh-form label, .sh-form .form-group > label { color: var(--sh-primary); text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 600; }
.sh-form .required, .sh-form label .required { color: var(--sh-error); }
/* Zahlen in Tabellen: Grundschrift mit Tabellenziffern statt Schreibmaschinenschrift */
.sh-price-table td.sh-zahl, .sh-price-table th.sh-zahl, .sh-content td.sh-zahl { font-family: var(--sh-font-body); font-variant-numeric: tabular-nums; font-weight: 500; }
