/* ══════════════════════════════════════════════════════════════════════
   S&C Service — Stylesheet
   Aufbau und Abschnittsfolge von portal-sites/galabau übernommen, das
   Farbsystem aber hell: Weiß und kühles Blaugrau als Flächen, Navy aus dem
   Logo als Schrift, Markenblau #0068b6 als einziger Akzent.

   Kontraste gerechnet (WCAG 2.2), nicht geschätzt:
     --ink    auf Weiß 16,45 : 1    auf --paper-3 14,45 : 1
     --ink-2  auf Weiß  9,33 : 1    auf --paper-3  8,20 : 1
     --ink-3  auf Weiß  5,74 : 1    auf --soft     4,88 : 1
     --brand  auf Weiß  5,74 : 1    Weiß auf --brand 5,74 : 1
   --ink-3 und --brand tragen damit auch Kleintext auf jeder Fläche.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Schrift: Inter, selbst gehostet (früher eigene fonts.css – eine
   blockierende Anfrage weniger) ─────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;

  --paper:   #ffffff;
  --paper-2: #f5f8fc;
  --paper-3: #eaf1f9;
  --soft:    #e3eefa;
  --line:    #d8e2ee;
  --line-2:  #c5d3e4;

  --ink:   #0a1f3d;
  --ink-2: #33476a;
  --ink-3: #556784;

  --brand:      #0068b6;
  --brand-ink:  #005a9e;
  --brand-deep: #002858;
  --brand-hell: #8fc0ec;
  --brand-glow: rgba(0, 104, 182, .16);
  --stern: #E3A21A;

  --radius:    20px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --shadow:    0 18px 50px rgba(10, 31, 61, .08), 0 2px 6px rgba(10, 31, 61, .04);
  --shadow-hi: 0 30px 80px rgba(10, 31, 61, .14), 0 4px 12px rgba(10, 31, 61, .06);
  --pad:   clamp(20px, 5.5vw, 80px);
  --max-w: 1200px;
  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --dur:   0.28s;
  --kopf-h: 84px;
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 16px); scrollbar-gutter: stable; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, h4 { margin: 0 0 16px; line-height: 1.1; color: var(--ink); text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
::selection { background: var(--soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
button, input, select, textarea { font: inherit; color: inherit; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10000;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ── Header ────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--kopf-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
  background: rgba(255, 255, 255, 0);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), height var(--dur) var(--ease);
}
.site-header.scrolled,
.site-header.nav-offen {
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(10, 31, 61, .05);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.scrolled, .site-header.nav-offen {
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .site-header.scrolled, .site-header.nav-offen { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; transition: transform var(--dur) var(--ease); }
.brand:hover img { transform: scale(.97); }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-weight: 850; font-size: 1.14rem; letter-spacing: -.02em; color: var(--brand-deep); }
.brand-sub {
  font-size: .64rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-top: 4px;
}

.main-nav { display: flex; align-items: center; gap: 30px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.nav-link { position: relative; color: var(--ink-2); padding: 8px 0; transition: color var(--dur); display: inline-flex; align-items: center; gap: 6px; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform .34s var(--ease);
}
.nav-link:hover, .nav-link[aria-current] { color: var(--brand-deep); }
.nav-link:hover::after, .nav-link[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-link .chev { width: 10px; height: 10px; transition: transform var(--dur) var(--ease); }
.subnav-knopf { display: none; }
/* „Startseite" nur im Handy-Menü – am Desktop führt das Logo nach Hause
   (fünf Punkte plus Telefon und Knopf passen sonst erst ab 1220 px). */
@media (min-width: 1041px) { .nav-start { display: none; } }

/* Mega-Menü „Leistungen": vier Gruppen, zentriert unter der Kopfleiste.
   Der Menüpunkt ist so hoch wie die Leiste – so liegt zwischen Link und
   Panel keine Lücke, und es braucht keine unsichtbare Brücke, die sonst
   Klicks auf die Knöpfe rechts abfangen würde. Das Panel ist fixiert;
   die Kopfleiste (backdrop-filter) ist dabei sein Bezugsrahmen. */
.nav-item { position: static; display: flex; align-items: center; height: var(--kopf-h); }
.subnav {
  position: fixed; top: var(--kopf-h); left: 50%; width: min(1080px, calc(100vw - 32px));
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-hi); padding: 16px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 14px;
  text-transform: none; letter-spacing: 0; font-weight: 400;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-item:hover .subnav, .nav-item:focus-within .subnav {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.subnav-gruppe { display: grid; gap: 2px; align-content: start; }
.subnav-titel { display: block; padding: 8px 14px 6px; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-ink); }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }
.subnav a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; transition: background var(--dur); }
.subnav a:hover, .subnav a:focus-visible { background: var(--paper-2); }
.subnav a[aria-current] { background: var(--soft); }
.subnav b { font-size: .92rem; font-weight: 750; color: var(--ink); }
.subnav small { font-size: .8rem; color: var(--ink-3); line-height: 1.4; }
.subnav .subnav-alle { grid-column: 1 / -1; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 8px; padding-top: 14px; }
.subnav .subnav-alle b { color: var(--brand-ink); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.tel-chip {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: .92rem; color: var(--brand-deep);
  padding: 6px 14px 6px 6px; border-radius: 999px; transition: background var(--dur);
}
.tel-chip:hover { background: var(--paper-3); }
.tel-chip .ic-rund { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.tel-chip .ic-rund svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  font-weight: 750; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.nav-toggle:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.nav-toggle .burger { position: relative; width: 18px; height: 12px; }
.nav-toggle .burger span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nav-toggle .burger span:nth-child(1) { top: 0; }
.nav-toggle .burger span:nth-child(2) { top: 5px; }
.nav-toggle .burger span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 5px; transform: rotate(-45deg); }
.nav-mobil-extra { display: none; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 15px 28px; min-height: 50px;
  font-weight: 800; font-family: inherit; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem;
  overflow: hidden; cursor: pointer; border: 1.5px solid transparent; text-decoration: none; white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
/* Schimmer beim Überfahren – aus der Vorlage übernommen */
.btn::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.34) 50%, transparent 62%);
  transform: translateX(-110%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateX(110%); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(0, 104, 182, .24); }
.btn.primary:hover { background: var(--brand-ink); box-shadow: 0 16px 40px rgba(0, 104, 182, .32), 0 2px 8px rgba(0, 104, 182, .2); }
.btn.ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 1px var(--brand), 0 10px 28px rgba(0, 104, 182, .12); }
.btn.hell { background: #fff; color: var(--brand-deep); }
.btn.hell:hover { box-shadow: 0 16px 40px rgba(0, 20, 60, .28); }
.btn.rand-hell { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn.rand-hell:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn.klein { padding: 11px 20px; min-height: 42px; font-size: .74rem; }

.link-pfeil { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; color: var(--brand-ink); font-size: .95rem; }
.link-pfeil svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-pfeil:hover svg { transform: translateX(4px); }

/* ── Muster: feines Punktraster (Reinraum-Anmutung) ────────────────── */
.raster-punkte {
  background-image: radial-gradient(rgba(0, 104, 182, .16) 1px, transparent 1.2px);
  background-size: 22px 22px;
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--kopf-h) + 56px) var(--pad) 72px;
  background:
    radial-gradient(ellipse 60% 70% at 88% 18%, rgba(0, 104, 182, .10), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(143, 192, 236, .16), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--paper-2) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(0, 104, 182, .16) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 55% 65% at 80% 35%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 55% 65% at 80% 35%, #000 10%, transparent 75%);
}
.hero-grid {
  max-width: var(--max-w); margin-inline: auto;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 5vw, 72px); align-items: center;
}
.hero-home { min-height: clamp(640px, 92vh, 940px); display: flex; align-items: center; }
.hero-home .hero-grid { width: 100%; }
.hero-content { position: relative; z-index: 1; max-width: 700px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  text-transform: uppercase; letter-spacing: .2em; font-weight: 800; font-size: .74rem;
  color: var(--brand-ink); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand); }
.eyebrow.mitte { justify-content: center; }

.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 5.4rem);
  letter-spacing: -.055em; line-height: 1.02; font-weight: 850;
  margin-bottom: 24px; color: var(--ink);
}
.hero h1 span, .grad {
  background: linear-gradient(90deg, var(--brand-deep) 0%, var(--brand) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.hero .lead { max-width: 600px; color: var(--ink-2); font-size: 1.14rem; line-height: 1.7; margin-bottom: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-direkt { display: flex; align-items: center; gap: 12px; margin-top: 26px; color: var(--ink-3); font-size: .95rem; }
.hero-direkt a { color: var(--brand-deep); font-weight: 800; font-size: 1.06rem; letter-spacing: -.01em; }
.hero-direkt a:hover { color: var(--brand); }
.hero-direkt .puls { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 var(--brand-glow); animation: puls 2.4s var(--ease) infinite; flex-shrink: 0; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(0,104,182,.35); } 70% { box-shadow: 0 0 0 12px rgba(0,104,182,0); } 100% { box-shadow: 0 0 0 0 rgba(0,104,182,0); } }

.hero-bild { position: relative; }
.hero-bild .medien { border-radius: var(--radius-lg); box-shadow: var(--shadow-hi); }
.hero-badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 18px;
  padding: 12px 18px 12px 12px; box-shadow: var(--shadow-hi); max-width: 290px;
}
.hero-badge .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; flex-shrink: 0; }
.hero-badge .ic svg { width: 21px; height: 21px; }
.hero-badge b { display: block; font-size: .9rem; line-height: 1.25; color: var(--ink); }
.hero-badge small { display: block; font-size: .76rem; color: var(--ink-3); line-height: 1.35; margin-top: 2px; }
.hero-badge.oben { top: 28px; left: -34px; }
.hero-badge.unten { bottom: 30px; right: -26px; }
.hero-badge.unten .ic { background: var(--soft); color: var(--brand); }

/* Hero-Einblendung beim Laden (Vorlage): gestaffelt, mit Schärfe-Zug */
@keyframes heroRise { from { opacity: 0; transform: translateY(40px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroBild { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
.js .hero-content > * { opacity: 0; animation: heroRise 1.1s var(--ease) forwards; }
.js .hero-content > :nth-child(1) { animation-delay: .1s; }
.js .hero-content > :nth-child(2) { animation-delay: .28s; }
.js .hero-content > :nth-child(3) { animation-delay: .5s; }
.js .hero-content > :nth-child(4) { animation-delay: .66s; }
.js .hero-content > :nth-child(5) { animation-delay: .8s; }
.js .hero-content > :nth-child(6) { animation-delay: .9s; }
.js .hero-bild { opacity: 0; animation: heroBild 1.2s var(--ease) .35s forwards; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-content > *, .js .hero-bild { animation-name: heroFade; animation-duration: .8s; filter: none; transform: none; }
  .hero-direkt .puls { animation: none; }
}

/* Vertrauensleiste unter dem Hero */
.trust { background: #fff; border-block: 1px solid var(--line); padding: 22px var(--pad); }
.trust-grid { max-width: var(--max-w); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--soft); color: var(--brand); flex-shrink: 0; }
.trust-item .ic svg { width: 22px; height: 22px; }
.trust-item b { display: block; font-size: .92rem; line-height: 1.3; }
.trust-item small { display: block; font-size: .8rem; color: var(--ink-3); line-height: 1.35; }

/* ── Sections ──────────────────────────────────────────────────────── */
.section { padding: 110px var(--pad); position: relative; }
.section.alt { background: var(--paper-2); }
.section.wash { background: linear-gradient(180deg, var(--paper-2), #fff); }
.section.rand-oben { border-top: 1px solid var(--line); }
.container { max-width: var(--max-w); margin-inline: auto; }
.narrow { max-width: 920px; margin-inline: auto; }

.section-head { max-width: 780px; margin-bottom: 52px; }
.section-head.mitte { margin-inline: auto; text-align: center; }
.section-head.mitte .section-intro { margin-inline: auto; }
.section h2 {
  font-size: clamp(2rem, 4.2vw, 3.9rem); letter-spacing: -.05em; line-height: 1.06; font-weight: 850; margin-bottom: 20px;
}
.section-intro { color: var(--ink-2); font-size: 1.08rem; line-height: 1.7; margin-bottom: 28px; max-width: 640px; }
.section-head .btn { margin-top: 4px; }

/* ── Service Grid (Vorlage: .service-grid / .card) ─────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px 28px; box-shadow: var(--shadow); overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 80% 90%, rgba(0,104,182,.07), transparent 65%);
  transition: opacity .4s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(0,104,182,.35); box-shadow: var(--shadow-hi); }
.card:hover::after { opacity: 1; }
.card .nr { color: var(--brand-hell); font-weight: 900; font-size: 2.3rem; letter-spacing: -.05em; line-height: 1; display: block; margin-bottom: 18px; }
.card .ic-kachel { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--soft); color: var(--brand); margin-bottom: 20px; }
.card .ic-kachel svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: 10px; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card p { color: var(--ink-2); font-size: .94rem; line-height: 1.62; margin: 0 0 18px; }
.card .mehr { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: .86rem; color: var(--brand-ink); }
.card .mehr svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.card:hover .mehr svg { transform: translateX(4px); }
.card a:focus-visible { outline: none; }
.card:has(a:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }

/* ── Übergang + Kernleistungen (Vorlage: .core-transition / .core-grid) ── */
.core-transition { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin: 90px 0 46px; }
.core-transition .conn { width: 2px; height: 64px; background: linear-gradient(var(--brand), transparent); border-radius: 2px; }
.core-transition .eyebrow { margin: 0; }
.core-transition h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.5rem); letter-spacing: -.045em; font-weight: 850; }
.core-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.core-card { display: flex; flex-direction: column; }
.core-card .medien { border-radius: var(--radius); }
.core-card h4 { font-size: 1.6rem; letter-spacing: -.035em; margin: 26px 0 12px; line-height: 1.15; }
.core-card p { color: var(--ink-2); line-height: 1.78; margin: 0 0 18px; }
.core-card .link-pfeil { margin-top: auto; }

/* ── Leistungsverzeichnis (Vorlage: .lv-band / .lv-card, mit Schein) ── */
.lv-band { position: relative; }
.lv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lv-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #fff 55%, var(--paper-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px; box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lv-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--brand), transparent); opacity: .55; transition: opacity var(--dur); }
.lv-card::before {
  content: ""; position: absolute; top: 0; left: -125%; width: 70%; height: 100%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(0,104,182,.07) 50%, transparent 60%); transform: skewX(-16deg);
}
.lv-card:hover { transform: translateY(-6px); border-color: rgba(0,104,182,.35); box-shadow: var(--shadow-hi); }
.lv-card:hover::after { opacity: 1; }
.lv-top { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.lv-num { font-size: 1.6rem; font-weight: 900; letter-spacing: -.04em; color: var(--brand-hell); }
.lv-card h4 { margin: 0; font-size: 1.16rem; letter-spacing: -.02em; }
.lv-card h4 a:hover { color: var(--brand-ink); }
.lv-card ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.lv-card li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: .92rem; line-height: 1.5; }
.lv-card li::before {
  content: ""; position: absolute; left: 3px; top: .34em; width: 11px; height: 6px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); border-radius: 1px;
}
.lv-card:not(.lv-cta)::before { animation: lvShine var(--sd, 10s) var(--ease) var(--sdelay, 0s) infinite; }
.lv-card:nth-child(1) { --sd: 8s;    --sdelay: .4s; }
.lv-card:nth-child(2) { --sd: 11s;   --sdelay: 2.6s; }
.lv-card:nth-child(3) { --sd: 9.5s;  --sdelay: 5.1s; }
.lv-card:nth-child(4) { --sd: 12s;   --sdelay: 1.5s; }
.lv-card:nth-child(5) { --sd: 10.5s; --sdelay: 3.8s; }
@keyframes lvShine { 0% { left: -125%; } 10% { left: 135%; } 100% { left: 135%; } }
@media (prefers-reduced-motion: reduce) { .lv-card:not(.lv-cta)::before { animation: none; } }
.lv-cta {
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-deep) 120%); border-color: transparent;
  display: grid; place-items: center; text-align: center; color: #fff;
}
.lv-cta::after { display: none; }
.lv-cta-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 6px; }
.lv-cta h4 { color: #fff; font-size: 1.34rem; }
.lv-cta p { color: rgba(255,255,255,.9); font-size: .92rem; margin: 0; max-width: 260px; }

/* ── Split-Abschnitte (Vorlage: .split-grid / .benefits / .feature-list) ── */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.benefit {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 13px 16px; box-shadow: 0 6px 18px rgba(10,31,61,.04);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.benefit .ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.benefit .ic svg { width: 21px; height: 21px; }
.benefit .label { font-weight: 700; font-size: .94rem; line-height: 1.3; }
.benefit.wide { grid-column: 1 / -1; }

.feature-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; font-size: .98rem; color: var(--ink-2); line-height: 1.55; }
.feature-list li::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-top: .55em;
  box-shadow: 0 0 0 5px var(--soft);
}
.feature-list b { color: var(--ink); }

/* ── Bildflächen: echtes Bild oder Platzhalter ─────────────────────── */
.medien { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: var(--format, 4 / 3); background: var(--paper-3); }
.medien img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fokus, 50% 50%); transition: transform .8s var(--ease); }
.feature-img:hover .medien img, .core-card:hover .medien img { transform: scale(1.035); }
.feature-img .medien { box-shadow: var(--shadow-hi); }

/* Platzhalter: bewusst gestaltet, damit die Vorschau auch ohne Fotos
   trägt. Die Beschriftung nennt Bildplatz und Format – danach werden die
   Motive erzeugt (siehe _generator/BILDER.md). */
.ph {
  display: grid; place-items: center; text-align: center; color: var(--brand);
  background:
    radial-gradient(ellipse 70% 60% at 70% 20%, rgba(255,255,255,.9), transparent 70%),
    radial-gradient(rgba(0,104,182,.14) 1px, transparent 1.3px) 0 0 / 20px 20px,
    linear-gradient(145deg, #eef4fb 0%, #dde9f7 100%);
  border: 1px solid var(--line);
}
.ph::before {
  content: ""; position: absolute; inset: 14px; border-radius: calc(var(--radius) - 8px);
  border: 1px dashed rgba(0,104,182,.28); pointer-events: none;
}
.ph-inner { position: relative; display: grid; justify-items: center; gap: 12px; padding: 24px; max-width: 360px; }
.ph-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); }
.ph-ic svg { width: 30px; height: 30px; }
.ph-titel { font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-ink); }
.ph-motiv { font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
.ph-mass { font-size: .74rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ph.still .ph-motiv, .ph.still .ph-mass, .ph.still .ph-titel { display: none; }

/* Schräger Scroll-Effekt der Vorlage für Feature-Bilder */
@keyframes imgScrollReveal {
  0%   { opacity: 0; transform: translate(24px, 56px) rotate(-2deg) scale(.95); }
  32%  { opacity: 1; transform: none; }
  68%  { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translate(-24px, -56px) rotate(2deg) scale(.95); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .img-scroll { opacity: 0; transform: translate(24px, 52px) rotate(-2deg) scale(.96); transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .js .img-scroll.in-view { opacity: 1; transform: none; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .img-scroll { opacity: 1; transform: none; transition: none; animation: imgScrollReveal linear both; animation-timeline: view(); animation-range: entry 8% exit 92%; }
  }
}

/* ── Branchen-Raster ───────────────────────────────────────────────── */
.branchen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.branche {
  position: relative; display: grid; gap: 14px; align-content: start;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.branche:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0,104,182,.3); }
.branche .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--soft); color: var(--brand); }
.branche .ic svg { width: 22px; height: 22px; }
.branche b { font-size: .96rem; line-height: 1.3; }
.branche small { font-size: .82rem; color: var(--ink-3); line-height: 1.45; }
.branche a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.branche a:focus-visible { outline: none; }
.branche:has(a:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }

.kooperation {
  margin-top: 28px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
}
.kooperation-text { padding: clamp(28px, 4vw, 52px); }
.kooperation-text h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.04em; }
.kooperation-text p { color: var(--ink-2); }
.kooperation-liste { background: linear-gradient(160deg, var(--paper-3), var(--soft)); padding: clamp(28px, 4vw, 52px); display: grid; gap: 14px; align-content: center; }
.koop-punkt { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 14px 16px; border: 1px solid var(--line); }
.koop-punkt .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand); color: #fff; flex-shrink: 0; }
.koop-punkt .ic svg { width: 19px; height: 19px; }
.koop-punkt b { display: block; font-size: .95rem; }
.koop-punkt small { display: block; color: var(--ink-3); font-size: .84rem; line-height: 1.45; }

/* ── Accent Band (Vorlage: .accent-band) ───────────────────────────── */
.accent-band {
  text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 80% 120% at 20% 0%, #fff 0%, var(--soft) 55%, #d4e5f7 100%);
}
.accent-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(0,104,182,.18) 1px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 75%);
}
.accent-band .section-intro { margin-inline: auto; }
.accent-band .knopfreihe { justify-content: center; }
.knopfreihe { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ── Einsatzgebiet ─────────────────────────────────────────────────── */
.orte { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px auto 0; max-width: 820px; padding: 0; list-style: none; }
.orte li { background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 650; font-size: .88rem; color: var(--ink-2); }
.orte li.haupt { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ── FAQ (natives details, ohne Skript bedienbar) ──────────────────── */
.faq { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color var(--dur), box-shadow var(--dur); }
.faq details[open] { border-color: rgba(0,104,182,.35); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 24px; font-weight: 750; font-size: 1.04rem; line-height: 1.4; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--brand); flex-shrink: 0; transition: transform var(--dur) var(--ease), background var(--dur); }
.faq summary .plus svg { width: 14px; height: 14px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq .antwort { padding: 0 24px 22px; color: var(--ink-2); line-height: 1.72; }
.faq summary h3 { font-size: inherit; margin: 0; line-height: inherit; letter-spacing: 0; font-weight: inherit; }

/* ── CTA (Vorlage: .section.cta) ───────────────────────────────────── */
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  max-width: var(--max-w); margin-inline: auto; border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 92px) clamp(24px, 6vw, 80px);
  background: linear-gradient(135deg, var(--brand) 0%, #0a58a0 55%, var(--brand-deep) 130%); color: #fff;
  box-shadow: 0 40px 100px rgba(0, 60, 130, .25);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000, transparent 75%);
}
.cta-panel .eyebrow { color: #fff; }
.cta-panel .eyebrow::before { background: #fff; }
.cta-panel h2 { color: #fff; max-width: 860px; margin-inline: auto; }
.cta-panel p { color: rgba(255,255,255,.92); max-width: 640px; margin-inline: auto; font-size: 1.06rem; }
.cta-panel .knopfreihe { justify-content: center; }
.section.cta { padding-block: 40px 110px; }

/* ── Unterseiten ───────────────────────────────────────────────────── */
.hero.seite { padding-bottom: 64px; }
.hero.seite h1 { font-size: clamp(2.3rem, 4.8vw, 4.3rem); }
.hero.seite .hero-grid { grid-template-columns: 1.05fr .95fr; }
.hero.seite.ohne-bild .hero-grid { grid-template-columns: 1fr; }
.hero.seite.ohne-bild .hero-content { max-width: 820px; }

.antwortbox {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow);
}
.antwortbox::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px; border-radius: 0 4px 4px 0; background: var(--brand); }
.antwortbox .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--soft); color: var(--brand); }
.antwortbox .ic svg { width: 25px; height: 25px; }
.antwortbox h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.03em; margin-bottom: 10px; }
.antwortbox p { color: var(--ink-2); font-size: 1.04rem; line-height: 1.75; }

.punkte-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.punkt { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: 0 6px 18px rgba(10,31,61,.04); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.punkt:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.punkt .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--soft); color: var(--brand); margin-bottom: 16px; }
.punkt .ic svg { width: 23px; height: 23px; }
.punkt h3 { font-size: 1.08rem; letter-spacing: -.015em; margin-bottom: 8px; }
.punkt p { color: var(--ink-2); font-size: .93rem; line-height: 1.62; margin: 0; }

.ablauf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--schritte, 4), 1fr); gap: 18px; counter-reset: schritt; }
.ablauf li { position: relative; counter-increment: schritt; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 64px 22px 24px; }
.ablauf li::before {
  content: counter(schritt, decimal-leading-zero); position: absolute; top: 20px; left: 22px;
  font-weight: 900; font-size: 1.5rem; letter-spacing: -.04em; color: var(--brand);
}
.ablauf li::after { content: ""; position: absolute; top: 34px; left: 72px; right: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--soft), transparent); }
.ablauf h3 { font-size: 1.04rem; margin-bottom: 8px; letter-spacing: -.01em; }
.ablauf p { font-size: .92rem; color: var(--ink-2); line-height: 1.6; margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: .9rem; font-weight: 650; color: var(--ink-2); }
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

.hinweisbox {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  background: linear-gradient(160deg, #fff, var(--paper-3)); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px 26px;
}
.hinweisbox .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-deep); color: #fff; }
.hinweisbox .ic svg { width: 21px; height: 21px; }
.hinweisbox h3 { font-size: 1.05rem; margin-bottom: 6px; }
.hinweisbox p, .hinweisbox li { color: var(--ink-2); font-size: .95rem; line-height: 1.65; }
.hinweisbox ul { margin: 6px 0 0; padding-left: 18px; }

.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.fliesstext p { color: var(--ink-2); font-size: 1.02rem; line-height: 1.78; }
.section .fliesstext h2 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); letter-spacing: -.03em; line-height: 1.15; margin: 40px 0 14px; }
.section .fliesstext h2:first-child { margin-top: 0; }
.seitenspalte { display: grid; gap: 18px; align-self: start; position: sticky; top: calc(var(--kopf-h) + 24px); }

/* Glossar */
.glossar { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.glossar-zeile { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.glossar-zeile:last-child { border-bottom: 0; }
.glossar-zeile:nth-child(even) { background: var(--paper-2); }
.glossar dt { font-weight: 800; color: var(--brand-deep); font-size: .96rem; }
.glossar dd { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }
.quelle { margin-top: 14px; font-size: .84rem; color: var(--ink-3); }
.fliesstext h3 { font-size: 1.24rem; letter-spacing: -.02em; margin: 30px 0 10px; }
.fliesstext h3:first-child { margin-top: 0; }

.verwandt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Leistungsübersicht: große Karten mit Bildfläche */
.leistung-gross { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.leistung-karte { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur); }
.leistung-karte:hover { transform: translateY(-6px); box-shadow: var(--shadow-hi); border-color: rgba(0,104,182,.35); }
.leistung-karte .medien { border-radius: 0; --format: 16 / 9; border: 0; }
.leistung-karte .ph::before { border-radius: 12px; }
.leistung-karte-text { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.leistung-karte h2, .leistung-karte h3 { font-size: 1.45rem; letter-spacing: -.03em; margin-bottom: 10px; }
.leistung-karte h2 a::after, .leistung-karte h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.leistung-karte p { color: var(--ink-2); font-size: .96rem; line-height: 1.65; }
.leistung-karte .mehr { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: .88rem; color: var(--brand-ink); }
.leistung-karte .mehr svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.leistung-karte:hover .mehr svg { transform: translateX(4px); }
.leistung-karte a:focus-visible { outline: none; }
.leistung-karte:has(a:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }

/* Branchenseite */
.branchen-liste { display: grid; gap: 22px; }
.branchen-eintrag { display: grid; grid-template-columns: 64px 1fr auto; gap: 24px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.branchen-eintrag .ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--soft); color: var(--brand); }
.branchen-eintrag .ic svg { width: 30px; height: 30px; }
.branchen-eintrag h2 { font-size: 1.36rem; letter-spacing: -.03em; margin-bottom: 8px; }
.branchen-eintrag p { color: var(--ink-2); font-size: .98rem; line-height: 1.7; }
.branchen-eintrag .passend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.branchen-eintrag .passend a { display: inline-block; font-size: .84rem; font-weight: 700; color: var(--brand-ink); background: var(--paper-2); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; transition: background var(--dur), border-color var(--dur); }
.branchen-eintrag .passend a:hover { background: var(--soft); border-color: var(--brand-hell); }

/* ── Kontakt ───────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.kontakt-karten { display: grid; gap: 12px; }
.kontakt-karte { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: border-color var(--dur), box-shadow var(--dur); }
a.kontakt-karte:hover { border-color: rgba(0,104,182,.4); box-shadow: var(--shadow); }
.kontakt-karte .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--soft); color: var(--brand); flex-shrink: 0; }
.kontakt-karte .ic svg { width: 22px; height: 22px; }
.kontakt-karte small { display: block; font-size: .76rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.kontakt-karte b { display: block; font-size: 1.04rem; color: var(--ink); line-height: 1.4; }

.formkarte { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.formkarte h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.035em; margin-bottom: 8px; }
.formkarte > p { color: var(--ink-2); }
.contact-form { display: grid; gap: 16px; margin-top: 22px; }
.feldreihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld { display: grid; gap: 7px; }
.feld > label, .feld > .feldname, fieldset > legend { font-weight: 700; font-size: .88rem; color: var(--ink); }
.feld .pflicht { color: var(--brand-ink); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 13px 15px;
  background: #fff; color: var(--ink); transition: border-color var(--dur), box-shadow var(--dur); outline: none;
  -webkit-appearance: none; appearance: none; font-family: inherit;
}
.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230068b6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset > legend { margin-bottom: 10px; padding: 0; }
.wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl label { position: relative; cursor: pointer; }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl span { display: inline-block; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 9px 15px; font-size: .88rem; font-weight: 650; color: var(--ink-2); background: #fff; transition: all var(--dur); }
.wahl input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.wahl input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.wahl label:hover span { border-color: var(--brand); }
.einwilligung { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .88rem; color: var(--ink-2); line-height: 1.55; }
.einwilligung input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); -webkit-appearance: auto; appearance: auto; padding: 0; }
.einwilligung a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.form-hinweis { font-size: .86rem; color: var(--ink-2); line-height: 1.6; margin: 0; }
.form-hinweis a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.form-status { font-size: .92rem; line-height: 1.6; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.form-status[data-art="ok"] { background: #eaf6ef; border-color: #b9dfc8; color: #14532d; }
.form-status[data-art="fehler"] { background: #fdf0f0; border-color: #f0c4c4; color: #7a1d1d; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Feldfehler, die der Formulardienst zurückmeldet (main.js setzt aria-invalid).
   #b42318 auf Weiß 6,5 : 1 – reicht auch als Rahmenfarbe (≥ 3 : 1). */
.contact-form [aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }
.wahl input[aria-invalid="true"] + span { border-color: #b42318; }
.contact-form button[aria-busy="true"] { opacity: .75; cursor: progress; }

/* ── Rechtstexte ───────────────────────────────────────────────────── */
.rechtstext { max-width: 820px; margin-inline: auto; }
.rechtstext h2 { font-size: 1.4rem; letter-spacing: -.02em; margin: 40px 0 12px; }
.rechtstext h2:first-of-type { margin-top: 0; }
.rechtstext h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.rechtstext p, .rechtstext li { color: var(--ink-2); line-height: 1.75; }
.rechtstext a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.datenblatt { display: grid; gap: 0; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.datenzeile { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.datenzeile:last-child { border-bottom: 0; }
.datenzeile dt { font-weight: 700; color: var(--ink); font-size: .92rem; }
.datenzeile dd { margin: 0; color: var(--ink-2); font-size: .95rem; }
.offen-strich { color: var(--ink-3); }
.luecke { border: 1.5px dashed #d9a441; background: #fff9ec; border-radius: 12px; padding: 14px 16px; margin: 12px 0 18px; font-size: .9rem; color: #5c4210; line-height: 1.6; }
.luecke b { color: #4a3409; }

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 72px var(--pad) 0; }
.footer-grid { max-width: var(--max-w); margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--ink-2); font-size: .92rem; line-height: 1.7; max-width: 320px; }
.footer-kontakt { display: grid; gap: 8px; margin-top: 18px; font-size: .92rem; }
.footer-kontakt a { color: var(--brand-deep); font-weight: 700; }
.footer-kontakt a:hover { color: var(--brand); }
.footer-kontakt span { color: var(--ink-2); }
.footer-col h2 { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--brand-ink); margin-bottom: 18px; }
.footer-col nav { display: flex; flex-direction: column; gap: 10px; }
.footer-col nav a { color: var(--ink-2); font-size: .92rem; transition: color var(--dur); width: fit-content; }
.footer-col nav a:hover { color: var(--brand-ink); }
.footer-bottom { max-width: var(--max-w); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0; }
.footer-bottom p { color: var(--ink-3); font-size: .84rem; margin: 0; }
.footer-bottom a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--brand-ink); }

/* ── Anruf-Knopf (fix unten rechts; ersetzt den WhatsApp-Knopf der Vorlage) ── */
.anruf-fix {
  position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff;
  box-shadow: 0 14px 34px rgba(0, 80, 160, .35); transition: transform .2s var(--ease), box-shadow .2s, opacity .2s, visibility .2s;
}
.anruf-fix svg { width: 25px; height: 25px; }
.anruf-fix::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(0,104,182,.35); animation: ring 2.8s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.anruf-fix:hover, .anruf-fix:focus-visible { transform: translateY(-4px) scale(1.06); box-shadow: 0 20px 44px rgba(0, 80, 160, .42); }
.anruf-fix .tip { position: absolute; right: 70px; top: 50%; transform: translateY(-50%) scale(.94); transform-origin: right center; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 10px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.anruf-fix:hover .tip, .anruf-fix:focus-visible .tip { opacity: 1; transform: translateY(-50%) scale(1); }
body:has(.contact-form:focus-within) .anruf-fix,
.site-header.nav-offen ~ .anruf-fix { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .anruf-fix::before { animation: none; opacity: 0; } }

/* ── Page-Loader (nur Startseite, nur mit JavaScript) ──────────────── */
.page-loader { display: none; }
.js .page-loader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 42%, rgba(0,104,182,.08), transparent 58%), #fff;
  transition: opacity .7s var(--ease), transform .8s var(--ease), visibility .8s;
}
.js .page-loader.is-done { opacity: 0; transform: translateY(-3%); visibility: hidden; pointer-events: none; }
.pl-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 24px; }
.pl-img { width: min(200px, 52vw); height: auto; animation: plIn .9s var(--ease) both, plFloat 3.6s ease-in-out 1s infinite; }
@keyframes plIn { from { opacity: 0; transform: translateY(16px) scale(.94); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes plFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.pl-bar { position: relative; width: min(200px, 52vw); height: 3px; border-radius: 3px; overflow: hidden; background: var(--paper-3); }
.pl-bar span { position: absolute; top: 0; bottom: 0; left: -42%; width: 42%; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--brand), transparent); animation: plSweep 1.15s var(--ease) infinite; }
@keyframes plSweep { 0% { left: -45%; } 100% { left: 103%; } }
@media (prefers-reduced-motion: reduce) {
  .pl-img { animation: none; } .pl-bar span { animation: none; left: 0; width: 100%; opacity: .5; }
  .js .page-loader { transition: opacity .3s ease, visibility .3s; }
}

/* ── Scroll-Einblendung (nur mit JavaScript) ───────────────────────── */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ── 404 ───────────────────────────────────────────────────────────── */
.fehler-code { font-size: clamp(5rem, 16vw, 11rem); font-weight: 900; letter-spacing: -.07em; line-height: .9; margin-bottom: 10px; }

/* ══ Responsive ═════════════════════════════════════════════════════ */
@media (max-width: 1220px) {
  .main-nav { gap: 22px; }
  .tel-chip .tel-nummer { display: none; }
  .tel-chip { padding: 6px; }
}
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .branchen-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
  .punkte-grid { grid-template-columns: repeat(2, 1fr); }
  .ablauf { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-badge.oben { left: -12px; }
  .hero-badge.unten { right: -8px; }
}

/* Umbruchpunkt der Navigation: 1040px. Darunter Menüknopf. Der Wert steht
   hier und in main.js NICHT – das Skript liest den Zustand am Knopf ab. */
@media (max-width: 1040px) {
  :root { --kopf-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; left: 12px; right: 12px; top: calc(var(--kopf-h) + 4px);
    max-height: calc(100dvh - var(--kopf-h) - 20px); overflow: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hi);
    padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { display: flex; padding: 14px 14px; border-radius: 12px; font-size: .84rem; }
  .nav-item { width: 100%; display: block; height: auto; }
  .nav-link::after { display: none; }
  .nav-link[aria-current] { background: var(--soft); }
  .nav-link .chev { display: none; }
  .subnav {
    position: static; width: auto; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: 0; padding: 0 0 8px 12px; grid-template-columns: 1fr; gap: 0; background: transparent;
  }
  .subnav-titel { padding: 12px 14px 2px; font-size: .64rem; }
  .subnav a { padding: 9px 14px; }
  .subnav small { display: none; }
  .subnav b { font-size: .9rem; font-weight: 650; color: var(--ink-2); }
  .subnav .subnav-alle { display: none; }
  .nav-item:hover .subnav, .nav-item:focus-within .subnav { transform: none; }
  /* Aufklappknopf rechts neben „Leistungen"; ohne JS bleibt die Liste offen */
  .js .nav-item { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .js .nav-item .subnav { grid-column: 1 / -1; display: none; }
  .js .nav-item.auf .subnav { display: grid; }
  .js .subnav-knopf {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: 4px; border: 1px solid var(--line);
    border-radius: 12px; background: #fff; color: var(--brand-ink); cursor: pointer;
  }
  .subnav-knopf svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
  .nav-item.auf .subnav-knopf svg { transform: rotate(180deg); }
  .nav-mobil-extra { display: grid; gap: 10px; padding: 12px 6px 6px; border-top: 1px solid var(--line); margin-top: 6px; text-transform: none; letter-spacing: 0; }
  .nav-mobil-extra .btn { width: 100%; }
  /* Ohne JavaScript bleibt das Menü sichtbar und bedienbar */
  .kein-js .main-nav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .kein-js .nav-toggle { display: none; }
  .kein-js .site-header { position: relative; height: auto; flex-wrap: wrap; padding-block: 14px; background: #fff; }
  .kein-js .main-nav { order: 3; width: 100%; margin-top: 10px; }
  .kein-js .header-actions { order: 2; }
}

@media (max-width: 900px) {
  .hero-grid, .hero.seite .hero-grid { grid-template-columns: 1fr; }
  .hero-home { min-height: auto; }
  .hero-bild { max-width: 560px; }
  .split-grid, .contact-grid, .zwei-spalten, .kooperation { grid-template-columns: 1fr; }
  .core-grid { grid-template-columns: 1fr; gap: 56px; }
  .lv-grid { grid-template-columns: repeat(2, 1fr); }
  .leistung-gross { grid-template-columns: 1fr; }
  .verwandt-grid { grid-template-columns: 1fr 1fr; }
  .img-last-mobile > .feature-img { order: 2; }
  .section { padding: 84px var(--pad); }
  .branchen-eintrag { grid-template-columns: 56px 1fr; }
  .branchen-eintrag .ic { width: 56px; height: 56px; }
  .branchen-eintrag .btn { grid-column: 2; justify-self: start; }
}

@media (max-width: 640px) {
  :root { --radius-lg: 22px; }
  .section { padding: 64px var(--pad); }
  .section.cta { padding-block: 24px 64px; }
  .hero { padding: calc(var(--kopf-h) + 32px) var(--pad) 52px; }
  .hero .lead { font-size: 1.02rem; }
  .section-head { margin-bottom: 34px; }
  .section-intro { font-size: 1rem; }
  .service-grid, .lv-grid, .punkte-grid, .ablauf, .verwandt-grid, .benefits, .trust-grid, .feldreihe, .footer-grid { grid-template-columns: 1fr; }
  .branchen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  h1, h2, h3, h4, .branche b { hyphens: auto; -webkit-hyphens: auto; }
  .datenzeile dd, .rechtstext p { overflow-wrap: anywhere; }
  .branche { padding: 16px 14px; gap: 10px; }
  .branche small { display: none; }
  .branche b { font-size: .88rem; }
  .card { padding: 26px 22px 24px; }
  .core-transition { margin: 64px 0 34px; }
  .antwortbox { grid-template-columns: 1fr; padding: 26px 22px; }
  .hero-badge { position: relative; inset: auto; margin-top: 12px; max-width: none; }
  .hero-badge.oben, .hero-badge.unten { top: auto; left: auto; right: auto; bottom: auto; }
  .hero-direkt { flex-wrap: wrap; }
  .brand img { height: 38px; }
  .brand-name { font-size: 1.02rem; }
  .brand-sub { font-size: .58rem; letter-spacing: .12em; }
  .datenzeile, .glossar-zeile { grid-template-columns: 1fr; gap: 2px; }
  .glossar-zeile { padding: 14px 18px; }
  .seitenspalte { position: static; }
  .branchen-eintrag { grid-template-columns: 1fr; padding: 24px 22px; }
  .branchen-eintrag .btn { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .contact-form input, .contact-form textarea, .contact-form select { font-size: 16px; }
  .anruf-fix { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .anruf-fix .tip { display: none; }
}

@media (max-width: 430px) {
  .hero-actions .btn, .knopfreihe .btn { width: 100%; }
  .nav-toggle .nav-toggle-text { display: none; }
  .nav-toggle { width: 44px; padding: 0; justify-content: center; }
  .btn { white-space: normal; text-align: center; }
}

/* Die Wortmarke bleibt bis 320px sichtbar: Sie ist der zugängliche Name
   des Logo-Verweises (das Bild hat alt=""). Ausblenden hieße: namenloser
   Link, axe „link-name", Agentic Browsing 3/4. */
@media (max-width: 360px) {
  .brand { gap: 8px; }
  .brand img { height: 32px; }
  .brand-name { font-size: .94rem; }
  .brand-sub { display: none; }
}

/* ══ Runde 30.09.2026: Bewertungen, Collage, Zusatzleistungen ═════════ */

/* Sterne in eigener Gestaltung (nicht Googles Gelb); der Wert steht als Text daneben.
   Nie im selben Element wie das Wort „Google" oder das G (Google-Richtlinie). */
.sterne { display: inline-flex; gap: 2px; color: var(--stern); flex-shrink: 0; }
.sterne svg { width: 16px; height: 16px; fill: currentColor; }

/* Offizielles Google-G: Freiraum steckt in der Datei (G = ein Drittel der Kante) */
.g-logo { width: 44px; height: 44px; flex-shrink: 0; display: block; }

/* Hinweis auf die Bewertungen im Hero – ohne Sterne, mit Stand */
.google-chip {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 20px; padding: 4px 18px 4px 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; color: var(--ink-2); max-width: 100%;
  box-shadow: 0 6px 18px rgba(10,31,61,.05); transition: border-color var(--dur), box-shadow var(--dur);
}
.google-chip:hover { border-color: rgba(0,104,182,.4); box-shadow: var(--shadow); }
.gc-text { display: grid; gap: 1px; font-size: .92rem; line-height: 1.35; }
.gc-text b { color: var(--ink); font-weight: 800; }
.gc-text small { font-size: .78rem; color: var(--ink-3); }

/* Knopf zum Profil: G links, Text rechts */
.google-knopf { gap: 4px; }
.google-knopf .knopf-g { width: 36px; height: 36px; margin: -8px 0 -8px -12px; }

/* Bewertungsbereich: Kopfzeile */
.stimmen-summe {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px 28px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 26px;
  box-shadow: var(--shadow); margin-bottom: 26px;
}
.summe-note { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: baseline; gap: 2px 8px; }
.stimmen-note { font-size: 3rem; font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.summe-von { font-size: .9rem; font-weight: 700; color: var(--ink-3); }
.summe-note .sterne { grid-column: 1 / -1; }
.summe-note .sterne svg { width: 20px; height: 20px; }
.summe-text { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.summe-text b { color: var(--ink); }

.stimmen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.stimmen-grid.anzahl-1 { grid-template-columns: minmax(0, 760px); justify-content: center; }
.stimmen-grid.anzahl-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }
.stimmen-masonry { columns: 3 300px; column-gap: 18px; }
.stimmen-masonry .stimme { break-inside: avoid; margin: 0 0 18px; }
.stimme {
  position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 6px 18px rgba(10,31,61,.04);
}
.stimme::after {
  content: "\201D"; position: absolute; top: 4px; right: 18px; font: 700 4.2rem/1 Georgia, 'Times New Roman', serif;
  color: var(--soft); pointer-events: none;
}
.stimme-kopf { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.stimme blockquote { margin: 0; position: relative; z-index: 1; }
.stimme blockquote p { margin: 0 0 8px; color: var(--ink-2); font-size: .96rem; line-height: 1.65; }
.stimme blockquote p:last-child { margin-bottom: 0; }
.stimme figcaption { margin-top: auto; display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.stimme figcaption b { font-size: .94rem; color: var(--ink); }
.stimme figcaption small { font-size: .82rem; color: var(--ink-3); }
/* Hinweis nach § 5b UWG: lesbar, nicht versteckt (Fließtext eine Stufe kleiner) */
.stimmen-hinweis {
  margin: 22px auto 0; max-width: 900px; padding: 16px 20px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; font-size: .9rem; line-height: 1.6; color: var(--ink-2);
}
.stimmen-hinweis b { color: var(--ink); }
.stimmen-hinweis a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.stimmen-fuss { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* Hero-Collage: groß oben, zwei Quadrate darunter */
.hero-mosaik { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-mosaik .m-gross { grid-column: 1 / -1; position: relative; }
.hero-mosaik .medien { border-radius: var(--radius); box-shadow: var(--shadow-hi); }
.hero-mosaik .mosaik-badge { left: -30px; bottom: 22px; }

/* Übergang mit kurzem Text */
.hero-home h1 { font-size: clamp(2.6rem, 5.4vw, 5.2rem); text-wrap: balance; }
.core-transition p { margin: 0; max-width: 660px; color: var(--ink-2); font-size: 1.02rem; line-height: 1.65; }

/* Winterdienst auf der Startseite: eine breite Karte, Bild links */
.winter-karte {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 4vw, 52px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.winter-karte:hover { transform: translateY(-4px); box-shadow: var(--shadow-hi); border-color: rgba(0,104,182,.3); }
.winter-karte .medien { border-radius: calc(var(--radius-lg) - 8px); }
.winter-text { padding: 18px 26px 22px 0; }
.winter-text h4 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.03em; margin: 0 0 12px; }
.winter-text h4 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 2; }
.winter-karte:has(a:focus-visible) { outline: 3px solid var(--brand); outline-offset: 4px; }
.winter-text h4 a:focus-visible { outline: none; }
.winter-text > p { color: var(--ink-2); line-height: 1.65; margin: 0 0 18px; }
.winter-text .feature-list { margin-bottom: 22px; gap: 10px; }
.winter-text .btn svg { width: 15px; height: 15px; }

/* Abschnitt mit dem Foto des Inhabers */
.inhaber-grid { grid-template-columns: minmax(0, 460px) 1fr; justify-content: center; }
.inhaber-foto { position: relative; margin: 0; }
.inhaber-foto .medien { border-radius: var(--radius-lg); box-shadow: var(--shadow-hi); }
.inhaber-schild {
  position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; display: grid; gap: 2px;
  background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow);
}
.inhaber-schild b { font-size: 1.08rem; color: var(--ink); letter-spacing: -.01em; }
.inhaber-schild small { font-size: .84rem; color: var(--ink-3); }
/* Platzhalter: Beschriftung oberhalb des Namensschilds halten */
.inhaber-foto .ph-inner { margin-bottom: 70px; }
.inhaber-knoepfe { margin-top: 28px; }

/* Leistungsübersicht in Gruppen */
.gruppe-kopf { display: flex; align-items: baseline; gap: 14px; margin: 64px 0 22px; scroll-margin-top: calc(var(--kopf-h) + 20px); }
.gruppe-kopf:first-child { margin-top: 0; }
.gruppe-kopf h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.035em; margin: 0; }
.gruppe-kopf span { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-ink); }

@media (max-width: 1100px) {
  .stimmen-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-mosaik .mosaik-badge { left: -12px; }
}
@media (max-width: 900px) {
  .winter-karte { grid-template-columns: 1fr; }
  .winter-text { padding: 6px 12px 16px; }
  .inhaber-grid { grid-template-columns: 1fr; }
  .inhaber-foto { max-width: 460px; }
  .stimmen-summe { grid-template-columns: auto 1fr; }
  .summe-knopf { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .stimmen-summe { grid-template-columns: 1fr; padding: 20px; }
  .stimmen-note { font-size: 2.6rem; }
  /* Am Handy wischt man durch die Stimmen statt sechs Karten zu scrollen */
  .stimmen-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad);
    scroll-padding-inline: var(--pad); }
  .stimmen-grid .stimme { scroll-snap-align: start; }
  .stimmen-grid.anzahl-2 { grid-template-columns: none; max-width: none; }
  .stimmen-grid.anzahl-1 { grid-auto-flow: row; grid-template-columns: 1fr; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .hero-mosaik { gap: 10px; }
  .inhaber-schild { left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 12px; }
  .inhaber-schild b { font-size: 1rem; }
  .inhaber-schild small { font-size: .74rem; }
  .google-chip { margin-top: 16px; padding-right: 14px; }
  .gc-text { font-size: .86rem; }
  .gc-text small { font-size: .72rem; }
  .google-chip .g-logo { width: 40px; height: 40px; }
}
