/* overturn.de: Wegweiser und Ortstafel. Eine Seite, eine Schrift (Barlow), Rot nur auf Anklickbarem. */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Marke (gemessen aus dem Logo) */
  --red: #E4003A;
  --grey: #878787;
  /* abgeleitet */
  --ink: #2B2B2B;
  --ink-soft: #4a4a4a;
  --paper: #ffffff;
  --paper-tint: #F3F3F2;
  --rule: #cfcfce;
  --red-dark: #b8002f;

  --font: "Barlow", system-ui, "Segoe UI", sans-serif;
  --font-cond: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;

  /* Maße, die das Regler-Panel in Phase 6 verschieben darf */
  --gutter: 16px;
  --page-max: 1240px;
  --h1-size: clamp(2rem, min(1.2rem + 3.2vw, 8.6vh), 3.5rem);
  --head-pad: clamp(18px, 3.2vh, 26px);
  --logo-h: clamp(40px, min(2.4vw + 22px, 8vh), 60px);
  --hero-top: clamp(20px, 5.5vh, 56px);
  --lead-gap: clamp(16px, 2.8vh, 24px);
  --cta-gap: clamp(24px, 4vh, 32px);
  --sign-top: 0px;
  --section-pad: clamp(56px, 8vw, 112px);
  --arm-size: 1.625rem;
  --mast-width: 6px;
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { width: 100%; max-width: calc(var(--page-max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 0; }

/* Überschriften */
h1, h2, h3 { font-family: var(--font); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: var(--h1-size); font-weight: 700; max-width: 18ch; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 700; margin-bottom: 0.7em; }
.section h2 { display: inline-block; background: var(--red); color: #fff; border: 3px solid var(--red-dark); border-radius: 8px; padding: 0.18em 0.5em 0.22em; font-family: var(--font-cond); }
h3 { font-size: 1.375rem; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; max-width: var(--measure); }
.small { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-soft); }

/* Kopf: Name und Sitz, keine Navigation */
.top { padding-block: var(--head-pad); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top img { height: var(--logo-h); width: auto; }

/* Einstieg */
.hero { position: relative; padding-top: var(--hero-top); padding-bottom: var(--section-pad); overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); column-gap: clamp(24px, 5vw, 80px); align-items: start; }
.hero-text { padding-top: clamp(0px, 3vh, 28px); }
.lead { font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem); line-height: 1.5; margin: var(--lead-gap) 0 0; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: var(--cta-gap); }

.btn {
  display: inline-block; background: var(--red); color: #fff; font-family: var(--font-cond); font-weight: 600; font-size: var(--arm-size);
  padding: 16px 32px; text-decoration: none; border: 0; cursor: pointer; line-height: 1.1;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
  padding-right: 48px; transition: background-color 160ms ease-out, transform 160ms ease-out;
}
.btn:hover { background: var(--red-dark); transform: translateX(3px); }
.btn:active { transform: translateX(1px); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.textlink { font-weight: 600; }

/* Der Wegweiser: Mast und vier Arme */
.signpost { position: relative; min-height: 440px; }
.signpost::before {
  content: ""; position: absolute; left: 50%; top: -8px; bottom: -64px; width: var(--mast-width);
  background: var(--grey); transform: translateX(-50%);
}
.signpost::after {
  content: ""; position: absolute; left: 50%; bottom: -64px; width: 54px; height: 10px; background: var(--grey);
  transform: translateX(-50%); border-radius: 1px;
}
.signpost ul { list-style: none; margin: 0; padding: 0; position: relative; display: grid; row-gap: 20px; padding-top: 28px; }
.signpost li:nth-child(odd) { justify-self: end; margin-right: calc(50% + 3px); }
.signpost li:nth-child(even) { justify-self: start; margin-left: calc(50% + 3px); }
.arm {
  --tip: 22px;
  display: block; background: var(--red); color: #fff; text-decoration: none;
  font-family: var(--font-cond); font-weight: 600; font-size: var(--arm-size); line-height: 1; white-space: nowrap;
  padding: 16px 20px 16px 26px; position: relative;
  transform-origin: var(--origin, left center);
  transition: background-color 160ms ease-out;
}
.signpost li:nth-child(odd) .arm { --origin: right center; clip-path: polygon(var(--tip) 0, 100% 0, 100% 100%, var(--tip) 100%, 0 50%); padding: 16px 22px 16px 38px; }
.signpost li:nth-child(even) .arm { --origin: left center; clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%); padding: 16px 38px 16px 22px; }
.arm:hover { background: var(--red-dark); }

.plate {
  display: inline-block; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 6px;
  font-family: var(--font-cond); font-weight: 700; font-size: 1.125rem; line-height: 1; padding: 9px 14px; letter-spacing: 0.01em;
}
.plate small { display: block; font-weight: 500; font-size: 0.75rem; letter-spacing: 0.06em; margin-bottom: 3px; color: var(--ink-soft); }


/* Abschnitte */
.section { padding-block: var(--section-pad); position: relative; }
.section + .section { margin-top: -1px; }
.tint { background: var(--paper-tint); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { font-size: 1.1875rem; }

/* Auf einen Blick: ein Satz, keine Kennzahlen-Kacheln */
.glance { font-family: var(--font-cond); font-weight: 600; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.3; max-width: 38ch; margin: 0; padding-top: 24px; border-top: 3px solid var(--ink); }

/* Leistungen als Zeilenliste */
.rows { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.rows > li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: clamp(20px, 4vw, 64px); padding: 26px 0; border-bottom: 1px solid var(--rule); }
.rows h3 { max-width: 24ch; }
.rows p { margin: 0; }

/* Orte */
.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 80px); row-gap: 40px; }
.places h3 { margin-bottom: 18px; }
.places p.small { margin-top: -6px; margin-bottom: 18px; }
.plates { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.places-wide { margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: 3px solid var(--ink); }
.places-wide h3 { margin-bottom: 18px; }
.oa-places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 80px); row-gap: 28px; }
.oa-places p { margin-bottom: 14px; }
.place-note { margin-top: clamp(32px, 4vw, 48px); padding-top: 20px; border-top: 1px solid #5a5a5a; }
.place-note a { font-weight: 600; }

/* Open Access: Strecke mit drei Knoten */
.oa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); column-gap: clamp(24px, 5vw, 80px); align-items: center; }
.route-diagram { margin: 0; }
.route-diagram svg { width: 100%; height: auto; }
.route-diagram text { font-family: var(--font-cond); font-weight: 600; fill: var(--ink); }

/* Ablauf als Strecke */
.route { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: stop; max-width: 760px; }
.route::before { content: ""; position: absolute; left: 22px; top: 12px; bottom: 12px; width: 4px; background: var(--rule); }
.route li { position: relative; padding: 0 0 26px 76px; counter-increment: stop; min-height: 48px; }
.route li::before {
  content: counter(stop); position: absolute; left: 0; top: -2px; width: 48px; height: 48px; display: grid; place-items: center;
  background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 50%; font-family: var(--font-cond); font-weight: 700; font-size: 1.25rem;
  transition: background-color 280ms ease-out, color 280ms ease-out;
}
.route li.is-done::before { background: var(--red); border-color: var(--red); color: #fff; }
.route li:last-child { padding-bottom: 0; }
.route li p { margin: 0; padding-top: 7px; }
.route-meta { margin-top: 36px; }

/* Referenzen */
.ref-table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.ref-table caption { position: absolute; left: -9999px; }
.ref-table th { text-align: left; font-family: var(--font-cond); font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; padding: 10px 16px 10px 0; border-bottom: 3px solid var(--ink); }
.ref-table td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ref-table { table-layout: fixed; }
.ref-table .c-logo { width: 150px; }
.ref-table .c-name { width: 27%; }
.ref-table .c-ort { width: 17%; }
.ref-table td:nth-child(2) { font-weight: 600; }
.ref-table td.ref-logo-cell { padding-right: 24px; vertical-align: middle; }
.ref-logo { display: block; width: 120px; height: 42px; object-fit: contain; object-position: left center; filter: grayscale(1) contrast(1.35); opacity: 0.95; }
.vh { position: absolute; left: -9999px; }

/* Stimmen und Presse */
.quotes { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 80px); }
.quotes li { padding: 20px 0; border-top: 1px solid var(--rule); }
.quotes blockquote { margin: 0; font-size: 1.1875rem; line-height: 1.5; }
.quotes cite { display: block; margin-top: 8px; font-style: normal; }
.press { margin-top: clamp(36px, 5vw, 64px); border-top: 3px solid var(--ink); padding-top: 24px; max-width: 70ch; }
.press h3 { margin-bottom: 12px; }

/* Fragen */
.faq { border-top: 3px solid var(--ink); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary, .disclose summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 1.25rem; line-height: 1.3; padding: 20px 52px 20px 0; position: relative;
}
.faq summary::-webkit-details-marker, .disclose summary::-webkit-details-marker { display: none; }
.faq summary::after, .disclose summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%232B2B2B' stroke-width='3'%3E%3Cpath d='M3 6l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 180ms ease-out;
}
.faq details[open] summary::after, .disclose[open] summary::after { transform: rotate(180deg); }
.disclose { margin-top: 8px; border-bottom: 1px solid var(--rule); }
.disclose summary { font-size: 1.125rem; }
.faq .answer { padding: 0 52px 22px 0; }
.faq .answer p { margin: 0; }

/* Über uns */
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); column-gap: clamp(24px, 5vw, 80px); align-items: start; }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.person .face {
  aspect-ratio: 4 / 5; background: var(--paper-tint); border: 3px solid var(--ink); display: grid; place-items: center;
  font-family: var(--font-cond); font-weight: 700; font-size: 3rem; color: var(--ink);
}
.person b { display: block; margin-top: 10px; font-size: 1.125rem; }
.person span { font-size: 0.9375rem; color: var(--ink-soft); }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); column-gap: clamp(24px, 5vw, 80px); align-items: start; }
.contact address { font-style: normal; font-size: 1.1875rem; line-height: 1.6; margin: 0 0 1.4em; }
.contact address a { font-weight: 600; }
.social { margin: 0 0 1.4em; }
.social p { margin: 0 0 10px; }
.social-icons { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.social-icons a { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: 8px; color: var(--ink); background: #fff; text-decoration: none; transition: background-color 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out; }
.social-icons a:hover { background: var(--ink); color: #fff; }
.enduser { border-top: 1px solid var(--rule); padding-top: 18px; }
.enduser a { font-weight: 600; }

form { display: grid; gap: 22px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-weight: 400; font-size: 0.9375rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 0; padding: 12px 14px; min-height: 52px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.field-error { display: none; margin: 6px 0 0; font-weight: 600; font-size: 0.9375rem; color: #a3002b; }
.field.has-error .field-error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a3002b; box-shadow: 0 0 0 1px #a3002b; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 600; }
.form-status.is-error { color: #a3002b; }
#form-wrap.is-sent form { display: none; }
#form-success { border-top: 3px solid var(--ink); padding-top: 20px; }
#form-success:focus { outline: none; }

.legal { padding-bottom: var(--section-pad); }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); margin-bottom: 0.8em; }
.legal h2 { font-size: 1.5rem; margin: 1.8em 0 0.5em; }
.legal p, .legal li { max-width: 70ch; }

.foot { border-top: 3px solid var(--ink); padding-block: 28px 40px; font-size: 1rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.foot nav a { margin-right: 20px; }

/* Mast als Inhaltsverzeichnis: erscheint, wenn der Einstieg verlassen ist. Ab 1100 px steht rechts ein eigener Rand dafür. */
.mast { position: fixed; right: 10px; top: 50%; transform: translateY(-50%); z-index: 20; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 240ms ease-out, visibility 0s linear 240ms; display: none; }
.mast.is-on { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mast ol { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 2px; justify-items: end; }
.mast ol::before { content: ""; position: absolute; right: 0; top: -14px; bottom: -14px; width: 4px; background: var(--grey); }
.mast a {
  position: relative; display: block; font-family: var(--font-cond); font-weight: 600; font-size: 0.9375rem; line-height: 1; text-decoration: none;
  color: var(--ink); background: #fff; padding: 9px 10px; margin-right: 14px; border: 2px solid var(--ink); white-space: nowrap; min-height: 32px;
}
.mast a::after { content: ""; position: absolute; right: -16px; top: 50%; width: 14px; height: 4px; margin-top: -2px; background: var(--grey); }
.mast a[aria-current="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.mast a[aria-current="true"]::after { background: var(--red); }
.mast a:hover { border-color: var(--red); }
@media (min-width: 1100px) {
  .mast { display: block; }
  body { padding-right: 150px; }
  :root { --page-max: 1120px; }
}
@media (min-width: 1620px) { body { padding-right: 0; } :root { --page-max: 1240px; } }

/* Kontakt immer in Reichweite */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 30; background: var(--red); color: #fff; font-family: var(--font-cond); font-weight: 600;
  font-size: var(--arm-size); line-height: 1; text-decoration: none; padding: 14px 38px 14px 22px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
  opacity: 0; visibility: hidden; transform: translateX(16px); pointer-events: none; transition: opacity 240ms ease-out, transform 240ms ease-out, background-color 160ms ease-out, visibility 0s linear 240ms;
}
.fab.is-on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.fab:hover { background: var(--red-dark); }
@media (min-width: 1100px) { .fab { right: 18px; bottom: 24px; } }

/* Bewegung: Arme schwenken einmal ein */
@keyframes swing-in { from { transform: scaleX(0.04); opacity: 0.2; } to { transform: scaleX(1); opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .signpost .arm { animation: swing-in 1300ms cubic-bezier(0.22, 0.8, 0.3, 1) both; }
  .signpost li:nth-child(1) .arm { animation-delay: 300ms; }
  .signpost li:nth-child(2) .arm { animation-delay: 800ms; }
  .signpost li:nth-child(3) .arm { animation-delay: 1300ms; }
  .signpost li:nth-child(4) .arm { animation-delay: 1800ms; }
}

/* Wegweiser, ausgearbeitet: Landschaft mit Richtfunkstrecke, Schilderrand, Schellen, Piktogramme */
.signpost { isolation: isolate; min-height: 520px; margin-top: var(--sign-top); }
.scene { position: absolute; left: -6%; right: -6%; top: -8px; bottom: -64px; width: 112%; height: calc(100% + 72px); z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(0deg, transparent, #000 16%);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(0deg, transparent, #000 16%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.signpost::before {
  z-index: 1; width: 8px;
  background: linear-gradient(90deg, #6e6e6e 0%, #a9a9a9 38%, #8c8c8c 62%, #6a6a6a 100%);
  border-radius: 3px 3px 0 0;
}
.signpost::after { z-index: 1; width: 64px; height: 14px; background: linear-gradient(#7d7d7d, #646464); border-radius: 3px 3px 0 0; }
.pole-cap { position: absolute; left: 50%; top: -20px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c4c4c4, #7d7d7d 70%); z-index: 1; }
.signpost ul { z-index: 2; padding-top: 34px; row-gap: 26px; }
.signpost li { position: relative; }
.signpost li::after {
  content: ""; position: absolute; top: -4px; bottom: -4px; width: 22px; z-index: 3; border-radius: 3px;
  background: linear-gradient(90deg, #5e5e5e, #8e8e8e 50%, #5e5e5e);
  box-shadow: 0 2px 4px rgba(0,0,0,0.18);
}
.signpost li:nth-child(odd)::after { right: -14px; }
.signpost li:nth-child(even)::after { left: -14px; }
.arm {
  --arm-bg: var(--red);
  display: flex; align-items: center; gap: 12px; background: var(--arm-bg); position: relative; z-index: 2;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.16));
}
.arm:hover { --arm-bg: var(--red-dark); background: var(--arm-bg); }
.arm::before, .arm::after { content: ""; position: absolute; pointer-events: none; z-index: 0; }
.arm::before { inset: 5px; background: rgba(255, 255, 255, 0.92); }
.arm::after { inset: 7px; background: var(--arm-bg); }
.arm > * { position: relative; z-index: 1; }
.arm .ico { flex: none; }
.signpost li:nth-child(odd) .arm::before { clip-path: polygon(calc(var(--tip) - 3px) 0, 100% 0, 100% 100%, calc(var(--tip) - 3px) 100%, 0 50%); }
.signpost li:nth-child(odd) .arm::after { clip-path: polygon(calc(var(--tip) - 4px) 0, 100% 0, 100% 100%, calc(var(--tip) - 4px) 100%, 1px 50%); }
.signpost li:nth-child(even) .arm::before { clip-path: polygon(0 0, calc(100% - var(--tip) + 3px) 0, 100% 50%, calc(100% - var(--tip) + 3px) 100%, 0 100%); }
.signpost li:nth-child(even) .arm::after { clip-path: polygon(0 0, calc(100% - var(--tip) + 4px) 0, calc(100% - 1px) 50%, calc(100% - var(--tip) + 4px) 100%, 0 100%); }
.signpost li:nth-child(odd) .arm { padding-left: 44px; }
.signpost li:nth-child(even) .arm { padding-right: 44px; }

/* Handy */
@media (max-width: 960px) {
  .hero .wrap, .oa, .about, .contact { grid-template-columns: minmax(0, 1fr); }
  .signpost { margin-top: 48px; min-height: 0; padding-bottom: 8px; }
  .places, .quotes, .oa-places { grid-template-columns: minmax(0, 1fr); }
  .rows > li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .people { max-width: 460px; margin-top: 32px; }
}
@media (max-width: 640px) {
  :root { --arm-size: 1.1875rem; }
  .signpost::before, .signpost::after { left: 6px; }
  .signpost li:nth-child(n) { justify-self: start; margin: 0 0 0 9px; }
  .signpost li:nth-child(odd) .arm { clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%); padding: 16px 38px 16px 22px; --origin: left center; }
  .btn { width: 100%; text-align: left; }
  .ref-table thead { position: absolute; left: -9999px; }
  .ref-table, .ref-table tbody, .ref-table tr, .ref-table td { display: block; width: 100%; }
  .ref-table tr { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .ref-table td { border: 0; padding: 0; }
  .ref-table td { width: 100%; }
  .ref-table td.ref-logo-cell { padding: 0 0 6px; }
  .ref-table td:nth-child(3):not(:empty) { color: var(--ink-soft); font-size: 0.9375rem; }
  .ref-table td:nth-child(4) { margin-top: 4px; }
  .ref-table td.ref-logo-cell:not(:has(img)) { display: none; }
  .faq summary, .disclose summary { font-size: 1.125rem; }
}

@media (max-width: 640px) {
  .signpost { min-height: 0; }
  .signpost::before { left: 6px; }
  .signpost::after { left: 6px; }
  .pole-cap { left: 6px; }
  .signpost li:nth-child(n)::after { left: -14px; right: auto; }
  .signpost li:nth-child(odd) .arm { padding: 16px 40px 16px 20px; }
  .signpost li:nth-child(odd) .arm::before { clip-path: polygon(0 0, calc(100% - var(--tip) + 3px) 0, 100% 50%, calc(100% - var(--tip) + 3px) 100%, 0 100%); }
  .signpost li:nth-child(odd) .arm::after { clip-path: polygon(0 0, calc(100% - var(--tip) + 4px) 0, calc(100% - 1px) 50%, calc(100% - var(--tip) + 4px) 100%, 0 100%); }
  .arm { white-space: nowrap; }
  .scene { left: -20%; right: -20%; width: 140%; }
}

/* Abschnittsköpfe sind Anker auf den eigenen Abschnitt */
.section h2 a { color: inherit; text-decoration: none; display: block; }
.section h2 { transition: background-color 160ms ease-out, border-color 160ms ease-out; }
.section h2:hover { background: var(--red-dark); }
.section h2 a:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 6px; }

/* Buttons im Stil der Wegweiserarme: Pfeilspitze mit weißer, abgesetzter Kontur */
.btn, .fab {
  --btn-bg: var(--red);
  --tip: 18px;
  position: relative;
  background: var(--btn-bg);
  isolation: isolate;
}
.fab { --tip: 16px; position: fixed; }
.btn:hover, .fab:hover { --btn-bg: var(--red-dark); background: var(--btn-bg); }
.btn::before, .btn::after, .fab::before, .fab::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.btn::before, .fab::before { inset: 5px; background: rgba(255, 255, 255, 0.92);
  clip-path: polygon(0 0, calc(100% - var(--tip) + 3px) 0, 100% 50%, calc(100% - var(--tip) + 3px) 100%, 0 100%); }
.btn::after, .fab::after { inset: 7px; background: var(--btn-bg);
  clip-path: polygon(0 0, calc(100% - var(--tip) + 4px) 0, calc(100% - 1px) 50%, calc(100% - var(--tip) + 4px) 100%, 0 100%); }
.btn { padding: 18px 50px 18px 34px; }

/* Über uns: Geschäftsführer mit Porträt und Kurzbeschreibung */
.about-text { max-width: 70ch; margin-bottom: clamp(32px, 4vw, 56px); }
.people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); max-width: none; margin-top: 0; }
.person { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 20px; align-items: start; }
.person .face { font-size: 2.25rem; }
.person-text b { margin-top: 0; font-size: 1.25rem; }
.person-text span { display: block; margin-bottom: 12px; }
.person-text p { font-size: 1rem; line-height: 1.55; margin: 0 0 0.8em; }
@media (max-width: 960px) { .people { grid-template-columns: minmax(0, 1fr); max-width: none; } }
@media (max-width: 520px) { .person { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; } .person .face { font-size: 1.5rem; } }

/* Sprung auf die Überschrift: etwas Luft im eigenen Abschnitt, kein Streifen des vorigen */
.section h2 { scroll-margin-top: 28px; }

.person .face { padding: 0; overflow: hidden; display: block; }
.person .face picture, .person .face img { display: block; width: 100%; height: 100%; }
.person .face img { object-fit: cover; }

/* Einheitliche Landung: Sprung auf einen Abschnitt (Wegweiser, Menü, Kontakt-Arm) zeigt die Überschrift
   wie der Klick auf die Überschrift selbst, 28 px unter dem oberen Rand, ohne Rest des vorigen Abschnitts. */
.section[id] { scroll-margin-top: calc(28px - var(--section-pad)); }

/* Kontakt ohne Formular */
.contact-actions { padding-top: clamp(0px, 3vw, 56px); }
.contact-actions .btn { margin-bottom: 18px; }
.contact-actions p { margin: 0; }
