/* fassbender.net – site.css
   Ein Stylesheet, keine Frameworks. Farben/Abstände als Tokens auf :root. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #faf8f5;
  --bg-alt: #f2eee7;
  --surface: #ffffff;
  --ink: #1b1a18;
  --ink-2: #4a463f;
  --muted: #7a746a;
  --line: #e4ded3;
  --orange: #f3971b;
  --orange-ink: #a85f00;      /* Orange für Text auf Hell (Kontrast AA) */
  --orange-soft: #fdf0dc;
  --dark: #453e2c;            /* Headerbraun der alten Seite */
  --dark-rgb: 69, 62, 44;
  --dark-deep: #161513;       /* fast schwarz, Akzent („morgen“ in der Zeitleiste) */
  --dark-2: #504836;
  --dark-line: #5f5642;
  --dark-ink: #f4f1ec;
  --dark-muted: #c2b9a6;     /* AA auf --dark und --dark-2 */

  --radius: 18px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; } /* sonst gilt das height-Attribut aus photo() als feste Höhe und aspect-ratio greift nicht (Bild hoch & schmal beschnitten) */
picture { display: contents; } /* photo(): Layout-Regeln greifen direkt am img */
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.todo { background: #ffe9a8; color: #6a4b00; padding: 0 .3em; border-radius: 4px; font-size: .85em; font-weight: 600; }

/* ---------- Logo ---------- */
.logo { display: block; height: 34px; width: auto; aspect-ratio: 149.25 / 27.75; color: var(--orange); }
.site-header .logo { height: 46px; }
@media (max-width: 480px) { .logo, .site-header .logo { height: 34px; } }

/* ---------- Header / Nav ---------- */
/* Braun der alten fassbender.net-Seite (--dark); läuft nach unten weich aus statt harter Kante */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--dark); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 56px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(var(--dark-rgb), 1), rgba(var(--dark-rgb), .74) 18%, rgba(var(--dark-rgb), .45) 38%, rgba(var(--dark-rgb), .2) 60%, rgba(var(--dark-rgb), .06) 80%, rgba(var(--dark-rgb), 0));
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 24px; }
.brand { text-decoration: none; }
/* 30-Jahre-Animation (nur Startseite, assets/js/logo-morph.js): Canvas über dem Logo, das SVG bleibt für Screenreader im DOM */
.brand.lm-host { position: relative; display: block; }
.lm-host > canvas { position: absolute; pointer-events: none; }
.lm-on > svg { visibility: hidden; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 26px; }
.nav ul a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--dark-muted); position: relative; padding: 6px 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--orange); transition: right .35s var(--ease); }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--dark-ink); }
.nav ul a:hover::after, .nav ul a[aria-current]::after { right: 0; }
.site-header .btn-primary { background: var(--orange); color: var(--ink); }
.site-header .btn-primary:hover { background: var(--dark-ink); color: var(--ink); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; padding: 0;
  }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark-ink); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 88px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dark); padding: 8px var(--gutter) 28px; border-bottom: 1px solid var(--dark-line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--dark-line); }
  .nav ul a::after { display: none; }
  .nav .btn { margin-top: 20px; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  padding: .95em 1.4em; border-radius: 999px; border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--orange); color: var(--ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: .7em 1.15em; font-size: .92rem; }
.btn-sm .ico { display: none; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: .45em; height: .95em; background: var(--orange); border-radius: 1px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.sec-head .lead { margin-top: 1.1rem; }
.text-link { color: var(--orange-ink); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.ico { width: 24px; height: 24px; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section:not(.section-alt):not(.section-dark) + .section:not(.section-alt):not(.section-dark) { padding-top: 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--dark-ink); }
.section-dark .lead, .section-dark p { color: var(--dark-muted); }
.section-dark h2, .section-dark h3 { color: var(--dark-ink); }
.section-dark .eyebrow { color: var(--orange); }
.more-link { margin-top: 40px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.0; }
.hero .hl { position: relative; display: inline-block; color: var(--ink); isolation: isolate; }
.hero .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .16em; z-index: -1;
  background: var(--orange); border-radius: 2px; transform-origin: left; animation: draw 1.1s .5s var(--ease) both;
}
@keyframes draw { from { transform: scaleX(0); } }
/* Tipp-Effekt für den Claim (assets/js/site.js). Cursor = Balken aus dem Logo. */
.typewrite .ch { visibility: hidden; }
.typewrite .ch.on { visibility: visible; }
.type-caret { display: inline-block; width: .42em; height: .74em; margin-left: .1em; margin-right: -.52em; background: var(--orange); border-radius: 1px; vertical-align: baseline; animation: caret 1.06s steps(1) 4; }
.typewrite.is-typing .type-caret { animation: none; }
/* nach dem Tippen noch viermal blinken, dann steht der Cursor ruhig */
.typewrite.is-done .type-caret { animation: caret 1.06s steps(1) 4; }
@keyframes caret { 50% { opacity: 0; } }
.js .typewrite .hl::after { animation: none; transform: scaleX(0); }
.js .typewrite.is-done .hl::after { animation: draw 1.1s .15s var(--ease) both; transform: none; }
.hero .lead { margin-top: 1.6rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; }

.hero-map {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  padding: 24px 24px 18px; box-shadow: 0 30px 60px -30px rgba(60, 40, 10, .18);
}
.hero-map svg { width: 100%; height: auto; overflow: visible; }
.map-dot { fill: #ddd6ca; }
.map-nl { fill: #efeae1; opacity: .7; }
.map-border { fill: none; stroke: #9d968a; stroke-width: .9; stroke-dasharray: 4 2 1 2; }
.map-country { font-size: 20px; font-weight: 700; letter-spacing: .08em; fill: #cfc7b9; }
.map-river-line { fill: none; stroke: #bcd5e8; stroke-linecap: round; stroke-linejoin: round; }
.map-rhine { stroke-width: 4.5; }
.map-maas { stroke-width: 3; }
.map-ruhr { stroke-width: 2; }
.map-customers circle { fill: var(--orange); opacity: .5; }
.map-river { font-size: 8px; fill: #6f98b8; font-style: italic; letter-spacing: .1em; }
.hero-map text { paint-order: stroke; stroke: var(--surface); stroke-width: 2.5px; stroke-linejoin: round; }
.map-town circle { fill: #9d968a; }
.map-town text { font-size: 8px; font-weight: 500; fill: var(--muted); }
.map-link { fill: none; stroke: var(--orange); stroke-width: .9; stroke-dasharray: 3 3; opacity: .7; }
.map-backbone { fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 6 4; animation: dash 6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -100; } }
.map-loc circle { fill: var(--orange); }
.map-loc .pulse { fill: var(--orange); opacity: .5; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
.map-loc:not(.is-server) .pulse { animation-duration: 3.4s; opacity: .35; }
.map-loc:nth-of-type(2n) .pulse { animation-delay: .8s; }
.map-loc:nth-of-type(3n) .pulse { animation-delay: 1.6s; }
.map-loc.is-server > circle:not(.pulse) { stroke: var(--surface); stroke-width: 1.5; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(3.6); opacity: 0; } }
.map-loc text { font-size: 11px; font-weight: 650; fill: var(--ink); }
.map-loc .map-sub { font-size: 7px; font-weight: 600; fill: var(--orange-ink); letter-spacing: .08em; text-transform: uppercase; }
.hero-map figcaption { margin-top: 14px; font-size: .86rem; color: var(--muted); }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.map-legend li { display: inline-flex; align-items: center; gap: 7px; }
.lg { display: inline-block; flex: none; }
.lg-site { width: 11px; height: 11px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--orange); }
.lg-cust { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); opacity: .5; }
.lg-link { width: 18px; border-top: 2px dashed var(--orange); }
.map-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.map-stats p { color: var(--ink-2); line-height: 1.35; }
.map-stats strong { display: block; font-size: 1.45rem; font-weight: 650; letter-spacing: -.03em; color: var(--ink); }
.map-note { margin-top: 10px; font-size: .8rem; }

.proofs {
  display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.proofs li { padding: 22px 20px 0 0; display: flex; flex-direction: column; gap: 4px; }
.proofs li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.proofs strong { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 650; letter-spacing: -.03em; }
.proofs span { font-size: .9rem; color: var(--muted); }
.proofs strong[data-count] { font-variant-numeric: tabular-nums; }
.proof-link { font-size: .78rem; font-weight: 600; color: var(--orange-ink); text-decoration: none; }
.proof-link:hover, .proof-link:focus-visible { text-decoration: underline; }
/* Fakten mit Symbol (facts() in inc/components.php) */
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.proofs .facts span, .facts span { font-size: .78rem; }
.facts-pre { color: var(--muted); width: 100%; }
.fact { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-ink) !important; font-weight: 600; white-space: nowrap; }
.fact .ico { width: 15px; height: 15px; flex: none; }
.service-detail .facts { margin-top: 0; }
.service-detail .fact { font-size: .82rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-map { max-width: 520px; }
  .proofs { grid-template-columns: 1fr 1fr; }
  .proofs li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .proofs li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; }
}

/* ---------- Startseite: Heatmap als Hero-Hintergrund (inc/heatmap.php) ----------
   Größen in px = Karteneinheiten (viewBox 320×269). Aufbau-Animation über .is-warm (site.js). */
.hero-heat { position: relative; isolation: isolate; }
/* Zwei Spalten: Text links, Karte rechts ohne Rahmen bis an den Bildschirmrand */
.hero-heat .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto auto; gap: 0 clamp(24px, 3vw, 48px); }
.hero-heat h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); }
.hero-heat .hero-copy { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
.hero-bg {
  grid-column: 2; grid-row: 1; position: relative; pointer-events: none; aspect-ratio: 320 / 269;
  margin: -24px calc(-1 * (max(0px, (100vw - var(--wrap)) / 2) + var(--gutter))) 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%), linear-gradient(180deg, transparent 0, #000 8%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 10%), linear-gradient(180deg, transparent 0, #000 8%, #000 86%, transparent);
  mask-composite: intersect;
}
.hero-bg svg { width: 100%; height: 100%; max-width: none; overflow: hidden; }
.hero-bg text { paint-order: stroke; stroke: var(--bg); stroke-width: 1.6px; stroke-linejoin: round; }
.hero-bg .map-dot { fill: #e3ddd2; }
.hero-bg .map-country { font-size: 13px; }
.hero-bg .map-border { stroke-width: .6; stroke-dasharray: 3 1.5 .8 1.5; }
.hero-bg .map-rhine { stroke-width: 2.8; }
.hero-bg .map-maas { stroke-width: 1.9; }
.hero-bg .map-ruhr { stroke-width: 1.3; }
.hero-bg .map-river { font-size: 5px; }
.hero-bg .map-town circle { fill: #b3ac9f; }
.hero-bg .map-town text { font-size: 5.4px; }
.hero-bg .map-link { stroke-width: .6; stroke-dasharray: 2 2; }
.hero-bg .map-backbone { stroke-width: 1.2; stroke-dasharray: 4 3; }
.hero-bg .map-loc text { font-size: 8px; }
.hero-bg .map-loc .map-sub { font-size: 4.2px; }
.hero-bg .map-loc.is-server > circle:not(.pulse) { stroke: var(--bg); stroke-width: 1.1; }

.heat-rings circle { fill: rgba(243, 151, 27, .05); stroke: var(--orange); stroke-width: .5; opacity: .6; stroke-dasharray: 100; transition: stroke-dashoffset 2.2s var(--ease), fill-opacity 2.2s; }
.heat-rings circle:nth-of-type(2) { transition-delay: .2s; }
.heat-rings circle:nth-of-type(3) { transition-delay: .4s; }
.heat-rings text { font-size: 4.2px; font-weight: 650; letter-spacing: .08em; fill: var(--orange-ink); transition: opacity .6s 1.7s; }
.heat-blob { transform-box: fill-box; transform-origin: center; transition: opacity 1.5s var(--ease) var(--d), transform 2s var(--ease) var(--d); }
.heat-cores circle { fill: #8a3c00; opacity: .5; transform-box: fill-box; transform-origin: center; transition: opacity .75s var(--d); }
.heat-cores .ping { fill: none; stroke: var(--orange-ink); stroke-width: .35; opacity: 0; }
html:not(.js) .heat-cores .ping, .hero-heat.is-warm .heat-cores .ping { animation: ping var(--p) var(--ease) var(--d) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 60%, 100% { transform: scale(7); opacity: 0; } }

/* Vor dem Aufwärmen (nur mit JS): Karte ohne Kunden, Ringe noch nicht gezeichnet */
.js .hero-heat:not(.is-warm) .heat-blob { opacity: 0; transform: scale(.3); }
.js .hero-heat:not(.is-warm) .heat-cores circle { opacity: 0; }
.js .hero-heat:not(.is-warm) .heat-rings circle { stroke-dashoffset: 100; fill-opacity: 0; }
.js .hero-heat:not(.is-warm) .heat-rings text { opacity: 0; }

.heat-key {
  grid-column: 2; grid-row: 2; position: relative; z-index: 1; margin-top: -28px;
  padding-top: 14px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted);
}
.heat-key .map-stats { margin: 0; padding: 0; border: 0; }
.heat-key .map-stats strong { font-variant-numeric: tabular-nums; }
.heat-key .map-legend { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.lg-heat { width: 24px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #fde6a0, var(--orange), #d1430d); }
.lg-ring { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--orange); background: rgba(243, 151, 27, .08); }

@media (max-width: 900px) {
  .hero-heat .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-heat .hero-copy, .hero-bg, .heat-key { grid-column: 1; grid-row: auto; }
  .hero-bg {
    margin: 8px calc(var(--gutter) * -1) 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 84%, transparent);
    -webkit-mask-composite: source-over;
    mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 84%, transparent);
    mask-composite: add;
  }
  .hero-bg text { stroke-width: 2.2px; }
  .hero-bg .map-town text { font-size: 8px; }
  .hero-bg .map-loc text { font-size: 11px; }
  .hero-bg .map-loc .map-sub { font-size: 6px; }
  .hero-bg .map-river { font-size: 7px; }
  .heat-rings text { font-size: 6px; }
  .heat-key { margin-top: -20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-heat * { transition: none !important; }
}

/* Standortfotos in der Hero-Karte (inc/heatmap.php): Foto-Pins über den Standortpunkten, --x/--y in % der Karte.
   Erscheinen nach der Glüh-Welle (--pd), werden einmal nacheinander groß gezeigt und bleiben danach klein.
   Hover bzw. Antippen (.is-open) vergrößert. */
.hero-pins { position: absolute; inset: 0; pointer-events: none; }
.pin {
  --w: 62px; position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); z-index: 1; width: var(--w);
  transform: translate(-50%, calc(-100% - 10px)); pointer-events: auto; cursor: zoom-in; -webkit-tap-highlight-color: transparent;
  transition: width .6s var(--ease);
}
.pin-body { position: relative; display: block; border: 3px solid var(--surface); border-radius: 12px; background: var(--surface);
  box-shadow: 0 10px 28px -10px rgba(40, 25, 5, .45); transform-origin: 50% 100%; }
.pin-body::after { /* Spitze zum Standortpunkt */
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 12px; height: 12px; margin-left: -6px;
  background: var(--surface); transform: rotate(45deg); border-radius: 0 0 3px 0; z-index: -1;
}
.pin img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; }
.pin-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 8px; border-radius: 0 0 9px 9px;
  font-size: .74rem; line-height: 1.3; color: rgba(255, 255, 255, .85); background: linear-gradient(180deg, rgba(22, 21, 19, 0), rgba(22, 21, 19, .8));
  opacity: 0; transition: opacity .3s;
}
.pin-cap strong { display: block; font-size: .9rem; font-weight: 650; color: #fff; }
.pin-main { transform: translate(-22%, calc(-100% - 10px)); } /* nach rechts versetzt: links blendet die Karte aus */
.pin-main .pin-body::after { left: 22%; }
.pin.is-open { --w: 200px; z-index: 3; }
.pin.is-open .pin-cap { opacity: 1; transition-delay: .25s; }
@media (hover: hover) { /* nur echte Maus – auf dem iPhone bliebe :hover nach dem Antippen hängen */
  .pin:hover { --w: 200px; z-index: 3; }
  .pin:hover .pin-cap { opacity: 1; transition-delay: .25s; }
}
.js .hero-heat:not(.is-warm) .pin { visibility: hidden; }
.js .hero-heat.is-warm .pin-body { animation: pin-in .8s var(--ease) var(--pd) both; }
/* Vollbild für Standortfotos (site.js → zoom): Foto, daneben Adresse, Route und Karte (lädt erst nach Klick) */
.zoom { width: min(94vw, 1240px); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--ink); overflow: auto; }
.zoom::backdrop { background: rgba(22, 21, 19, .88); }
.zoom[open] { animation: zoom-in .35s var(--ease); }
@keyframes zoom-in { from { opacity: 0; transform: scale(.94); } }
.zoom-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); }
.zoom-grid > img { width: 100%; height: 100%; max-height: 80vh; object-fit: contain; background: var(--dark); }
.zoom-side { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; font-size: .95rem; color: var(--ink-2); }
.zoom-cap { color: var(--muted); }
.zoom-cap strong { display: block; font-size: 1.5rem; font-weight: 650; letter-spacing: -.02em; color: var(--ink); }
.zoom-addr a { color: var(--orange-ink); }
.zoom-map { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 220px; padding: 18px; border-radius: var(--radius-sm); background: var(--bg-alt); font-size: .85rem; color: var(--muted); }
.zoom-map a { color: var(--orange-ink); }
.zoom-map iframe { flex: 1; width: calc(100% + 36px); min-height: 260px; margin: -18px; border: 0; border-radius: var(--radius-sm); }
.zoom-load { align-self: flex-start; padding: 9px 16px; font: 600 .9rem var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.zoom-load:hover { border-color: var(--orange); }
.zoom-x {
  position: absolute; top: 12px; right: 12px; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%;
  font: 600 1.5rem/1 var(--font); color: var(--ink); background: var(--surface); cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
@media (max-width: 760px) {
  .zoom-grid { grid-template-columns: 1fr; }
  .zoom-grid > img { height: auto; max-height: 50vh; }
  .zoom-side { padding: 20px 18px 18px; }
}
@keyframes pin-in { from { opacity: 0; transform: translateY(14px) scale(.4); } }
@media (max-width: 900px) {
  .pin { --w: 46px; transform: translate(-50%, calc(-100% - 8px)); }
  .pin-main { transform: translate(-22%, calc(-100% - 8px)); }
  .pin-body { border-width: 2px; border-radius: 9px; }
  .pin img { border-radius: 7px; }
  .pin.is-open { --w: 150px; }
  @media (hover: hover) { .pin:hover { --w: 150px; } }
  .pin-cap { padding: 20px 8px 6px; font-size: .66rem; }
  .pin-cap strong { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .js .hero-heat.is-warm .pin-body { animation: none; } }

/* ---------- Branchen-Kacheln ---------- */
.clusters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.cluster {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.cluster::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange);
  transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease);
}
a.cluster:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 48px -24px rgba(60, 40, 10, .25); }
a.cluster:hover::before { transform: scaleY(1); }
.cluster h3 { font-size: 1.35rem; }
.cluster-theme { color: var(--ink-2); }
.cluster-more { background: transparent; border-style: dashed; }
/* „Und viele mehr“ über die volle Breite: Titel links, Etiketten rechts */
.cluster-more { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); column-gap: clamp(24px, 4vw, 56px); align-items: center; }
.cluster-more h3 { grid-column: 1; grid-row: 1; align-self: end; }
.cluster-more .cluster-theme { grid-column: 1; grid-row: 2; align-self: start; }
.cluster-more .tags { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; padding-top: 0; }
@media (max-width: 760px) { .cluster-more { display: flex; } .cluster-more .tags { margin-top: auto; padding-top: 8px; } }
.cluster-ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--orange-soft); color: var(--orange-ink); margin-bottom: 6px;
}
.section-dark .cluster-ico { background: rgba(243, 151, 27, .14); color: var(--orange); }
/* Branchen-Kacheln (Startseite) und Branchen-Seite: Symbol groß und angeschnitten, Linienzeichnung im CI-Orange (wie bei „Was wir tun“) */
.cluster { isolation: isolate; }
.cluster .cluster-ico, .branch .cluster-ico {
  position: absolute; z-index: -1; width: 176px; height: 176px; margin: 0; border-radius: 0; background: none;
  color: var(--orange); opacity: .2; pointer-events: none; transition: transform .8s var(--ease), opacity .4s;
}
.cluster .cluster-ico .ico, .branch .cluster-ico .ico { width: 100%; height: 100%; stroke-width: .75; }
.cluster .cluster-ico { top: -36px; right: -36px; }
a.cluster:hover .cluster-ico { transform: rotate(-8deg) scale(1.06); opacity: .38; }
.branch { position: relative; overflow: hidden; isolation: isolate; }
.branch-main { position: relative; }
.branch .cluster-ico { top: calc(-1 * clamp(28px, 4vw, 48px) - 40px); right: -20px; width: 200px; height: 200px; }
@media (max-width: 860px) { .branch .cluster-ico { right: calc(-1 * clamp(28px, 4vw, 48px) - 30px); width: 160px; height: 160px; } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.tags li { font-size: .82rem; padding: .3em .75em; border-radius: 999px; background: var(--bg-alt); color: var(--ink-2); }

/* ---------- KI-gestützte Entwicklung (inc/ki-dev.php) ---------- */
.ki-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--dark-line); padding-top: 28px; }
.ki-n { display: block; font-size: .85rem; font-weight: 600; color: var(--orange); font-variant-numeric: tabular-nums; }
.ki-pillars h3 { font-size: 1.3rem; margin: 10px 0 8px; }
.ki-sub { margin-top: clamp(48px, 7vw, 80px); font-size: 1.1rem; font-weight: 600; color: var(--dark-ink); }
.ki-projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 20px; }
.ki-project { position: relative; overflow: hidden; isolation: isolate; padding: 26px 26px 72px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid var(--dark-line); }
.ki-project h4 { font-size: 1.1rem; color: var(--dark-ink); margin-bottom: 8px; }
.ki-project p { font-size: .95rem; }
.ki-ico { position: absolute; z-index: -1; right: -30px; bottom: -30px; width: 150px; height: 150px; color: var(--orange); opacity: .22; transition: transform .8s var(--ease), opacity .4s; }
.ki-ico .ico { width: 100%; height: 100%; stroke-width: .75; }
.ki-project:hover .ki-ico { transform: rotate(-8deg) scale(1.06); opacity: .36; }
.ki-outro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(32px, 5vw, 48px); }
.ki-outro p { font-size: 1.2rem; font-weight: 550; color: var(--dark-ink); }
.ki-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ki-chips li { display: inline-flex; align-items: center; gap: 8px; padding: .45em .9em; border-radius: 999px; border: 1px solid var(--dark-line); font-size: .9rem; color: var(--dark-ink); }
.ki-chips .ico { width: 16px; height: 16px; color: var(--orange); }
.ki-dev .btn-ghost { color: var(--dark-ink); border-color: var(--dark-line); }
.ki-dev .btn-ghost:hover { border-color: var(--orange); }
@media (max-width: 860px) { .ki-pillars { grid-template-columns: 1fr; } }

/* ---------- Hebel ---------- */
.levers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.lever:last-child:nth-child(odd) { grid-column: 1 / -1; }
.lever:last-child:nth-child(odd) p { max-width: 62ch; }
.lever { padding: 36px 40px 40px 0; border-bottom: 1px solid var(--line); }
.lever:nth-child(even) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line); }
.lever-n { font-size: .85rem; font-weight: 600; color: var(--orange-ink); font-variant-numeric: tabular-nums; }
.lever h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 14px 0 12px; }
.lever p { color: var(--ink-2); }
/* Gesicht zum Hebel (wie eine Unterschrift unter dem Versprechen) und Foto beim breiten letzten Hebel */
.lever-who { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.lever-who img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line); }
.lever-who span { display: flex; flex-direction: column; font-size: .95rem; line-height: 1.3; color: var(--muted); }
.lever-who strong { color: var(--ink); font-weight: 600; font-size: 1.05rem; }
@media (max-width: 560px) { .lever-who img { width: 72px; height: 72px; } }
.lever.has-photo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; padding-right: 0; }
.lever-photo { margin: 0; width: 280px; justify-self: end; }
.lever-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

/* Startseite: Teamfoto als randloses Band */
.photo-band { position: relative; isolation: isolate; color: #fff; background: var(--dark); }
.photo-band img { width: 100%; height: clamp(420px, 46vw, 720px); object-fit: cover; object-position: 50% 0; } /* oben bündig: Logo an der Fassade bleibt ganz */
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(22, 21, 19, 0) 45%, rgba(22, 21, 19, .78) 100%); pointer-events: none; }
.photo-band-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.photo-band .eyebrow { color: var(--orange); }
.photo-band-title { font-size: clamp(1.6rem, 3.4vw, 2.8rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.1; max-width: 18em; text-wrap: balance; }
.photo-band .btn { color: #fff; border-color: rgba(255, 255, 255, .5); }
.photo-band .btn:hover { border-color: #fff; }
@media (max-width: 760px) {
  .levers { grid-template-columns: 1fr; }
  .lever, .lever:nth-child(even) { padding: 28px 0 32px; border-left: 0; }
}

/* ---------- Zeitleiste ---------- */
.section-dark { position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -240px; top: -280px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(243, 151, 27, .16), transparent); pointer-events: none;
}
/* Vergangenheit scrollt seitlich (.tl-track), „morgen“ steht fest rechts (.tl-future). JS: site.js timeline() */
.tl { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 24%, 280px); grid-template-rows: auto auto; }
.tl-track {
  grid-column: 1; grid-row: 1; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; outline-offset: 6px; --fl: 0px; --fr: 72px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
}
.tl-track::-webkit-scrollbar { display: none; }
html:not(.js) .tl-track { scrollbar-width: thin; }
.tl-track.not-start { --fl: 48px; }
.tl-track.at-end { --fr: 0px; }
.tl-track.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.tl-track.is-auto { scroll-snap-type: none; }
.timeline { position: relative; display: flex; width: max-content; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--dark-line); }
/* Feste Breite statt nur flex-basis: Safari/Firefox rechnen die Breite der Leiste (max-content) sonst aus dem ungebrochenen Text
   und es entsteht rechts von „heute“ leerer, scrollbarer Raum */
.timeline li { position: relative; flex: none; width: clamp(210px, 21vw, 250px); padding: 36px 28px 0 0; scroll-snap-align: start; }
.timeline li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--dark); border: 2px solid #8c8268;
}
/* Stationen dazwischen zurückgenommen, „heute“ hell, „morgen“ orange */
.timeline li .tl-year { color: #b3aa98; }
.timeline li h3 { color: #c9c3b9; }
.timeline li p { color: #b3aa98; }
/* Link unter einem Zeitleisten-Eintrag; 1996: Mini-Bildschirm der Mailbox (mailbox.php), Schrift lokal wie dort */
@font-face { font-family: "VGA"; src: url("../fonts/ibm-vga-9x16.woff") format("woff"); font-display: swap; }
.tl-link { display: block; margin-top: 12px; text-decoration: none; }
.tl-link-text { font-size: .9rem; font-weight: 600; color: var(--orange); }
.tl-link:hover .tl-link-text, .tl-link:focus-visible .tl-link-text { text-decoration: underline; }
.tl-bbs { display: block; margin-bottom: 10px; padding: 10px 12px; background: #000; border: 1px solid #3a352b; border-radius: 8px;
  font: 16px/1 "VGA", ui-monospace, monospace; color: #aaa; white-space: pre; overflow: hidden; -webkit-font-smoothing: none;
  text-shadow: 0 0 .18em currentColor; box-shadow: inset 0 0 22px rgba(0,0,0,.9); transition: border-color .2s; }
.tl-bbs b { font-weight: inherit; color: #fff; }
.tl-bbs i { font-style: normal; color: #ffff55; }
.tl-bbs u { text-decoration: none; animation: caret 1.06s steps(1) infinite; }
.tl-link:hover .tl-bbs, .tl-link:focus-visible .tl-bbs { border-color: var(--orange); }
@media (prefers-reduced-motion: reduce) { .tl-bbs u { animation: none; } }
.timeline li.is-now::before { border-color: var(--dark-ink); }
.timeline li.is-now .tl-year, .timeline li.is-now h3 { color: var(--dark-ink); }
.timeline li.is-now p { color: var(--dark-muted); }
.tl-year { display: block; font-size: 1.7rem; font-weight: 650; letter-spacing: -.03em; color: var(--dark-ink); }
.timeline h3, .tl-future h3 { font-size: 1rem; margin: 10px 0 6px; }
.timeline p, .tl-future p { font-size: .93rem; }

.tl-future { grid-column: 2; grid-row: 1 / span 2; position: relative; padding-left: 30px; }
.tl-future::before { content: ""; position: absolute; left: 0; width: 30px; top: 7px; border-top: 1px dashed var(--orange); }
/* „morgen“ als fast schwarze Karte; Punkt sitzt auf Höhe der Zeitleisten-Linie (top 7px) */
.tl-future-card { position: relative; margin-top: -22px; padding: 58px 24px 26px; border-radius: var(--radius); background: var(--dark-deep); }
.tl-future-card::before {
  content: ""; position: absolute; top: 22px; left: 24px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 6px rgba(243, 151, 27, .2);
}
.tl-future .tl-year { color: var(--orange); }
.tl-future p { color: var(--dark-muted); }

.tl-nav { grid-column: 1; grid-row: 2; display: none; align-items: center; gap: 12px; margin-top: 28px; padding-right: 28px; }
.js .tl-nav { display: flex; }
.tl-btn {
  flex: none; width: 40px; height: 40px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--dark-line); background: transparent; color: var(--dark-ink); transition: border-color .2s, color .2s, opacity .2s;
}
.tl-btn .ico { width: 18px; height: 18px; }
.tl-btn[data-dir="-1"] .ico { transform: scaleX(-1); }
.tl-btn:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
.tl-btn:disabled { opacity: .3; cursor: default; }
.tl-bar { flex: 1; height: 3px; border-radius: 3px; background: var(--dark-line); overflow: hidden; }
.tl-bar span { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(.3); transition: transform .12s linear; }

@media (max-width: 700px) {
  .tl { grid-template-columns: minmax(0, 1fr); }
  .tl-track, .tl-nav, .tl-future { grid-column: 1; grid-row: auto; }
  .tl-nav { padding-right: 0; }
  .tl-future { margin-top: 32px; padding: 0; }
  .tl-future::before { display: none; }
  .tl-future-card { margin-top: 0; }
}

/* ---------- Erfahrungsberichte ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story {
  display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); height: 100%;
}
.story-photo { margin: -32px -32px 4px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-photo-todo { display: flex; align-items: center; padding: 24px 32px; background: repeating-linear-gradient(-45deg, var(--surface), var(--surface) 10px, var(--line) 10px, var(--line) 11px); color: var(--ink-2); font-size: .88rem; }
.story-tag { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }
.draft { margin-left: .5em; font-size: .9em; letter-spacing: .05em; background: #ffe9a8; color: #6a4b00; padding: .1em .5em; border-radius: 4px; }
.story h2, .story h3 { font-size: 1.25rem; }
.story-before, .story dd { color: var(--ink-2); }
.story-after { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); }
.story-after strong { color: var(--orange-ink); font-weight: 600; }
.story dl { margin: 0; display: grid; gap: 6px; }
.story dt { font-size: .82rem; font-weight: 600; color: var(--muted); margin-top: 10px; }
.story dd { margin: 0; }
.story blockquote, .branch-quote blockquote { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.story blockquote p, .branch-quote blockquote p { font-size: 1.12rem; font-weight: 550; letter-spacing: -.01em; line-height: 1.45; color: var(--ink); }
.story blockquote footer, .branch-quote footer { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.stories-full { grid-template-columns: repeat(2, 1fr); }
.stories-full > div { scroll-margin-top: 100px; }
.stories-solo { grid-template-columns: minmax(0, 46rem); justify-content: center; } /* vorschau.php */
.preview-more { margin-top: 36px; text-align: center; } /* vorschau.php */
.preview-link { margin-top: 10px; font-size: .82rem; } /* nur Staging */
.preview-link input { width: 100%; margin-top: 4px; font: .8rem ui-monospace, monospace; padding: .4em .6em; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink-2); }
@media (max-width: 1000px) { .stories { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .stories, .stories-full { grid-template-columns: 1fr; } }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.services-compact { grid-template-columns: repeat(4, 1fr); }
.services-compact .service { flex-direction: column; gap: 14px; }
.service h2, .service h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-full h2 { font-size: 1.45rem; }
.service p { color: var(--ink-2); font-size: .97rem; }
.service-detail { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem !important; color: var(--muted) !important; }
/* Symbol groß und angeschnitten unten rechts in der Karte, als Linienzeichnung im CI-Orange */
.service { position: relative; overflow: hidden; isolation: isolate; }
.service-ico { position: absolute; z-index: -1; right: -34px; bottom: -34px; width: 168px; height: 168px; color: var(--orange); opacity: .26; pointer-events: none; transition: transform .8s var(--ease), opacity .4s; }
.service-ico .ico { width: 100%; height: 100%; stroke-width: .75; }
.service:hover .service-ico { transform: rotate(-8deg) scale(1.06); opacity: .4; }
.services-compact .service { padding-bottom: 88px; }
.service-full { padding-right: 120px; }
.service-wide { grid-column: 1 / -1; } /* Fokustag: über beide Spalten */
.service-full { scroll-margin-top: 100px; } /* Sprungmarken (/leistungen#telefonie) nicht unter dem festen Header */
.service-full { padding-top: 32px; padding-bottom: 32px; padding-left: 32px; gap: 22px; }
@media (max-width: 1000px) { .services-compact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .services, .services-compact { grid-template-columns: 1fr; } .services-compact .service { padding-bottom: 26px; padding-right: 96px; } .service-full { padding-right: 96px; } .service-ico { width: 132px; height: 132px; right: -30px; bottom: -30px; } }

/* ---------- CTA-Band ---------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: var(--orange); color: var(--ink);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 255, 255, .18); pointer-events: none;
}
.cta-band > div { max-width: 640px; position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cta-band p { margin-top: .8rem; font-size: 1.1rem; }
.cta-band .btn { position: relative; z-index: 1; }
.cta-band .btn-primary:hover { background: #fff; }

/* ---------- Unterseiten ---------- */
.page-hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-weight: 700; letter-spacing: -.04em; max-width: 15em; }
.page-hero .lead { margin-top: 1.4rem; }
.page-hero + .section { padding-top: 0; }

.branch-list { display: grid; gap: 16px; }
.branch {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.branch:target { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.branch-main h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 10px; }
.branch-theme { font-size: 1.15rem; font-weight: 550; color: var(--orange-ink); margin-bottom: 14px; }
.branch-main > p:not(.branch-theme) { color: var(--ink-2); }
.branch-main .tags { margin-top: 20px; }
.branch-more-list { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.branch-more-list strong { color: var(--ink-2); font-weight: 600; }
.branch-quote { display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: 28px; border-radius: var(--radius-sm); background: var(--bg-alt); }
.branch-quote blockquote { border-top: 0; padding-top: 0; }
.branch-quote .eyebrow { margin: 0 0 -8px; }
.branch-quote-who { font-size: 1.12rem; font-weight: 600; color: var(--ink); }
#weitere { grid-template-columns: 1fr; background: transparent; border-style: dashed; }
@media (max-width: 860px) { .branch { grid-template-columns: 1fr; } }

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose p { font-size: 1.12rem; color: var(--ink-2); max-width: 38em; }
.prose p + p { margin-top: 1.2em; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.about-facts div { padding: 24px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.about-facts div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.about-facts strong { font-size: 3rem; font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.about-facts span { color: var(--muted); font-size: .92rem; margin-top: 8px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-side { display: grid; gap: 28px; }
/* Über uns: Gruppenfoto ganz oben, oben bündig (Logo an der Fassade bleibt ganz) */
.about-team-photo { padding-top: clamp(8px, 2vw, 24px); }
.about-team-photo figure { margin-top: 0; margin-bottom: 0; }
.about-team-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 0; border-radius: var(--radius); }
.about-team-photo figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); }
@media (max-width: 760px) { .about-team-photo img { aspect-ratio: 3 / 2; } }
.about-photo, .contact-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.contact-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about-photo figcaption, .contact-photo figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); }
.contact-photo { margin-bottom: 12px; }
.locs-photo { margin: 0 0 24px; }
.loc.has-photo { overflow: hidden; }
.loc-photo { margin: -28px -28px 18px; }
.loc-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.locs-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.locs-photo figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); }

/* Über uns: Einblicke als Bildreihen ohne Beschnitt. Jedes Foto behält sein Seitenverhältnis (--r = Breite/Höhe),
   die Breite wächst proportional dazu – so sind alle Fotos einer Reihe gleich hoch und nichts wird abgeschnitten.
   Reihenfolge in $gallery so wählen, dass je vier Fotos eine Reihe ergeben (Summe der Verhältnisse ähnlich). */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(150px, 20vw, 250px); grid-auto-flow: dense; gap: 12px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-sm); background: #e6e0d6; }
.gallery .g-big { grid-column: span 2; grid-row: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
.gallery picture, .gallery img { display: block; width: 100%; height: 100%; }
.gallery img { object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 4px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; color: var(--ink); background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@media (max-width: 760px) {
  /* Handy: ein Foto pro Zeile, volle Breite, unbeschnitten */
  .gallery { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 10px; }
  .gallery figure { grid-column: auto !important; grid-row: auto !important; }
  .gallery picture, .gallery img { height: auto; }
  .lever.has-photo { grid-template-columns: 1fr; }
  .lever-photo { justify-self: start; width: min(100%, 240px); }
  .photo-band img { height: auto; aspect-ratio: 4 / 3; }
  .photo-band::after { background: linear-gradient(180deg, rgba(22, 21, 19, 0) 30%, rgba(22, 21, 19, .82) 100%); }
}

/* Team: runde Köpfe (team/kopf-*), alle gleich groß; ohne Foto Initialen */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px 20px; }
.member { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.member img, .member-ph { width: 136px; height: 136px; border-radius: 50%; object-fit: cover; background: #e6e0d6; box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--line); }
.member-ph { display: grid; place-items: center; color: #9a8f80; font-size: 2.2rem; font-weight: 600; letter-spacing: .02em; }
.member figcaption { margin-top: 16px; font-size: .95rem; display: flex; flex-direction: column; align-items: center; gap: 2px; max-width: 24ch; }
.member figcaption span { color: var(--muted); font-size: .92rem; }
.member .member-focus { margin-top: 6px; font-size: .84rem; line-height: 1.45; color: var(--ink-2); }
.member .member-tel { margin: 2px 0 4px; font-size: .88rem; font-weight: 600; color: var(--orange-ink); text-decoration: none; }
.member .member-tel:hover { text-decoration: underline; }
@media (max-width: 1080px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .team { grid-template-columns: 1fr 1fr; gap: 32px 12px; } .member img, .member-ph { width: 112px; height: 112px; } }

.locs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.locs.has-main { grid-template-columns: 1fr 1fr; }
/* Hauptsitz: volle Breite, großes Luftbild links, Adresse rechts */
.loc.is-main { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: center; padding: 0; }
.loc.is-main .loc-photo { margin: 0; height: 100%; }
.loc.is-main .loc-photo img { height: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius) 0 0 var(--radius); }
.loc.is-main .loc-text { padding: 28px 32px; }
.loc.is-main h3 { font-size: 1.8rem; }
.loc-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--dark-line); font-size: .92rem; color: rgba(255, 255, 255, .72); }
.loc { padding: 28px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid var(--dark-line); }
.loc h3 { font-size: 1.4rem; margin: 6px 0 4px; }
.loc-role { color: var(--orange) !important; font-size: .9rem; font-weight: 550; margin-bottom: 12px; }
@media (max-width: 760px) {
  .locs, .locs.has-main { grid-template-columns: 1fr; }
  .loc.is-main { display: block; }
  .loc.is-main .loc-photo img { border-radius: var(--radius) var(--radius) 0 0; }
  .loc.is-main .loc-text { padding: 20px 28px 28px; }
}

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-direct { display: grid; gap: 12px; }
.contact-big {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; letter-spacing: -.02em; transition: border-color .25s;
  overflow-wrap: anywhere;
}
.contact-big:hover { border-color: var(--orange); }
.contact-big .ico { flex: none; color: var(--orange-ink); }
.locs-compact { grid-template-columns: repeat(3, 1fr); margin-top: 12px; gap: 12px; }
.locs-compact .loc { background: var(--bg-alt); border: 0; padding: 18px; }
.locs-compact .loc h3 { font-size: 1rem; margin: 0 0 6px; }
.locs-compact .loc p { font-size: .88rem; color: var(--ink-2); }
.contact-form { display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact-form h2 { font-size: 1.6rem; margin-bottom: 4px; }
.contact-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 550; color: var(--ink-2); }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); padding: .8em 1em; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.contact-form .btn { justify-self: start; border: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .locs-compact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: 72px 0 32px; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--dark-line); }
.footer-claim { margin-top: 20px; color: var(--dark-ink); font-size: 1.05rem; line-height: 1.5; }
.footer-locs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-locs h3 { color: var(--dark-ink); font-size: 1rem; margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; }
.footer-bottom ul { display: flex; gap: 20px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--dark-ink); }
@media (max-width: 860px) { .footer-top, .footer-locs { grid-template-columns: 1fr; } }

/* ---------- Reveal-Animation (nur mit JS + ohne reduced-motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* Rechtliches (Impressum, Datenschutz): Überschrift links, Text rechts; mobil untereinander */
.legal { max-width: 60rem; border-top: 1px solid var(--line); }
.legal-intro { padding: 28px 0; border-bottom: 1px solid var(--line); }
.legal-intro p { max-width: 42em; }
.legal-item { display: grid; grid-template-columns: 15rem 1fr; gap: 12px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.legal-item h2 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.35; color: var(--ink); padding-top: .15em; }
.legal-item p { font-size: 1.02rem; line-height: 1.6; max-width: 40em; }
.legal-item p + p { margin-top: .9em; }
.legal-item ul { margin: .7em 0 .9em; padding-left: 1.2em; color: var(--ink-2); line-height: 1.6; }
.legal-item a { color: var(--orange-ink); text-underline-offset: 2px; }
.legal-note { margin-top: 24px; font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) {
  .legal-item { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
}
.legal-badge img { display: block; width: 270px; max-width: 100%; height: auto; margin: 4px 0 10px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.12); transition: transform .2s; }
.legal-badge a:hover img { transform: translateY(-2px); }
.legal-badge { font-size: .92rem !important; }

/* Kontaktformular (inc/kontakt-form.php): drei kurze Schritte, Auswahl als Chips, Erfolg ohne Neuladen */
.kform { position: relative; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px -36px rgba(69, 62, 44, .45); overflow: hidden; }
.kform::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--orange); }
.kform-body { display: grid; gap: 28px; }
.kform-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.kform-step legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-size: 1.15rem; font-weight: 650; letter-spacing: -.015em; color: var(--ink); }
.kform-num { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--orange-soft); color: var(--orange-ink); font-size: .8rem; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: .62em 1.05em; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: .95rem; font-weight: 550; color: var(--ink-2); transition: background .2s, border-color .2s, color .2s, transform .15s; user-select: none; }
.chip:hover span { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.chip:active span { transform: scale(.97); }
.chips-sm .chip span { padding: .45em .85em; font-size: .86rem; }
.chips-sm .chip input:checked + span { background: var(--orange-soft); border-color: var(--orange); color: var(--orange-ink); }
.kform-hint { margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--orange-soft); color: var(--ink); font-size: .93rem; }
.kform-hint a { font-weight: 650; color: var(--orange-ink); white-space: nowrap; }
.kform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: grid; grid-template-rows: auto auto; align-content: start; gap: 6px; font-size: .9rem; font-weight: 550; color: var(--ink-2); }
.field-label { display: block; line-height: 1.3; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: .3em; }
.field-wide { grid-column: 1 / -1; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; font-weight: 400; line-height: 1.4; color: var(--ink); padding: .8em 1em; box-sizing: border-box; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 7em; }
.field input { height: 3.2em; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c2410c; }
.field-err { min-height: 0; font-size: .82rem; font-weight: 500; color: #b3261e; }
.field-err:empty { display: none; }
.kform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kform-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.kform-foot .btn { border: 0; }
.kform-foot .btn[disabled] { opacity: .7; cursor: progress; }
.kform.is-sending .btn .ico { animation: kform-fly .9s var(--ease) infinite; }
@keyframes kform-fly { 50% { transform: translateX(6px); opacity: .4; } }
.kform-note { margin: 0; font-size: .82rem; color: var(--muted); max-width: 26em; }
.kform-note a { color: inherit; }
.kform-error { margin: 0; color: #b3261e; font-size: .92rem; }
.kform-error:empty { display: none; }
.js [data-when][hidden] { display: none !important; }
.kform-done { display: none; text-align: center; padding: clamp(16px, 4vw, 40px) 0; }
.kform-done:focus { outline: 0; }
.kform[data-done] .kform-body { display: none; }
.kform[data-done] .kform-done { display: grid; justify-items: center; gap: 10px; animation: kform-in .5s var(--ease) both; }
.kform-done h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.kform-done p { margin: 0; color: var(--ink-2); max-width: 26em; }
.kform-ref { font-size: .88rem; color: var(--muted) !important; }
.kform-ref strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); letter-spacing: .02em; }
.kform-ref:has(strong:empty) { display: none; }
.kform-check { width: 64px; height: 64px; margin-bottom: 6px; }
.kform-check circle { fill: var(--orange-soft); stroke: var(--orange); stroke-width: 2; }
.kform-check path { fill: none; stroke: var(--orange-ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.kform[data-done] .kform-check path { animation: kform-draw .5s .25s var(--ease) forwards; }
@keyframes kform-draw { to { stroke-dashoffset: 0; } }
@keyframes kform-in { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 560px) { .kform-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .kform *, .kform { animation: none !important; } .kform-check path { stroke-dashoffset: 0; } }

/* Fernwartung: Link im Header + Seite fernwartung.php */
/* gleiche Form wie der Kontakt-Button (.btn-sm), aber nur orange umrandet */
.nav-remote { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; font: 600 .92rem/1 var(--font); color: var(--dark-ink); padding: calc(.7em - 1px) 1.15em; border-radius: 999px; border: 1.5px solid var(--orange); transition: background .25s, color .25s, border-color .25s; }
.nav-remote .ico { width: 1.05em; height: 1.05em; color: var(--orange); transition: color .25s; }
.nav-remote:hover, .nav-remote[aria-current] { background: var(--dark-ink); border-color: var(--dark-ink); color: var(--ink); }
.nav-remote:hover .ico, .nav-remote[aria-current] .ico { color: var(--orange-ink); }
.remote-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(16px, 3vw, 28px); align-items: stretch; }
.remote-card { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.remote-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--orange); }
.remote-card-quiet { background: var(--bg-alt); border-color: transparent; }
.remote-card-quiet::before { background: var(--dark); }
.remote-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.remote-card p { color: var(--ink-2); }
.remote-tag { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink) !important; }
.remote-prompt { align-self: start; width: min(100%, 330px); margin: 6px 0; padding: 16px 18px; border-radius: 12px; background: var(--surface); box-shadow: 0 18px 40px -22px rgba(69, 62, 44, .55); font-size: .88rem; }
.remote-prompt p { margin: 0; }
.remote-prompt-title { display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink) !important; margin-bottom: 4px !important; }
.remote-prompt-title .ico { width: 1.1em; height: 1.1em; color: var(--orange-ink); }
.remote-prompt-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px !important; }
.remote-prompt-btns span { padding: .35em .9em; border-radius: 6px; border: 1px solid var(--line); font-size: .82rem; }
.remote-prompt-btns .is-ok { background: var(--ink); border-color: var(--ink); color: #fff; animation: remote-pulse 2.4s var(--ease) infinite; }
@keyframes remote-pulse { 0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(243, 151, 27, 0); } 30% { box-shadow: 0 0 0 5px rgba(243, 151, 27, .45); } }
.remote-call { margin-top: auto !important; display: flex; align-items: center; gap: 10px; font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 650; letter-spacing: -.02em; }
.remote-call a { color: var(--ink); text-decoration: none; }
.remote-call .ico { color: var(--orange-ink); }
.remote-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 18px; }
.remote-steps li { counter-increment: s; position: relative; padding-left: 48px; color: var(--ink-2); }
.remote-steps li::before { content: counter(s); position: absolute; left: 0; top: -.1em; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-ink); font-weight: 700; font-size: .9rem; }
.remote-steps strong { color: var(--ink); }
.remote-steps a { color: var(--ink); font-weight: 650; white-space: nowrap; }
.remote-dl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.remote-dl .btn small { font-weight: 400; opacity: .7; margin-left: .3em; }
.remote-dl .btn:hover .ico { transform: translateY(2px); }
.remote-note { margin-top: auto !important; font-size: .85rem; color: var(--muted) !important; }
.remote-trust-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 28px; }
.remote-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.remote-trust > div { padding: 24px; border-radius: var(--radius); background: var(--surface); }
.remote-trust .ico { width: 28px; height: 28px; color: var(--orange-ink); margin-bottom: 10px; }
.remote-trust h3 { font-size: 1.1rem; margin-bottom: 6px; }
.remote-trust p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .remote-grid, .remote-trust { grid-template-columns: 1fr; } }
@media (max-width: 1100px) and (min-width: 901px) { .nav-remote { padding: calc(.7em - 1px); font-size: 0; gap: 0; } .nav-remote .ico { width: 18px; height: 18px; } }
@media (max-width: 900px) { .nav-remote { margin-top: 20px; justify-content: center; padding: .8em 1em; font-size: 1rem; } .nav-remote + .btn { margin-top: 10px; } }
.remote-billing { display: flex; gap: 14px; align-items: flex-start; margin-top: clamp(16px, 3vw, 28px); padding: 18px 22px; border-radius: var(--radius); border: 1px dashed var(--line); color: var(--ink-2); max-width: 52rem; }
.remote-billing .ico { flex: none; width: 26px; height: 26px; color: var(--orange-ink); margin-top: 1px; }
.remote-billing strong { color: var(--ink); margin-right: .3em; }

/* Über uns: Inhaber-Block mit großem Porträt */
.owner-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.owner-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #e6e0d6; }
.owner-photo picture, .owner-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.owner-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 6px 0 22px; }
.owner-text p:not(.eyebrow):not(.owner-sign) { font-size: 1.1rem; color: var(--ink-2); max-width: 34em; }
.owner-text p + p { margin-top: 1em; }
.owner-sign { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 28px !important; padding-top: 20px; border-top: 1px solid var(--line); }
.owner-sign strong { font-size: 1.1rem; }
.owner-sign span { color: var(--muted); }
.owner-sign a { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-weight: 650; color: var(--orange-ink); text-decoration: none; }
.owner-sign a .ico { width: 1.1em; height: 1.1em; }
@media (max-width: 760px) { .owner-grid { grid-template-columns: 1fr; } .owner-photo { max-width: 420px; } .owner-sign a { margin-left: 0; flex-basis: 100%; } }
.owner-quote { margin: 28px 0 0; padding-left: 20px; border-left: 4px solid var(--orange); }
.owner-quote p { font-size: clamp(1.25rem, 2.2vw, 1.55rem) !important; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; color: var(--ink) !important; }
.owner-quote + .owner-sign { margin-top: 20px !important; }
.legal-item abbr { text-decoration: underline dotted var(--orange); text-underline-offset: 3px; cursor: help; }
.legal-item strong { color: var(--ink); font-weight: 650; }

/* ---------- 30 Jahre: Fensterecke über der Zeitleiste (Startseite, assets/js/os-corner.js) ---------- */
.os-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: start; }
.os-corner { position: relative; width: clamp(340px, 44vw, 640px); aspect-ratio: 260 / 30; margin: .4rem 0 2.6rem; }
.os-corner canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .5s; }
/* PC: rechte Ecke, nach links ausgeblendet; Mac: linke Ecke, nach rechts ausgeblendet */
.os-corner canvas.is-pc { -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%); mask-image: linear-gradient(90deg, transparent, #000 32%); }
.os-corner canvas.is-mac { -webkit-mask-image: linear-gradient(270deg, transparent, #000 32%); mask-image: linear-gradient(270deg, transparent, #000 32%); }
.os-corner .os-name { position: absolute; right: 0; top: calc(100% + 8px); font-size: .85rem; color: #b3aa98; letter-spacing: .04em; transition: opacity .5s; }
.os-corner.on-mac .os-name { right: auto; left: 0; }
@media (max-width: 860px) { .os-head { grid-template-columns: 1fr; } .os-corner { order: -1; width: 100%; margin: 0 0 2.6rem; } }
@media (prefers-reduced-motion: reduce) { .os-corner canvas { transition: none; } }
