/* Berner Bauservice GmbH · Stylesheet */
:root,
[data-theme="light"] {
  --bg: #F2EFE8; --surface: #E6E1D6; --text: #1E1D1B; --text-2: #5B6064; --dim: #6A6965; --green-text: #686A57; --line: #D3CDC1;
  --red: #C8202F; --red-text: #C8202F;
  --btn: #C8202F; --band: #C8202F; --footer: #24231F; --footer-text: #EFEBE3; --footer-2: #A4A29C; --footer-line: #3A3833;
  --pbtn-bg: #C8202F; --pbtn-fg: #fff; --pbtn-line: #C8202F; --pbtn-hover: #B81F2E; --hbtn-hover: #A91B28; --card-bg: #E6E1D6; --card-inset: #F2EFE8; --open: #4F8A5B; --err: #C8202F; --circ-fill: #C8202F; --line-strong: rgba(30,29,27,.32); --row-hover: rgba(30,29,27,.035);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #141413; --surface: #1E1E1C; --text: #EFEBE3; --text-2: #A4A29C; --dim: #8E8C86; --green-text: #9A9C88; --line: #2F2E2B;
  --red: #E2505B; --red-text: #E2505B;
  --btn: #C8202F; --band: #B51D2A; --footer: #1A1A18; --footer-text: #EFEBE3; --footer-2: #A4A29C; --footer-line: #2F2E2B;
  --pbtn-bg: #E2505B; --pbtn-fg: #141413; --pbtn-line: #E2505B; --pbtn-hover: #EE6A74; --hbtn-hover: #DE4B56; --card-bg: #1E1E1C; --card-inset: #2A2A27; --open: #6FAE7C; --err: #EE6A74; --circ-fill: #E2505B; --line-strong: rgba(239,235,227,.34); --row-hover: rgba(255,255,255,.04);
  color-scheme: dark;
}

:root { --radius-img: 6px; --ease: cubic-bezier(.22,.61,.36,1); --ease-out: cubic-bezier(.16,1,.3,1); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-synthesis: none;
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: 17px; line-height: 1.65; font-weight: 400;
  overflow-x: hidden; transition: background-color .5s ease, color .5s ease;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; } /* <picture> bleibt layout-neutral: das <img> sitzt weiter direkt im Rahmen */
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--red-text); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
h1, h2, h3, h4 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: 1.08; letter-spacing: -.01em; margin: 0; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; border-radius: 2px; }
/* Fokus-Ring nur bei Tastaturbedienung: nach einem Mausklick bleibt kein Ring stehen */
a:focus:not(:focus-visible), button:focus:not(:focus-visible), [tabindex]:focus:not(:focus-visible) { outline: none; }
[tabindex="-1"]:focus, .card [tabindex="-1"]:focus-visible, .hero-full [tabindex="-1"]:focus-visible { outline: none; } /* programmatisch fokussierte Titel (Danke-Seite, Schritte): kein Rahmen, Fokus bleibt für Screenreader */
::selection { background: var(--red); color: #fff; }
.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 { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 6px; }
.skip:focus-visible { top: 12px; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); }
.narrow { max-width: 860px; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.kicker { display: flex; gap: 18px; align-items: baseline; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); line-height: 1.4; margin: 0 0 clamp(16px, 2vw, 24px); }
.kicker b { font-weight: 600; color: var(--text); }
.lead { font-size: clamp(1.05rem, 1.25vw, 1.18rem); line-height: 1.65; color: var(--text-2); max-width: 36em; }
.h-xl { font-size: clamp(44px, 5.5vw, 80px); line-height: 1.05; letter-spacing: -.015em; }
.h-l { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.08; }
.nb { display: inline-block; }
@media (max-width: 340px) { .h-l { font-size: 32px; } }
.h-m { font-size: clamp(30px, 3.2vw, 46px); }
.muted { color: var(--text-2); }

/* Buttons */
/* Button-System (Hover wie runnerswiss.ch: .3s, --ease, 1 px Rand, Pfeil 4 px nach rechts). Farbe richtet sich nach dem Untergrund:
   .btn-primary / .btn-outline auf hellem bzw. dunklem Grund (Theme), .btn-white / .btn-ghost-white auf Foto und roter Fläche. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 "Hanken Grotesk", sans-serif; letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), transform .15s var(--ease); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn > span[aria-hidden="true"] { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover > span[aria-hidden="true"] { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid var(--red-text); outline-offset: 3px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-primary { background: var(--pbtn-bg); border-color: var(--pbtn-line); color: var(--pbtn-fg); }
.btn-primary:hover { background: transparent; border-color: var(--pbtn-hover); color: var(--pbtn-hover); }
.btn-outline { background: transparent; border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn-white { background: #fff; border-color: #fff; color: #15181B; }
.btn-white:hover { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost-white { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost-white:hover { background: #fff; border-color: #fff; color: #15181B; }
.btn-white:focus-visible, .btn-ghost-white:focus-visible { outline-color: #fff; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } .btn:hover > span[aria-hidden="true"] { transform: none; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 500; color: var(--red-text); text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) left 100% / 100% 1px no-repeat; transition: background-size .45s var(--ease), color .25s; }
.textlink:hover { background-size: 0 1px; color: var(--red-text); }
.textlink span { display: inline-block; transition: transform .35s var(--ease); }
.textlink:hover span { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: none; border-bottom: 1px solid transparent; transition: transform .5s var(--ease-out), background-color .5s, border-color .3s; }
.site-header.is-compact { border-bottom-color: var(--line); }
/* Smart-Header (Werte wie runnerswiss.ch): beim Runterscrollen weg, beim Hochscrollen solide wieder da */
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding-block: 20px; transition: padding .3s ease; }
.logo { display: block; position: relative; width: 132px; aspect-ratio: 1414 / 560; transition: width .3s ease; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-d, [data-theme="dark"] .logo-l { display: none; }
[data-theme="dark"] .logo-d { display: block; }
.main-nav ul { display: flex; justify-content: center; gap: clamp(20px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; text-decoration: none; font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; padding: 10px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.main-nav a:hover { color: inherit; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle, .lang-btn, .menu-btn { --rb: color-mix(in srgb, var(--text) 25%, transparent); width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--rb); background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, color .3s; }
.theme-toggle:hover, .lang-btn:hover, .menu-btn:hover { border-color: currentColor; }
.theme-toggle svg { width: 18px; height: 18px; }
.lang-btn { font: 600 13px/1 "Hanken Grotesk", sans-serif; letter-spacing: .08em; text-indent: .08em; }
.header-actions .btn-primary { margin-left: 6px; min-height: 44px; }
/* Sprachumschalter (DE, FR, EN): Knopf mit Liste aus Links auf dieselbe Seite in der anderen Sprache */
.lang { position: relative; }
.lang-list { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 172px; margin: 0; padding: 6px; list-style: none; background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.16); }
.lang-list[hidden] { display: none; }
.lang-list a, .mobile-lang a { display: flex; align-items: baseline; gap: 12px; padding: 11px 14px; border-radius: 9px; text-decoration: none; color: inherit; font: 600 13px/1 "Hanken Grotesk", sans-serif; letter-spacing: .08em; transition: background-color .25s, color .25s; }
.lang-list a:hover { background: var(--row-hover); }
.lang-list a[aria-current="true"], .mobile-lang a[aria-current="true"] { color: var(--red-text); }
.lang-name { font-weight: 500; font-size: 14px; letter-spacing: 0; color: var(--text-2); }
.lang-list a[aria-current="true"] .lang-name { color: inherit; }
.mobile-lang { display: flex; gap: 8px; margin-bottom: 6px; }
.mobile-lang a { flex: 1; justify-content: center; padding: 13px 10px; border: 1px solid var(--line-strong); border-radius: 999px; }
.mobile-lang a[aria-current="true"] { border-color: currentColor; }
.mobile-lang .lang-name { display: none; }

.header-actions .btn-primary:hover { background: var(--hbtn-hover); border-color: var(--hbtn-hover); color: var(--pbtn-fg); }
.header-actions { gap: 10px; }
.menu-btn { display: none; }
.menu-btn span { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: currentColor; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }

.mobile-menu { position: fixed; inset: 0; z-index: 150; background: var(--bg); display: flex; flex-direction: column; padding: 20px clamp(20px, 5vw, 64px) 32px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; overflow-y: auto; }
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; }
.mobile-menu nav { margin-top: 8vh; }
.mobile-menu nav a { display: block; font-family: "Instrument Serif", serif; font-weight: 400; font-size: clamp(40px, 11vw, 56px); line-height: 1.12; text-decoration: none; padding: 4px 0; }
.mobile-menu nav a[aria-current="page"] { color: var(--red-text); }
.mobile-menu-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; color: var(--text-2); }
.mobile-menu-foot .btn { width: 100%; }

@media (max-width: 900px) {
  .main-nav, .header-actions .btn-primary { display: none; }
  .menu-btn { display: grid; }
  .header-inner { grid-template-columns: auto 1fr; }
  .header-actions { justify-content: flex-end; }
}

/* Bildrahmen: Bilder sind immer rechteckig mit leichtem Eckenradius */
.frame { position: relative; overflow: hidden; border-radius: var(--radius-img); background: var(--surface); isolation: isolate; }
.frame-34 { aspect-ratio: 3 / 4; }
.frame-45 { aspect-ratio: 4 / 5; }
.cover { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Intro */
.intro { border-top: 1px solid var(--line); }
.intro-quote { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.15; letter-spacing: -.01em; margin: 0; max-width: 22em; text-wrap: balance; }
.motto { margin-top: clamp(20px, 2.6vw, 36px); font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; font-size: clamp(20px, 2vw, 28px); line-height: 1.25; color: var(--green-text); }

/* Story */
.story-head { margin-bottom: clamp(32px, 5vw, 64px); max-width: 680px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 120px); }
.story-figure { position: sticky; top: 100px; height: calc(100vh - 140px); max-height: 760px; display: flex; align-items: center; }
.story-frame { position: relative; width: 100%; max-width: 480px; aspect-ratio: 3 / 4; max-height: 100%; overflow: hidden; border-radius: var(--radius-img); background: var(--surface); }
.story-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.story-frame img.is-active { opacity: 1; }
.story-count { position: absolute; left: 16px; bottom: 16px; background: var(--bg); color: var(--text); font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 4px; }
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; }
/* abgeblendet über die Farbe (--dim, mindestens 4,5:1 auf dem Hintergrund), nicht über die Deckkraft; der aktive Schritt ist deutlich dunkler/heller, die Ziffer rot */
.story-step .num, .story-step h3, .story-step p { color: var(--dim); transition: color .5s; }
.story-step.is-active h3, .story-step.is-active p { color: var(--text); }
.story-step.is-active .num { color: var(--red-text); }
.story-step .num { font-family: "Instrument Serif", serif; font-size: 22px; letter-spacing: 0; font-style: italic; margin-bottom: 8px; }
.story-step h3 { font-size: clamp(32px, 3.4vw, 52px); margin-bottom: 14px; }
.story-step p { max-width: 30em; }
.story-step .m-img { display: none; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-figure { display: none; }
  .story-step { min-height: 0; padding-block: 0 56px; }
  .story-step .num { color: var(--text-2); }
  .story-step h3 { color: var(--text); }
  .story-step p { color: var(--text-2); }
  .story-step .m-img { display: block; aspect-ratio: 3 / 4; width: 100%; max-width: 440px; object-fit: cover; border-radius: var(--radius-img); margin-bottom: 22px; }
}

/* Vorher/Nachher */
.ba-section { border-top: 1px solid var(--line); }
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); max-width: 1040px; }
.ba { margin: 0; }
.ba-box { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-img); background: var(--surface); --pos: 50%; touch-action: pan-y; user-select: none; }
.ba-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-box .after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1.5px; margin-left: -.75px; background: #fff; pointer-events: none; box-shadow: 0 0 0 .5px rgba(0,0,0,.1), 0 0 8px rgba(0,0,0,.28); }
.ba-handle { position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; color: #1E1D1B; display: grid; place-items: center; pointer-events: none; box-shadow: 0 2px 12px rgba(0,0,0,.18); transition: transform .2s var(--ease); }
.ba-handle svg { width: 30px; height: 24px; }
.ba-box:hover .ba-handle, .ba-box.is-drag .ba-handle { transform: translate(-50%, -50%) scale(1.06); }
/* Hinweis-Punkte neben dem Griff (leuchten bei der Hinweis-Animation von innen nach aussen) */
.ba-dots { position: absolute; top: 50%; left: var(--pos); width: 0; height: 0; pointer-events: none; }
.ba-dots i { position: absolute; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #fff; opacity: 0; box-shadow: 0 0 4px rgba(0,0,0,.35); }
.ba-dots i.l { --s: -1; } .ba-dots i.r { --s: 1; }
.ba-dots i { left: calc(var(--s) * (40px + (var(--n) - 1) * 13px)); }
.ba-box.is-hint .ba-dots i { animation: baDot .7s ease-out both; animation-delay: calc((var(--n) - 1) * 180ms); }
@keyframes baDot { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: 0; } }
.ba-box input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-box:has(input:focus-visible) .ba-handle { outline: 3px solid var(--red-text); outline-offset: 3px; }
.hint-t { display: none; }
@media (hover: none) { .hint-d { display: none; } .hint-t { display: inline; } }
@media (prefers-reduced-motion: reduce) { .ba-box:not(.is-used) .ba-dots i { opacity: .9; } .ba-box.is-hint .ba-dots i { animation: none; } .ba-handle { transition: none; } }
.ba-tag { position: absolute; top: 14px; padding: 5px 10px; border-radius: 4px; font-size: 13px; font-weight: 600; background: rgba(20,20,19,.78); color: #fff; pointer-events: none; }
.ba-tag.l { left: 14px; } .ba-tag.r { right: 14px; }
.ba figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; font-size: 15px; color: var(--text-2); }
.ba figcaption strong { font-family: "Instrument Serif", serif; font-size: 26px; font-weight: 400; color: var(--text); }
@media (max-width: 680px) { .ba-grid { grid-template-columns: 1fr; } }

/* Ablauf */
.process { background: var(--surface); transition: background-color .5s; }
/* Ablauf mit Animation: Ziffer leuchtet rot, Linie füllt sich, am Ende leuchtet der Schlüssel.
   Alle Zeiten hier einstellbar (site.js liest sie aus): */
.steps {
  --t-num-in: 700ms;      /* Ziffer wird rot */
  --t-num-out: 900ms;     /* Ziffer und Linie zurück in die Grundfarbe */
  --t-gap-num: 500ms;     /* Pause nach der Ziffer, bevor die Linie startet */
  --t-line: 2200ms;       /* Füllung der roten Linie */
  --t-gap-line: 300ms;    /* Pause nach voller Linie, bevor die nächste Ziffer leuchtet */
  --t-goal-in: 800ms;     /* Schlüssel leuchtet auf */
  --t-rays: 900ms;        /* Strahlen */
  --t-pause: 3500ms;      /* Pause am Ende */
  --t-reset: 800ms;       /* alles weich zurücksetzen */
  --ease-line: cubic-bezier(.65, 0, .35, 1);
  --n: clamp(48px, 5vw, 72px); --gap: 28px; list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 56px; column-gap: 0; }
.steps li { position: relative; min-width: 0; }
.steps li:not(.goal) { align-content: start; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "n ln" "t t"; align-items: center; }
.steps .n { grid-area: n; white-space: nowrap; font-family: "Instrument Serif", serif; font-weight: 400; font-size: var(--n); line-height: 1; letter-spacing: -.01em; color: var(--text); transition: color var(--t-num-out) ease-in-out; }
.steps .ln { grid-area: ln; position: relative; height: 1px; margin-inline: var(--gap); background: var(--line-strong); }
.steps .ln i { position: absolute; inset: 0; background: var(--circ-fill); transform: scaleX(0); transform-origin: left; transition: transform var(--t-line) var(--ease-line); will-change: transform; }
.steps .t { grid-area: t; padding-right: var(--gap); align-self: start; }
.steps h3 { font-family: "Hanken Grotesk", sans-serif; font-weight: 600; font-size: 18px; line-height: 1.4; letter-spacing: 0; margin: 18px 0 8px; transition: color var(--t-num-out) ease-in-out; }
.steps p { color: var(--text-2); font-size: 16px; }
.steps .goal { display: flex; align-items: center; height: var(--n); }
.goal-c { position: relative; width: 56px; height: 56px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--text-2); transition: border-color var(--t-reset) ease-in-out, color var(--t-reset) ease-in-out; }
.goal-c svg { width: 30px; height: 30px; }
.goal-c .ray { position: absolute; left: 50%; top: 50%; width: 1px; height: 8px; margin: -4px 0 0 -.5px; background: var(--circ-fill); opacity: 0; transform: rotate(var(--a)) translateY(-34px); }
/* aktive Zustände (von site.js gesetzt) */
.steps .is-active .n { color: var(--circ-fill); transition-duration: var(--t-num-in); }
.steps .ln i.is-fill { transform: scaleX(1); }
.steps .ln i.is-out { opacity: 0; transition: opacity var(--t-num-out) ease-in-out; }
.steps.is-anim li:not(.goal) h3 { color: var(--text-2); }
.steps.is-anim li.is-active h3 { color: var(--text); transition-duration: var(--t-num-in); }
.steps .goal.is-lit .goal-c { border-color: var(--circ-fill); color: var(--circ-fill); transition-duration: var(--t-goal-in); }
.steps .goal.is-lit .ray { animation: ray var(--t-rays) ease-out forwards; }
@keyframes ray { 0% { opacity: 0; transform: rotate(var(--a)) translateY(-34px); } 25% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-46px); } }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); --gap: 24px; }
  .steps li:not(.goal) { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "n t" "ln t"; column-gap: 20px; align-items: start; }
  .steps .n { justify-self: center; align-self: start; }
  .steps .ln { width: 1px; height: auto; min-height: 56px; margin: var(--gap) 0; justify-self: center; align-self: stretch; }
  .steps .ln i { transform: scaleY(0); transform-origin: top; }
  .steps .ln i.is-fill { transform: scaleY(1); }
  .steps .t { padding: calc(var(--n) * .28) 0 0; }
  .steps h3 { margin-top: 0; }
  .steps .goal { height: auto; padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .steps .goal.is-lit .ray { animation: none; }
}

/* Rotes Kontaktband */
.band { background: var(--band); color: #fff; }
.band-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-block: clamp(72px, 10vw, 140px); }
.band h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -.01em; color: #fff; }
.band-inner p, .band-head p { font-size: 19px; margin-bottom: 26px; color: #fff; }
.band-inner a:not(.btn):hover { color: inherit; }
@media (max-width: 900px) { .band-inner { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--footer); color: var(--footer-text); padding-top: clamp(72px, 9vw, 128px); font-size: 15px; }
.site-footer a { position: relative; text-decoration: none; }
.site-footer a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.site-footer a:hover { color: #fff; }
.site-footer a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(2, minmax(0, 2fr)) minmax(0, 2.7fr); gap: 56px 32px; padding-bottom: clamp(48px, 6vw, 80px); }
.footer-col h2 { font-family: "Hanken Grotesk", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--footer-2); margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--footer-line); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; line-height: 1.65; }
.footer-logo { display: block; width: 150px; height: auto; }
.footer-brand .footer-logo { margin-bottom: 28px; }
.footer-motto { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.12; letter-spacing: -.01em; color: var(--footer-text); max-width: 11em; margin: 0 0 28px; padding-top: 28px; position: relative; text-wrap: balance; }
.footer-motto::before { content: ""; position: absolute; left: 0; top: 0; width: 80px; height: 1px; background: var(--footer-line); }
.swiss { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; line-height: 1.4; color: var(--footer-2); }
.swiss svg { width: 14px; height: 14px; flex: none; }
.footer-contact address { font-style: normal; margin-bottom: 14px; font-size: 15px; line-height: 1.65; }
.footer-hours { margin-top: 20px; font-size: 14px; line-height: 1.5; color: var(--footer-2); }
.footer-hours p { margin: 0; }
.site-footer .hrs__dot { background: var(--footer-2); }
.site-footer .hrs__status { margin: 10px 0 0; padding: 0; border: 0; background: none; font-size: 13px; color: var(--footer-text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; border-top: 1px solid var(--footer-line); padding-block: 22px 28px; color: var(--footer-2); font-size: 13px; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.footer-bottom a { color: var(--footer-2); }
.footer-bottom a:hover { color: var(--footer-text); }
@media (max-width: 1199px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 699px) {
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

/* Mobile Leiste */
.m-bar { display: none; }
@media (max-width: 900px) {
  .m-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s ease, background-color .5s; }
  .m-bar.is-visible { transform: none; }
  .m-bar .btn { min-height: 46px; padding: 0 10px; font-size: 15px; gap: 8px; }
  body.has-mbar .site-footer { padding-bottom: 76px; }
}

/* Unterseiten */
.page-hero { padding-block: clamp(40px, 6vw, 96px) clamp(40px, 5vw, 72px); }
.page-hero .h-xl { max-width: 14ch; }
.page-hero .lead { margin-top: 24px; }
.crumbs { font-size: 14px; color: var(--text-2); margin-bottom: 26px; }
.crumbs a { color: var(--text-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.overview { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 100px); }
.overview li:nth-child(even) { transform: translateY(clamp(0px, 8vw, 120px)); }
.ov-item { --pad: clamp(20px, 5vw, 64px); position: relative; isolation: isolate; transition: opacity .45s var(--ease-out); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 34px); align-items: end; text-decoration: none; padding-block: clamp(28px, 3vw, 48px); border-bottom: 1px solid var(--line); }
.ov-item .frame { aspect-ratio: 3 / 4; }
.ov-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.ov-item:hover img { transform: scale(1.05); }
.ov-item::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -.5); z-index: -1; background: var(--row-hover); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.ov-item:focus-visible { outline: 2px solid var(--red-text); outline-offset: 4px; }
.ov-item:focus-visible::before { transform: scaleX(1); }
.ov-item:focus-visible h2 { transform: translateX(12px); }
.ov-item > div:last-child { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.ov-item h2 { font-size: clamp(30px, 2.8vw, 44px); margin-bottom: 12px; min-height: 2.16em; display: flex; align-items: flex-end; transition: transform .5s var(--ease-out); }
.ov-item:hover { color: inherit; }
.ov-item p { color: var(--text-2); font-size: 16px; line-height: 1.6; min-height: 4.8em; margin-bottom: 12px; }
.ov-item .more { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; font-size: 15px; color: var(--red-text); }
.ov-item .circ { width: 40px; height: 40px; }
.ov-item .circ svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .overview { grid-template-columns: 1fr; } .overview li:nth-child(even) { transform: none; } }
@media (max-width: 480px) { .ov-item { grid-template-columns: 1fr; } .ov-item .frame { max-width: 300px; } }

.offer-card { margin-top: 48px; background: var(--surface); border-radius: 6px; padding: clamp(24px, 3vw, 40px); transition: background-color .5s; }
.offer-card h2 { font-size: clamp(30px, 2.6vw, 40px); margin-bottom: 10px; }
.offer-card p { color: var(--text-2); }
.offer-card .btn { white-space: normal; max-width: 100%; height: auto; padding-block: 14px; text-align: center; line-height: 1.25; border-radius: 28px; }
.more-svc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.more-svc a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 18px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-weight: 500; transition: border-color .2s; }
.more-svc a:hover { border-color: var(--text); color: var(--text); }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.gallery button { padding: 0; border: 0; background: var(--surface); cursor: zoom-in; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-img); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.gallery button:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.project-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--text-2); margin: 16px 0 36px; font-size: 15px; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(12,12,11,.94); display: none; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 6px; border: 1px solid rgba(255,255,255,.4); background: rgba(20,20,19,.6); color: #fff; font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { border-color: #fff; }
.lb-close { top: 14px; right: 14px; } .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); } .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #D8D4CB; font-size: 14px; }
@media (max-width: 600px) { .lightbox { padding: 72px 12px; } .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; } }

.band-soft { background: var(--surface); transition: background-color .5s; }
/* Werte: Hover/Fokus wie die übrigen Listen (Ziffer rot, Titel rückt ein, rote Linie fährt herein, Satz klappt auf) */
.values { list-style: none; margin: 0; padding: 0; counter-reset: v; }
.wert { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: "Instrument Serif", serif; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; transition: opacity .45s var(--ease-out); cursor: default; }
.wert::before { counter-increment: v; content: counter(v, decimal-leading-zero); font-size: 16px; font-style: normal; letter-spacing: .02em; color: var(--text-2); padding-top: 8px; transition: color .3s var(--ease); }
.wert:first-child { border-top: 1px solid var(--line); }
.wert::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--red-text); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.wert-t { display: block; transition: transform .4s var(--ease-out); }
.wert-d { grid-column: 2; display: grid; grid-template-rows: 1fr; opacity: 1; font-family: "Hanken Grotesk", sans-serif; font-size: 16px; line-height: 1.6; color: var(--text-2); transition: grid-template-rows .4s var(--ease), opacity .4s var(--ease); }
.wert-d p { min-height: 0; overflow: hidden; margin: 0; padding-top: 8px; }
.wert:focus-visible { outline: 2px solid var(--red-text); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .wert-d { grid-template-rows: 0fr; opacity: 0; }
  .wert-d p { padding-top: 0; transition: padding-top .4s var(--ease); }
  .wert:hover .wert-d, .wert:focus-visible .wert-d { grid-template-rows: 1fr; opacity: 1; }
  .wert:hover .wert-d p, .wert:focus-visible .wert-d p { padding-top: 8px; }
  .wert:hover::before, .wert:focus-visible::before { color: var(--red-text); }
  .wert:hover::after, .wert:focus-visible::after { transform: scaleX(1); }
  .wert:hover .wert-t, .wert:focus-visible .wert-t { transform: translateX(10px); }
  .values:has(.wert:hover) .wert:not(:hover), .values:has(.wert:focus-visible) .wert:not(:focus-visible) { opacity: .45; }
  .values.is-hovering .wert:not(.is-hover) { opacity: .45; } /* Fallback ohne :has() (site.js) */
}
@media (hover: none) { .wert:active::before { color: var(--red-text); } }
@media (prefers-reduced-motion: reduce) {
  .wert-d { grid-template-rows: 1fr !important; opacity: 1 !important; }
  .wert-d p { padding-top: 8px !important; }
  .wert::after { display: none; }
  .wert:hover .wert-t, .wert:focus-visible .wert-t { transform: none; }
}
.areas { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; padding: 0; margin: 0 0 16px; }
.areas li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; }


.prose { max-width: 720px; }
.prose, .h-xl, .h-l, .h-m { overflow-wrap: break-word; }
.h-xl, .h-l, .h-m { hyphens: manual; }
.page-hero .h-xl--wide { max-width: none; }
.nb { white-space: nowrap; }
@media (max-width: 480px) { .h-xl--wide { font-size: clamp(30px, 8.6vw, 44px); } }
.prose .langnote { margin: 0 0 32px; padding: 2px 0 2px 14px; border-left: 2px solid var(--line); font-size: 14px; font-style: italic; line-height: 1.55; color: var(--text-2); }
.prose .langnote a { font-style: normal; }
.prose h2 { font-size: clamp(28px, 2.6vw, 38px); margin: 48px 0 14px; }
.prose p, .prose li { color: var(--text-2); }

/* Formulare */
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label, .field legend { display: block; font-weight: 500; font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--text-2); }
.input, .select, .textarea { width: 100%; font: 400 16px/1.4 "Hanken Grotesk", sans-serif; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 13px 14px; min-height: 50px; transition: border-color .2s, background-color .5s; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 30%, transparent); }
.textarea { min-height: 140px; resize: vertical; }
[aria-invalid="true"] { border-color: var(--red-text) !important; }
.field-error { color: var(--red-text); font-size: 14px; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; }
.row-plz { display: grid; grid-template-columns: minmax(0, 140px) minmax(0, 1fr); gap: 0 18px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: 10px; }
/* Auswahl-Kacheln: gleich breite Spalten über die ganze Breite, in allen Sprachen identisch (--tile-min pro Gruppe, gleiche Werte in DE, FR, EN): Spaltenzahl ergibt sich aus --tile-min,
   auf dem Handy (≤ 560 px) eine Spalte. Lange Texte (FR, EN) dürfen auf zwei Zeilen umbrechen, das Kästchen bleibt rechts vertikal zentriert, Kacheln einer Reihe sind gleich hoch. */
.choices { --tile-min: 190px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--tile-min)), 1fr)); gap: 10px; }
@media (max-width: 560px) { .choices { grid-template-columns: minmax(0, 1fr); } }
.choice { position: relative; display: flex; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; padding: 14px; white-space: normal; hyphens: manual; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); font-weight: 500; transition: border-color .2s, background-color .3s; }
.choice span::after { content: ""; width: 20px; height: 20px; border: 1px solid var(--text-2); border-radius: 4px; flex: none; transition: all .2s; }
.choice input[type="radio"] + span::after { border-radius: 50%; }
.choice:hover span { border-color: var(--text-2); }
.choice input:checked + span { border-color: var(--red-text); box-shadow: inset 0 0 0 1px var(--red-text); }
.choice input:checked + span::after { background: var(--btn); border-color: var(--btn); box-shadow: inset 0 0 0 4px var(--bg); }
.choice input:focus-visible + span { outline: 2px solid var(--red-text); outline-offset: 2px; }
.choice.big span { font-family: "Instrument Serif", serif; font-size: 26px; font-weight: 400; min-height: 74px; }

/* Wizard */
.wizard-wrap { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .wizard-wrap { grid-template-columns: 1fr; } }
.progress { position: sticky; top: 110px; }
.progress ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.progress li { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 12px; padding: 12px 0; color: var(--text-2); font-weight: 500; border-bottom: 1px solid var(--line); }
.progress li .pn { font-family: "Instrument Serif", serif; font-size: 30px; line-height: 1; }
.progress li.is-current { color: var(--text); }
.progress li.is-current .pn { color: var(--red-text); }
.progress li.is-done { color: var(--text); }
.progress-bar { height: 3px; background: var(--line); margin-top: 18px; border-radius: 2px; overflow: hidden; }
.progress-bar i { display: block; height: 100%; background: var(--btn); width: 25%; transition: width .5s ease; }
@media (max-width: 900px) {
  .progress { position: static; }
  .progress ol { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .progress li { grid-template-columns: 1fr; border: 0; padding: 0; font-size: 13px; gap: 2px; }
  .progress li .pt { display: none; }
  .progress li.is-current .pt { display: block; }
}
.step h2 { font-size: clamp(36px, 4vw, 60px); margin-bottom: 12px; }
.step > .muted { margin-bottom: 32px; }
.step[hidden] { display: none; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.step-nav .btn-primary { margin-left: auto; }
.sub-choices { margin-top: 18px; padding: 20px; background: var(--surface); border-radius: 6px; transition: background-color .5s; }
.sub-choices[hidden] { display: none; }
.dropzone { display: grid; place-items: center; text-align: center; gap: 8px; padding: 40px 20px; border: 1px dashed var(--text-2); border-radius: 6px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--red-text); background: var(--surface); }
.dropzone strong { font-family: "Instrument Serif", serif; font-size: 28px; font-weight: 400; }
.dropzone small { color: var(--text-2); font-size: 14px; }
.upload-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cam-only { display: none; }
@media (hover: none) and (pointer: coarse) { .cam-only { display: inline-flex; } }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; list-style: none; margin: 20px 0 0; padding: 0; }
.thumbs li { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-img); overflow: hidden; background: var(--surface); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 6px; border: 0; background: rgba(20,20,19,.8); color: #fff; font-size: 18px; cursor: pointer; }
.thumbs button:hover { background: var(--btn); }
.upload-meta { margin-top: 14px; font-size: 15px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.summary { background: var(--surface); border-radius: 6px; padding: 22px 24px; margin-bottom: 32px; transition: background-color .5s; }
.summary dl { margin: 0; display: grid; grid-template-columns: minmax(0, 140px) minmax(0, 1fr); gap: 8px 18px; font-size: 15.5px; }
.summary dt { color: var(--text-2); }
.summary dd { margin: 0; }
.summary .edit { font-size: 14px; }
@media (max-width: 480px) { .summary dl { grid-template-columns: 1fr; gap: 0; } .summary dd { margin-bottom: 10px; } }
.form-status { margin-top: 14px; font-weight: 600; color: var(--red-text); }
.thanks { padding-block: 20px; }

/* Einblenden */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Bild-Öffnen (Runner .reveal-img) */
.js .reveal-img { clip-path: inset(12% 0 12% 0); transition: clip-path 1.4s var(--ease-out); }
.js .reveal-img img { transform: scale(1.08); transition: transform 1.8s var(--ease-out); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-in img { transform: none; }
/* Titelzeile steigt auf (Runner .lines) */
.lines { display: block; overflow: hidden; padding-bottom: .22em; margin-bottom: -.22em; }
.js .lines > span { display: block; transform: translateY(105%); transition: transform 1.2s var(--ease-out) var(--d, .1s); }
.js.is-loaded .lines > span { transform: none; }
/* Laden: Text, Buttons und Seitenkopf blenden gestaffelt ein (Dauer und Easing wie .reveal) */
.js .load-in, .js .page-hero .crumbs, .js .page-hero .kicker, .js .page-hero .lead { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, .5s); }
.js.is-loaded .load-in, .js.is-loaded .page-hero .crumbs, .js.is-loaded .page-hero .kicker, .js.is-loaded .page-hero .lead { opacity: 1; transform: none; }
.js .page-hero .crumbs, .js .page-hero .kicker { --d: .05s; }
.js .page-hero .lead { --d: .5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal, .js .load-in, .js .page-hero .crumbs, .js .page-hero .kicker, .js .page-hero .lead { opacity: 1 !important; transform: none !important; }
  .js .reveal-img { clip-path: none !important; }
  .site-header, .site-header.is-hidden { transition: opacity .2s linear !important; transition-duration: .2s !important; }
  .site-header.is-hidden { transform: none !important; opacity: 0; pointer-events: none; }
  .js .reveal-img img, .js .lines > span, .js .hf-media img, .js .hf-rule, .js .hf-media { transform: none !important; }
}

/* ===== Startseite ===== */
.home .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; transition: transform .5s var(--ease-out), background-color .45s ease, border-color .3s; }
.home .site-header.is-compact { background: var(--bg); }
.home .header-inner { padding-block: 28px; }
.home .is-compact .header-inner { padding-block: 12px; }
@media (max-width: 1180px) { .home .header-inner { gap: 16px; } }
[data-theme="dark"] .home .site-header:not(.is-compact) .main-nav a { color: #fff; }
[data-theme="dark"] .home .site-header:not(.is-compact) .theme-toggle,
[data-theme="dark"] .home .site-header:not(.is-compact) .lang-btn,
[data-theme="dark"] .home .site-header:not(.is-compact) .menu-btn { --rb: rgba(255,255,255,.45); color: #fff; }
[data-theme="dark"] .home .site-header:not(.is-compact) .logo-l { display: none; }
[data-theme="dark"] .home .site-header:not(.is-compact) .logo-d { display: block; }
[data-theme="dark"] .home .site-header:not(.is-compact) :focus-visible { outline-color: #fff; }

.hero-full { position: relative; height: 100svh; min-height: 620px; color: #fff; overflow: hidden; background: #2A2723; }
.hf-media { position: absolute; inset: -6% 0; will-change: transform; }
.hf-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; filter: saturate(.74) sepia(.14) contrast(.95) brightness(.98); transition: opacity 1.4s ease, transform 2.4s var(--ease-out); }
.hf-media img { color: transparent; } /* kein Alt-Text, solange das Bild noch nicht geladen ist */
.hf-media .img-nacht { opacity: 0; filter: saturate(.8) sepia(.08) contrast(.97); }
[data-hero="dark"] .hf-media .img-tag { opacity: 0; }
[data-hero="dark"] .hf-media .img-nacht { opacity: 1; }
.hf-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.26) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 42%, rgba(0,0,0,.65) 100%); }
/* Lesbarkeit auf dem Hero-Bild (WCAG AA). Oben: im hellen Modus steht die Kopfzeile über dem hellen Tagbild in dunkler Schrift (Kontrast mehr als 10:1),
   im dunklen Modus bleibt sie weiss über dem Nachtbild. Dazu kein Verlaufsband, das Bild bleibt hell. */
.hero-full { --scrim-bottom: .16; }
/* unten: der Verlauf hängt am Titel (beginnt 160 px darüber und reicht bis zum Rand), passt sich so jeder Bildschirmhöhe an.
   Breite Fenster: nur ein Hauch (.16). Handy und kleine Fenster (bis 760 px Breite, auch quer): .42 plus ein weicher Textschatten */
.hf-content h1 { position: relative; }
.hf-content h1::before { content: ""; position: absolute; z-index: -1; left: -50vw; right: -50vw; top: -160px; height: 4000px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,calc(var(--scrim-bottom) * .5)) 90px, rgba(0,0,0,var(--scrim-bottom)) 160px, rgba(0,0,0,var(--scrim-bottom)) 100%); }
@media (max-width: 760px), (max-height: 560px) {
  .hero-full { --scrim-bottom: .42; }
  .hf-content h1, .hf-lead, .hf-meta, .hf-link { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
}
.hf-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(32px, 5vw, 64px); }
.hf-content h1 { font-weight: 400; font-size: clamp(56px, 8vw, 120px); line-height: 1.05; letter-spacing: -.02em; color: #fff; margin: 0 0 clamp(28px, 3.6vw, 52px); }
.hf-rule { height: 1px; background: rgba(255,255,255,.7); }
.js .hf-media img { transform: scale(1.06); }
.js.is-loaded .hf-media img { transform: scale(1); }
.js .hf-rule { transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out) .5s; }
.js.is-loaded .hf-rule { transform: scaleX(1); }
.hf-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: start; padding-top: clamp(24px, 3vw, 40px); }
.hf-lead { font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.65; max-width: 44ch; color: rgba(255,255,255,.92); margin-bottom: 18px; }
.hf-meta { font-size: 14px; font-weight: 500; line-height: 1.3; color: rgba(255,255,255,.85); margin: 0; }
.hf-actions { display: flex; align-items: center; gap: 36px; }
.hf-link span { display: inline-block; transition: transform .35s var(--ease); }
.hf-link { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; display: inline-flex; gap: 10px; background: linear-gradient(currentColor, currentColor) left 100% / 100% 1px no-repeat; transition: background-size .45s var(--ease), color .25s; }
.hf-link:hover { color: #fff; background-size: 0 1px; }
.hf-link:hover span { transform: translateY(3px); }
.hero-full :focus-visible { outline-color: #fff; }
@media (max-width: 760px) {
  .hf-bottom { grid-template-columns: 1fr; }
  .hf-actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .hf-actions .btn { width: 100%; }
  .hf-link { align-self: center; }
  .hf-media img { object-position: 46% 55%; }
}

.home .intro { border-top: 0; }
.svc2-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 24px; margin-bottom: clamp(28px, 3.6vw, 52px); }
/* Leistungsliste Startseite (Aufbau und Werte wie runnerswiss.ch) */
.circ { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: 0 0 auto; transition: background-color .45s var(--ease-out), border-color .45s var(--ease-out), color .45s var(--ease-out); }
.circ svg { width: 16px; height: 16px; transition: transform .45s var(--ease-out); }
.svc-rows { --pad: clamp(20px, 5vw, 64px); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.svc-rows a { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px 0 32px; border-bottom: 1px solid var(--line-strong); text-decoration: none; color: inherit; transition: opacity .45s var(--ease-out); }
.svc-rows a:hover, .svc-rows a:focus-visible { color: inherit; }
.svc-rows a:focus-visible { outline: 2px solid var(--red-text); outline-offset: 4px; }
.svc-rows a::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -.5); z-index: -1; background: var(--row-hover); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.sr-num { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--text-2); padding-top: .7em; }
.sr-name { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -.01em; transition: transform .5s var(--ease-out); }
.sr-desc { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.6; max-width: 52ch; }
.svc-rows .circ { justify-self: start; }
.svc-rows a:focus-visible::before { transform: scaleX(1); }
.svc-rows a:focus-visible .sr-name { transform: translateX(12px); }
.svc-rows a:focus-visible .circ, .ov-item:focus-visible .circ { background: var(--circ-fill); border-color: var(--circ-fill); color: #fff; }
.svc-rows a:focus-visible .circ svg, .ov-item:focus-visible .circ svg { transform: rotate(-45deg); }
@media (min-width: 900px) {
  .svc-rows a { grid-template-columns: 56px minmax(0, 1.15fr) minmax(0, 1fr) 52px; gap: 32px; align-items: start; padding: 36px 0 40px; }
  .svc-rows .circ { justify-self: end; }
  .sr-name { padding-top: .08em; }
}
@media (hover: hover) and (pointer: fine) {
  .svc-rows:has(a:hover) a:not(:hover), .svc-rows:has(a:focus-visible) a:not(:focus-visible) { opacity: .45; }
  .svc-rows.is-hovering a:not(.is-hover) { opacity: .45; } /* Fallback ohne :has() (site.js) */
  .svc-rows a:hover::before { transform: scaleX(1); }
  .svc-rows a:hover .sr-name { transform: translateX(12px); }
  .svc-rows a:hover .circ { background: var(--circ-fill); border-color: var(--circ-fill); color: #fff; }
  .svc-rows a:hover .circ svg { transform: rotate(-45deg); }
  .overview:has(.ov-item:hover) .ov-item:not(:hover), .overview:has(.ov-item:focus-visible) .ov-item:not(:focus-visible) { opacity: .45; }
  .overview.is-hovering .ov-item:not(.is-hover) { opacity: .45; } /* Fallback ohne :has() (site.js) */
  .ov-item:hover::before { transform: scaleX(1); }
  .ov-item:hover h2 { transform: translateX(12px); }
  .ov-item:hover .circ { background: var(--circ-fill); border-color: var(--circ-fill); color: #fff; }
  .ov-item:hover .circ svg { transform: rotate(-45deg); }
}
/* Touch: kein Verblassen, kurzer Druck-Effekt */
@media (hover: none) {
  .svc-rows a::before, .ov-item::before { transition-duration: .2s; }
  .svc-rows a:active::before, .ov-item:active::before { transform: scaleX(1); }
  .svc-rows a:active .circ, .ov-item:active .circ { background: var(--circ-fill); border-color: var(--circ-fill); color: #fff; transition-duration: .2s; }
  .svc-rows a:active .circ svg, .ov-item:active .circ svg { transform: rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) {
  .svc-rows a::before, .ov-item::before { transform: scaleX(1) !important; opacity: 0; transition: opacity .2s linear !important; }
  .svc-rows a:hover::before, .svc-rows a:focus-visible::before, .svc-rows a:active::before,
  .ov-item:hover::before, .ov-item:focus-visible::before, .ov-item:active::before { opacity: 1; }
  .svc-rows .sr-name, .ov-item h2, .svc-rows .circ svg, .ov-item .circ svg { transform: none !important; }
}

/* ===== Roter Abschlussbereich mit Offert-Assistent und Kontaktformular (Startseite, Aufbau nach runnerswiss.ch «Kontakt») ===== */
.band-form { scroll-margin-top: 88px; }
.band-top { --overlap: clamp(48px, 6vw, 80px); padding-top: clamp(72px, 10vw, 140px); padding-bottom: calc(var(--overlap) + clamp(40px, 5vw, 72px)); }
.band-form .band-head h2 { max-width: 18ch; margin-bottom: 18px; }
.band-form .band-head p { max-width: 44ch; margin: 0; font-size: clamp(1.05rem, 1.25vw, 1.18rem); line-height: 1.65; }
.contact-area { position: relative; z-index: 1; margin-top: calc(var(--overlap, 80px) * -1); padding-bottom: clamp(72px, 10vw, 140px); }
.band-top { --overlap: clamp(48px, 6vw, 80px); }
.contact-area { --overlap: clamp(48px, 6vw, 80px); }
.contact { display: grid; gap: 32px clamp(24px, 3vw, 48px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; } }
.contact__side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.card { background: var(--card-bg); color: var(--text); border-radius: 14px; padding: 20px; transition: background-color .5s; }
@media (min-width: 760px) { .card { padding: 32px; } }
.card h3 { font-size: 1.5rem; line-height: 1.1; }
.card p { font-size: 15.5px; color: var(--text-2); }
.card a:not(.btn):not(.textlink) { color: var(--text); }
.card a:not(.btn):not(.textlink):hover { color: var(--red-text); }
.card :focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; }
.textlink--back:hover span { transform: translateX(-4px); }
button.textlink { border: 0; background-color: transparent; cursor: pointer; font-family: inherit; }
/* Öffnungszeiten */
.hrs__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 20px; }
.card .hrs__status { margin: 0; display: inline-flex; align-items: center; gap: 9px; padding: 5px 13px 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--text); }
.hrs__status[hidden] { display: none; }
.hrs__status { display: inline-flex; align-items: center; gap: 9px; }
.hrs__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--text-2); flex: 0 0 auto; opacity: .6; }
.hrs__status.is-open .hrs__dot { background: var(--open); opacity: 1; }
.hrs__status.is-open .hrs__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--open); animation: hrsPulse 2.4s ease-out infinite; }
@keyframes hrsPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hrs__status.is-open .hrs__dot::after { animation: none; display: none; } }
.hrs__row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-strong); font-size: 15.5px; }
.hrs__t { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; flex: 0 0 auto; }
.hrs__cta { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.hrs__cta .btn { flex: 1 1 150px; }
/* Adresse und Karte */
.map-wrap { display: flex; flex-direction: column; }
.map-card h3 { margin-bottom: 12px; }
.map-card p { max-width: 40ch; margin-bottom: 18px; }
.map-card.is-loaded { padding: 0; position: relative; height: 360px; overflow: hidden; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.02); }
.map__route { margin: 14px 0 0; }
/* Karte mit Ansichten */
.views { position: relative; }
.view[hidden] { display: none; }
.switch-row { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.switch-row--top { margin: 0 0 20px; padding: 0; border: 0; }
.view-title { font-size: clamp(30px, 3vw, 40px); margin-bottom: 24px; }
.cardwiz .wizard-wrap--card { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.cardwiz .progress { position: static; }
.cardwiz .progress ol { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cardwiz .progress li { grid-template-columns: 1fr; border: 0; padding: 0; font-size: 13px; gap: 2px; }
.cardwiz .progress li .pt { display: none; }
.cardwiz .progress li.is-current .pt { display: block; }
.cardwiz .progress-bar { margin-top: 12px; background: var(--line-strong); }
.step .f { margin: 0 0 22px; }
.step h3 { font-size: clamp(36px, 4vw, 60px); margin-bottom: 12px; }
.cardwiz .step h3 { font-size: clamp(28px, 2.6vw, 38px); }
.cardwiz .sub-choices, .cardwiz .summary { background: var(--card-inset); }
.cardwiz .choice span, .cardwiz .input, .cardwiz .textarea, .cardwiz .select { background: var(--bg); }
.cardwiz .choice.big span { font-size: 22px; min-height: 64px; }
.cardwiz .dropzone:hover, .cardwiz .dropzone.is-over { background: var(--card-inset); }
.cardwiz .thumbs li { background: var(--card-inset); }
.cardwiz .field-error, .cform .field-error { color: var(--err); }
.thanks h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 12px; }
/* Kontaktformular (Runner .form / .f) */
.cform { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 20px; align-content: start; }
.f { grid-column: span 6; position: relative; min-width: 0; }
@media (min-width: 600px) { .f--3 { grid-column: span 3; } }
.f legend { display: block; padding: 0; font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 8px; }
p.hint, .f .hint, .field .hint { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
p.hint[hidden] { display: none; }
.hint .textlink { font-size: inherit; }
.f label:not(.check) { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 8px; transition: color .25s; }
.f:focus-within label:not(.check) { color: var(--text); }
.f .opt { font-weight: 400; }
.f input:not([type="checkbox"]):not([type="file"]), .f textarea, .f select { display: block; width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 16px; height: 52px; min-height: 52px; transition: border-color .25s; -webkit-appearance: none; appearance: none; }
.f textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.f input[aria-invalid="true"], .f textarea[aria-invalid="true"] { border-color: var(--err); }
.f .field-error { margin: 8px 0 0; color: var(--err); font-size: 14px; font-weight: 600; }
.sel { position: relative; }
.sel select { padding-right: 44px; cursor: pointer; }
.sel::after { content: ""; position: absolute; right: 20px; top: 50%; width: 7px; height: 7px; border: solid var(--text); border-width: 0 1.2px 1.2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.file { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px dashed var(--line-strong); border-radius: 10px; padding: 0 16px; min-height: 52px; position: relative; cursor: pointer; transition: border-color .25s, background-color .25s; }
.file:hover, .file:focus-within, .file.is-over { border-color: var(--text); }
.f .file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; }
.file__name { font-size: 14.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.file__btn { font-size: 14px; font-weight: 500; flex: 0 0 auto; text-decoration: underline; text-underline-offset: .22em; }
.f .thumbs { margin-top: 14px; }
.f .upload-meta { margin: 10px 0 0; font-size: 13.5px; }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; cursor: pointer; color: var(--text); }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--line-strong); border-radius: 5px; flex: 0 0 auto; display: grid; place-items: center; cursor: pointer; background: var(--bg); }
.check input:checked { background: var(--text); border-color: var(--text); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border: solid var(--bg); border-width: 0 0 1.5px 1.5px; transform: translateY(-1px) rotate(-45deg); }
.check input:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; }
.check input[aria-invalid="true"] { border-color: var(--err); }
.form__msg { grid-column: span 6; display: none; margin: 0; padding: 14px 0 14px 20px; border-left: 1px solid var(--text); font-size: 16px; color: var(--text) !important; }
.form__msg.is-err { display: block; border-left-color: var(--err); }
.form__foot { grid-column: span 6; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
@media (prefers-reduced-motion: reduce) { .views, .view { transition: none !important; } }

/* Akkordeon (alle Leistungsseiten, Modul assets/js/accordion.js): natives details/summary, gleiche Zeile wie die Leistungsliste der Startseite (.svc-rows), Plus rechts */
.acc { --acc-dur: 450ms; --acc-ease: cubic-bezier(0.22, 1, 0.36, 1); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-strong); }
/* Einzelner Inhaltsblock (Leistungsseiten mit nur einem Abschnitt): direkt sichtbar, gleiche Titelschrift, keine Nummer, kein Plus, kein Hover */
.svc-block { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line-strong); }
.svc-block .acc-list { margin-top: 24px; }
.acc-item { border-bottom: 1px solid var(--line-strong); }
.acc-item summary { position: relative; isolation: isolate; display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; column-gap: 12px; align-items: start; padding: 26px 0 28px; cursor: pointer; list-style: none; transition: opacity .45s var(--ease-out); }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::before { content: ""; position: absolute; inset: 0 -12px; z-index: -1; background: var(--row-hover); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.acc-item summary:focus-visible { outline: 2px solid var(--red-text); outline-offset: 4px; border-radius: 0; }
.acc-n { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--text-2); padding-top: .7em; }
.acc-t, .svc-block-t { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -.01em; transition: transform .5s var(--ease-out); }
.acc-i { position: relative; width: 20px; height: 20px; margin-top: .4em; color: var(--text); transition: transform var(--acc-dur) var(--acc-ease), color .3s var(--ease); }
.acc-i::before, .acc-i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px; background: currentColor; transition: transform var(--acc-dur) var(--acc-ease); }
.acc-i::after { transform: rotate(90deg); }
.acc-item summary:focus-visible::before { transform: scaleX(1); }
.acc-item summary:focus-visible .acc-t { transform: translateX(12px); }
.acc-item summary:focus-visible .acc-i, .acc-item[open]:not(.is-closing) .acc-i { color: var(--red-text); }
.acc-item summary:focus-visible .acc-i { transform: rotate(45deg); }
.acc-item[open]:not(.is-closing) .acc-i::after { transform: rotate(0deg); }
.acc-item[open]:not(.is-closing) summary:focus-visible .acc-i { transform: none; }
.acc-body { overflow: hidden; }
.acc-in { padding: 0 32px 32px 48px; }
.acc-in > p { margin: 0; max-width: 36em; color: var(--text-2); font-size: 17px; line-height: 1.65; }
.acc-list, .acc-tags { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.acc-list li, .acc-tags li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; }
.acc-list li { display: grid; gap: 2px; }
.acc-list strong { font-weight: 600; color: var(--text); }
.acc-list span { color: var(--text-2); }
.acc-in > p + .acc-list { margin-top: 24px; }
.acc-tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); column-gap: 32px; }
.acc-tags li { color: var(--text-2); }
@media (min-width: 900px) {
  .acc-item summary { grid-template-columns: 56px minmax(0, 1fr) 20px; column-gap: 20px; padding: 32px 0 34px; }
  .acc-in { padding-left: 76px; }
}
@media (hover: hover) and (pointer: fine) {
  .acc:has(summary:hover) summary:not(:hover) { opacity: .45; }
  .acc-item summary:hover::before { transform: scaleX(1); }
  .acc-item summary:hover .acc-t { transform: translateX(12px); }
  .acc-item summary:hover .acc-i { color: var(--red-text); transform: rotate(45deg); }
  .acc-item[open]:not(.is-closing) summary:hover .acc-i { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .acc-item summary, .acc-item summary::before, .acc-t, .acc-i, .acc-i::before, .acc-i::after { transition: none !important; } .acc-item summary:hover .acc-t, .acc-item summary:focus-visible .acc-t { transform: none; } }
/* Desktop: Text links (Kopf, Abschnitte), Slider rechts über beide Zeilen und klebend. Darunter: Kopf, Slider (4:3, höchstens 60vh), Abschnitte. */
@media (min-width: 901px) {
  .split-media-top { grid-template-rows: auto 1fr; row-gap: 0; }
  .split-media-top > .svc-head { grid-column: 1; grid-row: 1; }
  .split-media-top > .svc-rest { grid-column: 1; grid-row: 2; }
  .split-media-top > .svc-media { grid-column: 2; grid-row: 1 / 3; position: sticky; top: 110px; }
}
@media (max-width: 900px) {
  .split-media-top .bslider__list { aspect-ratio: 4 / 3; max-height: 60vh; }
  .split-media-top > .svc-rest > .acc:first-child { margin-top: 0; }
}

/* Zeichenzähler unter Textfeldern (max. 1000), rot kurz vor dem Limit */
.counter { margin: 6px 0 0; font-size: 13px; font-weight: 500; color: var(--text-2); text-align: right; font-variant-numeric: tabular-nums; }
.counter.is-near { color: var(--err); font-weight: 600; }
