/* =========================================================
   Mustermann Seilzugangstechnik – Stylesheet
   Farben und Abstände zentral hier ändern (:root)
   ========================================================= */

@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Black.woff") format("woff"); font-weight: 900; font-display: swap; }

:root {
  --ink: #14212b;          /* Nachtschiefer – dunkle Flächen */
  --ink-2: #1c2d3a;
  --paper: #f5f6f4;        /* helle Flächen */
  --concrete: #e4e6e2;     /* Beton */
  --steel: #6b7a86;        /* Sekundärtext */
  --signal: #ff6a1a;       /* Seil-Orange – nur für Seil und Aktionen */
  --signal-ink: #1a0d05;
  --line: rgba(20, 33, 43, .14);
  --line-dark: rgba(255, 255, 255, .12);
  --text: #14212b;
  --text-dark: #e9edf0;
  --muted-dark: #9fb0bd;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Display", "Inter", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 12vw, 160px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 6px;
}

/* ---------- Basis ---------- */
@view-transition { navigation: auto; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.02; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--signal); color: var(--signal-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--signal); color: var(--signal-ink); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons & Links ---------- */
.btn { --b: var(--signal); display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 26px; border-radius: var(--radius); border: 1.5px solid var(--b); font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--signal { background: var(--signal); color: var(--signal-ink); }
.btn--signal:hover { background: #ff8340; border-color: #ff8340; }
.btn--ghost { --b: rgba(255,255,255,.35); background: transparent; color: #fff; }
.btn--ghost:hover { --b: #fff; background: rgba(255,255,255,.06); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-underline-offset .25s var(--ease); }
.link:hover { text-underline-offset: 8px; }
.muted { color: var(--steel); }

/* ---------- Seil-Fortschritt ---------- */
.rope { position: fixed; left: max(22px, calc((100vw - var(--wrap)) / 2 - 56px)); top: 0; bottom: 0; width: 2px; z-index: 40; pointer-events: none; background: linear-gradient(var(--line), var(--line)) center / 1px 100% no-repeat; opacity: 0; transition: opacity .6s; }
.rope.is-visible { opacity: 1; }
.rope { --track: calc(60px + var(--p, 0) * (100% - 120px)); }
.rope__fill { position: absolute; inset: 0 0 auto 0; height: var(--track); background: var(--signal); }
.rope__alt { position: absolute; left: 50%; top: calc(var(--track) - 60px); transform: translate(-50%, -100%); padding: 2px 6px; border-radius: 99px; background: var(--ink); color: #fff; font: 600 11px/1.3 var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: 0 0 0 1px rgba(255,255,255,.12); transition: background-color .4s, color .4s; }
.rope.is-landed .rope__alt { background: var(--signal); color: var(--signal-ink); }
.rope__end { position: absolute; left: 50%; bottom: 4px; width: 14px; height: 18px; margin-left: -7px; }
.rope__end svg { width: 100%; height: 100%; overflow: visible; }
.rope__end .knot { fill: none; stroke: var(--steel); stroke-width: 3; stroke-linecap: round; }
.rope.is-landed .rope__climber { animation: land .6s var(--ease); }
@keyframes land { 0% { translate: 0 -10px; } 60% { translate: 0 2px; } 100% { translate: 0 0; } }
.rope__climber { position: absolute; left: 50%; top: var(--track); width: 28px; height: 96px; margin: -53px 0 0 -14px; transform-origin: 50% 53px; transform: rotate(var(--swing, 0deg)); }
.rope__climber svg { width: 100%; height: 100%; overflow: visible; }
.rope__climber .c-body { stroke-width: 9; stroke: #7f93a2; }
@media (max-width: 1023px) { .rope { display: none; } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease); }
.site-header.is-solid { background: rgba(20, 33, 43, .92); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; fill: none; stroke: var(--signal); stroke-width: 2.4; stroke-linecap: round; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--display); font-weight: 900; font-size: 19px; letter-spacing: -.02em; }
.brand__text span { font-size: 12.5px; color: var(--muted-dark); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav a:not(.btn) { position: relative; font-size: 15px; font-weight: 500; text-decoration: none; color: rgba(255,255,255,.82); transition: color .25s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover, .nav a.is-active { color: #fff; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; margin-right: -8px; background: none; border: 0; color: #fff; cursor: pointer; z-index: 2; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

  .nav { position: fixed; inset: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 96px var(--gutter) 40px; background: var(--ink); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s var(--ease), visibility 0s .6s; }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease); }
  .nav a:not(.btn) { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 9vw, 44px); letter-spacing: -.02em; padding: 4px 0; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease), color .25s; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 24px; opacity: 0; transition: opacity .4s; }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(1) { transition-delay: .15s; } .nav.is-open a:nth-child(2) { transition-delay: .2s; }
  .nav.is-open a:nth-child(3) { transition-delay: .25s; } .nav.is-open a:nth-child(4) { transition-delay: .3s; }
  .nav.is-open a:nth-child(5) { transition-delay: .35s; } .nav.is-open a:nth-child(6) { transition-delay: .4s; } .nav.is-open a:nth-child(7) { transition-delay: .45s; }
}

/* ---------- Cover ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media > img { position: absolute; inset: -6% 0 0 auto; width: min(62%, 980px); height: 112%; object-fit: cover; transform-origin: right center; transform: perspective(1400px) rotateY(-14deg) translate3d(0, var(--parallax, 0px), 0); animation: hero-media 2.4s var(--ease) both; }
.hero__media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--ink) 30%, rgba(20,33,43,.75) 52%, rgba(20,33,43,.15) 80%),
  linear-gradient(0deg, var(--ink) 0%, rgba(20,33,43,0) 40%); }
.hero__ropes { position: absolute; top: 92px; right: max(5%, calc((100vw - var(--wrap)) / 2 - 40px)); width: 260px; height: 100%; z-index: 1; overflow: visible; }
.hero__anchor { fill: #6b7a86; }
.hero__rope { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: rope-draw 1.8s .3s var(--ease) forwards; }
.hero__rope--b { stroke: #ffd24a; stroke-width: 2; animation-delay: .45s; }
.hero__descend { transform: translateY(var(--descend, 0px)); }
.hero__climber { transform: translateY(-120px); opacity: 0; animation: climber 2.4s .9s var(--ease) forwards; }
.c-helmet { fill: #ffd24a; }
.c-body { fill: none; stroke: #0b141b; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.c-device { fill: var(--signal); }

.hero__content { position: relative; z-index: 2; padding-top: 140px; padding-bottom: clamp(40px, 7vw, 72px); }
.hero__kicker { font-size: 15px; font-weight: 500; color: var(--muted-dark); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.hero__kicker::before { content: ""; width: 28px; height: 2px; background: var(--signal); }
.hero__title { font-weight: 900; font-size: clamp(42px, 7.2vw, 100px); line-height: .96; letter-spacing: -.032em; max-width: 10.5em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: line-up 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__lead { max-width: 34em; margin-top: 28px; font-size: clamp(17px, 1.5vw, 19px); color: #c9d4dc; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 44px; margin: clamp(48px, 7vw, 88px) 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-dark); font-size: 14.5px; color: var(--muted-dark); }
.hero__facts strong { display: block; font-family: var(--display); font-weight: 700; font-size: 22px; color: #fff; letter-spacing: -.01em; }
.hero__lead, .hero__actions, .hero__facts, .hero__kicker { animation: fade-in 1s .5s var(--ease) both; }
.hero__actions { animation-delay: .65s; } .hero__facts { animation-delay: .85s; }

@keyframes line-up { to { transform: none; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes rope-draw { to { stroke-dashoffset: 0; } }
@keyframes climber { to { transform: translateY(560px); opacity: 1; } }
@keyframes hero-media { from { opacity: 0; transform: perspective(1400px) rotateY(-22deg) scale(1.06); } }

@media (max-width: 760px) {
  .hero__media > img { width: 100%; opacity: .55; transform: none; animation: fade-in 1.6s both; }
  .hero__media::after { background: linear-gradient(0deg, var(--ink) 25%, rgba(20,33,43,.55) 70%, rgba(20,33,43,.35)); }
  .hero__ropes { right: 0; width: 76px; opacity: .95; }
  .hero__content { padding-right: 64px; }
  .hero__facts { gap: 18px 28px; }
  .hero__facts li { flex: 1 1 40%; }
}

/* ---------- Sektionen ---------- */
.section { padding-block: var(--section); }
.section--light { background: var(--paper); }
.section--concrete { background: var(--concrete); }
.section--dark { background: var(--ink); color: var(--text-dark); }
.h2 { font-weight: 900; font-size: clamp(38px, 5.6vw, 72px); letter-spacing: -.03em; margin-bottom: 24px; }
.lead-dark { max-width: 38em; color: var(--muted-dark); font-size: 18px; }

/* Leistungen */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__aside { position: sticky; top: 120px; }
.split__aside p { max-width: 26em; }
.services { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "m t i" "m s i"; column-gap: 24px; align-items: center; padding: 20px 0; cursor: pointer; }
.service__img { grid-area: m; width: 88px; height: 88px; border-radius: var(--radius); object-fit: cover; transition: transform .5s var(--ease), filter .5s var(--ease); filter: saturate(.85); }
.service summary:hover .service__img, .service[open] .service__img { transform: scale(1.04); filter: saturate(1.1); }
.service__title { align-self: end; }
.service__short { align-self: start; }
@media (max-width: 560px) { .service summary { column-gap: 16px; } .service__img { width: 64px; height: 64px; } }
.service summary::-webkit-details-marker { display: none; }
.service__title { grid-area: t; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.02em; line-height: 1.15; transition: transform .45s var(--ease), color .3s; }
.service__short { grid-area: s; color: var(--steel); font-size: 15.5px; margin-top: 4px; transition: transform .45s var(--ease); }
.service__icon { grid-area: i; align-self: center; position: relative; width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: 50%; transition: background-color .3s, border-color .3s, transform .5s var(--ease); }
.service__icon::before, .service__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; transition: transform .5s var(--ease); }
.service__icon::after { transform: rotate(90deg); }
.service summary:hover .service__title, .service summary:hover .service__short { transform: translateX(8px); }
.service summary:hover .service__icon { border-color: var(--signal); }
.service[open] .service__icon { background: var(--signal); border-color: var(--signal); transform: rotate(180deg); }
.service[open] .service__icon::after { transform: rotate(0deg); }
.service::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.service[open]::details-content { block-size: auto; }
.service__body { padding: 0 64px 28px 112px; max-width: calc(40em + 112px); }
.service__body p { color: #33434f; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.tags li { font-size: 13.5px; font-weight: 500; padding: 5px 12px; border-radius: 99px; background: var(--concrete); color: #33434f; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__aside { position: static; }
  .service__body { padding-right: 0; }
}
@media (max-width: 560px) {
  .service__body { padding-left: 0; }
}

/* Vergleich */
.compare { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line-dark); }
.compare__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.2fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.compare__row [role="rowheader"] { font-weight: 600; color: #fff; }
.compare__row [role="cell"] { color: var(--muted-dark); }
.compare__row--head { padding-block: 0 16px; font-size: 14px; color: var(--muted-dark); }
.compare__row--head [role="columnheader"] { font-weight: 500; }
.compare .is-us { color: #fff !important; position: relative; }
.compare__row--head .is-us { color: var(--signal) !important; font-weight: 700 !important; }
.compare__row:not(.compare__row--head) .is-us { font-weight: 600; padding-left: 18px; }
.compare__row:not(.compare__row--head) .is-us::before { content: ""; position: absolute; left: 0; top: -22px; bottom: -22px; width: 2px; background: var(--signal); }
.footnote { margin-top: 28px; max-width: 42em; font-size: 15px; color: var(--muted-dark); }
@media (max-width: 760px) {
  .compare__row { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .compare__row--head { display: none; }
  .compare__row [role="rowheader"] { grid-column: 1 / -1; margin-bottom: 4px; }
  .compare__row [role="cell"]::before { display: block; font-size: 12.5px; color: #6f8291; }
  .compare__row [role="cell"]:nth-child(2)::before { content: "Gerüst"; }
  .compare__row [role="cell"]:nth-child(3)::before { content: "Hubbühne"; }
  .compare__row [role="cell"].is-us { grid-column: 1 / -1; margin-top: 10px; }
  .compare__row [role="cell"].is-us::before { content: "Seilzugang"; position: static; width: auto; background: none; color: var(--signal); font-weight: 600; }
  .compare__row:not(.compare__row--head) .is-us { padding-left: 14px; border-left: 2px solid var(--signal); }
}

/* Ablauf */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: var(--signal); transform-origin: left; transform: scaleX(var(--steps, 0)); transition: transform 1.6s var(--ease); }
.step { position: relative; }
.step__no { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 24px; transition: background-color .4s, color .4s, border-color .4s; }
.steps.is-in .step__no { background: var(--ink); color: #fff; }
.steps.is-in .step:nth-child(1) .step__no { transition-delay: .1s; } .steps.is-in .step:nth-child(2) .step__no { transition-delay: .5s; }
.steps.is-in .step:nth-child(3) .step__no { transition-delay: .9s; } .steps.is-in .step:nth-child(4) .step__no { transition-delay: 1.3s; }
.step h3 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 10px; }
.step p { color: var(--steel); font-size: 16px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .steps::before, .steps::after { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
  .steps::after { transform-origin: top; transform: scaleY(var(--steps, 0)); }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 22px; padding-bottom: 20px; }
  .step__no { grid-row: span 2; margin: 0; }
  .step h3 { align-self: center; margin: 10px 0 6px; }
}

/* Doppelt gesichert */
.safety { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.safety__demo { margin: 0; position: relative; background: var(--ink); border-radius: 10px; padding: 12px 12px 20px; }
.safety__demo svg { width: 100%; height: auto; display: block; }
.s-beam { fill: #6b7a86; }
.s-ring { fill: none; stroke: #c9d6df; stroke-width: 3; }
.s-rope { stroke-width: 3.5; fill: none; }
.s-rope--work { stroke: var(--signal); }
.s-rope--backup { stroke: #ffd24a; stroke-width: 3; }
.s-body { fill: none; stroke: #e9edf0; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.s-device { fill: var(--signal); }
.s-helmet { fill: #ffd24a; }
.s-label { font: 600 13px var(--font); fill: #9fb0bd; }
.s-label--work { fill: var(--signal); }
.s-label--backup { fill: #ffd24a; }
.s-caption { font: 700 22px var(--display); fill: #fff; opacity: 0; }
.s-break { opacity: 0; } .s-break path { stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.safety__replay { position: absolute; right: 16px; bottom: 16px; font: 600 13px var(--font); color: var(--muted-dark); background: transparent; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; padding: 6px 12px; cursor: pointer; transition: color .25s, border-color .25s; }
.safety__replay:hover { color: #fff; border-color: #fff; }
.safety__lead { font-size: 18px; max-width: 34em; color: #33434f; }
.safety__list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.safety__list li { display: grid; gap: 2px; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); position: relative; }
.safety__list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--signal); }
.safety__list li:first-child::before { border-color: var(--signal); box-shadow: 6px 0 0 -2px #ffd24a; }
.safety__list strong { font-weight: 600; }
.safety__list span { color: var(--steel); font-size: 15.5px; }
/* Ablauf der Animation */
.safety__demo.is-playing .s-climber { animation: s-climb 4.6s var(--ease) forwards; }
.safety__demo.is-playing .s-rope--work { animation: s-work 4.6s linear forwards; }
.safety__demo.is-playing .s-rope--backup { animation: s-backup 4.6s linear forwards; }
.safety__demo.is-playing .s-break { animation: s-break 4.6s linear forwards; }
.safety__demo.is-playing .s-caption { animation: s-caption 4.6s var(--ease) forwards; }
.safety__demo.is-done .s-climber { transform: translateY(150px); }
.safety__demo.is-done .s-rope--work { opacity: .2; stroke-dasharray: 6 8; }
.safety__demo.is-done .s-rope--backup { stroke-width: 5; }
.safety__demo.is-done .s-caption { opacity: 1; }
@keyframes s-climb { 0% { transform: translateY(0); } 40% { transform: translateY(110px); } 50% { transform: translateY(110px); } 56% { transform: translateY(162px); } 62% { transform: translateY(142px); } 68% { transform: translateY(154px); } 74% { transform: translateY(148px); } 100% { transform: translateY(150px); } }
@keyframes s-work { 0%, 50% { opacity: 1; stroke-dasharray: none; } 52% { opacity: .9; stroke-dasharray: 6 8; } 100% { opacity: .2; stroke-dasharray: 6 8; } }
@keyframes s-backup { 0%, 52% { stroke-width: 3; } 58% { stroke-width: 6; } 100% { stroke-width: 5; } }
@keyframes s-break { 0%, 49% { opacity: 0; } 51% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes s-caption { 0%, 74% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: none; } }
.s-caption { transform-box: fill-box; }
@media (max-width: 900px) { .safety { grid-template-columns: 1fr; } .safety__demo { max-width: 420px; } }

/* Knoten-Trenner */
.knot-divider { display: flex; align-items: center; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 32px; }
.knot-divider::before, .knot-divider::after { content: ""; flex: 1; height: 3px; border-radius: 2px; background: var(--signal); opacity: .9; }
.knot-divider svg { flex: none; width: 150px; height: 50px; margin: 0 -2px; overflow: visible; }
.knot-divider .knot { fill: none; stroke: var(--signal); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }

/* Über mich */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about__placeholder { height: 100%; display: grid; place-items: center; align-content: center; gap: 16px; color: var(--muted-dark); background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px), var(--ink-2); }
.about__placeholder svg { width: 90px; fill: none; stroke: var(--signal); stroke-width: 4; stroke-linecap: round; }
.about__text > p { max-width: 36em; color: #33434f; }
.about__text > p.about__lead { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -.015em; color: var(--text); margin-bottom: .8em; }
.contact__person { margin: 28px 0 0; color: var(--muted-dark); font-size: 15px; }
.quals { margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--line); }
.quals div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.quals dt { font-size: 13.5px; color: var(--steel); margin-bottom: 4px; }
.quals dd { margin: 0; font-weight: 600; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) { .quals { grid-template-columns: 1fr; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__phone { display: inline-block; margin: 4px 0 28px; font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; color: #fff; text-decoration: none; background: linear-gradient(var(--signal), var(--signal)) left bottom / 0 3px no-repeat; transition: background-size .5s var(--ease); }
.contact__phone:hover { background-size: 100% 3px; }
.contact__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); color: #fff; }
.contact__list span { color: var(--muted-dark); font-size: 15px; }
.contact__list a { text-decoration: none; transition: color .25s; }
.contact__list a:hover { color: var(--signal); }

.form { background: var(--ink-2); border-radius: 10px; padding: clamp(24px, 4vw, 44px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted-dark); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; font: 16px/1.4 var(--font); color: #fff; background: rgba(255,255,255,.04); border: 1.5px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 14px 16px; transition: border-color .25s, background-color .25s; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239fb0bd' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.28); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); background: rgba(255,255,255,.07); }
.field ::placeholder { color: #6f8291; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff7b7b; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted-dark); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--signal); }
.check.is-invalid span { color: #ff9b9b; }
.check a { color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.form__status { margin: 0; font-size: 15px; color: var(--muted-dark); }
.form__status.is-ok { color: #8fe3a8; }
.form__status.is-error { color: #ff9b9b; }
.form.is-sending [data-submit] { opacity: .6; pointer-events: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* Footer */
.site-footer { background: #0f1a22; color: var(--muted-dark); font-size: 14.5px; padding-block: 40px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; align-items: center; }
.site-footer strong { color: #fff; }
.site-footer__nav { display: flex; gap: 24px; }
.site-footer a { text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--signal); }


/* ---------- Telefon im Header (Handy) ---------- */
.header-call { display: none; }
@media (max-width: 900px) {
  .header-call { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; margin-right: 4px; color: #fff; border-radius: 50%; position: relative; z-index: 2; transition: background-color .25s; }
  .header-call:hover { background: rgba(255,255,255,.08); }
  .header-call svg { width: 22px; height: 22px; fill: none; stroke: var(--signal); stroke-width: 2; stroke-linejoin: round; }
}

/* ---------- Schnellkontakt-Leiste (Handy) ---------- */
.quickbar { display: none; }
@media (max-width: 760px) {
  .quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -8px 24px rgba(0,0,0,.25); transform: translateY(110%); transition: transform .5s var(--ease); }
  .quickbar.is-visible { transform: none; }
  body.menu-open .quickbar { transform: translateY(110%); }
  .quickbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; background: var(--ink); color: #fff; text-decoration: none; font-size: 12.5px; font-weight: 600; }
  .quickbar a.is-primary { background: var(--signal); color: var(--signal-ink); }
  .quickbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .quickbar a:not(.is-primary) svg { stroke: var(--signal); }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Leistung anfragen ---------- */
.service__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; font-size: 15px; color: var(--text); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-underline-offset .25s var(--ease); }
.service__cta::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .3s var(--ease); }
.service__cta:hover { text-underline-offset: 8px; }
.service__cta:hover::after { transform: translateX(3px) rotate(-45deg); }
.field.is-prefilled select { border-color: var(--signal); animation: pulse-field 1.2s var(--ease); }
@keyframes pulse-field { 0% { box-shadow: 0 0 0 0 rgba(255,106,26,.55); } 100% { box-shadow: 0 0 0 12px rgba(255,106,26,0); } }

/* ---------- Karabiner im Button ---------- */
.biner { display: inline-block; width: 0; height: 20px; overflow: hidden; margin-right: -.5em; opacity: 0; transition: width .35s var(--ease), margin .35s var(--ease), opacity .25s; }
.biner svg { width: 15px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.biner__gate { transform-origin: 7px 4px; transform: rotate(-38deg); transition: transform .25s cubic-bezier(.5,1.8,.5,1) .12s; }
.btn:hover .biner, .btn:focus-visible .biner, .form.is-sent .biner { width: 15px; margin-right: 0; opacity: 1; }
.btn:hover .biner__gate, .btn:focus-visible .biner__gate, .form.is-sent .biner__gate { transform: rotate(0deg); }
.form__status.is-ok::before { content: ""; display: inline-block; width: 8px; height: 13px; margin: 0 10px 0 2px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg) translateY(-3px); }

/* ---------- Häufige Fragen ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2vw, 24px); letter-spacing: -.01em; line-height: 1.25; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary > span:first-child { transition: transform .45s var(--ease); }
.faq__item summary:hover > span:first-child { transform: translateX(6px); }
.faq__item summary:hover .service__icon { border-color: var(--signal); }
.faq__item[open] .service__icon { background: var(--signal); border-color: var(--signal); transform: rotate(180deg); }
.faq__item[open] .service__icon::after { transform: rotate(0deg); }
.faq__item .service__icon { flex: none; }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
.faq__item p { margin: 0; padding: 0 64px 24px 0; max-width: 40em; color: #33434f; }
@media (max-width: 560px) { .faq__item p { padding-right: 0; } }

/* ---------- Footer-Silhouette ---------- */
.footer-skyline { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.footer-skyline svg { display: block; width: 100%; height: auto; max-height: 90px; }
.footer-skyline path, .footer-skyline circle { fill: none; stroke: #2f4252; stroke-width: 2; stroke-linejoin: round; }
.site-footer { padding-top: 48px; }
.knot-divider { padding-top: 0; margin-top: -3px; }
.site-footer__inner a { color: #cfd8de; }

/* ---------- Unterseiten (Impressum, Datenschutz …) ---------- */
.page-head { background: var(--ink); color: #fff; padding: 160px 0 64px; }
.page-head h1 { font-weight: 900; font-size: clamp(40px, 7vw, 84px); letter-spacing: -.04em; }
.page-head p { color: var(--muted-dark); margin: 16px 0 0; }
.prose { padding-block: 64px 120px; }
.prose > .wrap > * { max-width: 46em; }
.prose h2 { font-size: 26px; font-weight: 700; letter-spacing: -.015em; margin: 48px 0 14px; }
.prose h3 { font-size: 19px; font-weight: 700; font-family: var(--font); letter-spacing: 0; margin: 28px 0 8px; }
.prose p, .prose li { color: #33434f; }
.prose a { text-decoration-color: var(--signal); text-underline-offset: 3px; }
.notice { border-left: 3px solid var(--signal); background: var(--concrete); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; }
.center-page { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--ink); color: #fff; padding: 120px var(--gutter); }
.center-page h1 { font-weight: 900; font-size: clamp(40px, 7vw, 80px); letter-spacing: -.04em; margin-bottom: 16px; }
.center-page p { color: var(--muted-dark); max-width: 32em; margin: 0 auto 32px; }

/* ---------- Dunkelmodus für helle Flächen ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101a22; --concrete: #172530; --text: #e9edf0; --steel: #93a4b1; --line: rgba(255,255,255,.12);
  }
  :root:not([data-theme="light"]) .service__body p, :root:not([data-theme="light"]) .about__text > p, :root:not([data-theme="light"]) .safety__lead, :root:not([data-theme="light"]) .faq__item p, :root:not([data-theme="light"]) .prose p, :root:not([data-theme="light"]) .prose li, :root:not([data-theme="light"]) .tags li { color: #c3cfd8; }
  :root:not([data-theme="light"]) .step__no { border-color: #e9edf0; }
  :root:not([data-theme="light"]) .steps.is-in .step__no { background: var(--signal); color: var(--signal-ink); border-color: var(--signal); }
}
:root[data-theme="dark"] { --paper: #101a22; --concrete: #172530; --text: #e9edf0; --steel: #93a4b1; --line: rgba(255,255,255,.12); }

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero__media > img { --parallax: 0px !important; }
}
@media print { .site-header, .rope, .hero__media, .form { display: none; } .hero { min-height: 0; } }
