/* === Nahweb v4 · Teil 2 von 2: immer direkt nach style.css laden (README «Aufbau») === */

/* === Vorher & nachher === */
.geschichte { --bz: 160; --b: calc(var(--bz) * 1px); position: relative; padding-block: clamp(64px, 8vw, 120px) 0; background-color: var(--papier); }
.geschichte::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(21, 19, 15, .08) 1px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
}
.geschichte-spur { position: relative; }
.geschichte-buehne { position: relative; display: grid; gap: 26px; }
.geschichte-kopf { order: 1; }
.geschichte-figuren { order: 2; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; justify-items: center; align-items: start; }
.geschichte-schritte { order: 3; display: grid; gap: 12px; max-width: 34em; }
.geschichte-titel { margin-top: 14px; font-size: clamp(36px, 5.6vw, 78px); }
.und-zeichen { display: inline-block; width: .74em; height: .68em; margin-inline: .02em; vertical-align: -.02em; overflow: visible; }
.g-satz { position: relative; padding-left: 52px; font-size: 17px; line-height: 1.5; color: var(--tinte-2); text-wrap: pretty; }
.g-satz strong { color: var(--tinte); font-weight: 650; }
.g-nr {
  position: absolute; left: 0; top: .08em;
  min-width: 40px; padding: 2px 8px; border-radius: 999px; text-align: center;
  background: var(--orange-zart); color: var(--orange-text);
  font-family: var(--titel); font-weight: 700; font-size: 13.5px; line-height: 1.4; letter-spacing: .02em; font-variant-numeric: tabular-nums;
}
.g-satz[data-g="0"] .g-nr { background: #E4E9F0; color: #2F4A6E; }
.g-figur { position: relative; display: grid; justify-items: center; gap: 10px; min-width: 0; }
.handy-geschichte { --b: calc(var(--bz) * 1px); }
.g-etikett { font-size: 13.5px; font-weight: 600; line-height: 1.35; text-align: center; color: var(--tinte-2); text-wrap: balance; }
.g-etikett-zusatz { font-weight: 500; color: var(--stein); }
.g-halt, .g-etikett-skizze { display: none; }
.geschichte-schluss {
  position: relative; padding-block: 24px 24px;
  font-size: 16.5px; line-height: 1.55; color: var(--tinte-2); text-wrap: pretty;
}
.geschichte-schluss strong { color: var(--tinte); font-weight: 650; }
.geschichte-schluss a { color: var(--tinte); font-weight: 600; text-decoration-thickness: 1.5px; }
@media (hover: hover) { .geschichte-schluss a:hover { color: var(--orange-text); } }

.g-figur-neu .handy-schirm { --status: #45453F; }
.g-figur-neu .handy-schirm::before { display: none; }
.g-neu { position: absolute; inset: 0; z-index: 4; display: block; padding-top: var(--status-h); background: var(--status); }
.g-pauspapier, .g-bauplan, .g-farbe, .g-pfeile { display: none; }
.g-pauspapier {
  position: absolute; inset: var(--status-h) 0 0 0; z-index: 1;
  background-color: rgba(250, 248, 245, .86);
  opacity: 0;
}
:is(.notiz-da, .js-notfall .geschichte) .g-pauspapier { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .26 0 0 0 0 .2 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23k)' opacity='.18'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .26 0 0 0 0 .2 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23k)' opacity='.18'/%3E%3C/svg%3E"); background-position: 0 0, 117px 71px; }
.g-bauplan {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible;
  fill: none; stroke: var(--graphit); stroke-linecap: round; stroke-linejoin: round; stroke-opacity: .88;
  stroke-width: calc(1.3 * 390 / (.94 * var(--bz)));
}
.g-bauplan path { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; }
.g-bauplan .bp-titel path, .g-bauplan .i4, .g-bauplan .i5 { stroke-width: calc(1.7 * 390 / (.94 * var(--bz))); }
.g-bauplan .bp-hilfe path { stroke-opacity: .32; }
.g-bauplan .i0 { --gi: 0; } .g-bauplan .i1 { --gi: 1; } .g-bauplan .i2 { --gi: 2; } .g-bauplan .i3 { --gi: 3; }
.g-bauplan .i4 { --gi: 4; } .g-bauplan .i5 { --gi: 5; } .g-bauplan .i6 { --gi: 6; } .g-bauplan .i7 { --gi: 7; }
.g-bauplan .i8 { --gi: 8; } .g-bauplan .i9 { --gi: 9; } .g-bauplan .i10 { --gi: 10; } .g-bauplan .i11 { --gi: 11; }
.g-bauplan .i12 { --gi: 12; } .g-bauplan .i13 { --gi: 13; } .g-bauplan .i14 { --gi: 14; } .g-bauplan .i15 { --gi: 15; }
.g-bauplan .i16 { --gi: 16; } .g-bauplan .i17 { --gi: 17; } .g-bauplan .i18 { --gi: 18; } .g-bauplan .i19 { --gi: 19; }
.g-bauplan .i20 { --gi: 20; } .g-bauplan .i21 { --gi: 21; } .g-bauplan .i22 { --gi: 22; } .g-bauplan .i23 { --gi: 23; }
.g-bauplan .i24 { --gi: 24; } .g-bauplan .i25 { --gi: 25; } .g-bauplan .i26 { --gi: 26; }
.g-farbe {
  position: absolute; inset: 0; z-index: 3;
  background-color: var(--pinsel);
  background-image:
    repeating-linear-gradient(0deg, rgba(150, 34, 8, .16) 0 1px, transparent 1px 5px, rgba(255, 214, 196, .10) 5px 6px, transparent 6px 11px),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(150, 34, 8, .09) 3px 4px, transparent 4px 13px),
    linear-gradient(180deg, #E4431C 0%, #EE5630 46%, #E94A24 100%);
}
.g-pfeile {
  position: absolute; z-index: 7; pointer-events: none; overflow: visible; max-width: none;
  left: calc(var(--b) * .03); top: calc(var(--b) * .03);
  width: calc(var(--b) * .94 * 450 / 390); height: calc(var(--b) * .94 * 844 / 390);
  fill: none; stroke: var(--rotstift); stroke-linecap: round; stroke-linejoin: round;
  stroke-width: calc(1.6 * 390 / (.94 * var(--bz)));
}
.g-pfeile path { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; }
.g-pfeile [data-n="0"], .g-notiz[data-n="0"] { --gn: 0; --gy: 8; }
.g-pfeile [data-n="1"], .g-notiz[data-n="1"] { --gn: 1; --gy: 30.5; }
.g-pfeile [data-n="2"], .g-notiz[data-n="2"] { --gn: 2; --gy: 52; }
.g-pfeile [data-n="3"], .g-notiz[data-n="3"] { --gn: 3; --gy: 82; }
.g-stifte { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.g-stifte i, .g-notiz::before {
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--papier); border: 1.5px solid var(--rotstift);
  font: normal 650 12px/1 var(--text); color: var(--rotstift); font-variant-numeric: tabular-nums;
}
.g-stifte i { position: absolute; right: -9px; }
.g-stifte i:nth-child(1) { top: calc(var(--b) * (.03 + 2.0342 * .08) - 10px); }
.g-stifte i:nth-child(2) { top: calc(var(--b) * (.03 + 2.0342 * .305) - 10px); }
.g-stifte i:nth-child(3) { top: calc(var(--b) * (.03 + 2.0342 * .52) - 10px); }
.g-stifte i:nth-child(4) { top: calc(var(--b) * (.03 + 2.0342 * .82) - 10px); }
.g-notizen { grid-column: 1 / -1; justify-self: stretch; display: grid; gap: 8px 24px; margin-top: 6px; counter-reset: g-notiz; }
.g-notiz {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--notiz); font-weight: 560; font-size: 21px; line-height: 1.02; letter-spacing: .005em;
  color: var(--rotstift); text-wrap: balance;
}
.js:not(.js-notfall) .geschichte:not(.notiz-da) .g-notiz { font-family: var(--text); }
.g-notiz::before { counter-increment: g-notiz; content: counter(g-notiz); content: counter(g-notiz) / ""; flex: none; }
.g-umbruch { display: none; }
@media (max-width: 359px) { .geschichte { --bz: 128; } .g-satz { padding-left: 0; padding-top: 30px; } }
@media (min-width: 600px) {
  .geschichte { --bz: 220; }
  .geschichte-figuren { gap: 32px; justify-content: center; grid-template-columns: auto auto; }
  .g-notizen { grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: center; }
}
@media (min-width: 1000px) {
  .geschichte { --bz: 230; }
  .geschichte-buehne { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; column-gap: clamp(48px, 6vw, 112px); row-gap: 28px; align-items: start; }
  .geschichte-kopf { grid-column: 1; grid-row: 1; }
  .geschichte-schritte { grid-column: 1; grid-row: 2; }
  .geschichte-figuren { grid-column: 2; grid-row: 1 / span 2; }
  .g-satz { font-size: 19px; }
  .geschichte-schluss { max-width: 46em; }
}

.alt-seite {
  position: absolute; left: 0; top: var(--status-h); z-index: 0;
  display: block; width: 900px; height: 2400px; padding: 12px 50px 0;
  transform: scale(calc(var(--bz) * .94 / 900)); transform-origin: 0 0;
  background-color: #C7D3E0;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, .35) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .35) 75%), linear-gradient(45deg, rgba(255, 255, 255, .35) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .35) 75%);
  background-size: 24px 24px; background-position: 0 0, 12px 12px;
  font: 13px/1.4 Verdana, Geneva, Tahoma, sans-serif; color: #333; text-align: left;
  pointer-events: none;
  content-visibility: auto;
}
.alt-seite span, .alt-seite b, .alt-seite i, .alt-seite u { font-style: normal; }
.alt-seite > span { display: block; background: #fff; border-inline: 1px solid #7E92AA; }
.a-kopf { position: relative; height: 172px; padding: 30px 0 0 180px; background: linear-gradient(#244E85, #6E98CB 62%, #D7E4F3) !important; border-top: 1px solid #7E92AA; }
.a-eimer { position: absolute; left: 48px; top: 30px; width: 96px; height: 92px; }
.a-eimer::before { content: ""; position: absolute; left: 6px; right: 6px; top: 18px; bottom: 0; background: linear-gradient(90deg, #B8BEC6, #F4F6F8 45%, #9AA3AD); clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); }
.a-eimer::after { content: ""; position: absolute; left: 10px; right: 10px; top: 4px; height: 30px; border: 5px solid #59626C; border-bottom: 0; border-radius: 50% 50% 0 0; }
.a-name { display: block; font: italic 700 64px/1 "Times New Roman", Times, serif; color: #FFE24A; letter-spacing: 1px; text-shadow: 3px 3px 0 #8A1F0E, 5px 5px 6px rgba(0, 0, 0, .45); }
.a-unter { display: block; margin-top: 10px; font: 22px "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive; color: #fff; text-shadow: 1px 1px 2px #123; }
.a-nav { display: flex !important; justify-content: center; gap: 4px; padding: 7px 0; background: linear-gradient(#FAFAFA, #C9CDD3) !important; border-block: 1px solid #8C939C; }
.a-nav span { padding: 6px 17px; border: 2px outset #E6E8EB; background: #E9ECEF; font: 700 14px Arial, Helvetica, sans-serif; color: #1B3F7A; }
.a-band { padding: 7px 12px; background: #FFFFC4 !important; border-bottom: 1px dashed #C00; font: 700 15px Arial, Helvetica, sans-serif; color: #C00; text-align: center; white-space: nowrap; overflow: hidden; }
.a-spalten { display: flex !important; }
.a-links { flex: none; width: 210px; padding: 14px 12px; background: #EAF0F7; border-right: 1px solid #B7C4D3; }
.a-box { display: block; margin-bottom: 14px; padding: 0 8px 8px; border: 1px solid #8DA0B8; background: #fff; font-size: 12px; }
.a-box b { display: block; margin: 0 -8px 6px; padding: 4px 8px; background: #3B6EA5; color: #fff; font: 700 13px Arial, Helvetica, sans-serif; }
.alt-seite u { color: #0645AD; }
.a-haupt { flex: 1; display: block; padding: 18px 26px 30px; text-align: center; }
.a-h1 { display: block; font: 700 30px "Times New Roman", Times, serif; color: #C00; text-decoration: underline; }
.a-text { display: block; margin: 16px auto; max-width: 520px; font-size: 13px; color: #444; }
.a-liste { display: block; margin: 0 auto 18px; width: 260px; text-align: left; color: #1B3F7A; font-weight: 700; font-size: 13px; }
.a-liste span { display: block; padding: 2px 0; }
.a-liste span::before { content: "» "; color: #C00; }
.a-galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 10px 0 18px; }
.a-galerie span { display: grid; place-items: center; height: 130px; border: 4px ridge #B5B9BE; background: #E3E5E8; font: italic 13px Arial, Helvetica, sans-serif; color: #888; }
.a-aufbau {
  display: block; margin: 16px 40px; padding: 10px; text-align: center;
  background: repeating-linear-gradient(45deg, #FFD200 0 16px, #1A1A1A 16px 32px);
  font: 700 15px Arial, Helvetica, sans-serif; color: #000; text-shadow: 0 0 6px #fff, 0 0 2px #fff, 0 0 2px #fff;
}
.a-h2 { display: block; margin-top: 26px; font: 700 22px "Times New Roman", Times, serif; color: #1B3F7A; text-decoration: underline; }
.a-karte { display: grid; place-items: center; height: 230px; margin: 12px 30px; border: 2px inset #ccc; background: #E8E4D8; font-size: 12px; color: #0645AD; text-decoration: underline; }
.a-fuss { padding: 16px 10px 18px; background: #3B6EA5 !important; color: #fff; font-size: 12px; text-align: center; border-bottom: 1px solid #7E92AA; }
.a-fuss > span { display: block; margin-top: 6px; }
.a-zaehler i { display: inline-block; margin: 0 1px; padding: 1px 4px; background: #000; color: #3F3; font: 700 15px "Courier New", monospace; }

.mini-geschichte { content-visibility: auto; }
.mini-geschichte .g-band { position: relative; flex: none; overflow: hidden; }
.mini-geschichte .g-band-1 { height: 21em; }
.mini-geschichte .g-band-1 > .mini-inhalt { display: block; padding-bottom: 0; }
.mini-geschichte .g-band-2 { height: 10.5em; order: 2; padding-top: .3em; }
.mini-geschichte .mini-titel { height: 2.77em; overflow: hidden; }
.mini-geschichte .mini-bild { order: 3; flex: 1 1 auto; }
.mini-geschichte .mini-foto { opacity: 1; transform: none; }
.mini-geschichte .mini-name { font-size: 1.45em; }

/* === Bewegungs-Fassung === */
@media screen and (prefers-reduced-motion: no-preference) and (min-height: 600px) and (forced-colors: none) {
  .sda .geschichte, .geschichte.g-schritte { --bz: 222; padding-top: 0; }
  .sda .geschichte-buehne, .g-schritte .geschichte-buehne {
    position: sticky; top: var(--kopf-h); z-index: 1;
    height: calc(100vh - var(--kopf-h)); height: calc(100svh - var(--kopf-h));
    grid-template-rows: auto auto auto; align-content: center; justify-items: start; gap: 14px;
    padding-block: 12px;
  }
  .sda .geschichte-weg, .g-schritte .geschichte-weg { height: 110vh; height: 110svh; }
  .sda .g-halt, .g-schritte .g-halt { display: block; position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
  .g-halt-0 { top: calc(.06 * 110vh + 20px); top: calc(.06 * 110svh + 20px); }
  .g-halt-1 { top: calc(.44 * 110vh + 20px); top: calc(.44 * 110svh + 20px); }
  .g-halt-2 { top: calc(1 * 110vh + 20px); top: calc(1 * 110svh + 20px); }
  @media (max-width: 899px) {
    .sda .geschichte-buehne, .g-schritte .geschichte-buehne {
      height: calc(100vh - var(--kopf-h) - 86px); height: calc(100svh - var(--kopf-h) - 86px - env(safe-area-inset-bottom));
    }
  }
  .sda .geschichte-titel, .g-schritte .geschichte-titel { margin-top: 8px; font-size: clamp(34px, 5.4vw, 78px); }
  .sda .geschichte-figuren, .g-schritte .geschichte-figuren { justify-self: stretch; grid-template-columns: var(--b); justify-content: start; justify-items: start; gap: 0; }
  .sda .g-figur, .g-schritte .g-figur { grid-area: 1 / 1; justify-items: start; }
  .sda .g-figur-neu .handy, .g-schritte .g-figur-neu .handy { background: none; box-shadow: none; }
  .sda .g-figur-neu .handy::after, .g-schritte .g-figur-neu .handy::after { display: none; }
  .sda .g-figur-neu .handy-schirm, .g-schritte .g-figur-neu .handy-schirm { background: none; }
  .sda .g-figur-alt .handy-schirm::after, .g-schritte .g-figur-alt .handy-schirm::after { display: none; }
  .sda .g-stifte, .g-schritte .g-stifte { display: none; }
  .sda .g-pauspapier, .sda .g-bauplan, .sda .g-farbe, .sda .g-pfeile,
  .g-schritte .g-pauspapier, .g-schritte .g-bauplan, .g-schritte .g-farbe, .g-schritte .g-pfeile { display: block; }
  .sda .g-farbe, .sda .g-neu, .g-schritte .g-farbe, .g-schritte .g-neu { visibility: hidden; }
  .sda :is(.g-an, .js-notfall .geschichte) :is(.g-farbe, .g-neu), .g-schritte.g-an :is(.g-farbe, .g-neu) {
    visibility: visible;
    -webkit-mask-image: url("img/pinsel-quer-a-v2.svg"), url("img/pinsel-quer-b-links-v2.svg"), url("img/pinsel-quer-c-v2.svg");
    mask-image: url("img/pinsel-quer-a-v2.svg"), url("img/pinsel-quer-b-links-v2.svg"), url("img/pinsel-quer-c-v2.svg");
  }
  .sda .g-farbe, .sda .g-neu, .g-schritte .g-farbe, .g-schritte .g-neu {
    -webkit-mask-size: 200% 46%; mask-size: 200% 46%;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: 140% -5%, -40% 52%, 140% 105%; mask-position: 140% -5%, -40% 52%, 140% 105%;
  }
  .sda .g-etikett, .g-schritte .g-etikett { white-space: nowrap; text-align: left; }
  .sda .g-etikett-skizze, .g-schritte .g-etikett-skizze { display: block; }
  .sda .g-figur-neu .g-etikett, .g-schritte .g-figur-neu .g-etikett { grid-area: 2 / 1; opacity: 0; }
  .sda .geschichte-schritte, .g-schritte .geschichte-schritte { display: grid; width: min(100%, 30em); }
  .sda .g-satz, .g-schritte .g-satz { grid-area: 1 / 1; align-self: start; padding: 0; opacity: 0; }
  .sda .g-satz[data-g="0"], .g-schritte .g-satz[data-g="0"] { opacity: 1; }
  .sda .g-nr, .g-schritte .g-nr { position: static; display: inline-block; margin-right: 8px; vertical-align: .06em; }
  .sda .g-notizen, .g-schritte .g-notizen { display: block; position: absolute; grid-column: auto; top: 0; left: calc(var(--b) * 1.058); right: 0; margin: 0; }
  .sda .g-notiz, .g-schritte .g-notiz { display: block; position: absolute; left: 0; right: 0; top: calc(var(--b) * (.03 + 2.0342 * var(--gy) / 100) - .62em); font-size: 20px; }
  .sda .g-notiz::before, .g-schritte .g-notiz::before { content: none; }
  .sda .g-notiz-text, .g-schritte .g-notiz-text { display: block; max-width: 8.4em; opacity: 0; }
  .sda .g-umbruch, .g-schritte .g-umbruch { display: inline; }
  .geschichte-schluss { padding-top: 8px; }

  @media (max-width: 599px) { .sda .geschichte-buehne, .g-schritte .geschichte-buehne { width: calc(100% - 32px); } }
  @media (max-width: 389px) { .sda .geschichte, .geschichte.g-schritte { --bz: 200; } .sda .g-notiz, .g-schritte .g-notiz { font-size: 19px; } }
  @media (max-width: 359px) { .sda .geschichte, .geschichte.g-schritte { --bz: 170; } .sda .g-notiz, .g-schritte .g-notiz { font-size: 18px; } }
  @media (min-width: 600px) {
    .sda .geschichte, .geschichte.g-schritte { --bz: 270; }
    .sda .g-notiz, .g-schritte .g-notiz { font-size: 22px; }
    .sda .geschichte-schritte, .g-schritte .geschichte-schritte { width: min(100%, 30em); }
  }
  @media (max-height: 760px) { .sda .geschichte, .geschichte.g-schritte { --bz: 186; } }
  @media (max-height: 720px) { .sda .geschichte, .geschichte.g-schritte { --bz: 172; } }
  @media (max-width: 599px) and (max-height: 720px) { .sda .g-satz, .g-schritte .g-satz { font-size: 16px; line-height: 1.42; } }
  @media (max-height: 680px) { .sda .geschichte, .geschichte.g-schritte { --bz: 160; } .sda .geschichte-kopf .eyebrow, .g-schritte .geschichte-kopf .eyebrow { display: none; } }
  @media (max-height: 650px) { .sda .geschichte, .geschichte.g-schritte { --bz: 146; } }
  @media (max-height: 630px) { .sda .geschichte, .geschichte.g-schritte { --bz: 132; } }
  @media (min-width: 1000px) {
    .sda .geschichte, .geschichte.g-schritte { --bz: 320; }
    .sda .geschichte-buehne, .g-schritte .geschichte-buehne { grid-template-columns: minmax(0, 470px) auto; grid-template-rows: auto auto; justify-content: center; align-content: center; justify-items: start; column-gap: clamp(56px, 6vw, 112px); row-gap: 26px; }
    .sda .geschichte-kopf, .g-schritte .geschichte-kopf { align-self: end; }
    .sda .geschichte-schritte, .g-schritte .geschichte-schritte { width: min(100%, 24em); }
    .sda .geschichte-figuren, .g-schritte .geschichte-figuren { justify-self: start; margin-right: 210px; }
    .sda .g-notizen, .g-schritte .g-notizen { right: auto; width: 200px; }
    .sda .g-notiz, .g-schritte .g-notiz { font-size: 25px; }
    .sda .g-satz, .g-schritte .g-satz { font-family: var(--titel); font-weight: 600; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.25; letter-spacing: -.015em; color: var(--tinte); }
    .sda .g-satz strong, .g-schritte .g-satz strong { font-weight: 750; }
    .sda .g-nr, .g-schritte .g-nr { display: table; margin: 0 0 14px; font-size: 14px; }
    .sda .geschichte-weg, .g-schritte .geschichte-weg { height: 200vh; }
  }
  @media (min-width: 1000px) and (max-height: 860px) { .sda .geschichte, .geschichte.g-schritte { --bz: 270; } }
  @media (min-width: 1000px) and (max-height: 720px) { .sda .geschichte, .geschichte.g-schritte { --bz: 220; } }
}

@media screen and (prefers-reduced-motion: no-preference) and (min-height: 600px) and (forced-colors: none) {
  .sda .geschichte-spur { view-timeline: --g-spur block; view-timeline-inset: var(--kopf-h) 0px; }
  @media (max-width: 899px) { .sda .geschichte-spur { view-timeline-inset: var(--kopf-h) calc(86px + env(safe-area-inset-bottom)); } }
  .sda :is(.g-an, .js-notfall .geschichte) .g-pauspapier, .sda :is(.g-an, .js-notfall .geschichte) .g-bauplan path, .sda :is(.g-an, .js-notfall .geschichte) .g-pfeile path, .sda :is(.g-an, .js-notfall .geschichte) .g-notiz-text, .sda :is(.g-an, .js-notfall .geschichte) .g-farbe, .sda :is(.g-an, .js-notfall .geschichte) .g-neu, .sda :is(.g-an, .js-notfall .geschichte) .g-satz, .sda :is(.g-an, .js-notfall .geschichte) .g-etikett {
    animation-duration: 1ms;
    animation-fill-mode: both; animation-timing-function: linear;
    animation-timeline: --g-spur; animation-range: contain 0% contain 100%;
  }
  .sda :is(.g-an, .js-notfall .geschichte) .g-pauspapier { animation-name: g-papier; }
  .sda :is(.g-an, .js-notfall .geschichte) .g-bauplan path {
    animation-name: g-zeichnen; animation-timing-function: var(--ease-inout);
    animation-range: contain calc(14% + var(--gi) * .8%) contain calc(19% + var(--gi) * .8%);
  }
  .sda :is(.g-an, .js-notfall .geschichte) .g-pfeile path { animation-name: g-zeichnen; animation-range: contain calc(19% + var(--gn) * 6%) contain calc(22% + var(--gn) * 6%); }
  .sda :is(.g-an, .js-notfall .geschichte) .g-notiz-text { animation-name: g-notiz; animation-range: contain calc(21% + var(--gn) * 6%) contain calc(24% + var(--gn) * 6%); }
  .sda :is(.g-an, .js-notfall .geschichte) .g-farbe { animation-name: g-pinsel-farbe; animation-timing-function: var(--ease-inout); will-change: mask-position; }
  .sda :is(.g-an, .js-notfall .geschichte) .g-neu { animation-name: g-pinsel-neu; animation-timing-function: var(--ease-inout); will-change: mask-position; }
  .sda :is(.g-an, .js-notfall .geschichte) .g-satz[data-g="0"] { animation-name: g-satz-0; }
  .sda :is(.g-an, .js-notfall .geschichte) .g-satz[data-g="1"] { animation-name: g-satz-1; }
  .sda :is(.g-an, .js-notfall .geschichte) .g-satz[data-g="2"] { animation-name: g-satz-2; }
  .sda :is(.g-an, .js-notfall .geschichte) .g-satz[data-g="3"] { animation-name: g-satz-3; }
  .sda :is(.g-an, .js-notfall .geschichte) .g-figur-alt .g-etikett { animation-name: g-et-0; }
  .sda :is(.g-an, .js-notfall .geschichte) .g-etikett-skizze { animation-name: g-et-1; }
  .sda :is(.g-an, .js-notfall .geschichte) .g-figur-neu figcaption.g-etikett { animation-name: g-et-2; }
}
@keyframes g-papier { 0%, 12% { opacity: 0; } 17%, 100% { opacity: 1; } }
@keyframes g-zeichnen { from { stroke-dashoffset: 1.02; } to { stroke-dashoffset: 0; } }
@keyframes g-notiz { from { opacity: 0; transform: translateX(-4px); } to { opacity: 1; transform: none; } }
@keyframes g-pinsel-farbe {
  0%, 48% { -webkit-mask-position: 140% -5%, -40% 52%, 140% 105%; mask-position: 140% -5%, -40% 52%, 140% 105%; }
  60% { -webkit-mask-position: 0% -5%, -40% 52%, 140% 105%; mask-position: 0% -5%, -40% 52%, 140% 105%; }
  72% { -webkit-mask-position: 0% -5%, 100% 52%, 140% 105%; mask-position: 0% -5%, 100% 52%, 140% 105%; }
  84%, 100% { -webkit-mask-position: 0% -5%, 100% 52%, 0% 105%; mask-position: 0% -5%, 100% 52%, 0% 105%; }
}
@keyframes g-pinsel-neu {
  0%, 50.5% { -webkit-mask-position: 140% -5%, -40% 52%, 140% 105%; mask-position: 140% -5%, -40% 52%, 140% 105%; }
  62.5% { -webkit-mask-position: 0% -5%, -40% 52%, 140% 105%; mask-position: 0% -5%, -40% 52%, 140% 105%; }
  74.5% { -webkit-mask-position: 0% -5%, 100% 52%, 140% 105%; mask-position: 0% -5%, 100% 52%, 140% 105%; }
  86.5% {
    -webkit-mask-position: 0% -5%, 100% 52%, 0% 105%; mask-position: 0% -5%, 100% 52%, 0% 105%;
    -webkit-mask-image: url("img/pinsel-quer-a-v2.svg"), url("img/pinsel-quer-b-links-v2.svg"), url("img/pinsel-quer-c-v2.svg");
    mask-image: url("img/pinsel-quer-a-v2.svg"), url("img/pinsel-quer-b-links-v2.svg"), url("img/pinsel-quer-c-v2.svg");
  }
  88%, 100% { -webkit-mask-position: 0% -5%, 100% 52%, 0% 105%; mask-position: 0% -5%, 100% 52%, 0% 105%; -webkit-mask-image: none; mask-image: none; }
}
@keyframes g-satz-0 { 0%, 11% { opacity: 1; transform: none; } 13%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes g-satz-1 { 0%, 12% { opacity: 0; transform: translateY(8px); } 14%, 44% { opacity: 1; transform: none; } 46%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes g-satz-2 { 0%, 45% { opacity: 0; transform: translateY(8px); } 47%, 86% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes g-satz-3 { 0%, 87% { opacity: 0; transform: translateY(8px); } 89%, 100% { opacity: 1; transform: none; } }
@keyframes g-et-0 { 0%, 12% { opacity: 1; } 14%, 100% { opacity: 0; } }
@keyframes g-et-1 { 0%, 12% { opacity: 0; } 14%, 64% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes g-et-2 { 0%, 64% { opacity: 0; } 66%, 100% { opacity: 1; } }

@media screen and (prefers-reduced-motion: no-preference) and (min-height: 600px) and (forced-colors: none) {
  .g-schritte .g-pauspapier { transition: opacity 420ms var(--ease-aus); }
  .g-schritte .g-satz, .g-schritte .g-etikett { transition: opacity 360ms var(--ease-aus); }
  .g-schritte:not([data-g-bild="0"]) .g-pauspapier { opacity: 1; }
  .g-schritte:not([data-g-bild="0"]) .g-bauplan path { animation: g-zeichnen 520ms var(--ease-inout) calc(120ms + var(--gi) * 48ms) both; }
  .g-schritte:not([data-g-bild="0"]) .g-pfeile path { animation: g-zeichnen 360ms var(--ease-inout) calc(500ms + var(--gn) * 320ms) both; }
  .g-schritte:not([data-g-bild="0"]) .g-notiz-text { animation: g-notiz 360ms var(--ease-aus) calc(760ms + var(--gn) * 320ms) both; }
  .g-schritte:is([data-g-bild="2"], [data-g-bild="3"]) .g-farbe { animation: g-pinsel-farbe 4000ms var(--ease-inout) -1920ms both; }
  .g-schritte:is([data-g-bild="2"], [data-g-bild="3"]) .g-neu { animation: g-pinsel-neu 4000ms var(--ease-inout) -1920ms both; }
  .g-schritte:not([data-g-schritt="0"]) .g-satz[data-g="0"] { opacity: 0; }
  .g-schritte[data-g-schritt="1"] .g-satz[data-g="1"], .g-schritte[data-g-schritt="2"] .g-satz[data-g="2"], .g-schritte[data-g-schritt="3"] .g-satz[data-g="3"] { opacity: 1; transition-delay: 200ms; }
  .g-schritte:not([data-g-bild="0"]) .g-figur-alt .g-etikett { opacity: 0; }
  .g-schritte[data-g-bild="1"] .g-etikett-skizze { opacity: 1; }
  .g-schritte:is([data-g-bild="2"], [data-g-bild="3"]) .g-etikett-skizze { transition-delay: 1300ms; }
  .g-schritte:is([data-g-bild="2"], [data-g-bild="3"]) .g-figur-neu figcaption.g-etikett { opacity: 1; transition-delay: 1400ms; }
}
@media screen and (prefers-reduced-motion: no-preference) and (min-height: 600px) and (max-width: 899px) and (pointer: coarse) and (forced-colors: none) {
  html.g-rasten { scroll-snap-type: y proximity; }
  .sda .g-halt.g-ziel, .g-schritte .g-halt.g-ziel { scroll-snap-align: start; scroll-snap-stop: normal; } /* Probe B: nur der nächste Halt vorne, nur abwärts */
}
@media (forced-colors: active) {
  .alt-seite, .alt-seite *, .mini-geschichte, .mini-geschichte *, .g-neu::before { forced-color-adjust: none; }
  .g-nr { border: 1px solid CanvasText; }
  .g-notiz { color: CanvasText; }
  .g-stifte i, .g-notiz::before { border-color: CanvasText; color: CanvasText; }
}
@media print {
  .geschichte-weg { display: none !important; }
  .geschichte-buehne { position: static !important; height: auto !important; }
  .g-notiz, .g-stifte i, .g-notiz::before { color: #000 !important; border-color: #000 !important; }
}

/* === 03 Preis === */
.preis { padding-block: var(--abstand); }
.pakete { margin-top: clamp(36px, 6vw, 72px); display: grid; gap: 30px 20px; }
.paket {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 3.4vw, 42px);
  border-radius: var(--radius-gross);
  background: var(--weiss); border: 1px solid var(--linie); box-shadow: var(--schatten);
}
.paket-premium { background: var(--nacht); color: var(--papier); border-color: transparent; box-shadow: var(--schatten-gross); }
.paket-band {
  position: absolute; top: -15px; left: clamp(28px, 3.6vw, 44px);
  padding: 7px 14px; border-radius: 999px;
  background: var(--orange); color: var(--tinte);
  font-size: 13px; font-weight: 700; letter-spacing: .01em;
}
.paket-name { font-family: var(--titel); font-weight: 700; font-size: 28px; letter-spacing: -.025em; line-height: 1.1; }
.paket-preis {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px;
  margin-top: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--linie);
}
.paket-premium .paket-preis { border-color: var(--nacht-linie); }
.paket-fuer { margin-top: 18px; font-size: 17px; line-height: 1.5; color: var(--tinte-2); max-width: 30em; }
.paket-premium .paket-fuer { color: #D9D2C7; }
.paket-chf { font-weight: 650; font-size: 18px; color: var(--tinte-2); }
.paket-premium .paket-chf, .paket-premium .paket-einmal { color: #D9D2C7; }
.paket-betrag {
  font-family: var(--titel); font-weight: 700; font-size: clamp(60px, 6.4vw, 88px);
  line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums;
}
.paket-einmal { font-size: 16px; font-weight: 500; color: var(--tinte-2); }
.paket-satz { margin-top: 24px; font-size: 16.5px; line-height: 1.6; color: var(--tinte-2); }
.paket-premium .paket-satz { color: #D9D2C7; }
.haken-liste { margin-top: 18px; display: grid; gap: 8px; }
.haken-liste li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 16.5px; line-height: 1.4; font-weight: 500; }
.haken-liste li::before, .liste-drin li::before, .zu-zweit-gut li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange-zart) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23C4411F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.paket-premium .haken-liste li::before, .paket-premium .liste-drin li::before {
  background-color: rgba(236, 90, 58, .2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23FF8A6A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.umfang { margin-top: 20px; border-top: 1px solid var(--linie); }
.paket-premium .umfang { border-color: var(--nacht-linie); }
.umfang summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 54px; padding: 5px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 16px;
}
.umfang summary::-webkit-details-marker, .frage summary::-webkit-details-marker { display: none; }
.umfang-zeichen, .frage-zeichen {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--linie-stark);
  transition: background-color var(--dauer-zustand) var(--ease-aus), border-color var(--dauer-zustand) var(--ease-aus), color var(--dauer-zustand) var(--ease-aus);
}
.paket-premium .umfang-zeichen { border-color: rgba(250, 248, 245, .25); }
.umfang-zeichen::before, .umfang-zeichen::after, .frage-zeichen::before, .frage-zeichen::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 2px;
  background: currentColor; transform: translate(-50%, -50%);
  transition: transform var(--dauer-zustand) var(--ease-expo);
}
.umfang-zeichen::after, .frage-zeichen::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] > summary .umfang-zeichen::after, details[open] > summary .frage-zeichen::after { transform: translate(-50%, -50%) rotate(90deg) scaleX(0); }
.umfang-listen { display: grid; gap: 22px; padding: 4px 0 8px; }
.umfang-teil h4 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tinte-2); }
.paket-premium .umfang-teil h4 { color: var(--nacht-text); }
.liste { margin-top: 10px; display: grid; gap: 9px; }
.liste li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 1.5; }
.haken-liste li, .liste li { display: block; position: relative; padding-left: 34px; }
.haken-liste li::before, .liste li::before { position: absolute; left: 0; top: 0; }
.liste-nicht li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(21, 19, 15, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 7.5l9 9M16.5 7.5l-9 9' fill='none' stroke='%236E685E' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.paket-premium .liste-nicht li::before {
  background-color: rgba(250, 248, 245, .08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 7.5l9 9M16.5 7.5l-9 9' fill='none' stroke='%23B5AEA3' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.paket-knopf { margin-top: auto; align-self: flex-start; }
.umfang + .paket-knopf { margin-top: 18px; }

.zusagen { margin-top: clamp(36px, 5vw, 64px); }
.zusagen-titel { font-family: var(--titel); font-weight: 650; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.zusagen-titel span { font-weight: 500; color: var(--tinte-2); }
.versprechen-liste { margin-top: 12px; display: grid; column-gap: 32px; border-top: 1px solid var(--linie-stark); }
.versprechen {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--linie);
  font-family: var(--titel); font-weight: 600; font-size: 19px; line-height: 1.28; letter-spacing: -.012em;
}
.versprechen svg { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--orange-zart); color: var(--orange-text); }
.versprechen span { font-size: 16px; line-height: 1.25; }
.zusage-agb {
  display: inline-block; margin: -13px -4px -13px 1px; padding: 13px 4px;
  font-family: var(--text); font-size: 14px; font-weight: 650; line-height: 18px; letter-spacing: 0;
  color: var(--tinte); white-space: nowrap;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
@media (hover: hover) { .zusage-agb:hover { color: var(--orange-text); } }
.zusage-agb:focus-visible { outline-offset: -8px; }
@media (min-width: 700px) {
  .versprechen { padding: 18px 0; }
  .versprechen span { font-size: 17px; line-height: inherit; }
}
@media (min-width: 1100px) {
  .versprechen { flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px 0 0; border-bottom: 0; }
  .versprechen span { font-size: 18px; }
}

.kosten {
  margin-top: clamp(32px, 4.5vw, 56px);
  padding-top: clamp(22px, 2.8vw, 32px);
  border-top: 1px solid var(--linie-stark);
}
.kosten-satz { max-width: 46em; font-size: 17px; line-height: 1.55; color: var(--tinte-2); }
.kosten-satz strong { color: var(--tinte); font-weight: 650; }
.kosten-mehr { margin-top: 14px; max-width: 52em; }
.kosten-zeile { display: grid; gap: 4px; padding: 2px 0 14px; }
.kosten-liste dt { font-family: var(--titel); font-weight: 650; font-size: 18px; letter-spacing: -.01em; }
.kosten-liste dd { color: var(--tinte-2); font-size: 16px; line-height: 1.55; max-width: 46em; }
.kosten-fuss { display: grid; gap: 6px; font-size: 15px; line-height: 1.5; color: var(--tinte-2); }
.kosten-fuss a { color: var(--tinte); font-weight: 600; }

@media (min-width: 700px) {
  .versprechen-liste { grid-template-columns: 1fr 1fr; }
  .kosten-zeile { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: baseline; }
  .umfang-listen { grid-template-columns: 1fr; }
}
@media (min-width: 960px) {
  .pakete { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .paket-fuer { min-height: 3em; }
  .paket .haken-liste { margin-bottom: 26px; }
  .paket .umfang { margin-top: auto; }
}
@media (min-width: 1100px) {
  .versprechen-liste { grid-template-columns: repeat(5, 1fr); column-gap: 28px; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .versprechen:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* === 04 Ablauf === */
.ablauf { padding-bottom: var(--abstand); }
.satz-moment {
  position: relative; overflow: hidden; display: grid; align-items: center;
  min-height: calc(100vh - var(--kopf-h)); min-height: calc(100svh - var(--kopf-h));
  padding-block: clamp(56px, 8vw, 120px);
}
.satz-moment::before {
  content: ""; position: absolute; pointer-events: none; left: 50%; top: 55%;
  width: min(1100px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(236, 90, 58, .2), rgba(236, 90, 58, .06) 50%, transparent 72%);
}
.satz-rahmen { position: relative; }
.satz-titel {
  margin-top: clamp(24px, 4vw, 48px);
  font-family: var(--titel); font-weight: 700; font-stretch: 96%;
  font-size: clamp(52px, 16.8vw, 210px); line-height: .9; letter-spacing: -.05em;
  overflow-wrap: break-word; text-wrap: balance;
}
.satz-titel em {
  font-family: var(--akzent); font-style: italic; font-weight: 400; font-stretch: 100%;
  font-size: 1.08em; letter-spacing: -.02em; line-height: .8; color: var(--orange); padding-right: .04em;
}
.satz-unter { margin-top: clamp(24px, 4vw, 44px); max-width: 26em; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; color: #D9D2C7; text-wrap: pretty; }
@media (min-width: 1000px) { .satz-titel { font-size: clamp(96px, 13.4vw, 210px); max-width: 9em; } }
@media (max-width: 899px) { .satz-moment { min-height: calc(100vh - var(--kopf-h) - 86px); min-height: calc(100svh - var(--kopf-h) - 86px - env(safe-area-inset-bottom)); } }
@media (max-width: 899px) and (max-height: 500px) { .satz-moment { min-height: calc(100vh - var(--kopf-h)); } }
.schritte { position: relative; margin-top: clamp(40px, 6vw, 80px); display: grid; }
.schritt { position: relative; padding: 32px 0 40px 36px; }
.schritt::before {
  content: ""; position: absolute; left: 0; top: 40px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--papier); border: 2.5px solid var(--orange); z-index: 1;
  transition: background-color var(--dauer-zustand) var(--ease-aus), transform var(--dauer-ein) var(--ease-expo);
}
.schritt.ist-erreicht::before { background: var(--orange); transform: scale(1.25); }
.schritt-nr { position: relative; }
.schritt-nr::after {
  content: attr(data-nr); position: absolute; inset: 0;
  color: var(--orange-gross); -webkit-text-stroke: 1.5px var(--orange-gross);
  -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0);
  transition: -webkit-clip-path 760ms var(--ease-expo), clip-path 760ms var(--ease-expo);
}
.schritt.ist-erreicht .schritt-nr::after { -webkit-clip-path: inset(0 -4px 0 0); clip-path: inset(0 -4px 0 0); }
.schritte::before, .schritte::after {
  content: ""; position: absolute; left: 5px; top: 40px; bottom: 40px; width: 2px;
  background: var(--linie-stark);
}
.schritte::after { background: var(--orange); transform-origin: 0 0; transform: scaleY(var(--linie-anteil, 1)); }
.schritt-nr {
  font-family: var(--titel); font-weight: 700; font-size: clamp(64px, 8vw, 116px);
  line-height: .85; letter-spacing: -.012em;
  color: transparent; -webkit-text-stroke: 1.5px var(--tinte);
}
.schritt-titel { margin-top: 18px; font-family: var(--titel); font-weight: 700; font-size: clamp(25px, 2.4vw, 30px); letter-spacing: -.025em; line-height: 1.15; }
.schritt-dauer {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 6px 10px; border-radius: 999px;
  background: var(--sand); font-size: 14px; font-weight: 600; color: var(--tinte-2);
}
.schritt-dauer svg { width: 16px; height: 16px; color: var(--orange-text); }
.schritt-text { margin-top: 16px; max-width: 30em; font-size: 16.5px; line-height: 1.6; color: var(--tinte-2); }

.zahlen { margin-top: clamp(32px, 5vw, 64px); display: grid; gap: 12px; }
@media (min-width: 720px) { .zahlen { grid-template-columns: repeat(3, 1fr); } }
.ablauf-schluss { margin-top: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.ablauf-schluss p { color: var(--tinte-2); font-size: 16px; }
.ablauf-schluss p a { color: var(--tinte); font-weight: 650; white-space: nowrap; }
.zahl {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px;
  padding: 28px; border-radius: var(--radius);
  background: var(--nacht); color: var(--papier);
}
.zahl dt { font-size: 15px; color: var(--nacht-text); }
.zahl dd { font-family: var(--titel); font-weight: 700; font-size: clamp(46px, 5vw, 66px); line-height: 1; letter-spacing: -.045em; }
.zahl-einheit { font-size: .42em; letter-spacing: -.01em; color: var(--orange); }
.zahl-klein { font-size: .3em; font-weight: 500; letter-spacing: 0; color: var(--nacht-text); vertical-align: .9em; margin-right: .2em; }

@media (max-width: 899px) {
  .schritt { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: end; padding: 18px 0 22px 34px; }
  .schritt::before { top: 32px; }
  .schritt-nr { grid-column: 1; grid-row: 1; font-size: 52px; }
  .schritt-titel { grid-column: 2; grid-row: 1; margin: 0 0 .1em; }
  .schritt-dauer { grid-column: 1 / -1; justify-self: start; margin-top: 12px; }
  .schritt-text { grid-column: 1 / -1; margin-top: 12px; }
  .schritte::before, .schritte::after { top: 32px; bottom: 32px; }
}
@media (max-width: 719px) {
  .zahlen { gap: 8px; }
  .zahl { flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 20px; }
  .zahl dt { max-width: 10em; text-align: right; font-size: 14.5px; line-height: 1.35; }
  .zahl dd { font-size: 38px; white-space: nowrap; }
}
@media (min-width: 900px) {
  .schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .schritte::before, .schritte::after { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 2px; }
  .schritte::after { transform-origin: 0 0; transform: scaleX(var(--linie-anteil, 1)); }
  .schritt { padding: 52px 40px 0 0; }
  .schritt::before { left: 0; top: -5.5px; }
}

/* === 05 Wer wir sind === */
.wir { padding-block: var(--abstand); background: var(--sand); }
.wir-raster { display: grid; gap: 44px; }
.personen { margin-top: 32px; display: grid; gap: 40px; max-width: 30em; }
.person-und { position: absolute; left: 31px; top: -35px; width: 32px; height: 30px; overflow: visible; pointer-events: none; }
@media (min-width: 1000px) {
  .personen { gap: 54px; }
  .person-und { left: 25px; top: -47px; width: 44px; height: 40px; }
}
.person {
  position: relative; display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px 18px 18px; border-radius: var(--radius);
  background: var(--weiss); border: 1px solid var(--linie);
  transition: transform var(--dauer-zustand) var(--ease-expo), box-shadow var(--dauer-zustand) var(--ease-aus);
}
@media (hover: hover) { .person:hover { transform: translateY(-3px); box-shadow: var(--schatten); } }
.wir-foto { margin-top: 36px; border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten-gross); }
.wir-foto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.wir-foto + .personen .monogramm { display: none; }
.monogramm {
  flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--tinte); color: var(--papier);
  font-family: var(--titel); font-weight: 700; font-size: 18px; letter-spacing: .02em;
  margin-top: 2px;
}
.person + .person .monogramm { background: var(--orange); color: var(--tinte); }
.person-name { font-family: var(--titel); font-weight: 700; font-size: 20px; letter-spacing: -.015em; line-height: 1.2; }
.person-wege { margin-top: 3px; display: flex; flex-wrap: wrap; column-gap: 14px; font-size: 15.5px; color: var(--tinte-2); }
.person-wege a { font-weight: 600; color: var(--tinte); white-space: nowrap; }
.person-wege a + a { font-weight: 500; color: var(--tinte-2); }
.person .punkt-trenner { display: none; }
.punkt-trenner { display: inline-block; width: 4px; height: 4px; margin: 0 10px; border-radius: 50%; background: currentColor; opacity: .4; vertical-align: middle; }
.adresse { margin-top: 10px; font-size: 16px; font-weight: 500; }
.adresse a { font-weight: 600; }

@media (min-width: 1024px) {
  .wir-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; }
}

/* === 06 Fragen === */
.fragen { padding-block: var(--abstand); }
.fragen-raster { display: grid; gap: 36px; }
.fragen-hilfe {
  margin-top: 36px; max-width: 360px;
  padding: 24px 26px; border-radius: var(--radius);
  background: var(--nacht); color: var(--papier);
}
.fragen-hilfe-titel { font-family: var(--titel); font-weight: 700; font-size: 21px; letter-spacing: -.015em; }
.fragen-hilfe-wege { margin-top: 6px; color: var(--nacht-text); }
.fragen-hilfe-wege a { color: var(--papier); font-weight: 600; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.fragen-liste { border-top: 1px solid var(--linie-stark); }
.frage { border-bottom: 1px solid var(--linie-stark); background: var(--papier); }
.frage.linie-weg { border-bottom-color: transparent; }
.frage.linie-oben { box-shadow: 0 -1px 0 var(--linie-stark); }
.frage summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 19px 0; cursor: pointer; list-style: none;
  font-family: var(--titel); font-weight: 600; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.3; letter-spacing: -.018em;
  transition: color var(--dauer-hover) var(--ease-aus);
}
@media (hover: hover) {
  .frage summary:hover { color: var(--orange-text); }
  .frage summary:hover .frage-zeichen { border-color: var(--tinte); }
  .umfang summary:hover .umfang-zeichen { border-color: currentColor; }
}
details.schliesst > summary .frage-zeichen::after, details.schliesst > summary .umfang-zeichen::after { transform: translate(-50%, -50%) rotate(90deg); }
.frage summary:active .frage-zeichen, .umfang summary:active .umfang-zeichen { transform: scale(.92); }
.frage-zeichen, .umfang-zeichen { transition-property: background-color, border-color, color, transform; transition-duration: var(--dauer-zustand), var(--dauer-zustand), var(--dauer-zustand), 120ms; }
.frage-zeichen { width: 42px; height: 42px; color: var(--tinte); }
.frage[open] .frage-zeichen { background: var(--tinte); border-color: var(--tinte); color: var(--papier); }
.frage[open].schliesst .frage-zeichen { background: transparent; border-color: var(--linie-stark); color: var(--tinte); }
.antwort { padding: 0 clamp(0px, 5vw, 66px) 30px 0; }
.antwort p { max-width: 40em; font-size: 17px; line-height: 1.68; color: var(--tinte-2); }
@media (max-width: 1023px) {
  .fragen-raster { display: flex; flex-direction: column; gap: 0; }
  .fragen-kopf { display: contents; }
  .fragen-liste { order: 3; margin-top: 32px; }
  .fragen-hilfe { order: 4; margin-top: 24px; max-width: none; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; padding: 18px 22px; }
  .fragen-hilfe-titel { font-size: 19px; }
  .fragen-hilfe-wege { margin-top: 0; }
}
@media (min-width: 1024px) {
  .fragen-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .fragen-kopf { position: sticky; top: calc(var(--kopf-h) + 40px); }
}

/* === 07 Kontakt und Formular === */
.kontakt { position: relative; padding-block: var(--abstand); overflow: hidden; }
.kontakt-licht {
  position: absolute; pointer-events: none;
  width: min(1000px, 140vw); aspect-ratio: 1; left: -28%; top: -30%;
  background: radial-gradient(closest-side, rgba(236, 90, 58, .3), rgba(236, 90, 58, .08) 50%, transparent 72%);
}
.kontakt-raster { position: relative; display: grid; gap: 40px; }
.kontakt-knoepfe { margin-top: 28px; display: grid; gap: 10px; }
@media (min-width: 360px) and (max-width: 599px) {
  .kontakt .kontakt-knoepfe { display: flex; flex-wrap: wrap; }
  .kontakt .kontakt-knoepfe .knopf { flex: 1 1 0; min-width: -webkit-min-content; min-width: min-content; padding-inline: 12px; gap: 8px; font-size: 16px; }
  .kontakt .kontakt-knoepfe .knopf-zeilen { flex-direction: column; }
}

.formular-karte {
  padding: clamp(24px, 3.6vw, 44px);
  border-radius: var(--radius-gross);
  background: var(--papier); color: var(--tinte);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7);
}
.formular { position: relative; display: grid; gap: 14px; }
.formular-titel { font-family: var(--titel); font-weight: 700; font-size: clamp(25px, 2.4vw, 31px); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
#anfrage { scroll-margin-top: clamp(24px, 3.6vw, 44px); }
.formular-unter { margin-top: -8px; font-size: 15.5px; color: var(--stein); }
.feld-paar { display: grid; gap: 14px; }
.freiwillig { font-weight: 400; color: var(--stein); }
.feld-hilfe { margin-top: 7px; font-size: 14.5px; line-height: 1.45; color: var(--stein); }
#f-website { scroll-margin-top: 36px; }
.fehler { margin-top: 7px; font-size: 14.5px; font-weight: 600; color: var(--fehler); }
.feld [aria-invalid="true"] { border-color: var(--fehler); }
.formular-zusammenfassung { font-size: 15px; font-weight: 600; color: var(--fehler); }
.formular-zusammenfassung:empty { display: none; }
.formular-meldung { padding: 14px 16px; border-left: 4px solid var(--fehler); border-radius: var(--radius-klein); background: var(--orange-zart); font-size: 15px; line-height: 1.5; color: var(--tinte); }
.formular-meldung:empty { display: none; }
.formular-meldung p + p { margin-top: 6px; }
.formular-meldung strong { color: var(--fehler); }
.formular-meldung a { font-weight: 650; color: var(--tinte); text-decoration: underline; text-underline-offset: 2px; }
@media (forced-colors: active) { .formular-meldung { border: 2px solid CanvasText; } }
.knopf-senden { width: 100%; margin-top: 4px; }
.knopf-senden:disabled { opacity: .7; cursor: progress; }
.formular-hinweis { font-size: 14px; line-height: 1.5; color: var(--stein); }
.dunkel .formular-karte :focus-visible { outline-color: var(--orange-text); }
.formular-hinweis a { color: var(--tinte); font-weight: 600; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular-karte { position: relative; }
.formular-karte::after {
  content: ""; position: absolute; inset: -6px; border-radius: calc(var(--radius-gross) + 6px); pointer-events: none;
  box-shadow: 0 0 0 3px rgba(236, 90, 58, .75); opacity: 0;
}
.formular-karte.hinweisen::after { animation: hinweisen 1100ms var(--ease-aus); }
@keyframes hinweisen { 0% { opacity: 0; transform: scale(1.02); } 30% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }

@media (min-width: 600px) {
  .feld-paar { grid-template-columns: 1fr 1fr; }
  .kontakt-knoepfe { display: flex; flex-wrap: wrap; }
}
@media (min-width: 1024px) {
  .kontakt-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
}

/* === Fuss === */
.fuss { position: relative; overflow: hidden; background: var(--nacht); color: var(--nacht-text); border-top: 1px solid var(--nacht-linie); }
.fuss-oben { display: grid; gap: 40px; padding-top: clamp(64px, 8vw, 104px); }
.marke-hell { color: var(--papier); }
.fuss .marke { margin-top: -9.2px; }
.fuss-satz { margin-top: 14px; max-width: 22em; font-size: 16px; line-height: 1.5; }
.fuss-titel { margin-bottom: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8F887D; }
.fuss-spalte ul { display: grid; gap: 9px; font-size: 15.5px; }
.fuss-spalte a { color: var(--papier); text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 1.5px no-repeat; transition: background-size 240ms var(--ease-expo); }
.fuss-spalte a[aria-current="page"] { background-size: 100% 1.5px; }
@media (hover: hover) { .fuss-spalte a:hover { background-size: 100% 1.5px; } }
.fuss-zusatz { color: #8F887D; }
.fuss-unten {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 56px; padding: 24px 0; border-top: 1px solid var(--nacht-linie);
  font-size: 14px;
}
.fuss-unten strong { color: var(--papier); font-weight: 650; }
.nach-oben { color: var(--papier); font-weight: 600; text-decoration: none; }
@media (hover: hover) { .nach-oben:hover { color: var(--orange); } }
.fuss-oben { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.fuss-marke, .fuss-oben > .fuss-spalte:nth-child(2) { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .fuss-oben { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
  .fuss-marke, .fuss-oben > .fuss-spalte:nth-child(2) { grid-column: auto; }
}
@media (max-width: 899px) {
  .fuss { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .fuss-oben { padding-top: 40px; row-gap: 18px; }
  .fuss-spalte ul { gap: 0; }
  .fuss-spalte li { padding-block: 0; }
  .fuss-spalte a { display: inline-block; padding-block: 11px; background-position: 0 calc(100% - 9px); }
  .fuss-oben > nav.fuss-spalte { grid-column: 1 / -1; }
  .fuss-oben > .fuss-spalte:nth-child(2) ul { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: 28px; }
  .fuss-oben > nav.fuss-spalte ul { display: flex; flex-wrap: wrap; column-gap: 22px; }
  .fuss-oben > nav.fuss-spalte[aria-label="Rechtliches"] ul { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: 28px; }
  .fuss-oben > nav.fuss-spalte .fuss-titel { margin-bottom: 2px; }
  .fuss-unten { margin-top: 28px; padding-block: 18px; }
}

.leiste {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 7px;
  border-radius: 22px;
  background: rgba(21, 19, 15, .84);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .55);
  transition: transform 560ms var(--ease-expo), opacity var(--dauer-zustand) var(--ease-aus);
}
.js .leiste:not(.ist-sichtbar), .tippt .leiste {
  transform: translateY(calc(100% + 30px)); opacity: 0; pointer-events: none; visibility: hidden;
  transition: transform 560ms var(--ease-expo), opacity var(--dauer-zustand) var(--ease-aus), visibility 0s linear 560ms;
}
body.menue-offen .leiste { visibility: hidden; }
@media (max-width: 899px) { html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
@media (max-width: 899px) and (max-height: 500px) {
  .leiste { display: none; }
  html { scroll-padding-bottom: 0; }
}
.leiste-knopf {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; border-radius: 15px;
  background: rgba(250, 248, 245, .1); color: var(--papier);
  font-weight: 600; font-size: 16px; text-decoration: none;
}
.leiste-knopf:first-child { background: var(--orange); color: var(--tinte); }
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .leiste-knopf { transition: transform 160ms var(--ease-expo); }
  .menue-knopf { transition: color var(--dauer-zustand) var(--ease-aus), background-color var(--dauer-zustand) var(--ease-aus), transform 160ms var(--ease-expo); }
  .menue-knopf:active, .leiste-knopf:active { transform: scale(.97); transition-duration: var(--dauer-zustand), var(--dauer-zustand), 120ms; }
  .leiste-knopf:active { transition-duration: 120ms; }
}
.leiste-knopf svg { width: 19px; height: 19px; }
@media (min-width: 900px) { .leiste { display: none; } }

/* === Nebenseiten: Danke und 404 === */
.neben { position: relative; overflow: hidden; padding: calc(var(--kopf-h) + clamp(48px, 9vw, 120px)) 0 var(--abstand); }
.neben .held-licht { right: -30%; top: -40%; }
.neben-karte { position: relative; max-width: 760px; }
.neben-titel { margin-top: 22px; font-family: var(--titel); font-weight: 700; font-stretch: 94%; font-size: clamp(44px, 6.4vw, 88px); line-height: .96; letter-spacing: -.045em; text-wrap: balance; }
@media (min-width: 1024px) { .neben-titel { max-width: 9em; font-family: "Bricolage Grotesque", "Bricolage Ersatz GS", "Bricolage Ersatz GSR", ui-sans-serif, system-ui, sans-serif; } }
.neben-titel em { font-family: var(--akzent); font-style: italic; font-weight: 400; font-size: 1.1em; letter-spacing: -.015em; color: var(--orange-gross); }
.neben-satz { margin-top: 24px; max-width: 32em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--tinte-2); }
.neben-satz a { font-weight: 600; color: var(--tinte); }
.neben .kontakt-knoepfe { margin-top: 36px; }
.neben-eilt { margin-top: 36px; font-weight: 650; }
.neben-eilt + .kontakt-knoepfe { margin-top: 12px; }
.neben-satz + .neben-satz { margin-top: 14px; }
.neben-zurueck { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; row-gap: 8px; }
.danke-fuer strong { font-weight: 650; color: var(--tinte); overflow-wrap: anywhere; }
.danke-titel { margin-top: 44px; font-family: var(--titel); font-weight: 700; font-size: clamp(22px, 2vw, 26px); line-height: 1.15; letter-spacing: -.02em; }
.danke-schritte { margin-top: 18px; max-width: 34em; padding: 0; list-style: none; counter-reset: schritt; display: grid; gap: 14px; }
.danke-schritte li { position: relative; padding-left: 46px; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--tinte-2); counter-increment: schritt; }
.danke-schritte li::before {
  content: counter(schritt); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--tinte); color: var(--papier); font-family: var(--titel); font-weight: 700; font-size: 15px; line-height: 1;
}
.danke-schritte + .neben-satz { margin-top: 28px; }
.neben-liste { margin-top: 24px; max-width: 32em; padding-left: 1.2em; display: grid; gap: 6px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; font-weight: 600; color: var(--fehler); }
.neben-klein { font-size: 16px; color: var(--stein); }
.anfrage-angaben { margin-top: 28px; max-width: 34em; padding: 20px 22px; display: grid; gap: 12px; border-radius: var(--radius); background: var(--weiss); box-shadow: var(--schatten); }
.anfrage-angaben div { display: grid; gap: 2px; }
.anfrage-angaben dt { font-size: 14px; font-weight: 600; color: var(--stein); }
.anfrage-angaben dd { font-size: 17px; line-height: 1.5; color: var(--tinte); overflow-wrap: anywhere; }
.anfrage-senden { margin-top: 28px; }
@media (forced-colors: active) {
  .danke-schritte li::before, .anfrage-angaben { border: 1px solid CanvasText; }
}

/* === Einblenden beim Scrollen === */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transition: opacity var(--dauer-ein) var(--ease-aus);
    transition-delay: var(--verz, 0s);
  }
  .js [data-reveal].ist-sichtbar { opacity: 1; }

  .js [data-auftritt] .handy, .js [data-auftritt] .moment, .js .fall-text[data-auftritt] > * {
    transition-property: opacity, translate, rotate;
    transition-duration: var(--dauer-ein-deck), var(--dauer-ein), var(--dauer-ein);
    transition-timing-function: var(--ease-aus), var(--ease-expo), var(--ease-expo);
  }
  .js .fall-medien[data-auftritt] .moment { transition-duration: var(--dauer-ein-deck), var(--dauer-szene), var(--dauer-szene); }
  .js .fall-medien[data-auftritt]:not(.ist-sichtbar) .handy { opacity: 0; translate: 0 36px; }
  .js .fall-medien[data-auftritt]:not(.ist-sichtbar) .moment { opacity: 0; translate: -22px 30px; rotate: -7deg; }
  .js .fall-medien[data-auftritt].ist-sichtbar .moment { transition-delay: 180ms; }
  .js .fall-text[data-auftritt]:not(.ist-sichtbar) > * { opacity: 0; translate: 0 18px; }
  .js .fall-text[data-auftritt].ist-sichtbar > :nth-child(2) { transition-delay: 60ms; }
  .js .fall-text[data-auftritt].ist-sichtbar > :nth-child(3) { transition-delay: 120ms; }
  .js .fall-text[data-auftritt].ist-sichtbar > :nth-child(n+4) { transition-delay: 180ms; }

  .springt [data-reveal], .springt [data-auftritt] .handy, .springt [data-auftritt] .moment,
  .springt .fall-text[data-auftritt] > * {
    transition-duration: 200ms !important; transition-delay: 0s !important;
  }
  .sofort, .sofort > *, .sofort .handy, .sofort .moment { transition: none !important; }
}
.js-notfall [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
.js-notfall [data-auftritt] .handy, .js-notfall [data-auftritt] .moment, .js-notfall .fall-text[data-auftritt] > * { opacity: 1 !important; translate: none !important; rotate: none !important; }

@media (prefers-reduced-motion: no-preference) {
  .neben-karte :is(.eyebrow, .neben-eilt, .kontakt-knoepfe, .neben-zurueck), .recht .verzeichnis {
    animation: held-ein var(--dauer-ein) var(--ease-expo) backwards;
  }
  .neben-karte .neben-satz, .recht-kopf > :not(.recht-titel), .recht .recht-karte { animation: text-ein var(--dauer-ein) var(--ease-expo) backwards; }
  .neben .eyebrow-nr { animation: strich-ein 560ms var(--ease-inout) 220ms backwards; }
  .neben-karte .neben-satz, .recht-kopf > :nth-child(3) { animation-delay: var(--stufe); }
  .neben-karte .neben-satz + .neben-satz, .recht-kopf > :nth-child(n+4) { animation-delay: calc(var(--stufe) * 2); }
  .neben-karte :is(.neben-eilt, .kontakt-knoepfe), .recht .verzeichnis { animation-delay: calc(var(--stufe) * 3); }
  .neben-karte .neben-eilt + .kontakt-knoepfe, .neben-karte .neben-zurueck, .recht .recht-karte { animation-delay: calc(var(--stufe) * 4); }
  .neben-karte :is(.danke-titel, .danke-schritte, .neben-liste, .anfrage-angaben, .anfrage-senden) { animation: text-ein var(--dauer-ein) var(--ease-expo) calc(var(--stufe) * 3) backwards; }
}
@keyframes text-ein { from { opacity: .35; transform: translateY(12px); } }
@keyframes strich-ein { from { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); } to { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); } }
.js-fehlt .nur-mit-skript, .kaputt-skizze .buehne-eingabe, .kaputt-bewegung .bewegung-knopf, .kaputt-bewegung .bewegung-zeile { display: none !important; }
.js-fehlt .leiste:not(.ist-sichtbar):not(.x) { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .kopf-innen { view-transition-name: nw-kopf; }
  ::view-transition-old(root) { animation: none; mix-blend-mode: normal; }
  ::view-transition-new(root) { animation: 260ms var(--ease-inout) both vt-rein; mix-blend-mode: normal; }
  ::view-transition-group(nw-kopf) { animation-duration: 320ms; animation-timing-function: var(--ease-expo); }
  ::view-transition-old(nw-oben):only-child, ::view-transition-old(marke):only-child { animation: 120ms var(--ease-aus) both vt-raus; }
  ::view-transition-new(nw-kopf):only-child { animation: 220ms var(--ease-aus) 110ms both vt-rein; }
}
@keyframes vt-raus { to { opacity: 0; } }
@keyframes vt-rein { from { opacity: 0; } }

/* === r12 Signatur «Vorzeichnen + Malen» (README «Signatur») === */
html:is(.bereit, .js-notfall, :not(.js)) :is(body, .sand, .geschichte) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .26 0 0 0 0 .2 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23k)' opacity='.1'/%3E%3C/svg%3E");
}

.pinsel-u {
  background: url("img/unterstrich-v1.svg") no-repeat 0 100% / 100% .4em;
  padding-bottom: .1em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@media (prefers-reduced-motion: no-preference) {
  .pinsel-u-zieht { animation: pinsel-u 700ms var(--ease-inout) .5s both; }
}
@keyframes pinsel-u { from { background-size: 0 .4em; } }

.pinsel-trenner {
  display: block; width: 168px; height: 17px; margin: 24px auto 56px;
  background: url("img/trenner-a-v1.svg") center / contain no-repeat;
}
@media (max-width: 599px) { .pinsel-trenner { width: 132px; height: 13px; margin: 20px auto 40px; } }

.unterschriften[hidden] { display: none !important; }
.unterschriften { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 28px; margin-top: 20px; }
.unterschriften img { width: auto; max-width: 180px; height: auto; mix-blend-mode: multiply; }
.unterschriften figcaption { flex-basis: 100%; font-size: 14px; line-height: 1.4; color: var(--stein); }

.schild-zeile-name .schild-text { transition: font-weight 700ms var(--ease-expo), font-stretch 700ms var(--ease-expo), color 500ms var(--ease-aus); }
.schild.skizziert .schild-zeile-name .schild-text { font-weight: 540; font-stretch: 94%; color: var(--tinte-2); transition: none; }
.schild.misst .schild-zeile-name .schild-text { transition: none; }
.schild-zeile-name .schild-text::after {
  content: ""; position: absolute; left: .13em; right: .13em; bottom: .05em; height: max(1.3px, .016em);
  background: var(--graphit); opacity: 0; transform: scaleX(0); transform-origin: 0 50%;
  transition: opacity 600ms var(--ease-aus), transform 600ms var(--ease-expo);
  pointer-events: none;
}
.schild.skizziert .schild-zeile-name .schild-text::after { opacity: .6; transform: none; transition: none; }
.schild-zeile-name .schild-text.ist-zweizeilig::after, .schild.misst .schild-zeile-name .schild-text::after { display: none; }

@media (prefers-reduced-motion: no-preference) {
  html:active-view-transition-type(pinsel)::view-transition-group(root) { animation-duration: 560ms; }
  html:active-view-transition-type(pinsel)::view-transition-image-pair(root) {
    background-color: #EA4A27;
    background-image: repeating-linear-gradient(0deg, rgba(150, 34, 8, .16) 0 1px, transparent 1px 5px, rgba(255, 214, 196, .10) 5px 6px, transparent 6px 11px);
  }
  html:active-view-transition-type(pinsel)::view-transition-old(*) {
    -webkit-mask-image: linear-gradient(#000 0 0), url("img/pinsel-quer-b-links-v2.svg"); mask-image: linear-gradient(#000 0 0), url("img/pinsel-quer-b-links-v2.svg");
    -webkit-mask-composite: xor; mask-composite: exclude;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%, 200% 116%; mask-size: 100% 100%, 200% 116%;
    animation: 480ms cubic-bezier(.45, 0, .2, 1) both wisch-alt-links; mix-blend-mode: normal;
  }
  html:active-view-transition-type(pinsel)::view-transition-new(*) {
    -webkit-mask-image: url("img/pinsel-quer-b-links-v2.svg"); mask-image: url("img/pinsel-quer-b-links-v2.svg");
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-size: 200% 116%; mask-size: 200% 116%;
    animation: 480ms cubic-bezier(.45, 0, .2, 1) 80ms both wisch-neu-links; mix-blend-mode: normal;
  }
  @media (max-aspect-ratio: 1 / 1) {
    html:active-view-transition-type(pinsel)::view-transition-old(*) {
      -webkit-mask-image: linear-gradient(#000 0 0), url("img/pinsel-hoch-zurueck-v2.svg"); mask-image: linear-gradient(#000 0 0), url("img/pinsel-hoch-zurueck-v2.svg");
      -webkit-mask-size: 100% 100%, 116% 200%; mask-size: 100% 100%, 116% 200%;
      animation-name: wisch-alt-hoch;
    }
    html:active-view-transition-type(pinsel)::view-transition-new(*) {
      -webkit-mask-image: url("img/pinsel-hoch-zurueck-v2.svg"); mask-image: url("img/pinsel-hoch-zurueck-v2.svg");
      -webkit-mask-size: 116% 200%; mask-size: 116% 200%;
      animation-name: wisch-neu-hoch;
    }
  }
}
@keyframes wisch-alt-links { from { -webkit-mask-position: 0 0, -40% 50%; mask-position: 0 0, -40% 50%; } to { -webkit-mask-position: 0 0, 100% 50%; mask-position: 0 0, 100% 50%; } }
@keyframes wisch-neu-links { from { -webkit-mask-position: -40% 50%; mask-position: -40% 50%; } to { -webkit-mask-position: 100% 50%; mask-position: 100% 50%; } }
@keyframes wisch-alt-hoch { from { -webkit-mask-position: 0 0, 50% -40%; mask-position: 0 0, 50% -40%; } to { -webkit-mask-position: 0 0, 50% 100%; mask-position: 0 0, 50% 100%; } }
@keyframes wisch-neu-hoch { from { -webkit-mask-position: 50% -40%; mask-position: 50% -40%; } to { -webkit-mask-position: 50% 100%; mask-position: 50% 100%; } }

@media print {
  body, .sand, .geschichte { background-image: none !important; }
  .pinsel-trenner { display: none !important; }
  .pinsel-u { background: none !important; padding-bottom: 0; }
}
@media (forced-colors: active) {
  body, .sand, .geschichte { background-image: none !important; }
  .pinsel-u { background-image: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
}
/* === Ende r12 Signatur === */

/* === r12 Mitnehmen (README «Skizze mitnehmen», «Herkunft und Branche», «Weiter mit Ihrer Vorschau») === */
@font-face { font-family: "Notiz Ersatz"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans-Regular"); size-adjust: 74.7%; ascent-override: 128.5%; descent-override: 40.2%; line-gap-override: 0%; }
@font-face { font-family: "Notiz Ersatz R"; src: local("Roboto"), local("Roboto-Regular"); size-adjust: 75.6%; ascent-override: 127%; descent-override: 39.7%; line-gap-override: 0%; }
.gruss {
  margin: 0 auto 2px; max-width: 30em;
  font-family: "Nahweb Notiz", "Notiz Ersatz", "Notiz Ersatz R", cursive; font-weight: 560; font-size: 20px; line-height: 1.12; letter-spacing: .005em;
  color: var(--rotstift); text-align: center; text-wrap: balance;
}
html[data-gruss="flyer"] .gruss[data-gruss="flyer"], html[data-gruss="karte"] .gruss[data-gruss="karte"],
html[data-gruss="brief"] .gruss[data-gruss="brief"], html[data-gruss="empfehlung"] .gruss[data-gruss="empfehlung"],
html[data-gruss="qr"] .gruss[data-gruss="qr"], html[data-gruss="video"] .gruss[data-gruss="video"],
html[data-gruss="whatsapp"] .gruss[data-gruss="whatsapp"], html[data-gruss="mail"] .gruss[data-gruss="mail"],
html[data-gruss="geteilt"] .gruss[data-gruss="geteilt"] { display: block; }
.js:not(.gruss-da):not(.js-notfall) .gruss { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) { .gruss-da .gruss { animation: hinweis-ein 400ms var(--ease-aus) both; } }
html[data-gruss] .gruss { margin-bottom: 14px; }
html[data-gruss] .buehne-titel em { font-family: inherit; font-style: normal; font-weight: inherit; font-size: 1em; line-height: inherit; letter-spacing: inherit; color: inherit; }
.js-notfall .gruss[data-gruss="geteilt"] { display: none !important; }
html.js-notfall[data-gruss="geteilt"] .buehne-titel em { font-family: var(--akzent); font-style: italic; font-weight: 400; font-size: 1.16em; line-height: 1; letter-spacing: 0; color: var(--orange-text); }
@media (max-width: 389px) { .gruss { font-size: 19px; } }
@media (max-width: 374px) { .gruss { font-size: 18px; } }
@media (min-width: 600px) { .gruss { font-size: 22px; } }
@media (min-width: 1000px) { .gruss { font-size: 25px; } }

html.hat-skizze .weiter[hidden] { display: block; }
.weiter { padding: 12px 14px 10px; border-radius: 16px; background: var(--sand); box-shadow: inset 0 0 0 1px var(--linie); }
.weiter-satz { font-size: 15.5px; line-height: 1.45; color: var(--tinte); text-wrap: pretty; }
.weiter-name { display: inline-block; max-width: 100%; vertical-align: top; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.weiter-name:empty::before { content: var(--nw-skizze, ""); }
.weiter-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 10px; }
.weiter-knopf {
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px;
  font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer;
  transition: background-color var(--dauer-hover) var(--ease-aus);
}
.weiter-ja { background: var(--tinte); color: var(--papier); }
.weiter-nein { background: var(--weiss); color: var(--tinte); box-shadow: inset 0 0 0 1px var(--linie-stark); }
@media (hover: hover) { .weiter-ja:hover { background: #2B2722; } .weiter-nein:hover { background: var(--papier); } }
.weiter-klein { flex-basis: 100%; padding-left: 2px; font-size: 13px; line-height: 1.4; color: var(--stein); }
@media (min-width: 1000px) { .weiter { padding: 14px 16px 12px; } .weiter-satz { font-size: 16px; } }

.held-mitnehmen {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px;
  border: 0; background: none; color: var(--tinte); cursor: pointer;
  font: inherit; font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px;
}
.held-mitnehmen svg { flex: none; width: 18px; height: 18px; color: var(--orange-text); }
html:is(.mit-name, .geteilt) .held-mitnehmen { display: inline-flex; }
@media (hover: hover) { .held-mitnehmen:hover { color: var(--orange-text); } }
@media (prefers-reduced-motion: no-preference) { html:is(.mit-name, .geteilt) .held-mitnehmen { animation: hinweis-ein 200ms var(--ease-aus) both; } }
@media (max-width: 999px) { .js .buehne-zusage .held-knoepfe .knopf-gross { width: min(100%, 340px); } }
.buehne-zusage .knopf-gross.knopf-knapp { padding-inline: 20px; font-size: 16px; }
.buehne-zusage .knopf-gross.knopf-knapp .knopf-pfeil { display: none; }

.ohne-mitnehmen .held-mitnehmen { display: none !important; }
@media print { .held-mitnehmen, .weiter, .gruss { display: none !important; } }
@media (forced-colors: active) {
  .weiter-knopf { border: 1px solid ButtonText; }
  .weiter { border: 1px solid CanvasText; }
}
/* === Ende r12 Mitnehmen === */

/* === r12 Worte (README «Vertrauen in Worten», «Kostenschieber», «Glossar», «Druckversion») === */
.worte-titel { font-family: var(--titel); font-weight: 700; font-stretch: 96%; font-size: 23px; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.worte-titel span { color: var(--tinte-2); }
@media (min-width: 1000px) { .worte-titel { font-size: 28px; } }

.erledigen { margin-top: clamp(28px, 4vw, 48px); padding-top: 14px; border-top: 1px solid var(--linie); }
.erledigen-satz { max-width: 46em; font-size: 15.5px; line-height: 1.55; color: var(--tinte-2); text-wrap: pretty; }
.erledigen-titel { color: var(--tinte); font-weight: 650; }
.erledigen-satz a { color: var(--tinte); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (min-width: 700px) { .erledigen-satz { font-size: 16.5px; } }

.kostenschieber { margin-top: clamp(32px, 4.5vw, 56px); padding-top: clamp(22px, 2.8vw, 32px); border-top: 1px solid var(--linie-stark); }
.kostenschieber > * { max-width: 880px; }
.ks-satz { margin-top: 0; max-width: 40em; font-size: 15.5px; line-height: 1.5; color: var(--tinte-2); }
.ks-auf { margin-top: 6px; border-top: 0; }
.ks-auf > summary { justify-content: flex-start; gap: 14px; font-size: 16.5px; }
.ks-auf > summary .umfang-zeichen { order: -1; }
.ks-inhalt { display: block; padding: 2px 0 4px; }
.ks-steuer { margin-top: 6px; display: grid; gap: 8px; }
.ks-wahl { justify-self: start; display: grid; grid-template-columns: auto auto; gap: 4px; min-width: 0; margin: 0; padding: 4px; border: 0; border-radius: 999px; background: var(--sand-tief); }
.ks-wahl label { position: relative; display: block; }
.ks-wahl input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ks-wahl span { display: block; padding: 11px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 22px; white-space: nowrap; color: var(--tinte-2); }
.ks-wahl input:checked + span { background: var(--tinte); color: var(--papier); }
.ks-wahl input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.ks-schalter { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 15.5px; line-height: 1.3; cursor: pointer; }
.ks-schalter input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--tinte); cursor: pointer; }
.ks-jahre { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; font-weight: 600; font-size: 15.5px; }
.ks-jahre-text { min-width: 6.9em; white-space: nowrap; }
.ks-jahre-text span { font-family: var(--titel); font-weight: 700; }
.ks-jahre input { width: 100%; height: 44px; margin: 0; accent-color: var(--orange-text); cursor: pointer; }
.ks-zeilen { margin-top: 14px; display: grid; gap: 14px; }
.ks-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: baseline; }
.ks-name { font-weight: 650; font-size: 16.5px; line-height: 1.3; }
.ks-name small { display: block; margin-top: 1px; font-weight: 400; font-size: 14.5px; line-height: 1.4; color: var(--tinte-2); }
.ks-betrag { font-family: var(--titel); font-weight: 700; font-size: 22px; line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.ks-balken { grid-column: 1 / -1; margin-top: 6px; height: 12px; border-radius: 6px; background: rgba(21, 19, 15, .07); overflow: hidden; }
.ks-balken i { display: block; height: 100%; width: calc(var(--anteil, 0) * 100%); border-radius: inherit; background: var(--tinte); transition: width 380ms var(--ease-expo); }
.ks-nahweb { --anteil: .6186; }
.ks-abo { --anteil: 1; }
.ks-abo .ks-balken i { background: #8C8579; }
.ks-baukasten { --anteil: .2431; }
.ks-baukasten .ks-balken i { background: repeating-linear-gradient(135deg, rgba(140, 133, 121, .38) 0 3px, transparent 3px 7px); box-shadow: inset 0 0 0 2px #8C8579; }
.ks-tabelle { margin-top: 14px; width: 100%; max-width: 560px; border-collapse: collapse; font-size: 15.5px; line-height: 1.35; }
.ks-tabelle caption { padding-bottom: 6px; text-align: left; font-weight: 650; }
.ks-tabelle th, .ks-tabelle td { padding: 8px 0; border-bottom: 1px solid var(--linie); text-align: left; font-weight: 500; }
.ks-tabelle td, .ks-tabelle thead th { padding-left: 14px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ks-tabelle thead th { font-size: 14px; font-weight: 650; color: var(--tinte-2); }
.js:not(.js-notfall):not(.ks-kaputt) .ks-tabelle { display: none; }
.js-notfall .ks-steuer, .js-notfall .ks-zeilen, .ks-kaputt .ks-steuer, .ks-kaputt .ks-zeilen { display: none; }
.ks-fuss { margin-top: 12px; max-width: 46em; font-size: 15px; line-height: 1.55; color: var(--tinte-2); }
.ks-fuss strong { color: var(--tinte); font-weight: 650; }
.ks-rechnung { margin-top: 8px; max-width: 52em; }
.ks-rechnung .umfang-listen { gap: 8px; }
.ks-rechnung p { font-size: 15px; line-height: 1.55; color: var(--tinte-2); }
@media (min-width: 900px) {
  .ks-steuer { grid-template-columns: auto auto minmax(220px, 1fr); align-items: center; column-gap: 24px; }
  .ks-zeilen { gap: 16px; }
}
@supports selector(::details-content) {
  @media screen and (min-width: 900px) {
    .ks-auf::details-content { content-visibility: visible; display: contents; }
    .ks-auf > summary { display: none; }
  }
}

.nicht-erleben { margin-top: clamp(32px, 5vw, 64px); }
.nicht-liste { margin-top: 12px; display: grid; column-gap: 32px; }
.nicht-liste li { padding: 9px 0 10px; border-top: 1px solid var(--linie); }
.nicht-sache {
  display: block; font-size: 14.5px; line-height: 1.35; color: var(--stein);
  text-decoration: line-through; text-decoration-color: var(--rotstift); text-decoration-thickness: 1.5px; text-decoration-skip-ink: none;
}
.nicht-so { display: block; margin-top: 3px; font-weight: 600; font-size: 16px; line-height: 1.42; color: var(--tinte); text-wrap: pretty; }
.nicht-erleben + .ablauf-schluss { margin-top: 28px; }
@media (min-width: 700px) { .nicht-sache { font-size: 15.5px; } .nicht-so { font-size: 17px; line-height: 1.45; } .nicht-liste li { padding: 12px 0 13px; } }
@media (min-width: 900px) { .nicht-liste { grid-template-columns: repeat(3, 1fr); } }

.zu-zweit { margin-top: 24px; }
.zu-zweit-spalten { margin-top: 12px; display: grid; gap: 16px 32px; }
.zu-zweit-kopf { font-size: 14px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--tinte-2); }
.zu-zweit-liste { margin-top: 8px; display: grid; gap: 6px; }
.zu-zweit-liste li { position: relative; padding-left: 32px; font-size: 15.5px; line-height: 1.45; color: var(--tinte-2); }
@media (min-width: 700px) { .zu-zweit-liste li { font-size: 16.5px; } }
.zu-zweit-gut li::before { position: absolute; left: 0; top: 1px; }
.zu-zweit-ehrlich li::before { content: ""; position: absolute; left: 5px; top: .72em; width: 12px; height: 2px; border-radius: 1px; background: var(--stein); }
.zu-zweit + .personen { margin-top: 30px; }
.personen + .adresse { margin-top: 24px; }
@media (min-width: 600px) { .zu-zweit-spalten { grid-template-columns: 1fr 1fr; } }

.begriff {
  display: inline; margin: 0; padding: 0; border: 0; border-radius: 2px; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: inherit; cursor: help;
  text-decoration: underline dotted var(--stein) 1.5px; text-underline-offset: 3px;
}
@media (hover: hover) { .begriff:hover { text-decoration-style: solid; } }
.begriff:focus-visible { text-decoration-style: solid; outline-offset: 2px; }
.paket-premium .begriff { text-decoration-color: #A39C90; }
.begriff-erklaerung {
  width: auto; max-width: min(22em, calc(100vw - 24px)); margin: 0; padding: 14px 54px 16px 18px;
  border: 1px solid var(--linie-stark); border-radius: 12px; background: var(--papier); color: var(--tinte); box-shadow: var(--schatten-gross);
  font-family: var(--text); font-size: 16px; font-weight: 400; line-height: 1.5; letter-spacing: 0; text-align: left; text-wrap: pretty;
}
.begriff-erklaerung strong { display: block; margin-bottom: 2px; font-family: var(--titel); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.begriff-zu { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--tinte); }
.begriff-zu svg { width: 20px; height: 20px; }
@media (hover: hover) { .begriff-zu:hover { background: rgba(21, 19, 15, .06); } }
.begriff-erklaerung:popover-open { position: fixed; inset: auto 12px calc(12px + env(safe-area-inset-bottom)) 12px; max-width: 30em; margin: 0 auto; }
@supports (position-area: block-end) {
  @media (min-width: 600px) {
    .begriff-erklaerung:popover-open { inset: auto; margin: 8px 12px 8px 0; max-width: min(22em, calc(100vw - 24px)); position-area: block-end span-inline-end; position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline; }
  }
}
.nur-ohne-popover { display: none; }
@supports not selector(:popover-open) {
  .glossar { width: min(100% - 2 * var(--rand), var(--rahmen)); margin: 0 auto; padding-block: 8px var(--abstand); }
  .nur-ohne-popover { display: block; font-family: var(--titel); font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
  .glossar .begriff-erklaerung { position: static; max-width: 40em; margin-top: 12px; padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--linie); border-radius: 0; background: none; box-shadow: none; }
  .begriff-zu { display: none; }
}

@supports (field-sizing: content) { #f-nachricht { field-sizing: content; min-height: calc(3lh + 29px); max-height: calc(12lh + 29px); } }

.nur-druck { display: none; }
kbd { padding: 1px 6px; border: 1px solid var(--linie-stark); border-bottom-width: 2px; border-radius: 6px; background: var(--weiss); color: var(--tinte); font-family: var(--text); font-size: .88em; font-weight: 650; white-space: nowrap; }
@media (forced-colors: active) {
  .nicht-sache { text-decoration-color: CanvasText; }
  .ks-balken { border: 1px solid CanvasText; background: Canvas; }
  .ks-balken i { forced-color-adjust: none; background: CanvasText; box-shadow: none; }
  .ks-wahl { border: 1px solid ButtonText; }
  .ks-wahl input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .zu-zweit-ehrlich li::before { forced-color-adjust: none; background: CanvasText; }
  .begriff { text-decoration-color: LinkText; }
}

@supports (content-visibility: auto) and (overflow-clip-margin: 1px) {
  @media screen and (min-width: 900px) {
    .kostenschieber { content-visibility: auto; overflow-clip-margin: 12px; contain-intrinsic-block-size: auto 664px; }
  }
  @media screen and (min-width: 1000px) {
    .kostenschieber { contain-intrinsic-block-size: auto 670px; }
  }
  @media screen and (min-width: 1280px) {
    .nicht-erleben, .zu-zweit { content-visibility: auto; overflow-clip-margin: 12px; }
    .nicht-erleben { contain-intrinsic-block-size: auto 167px; }
    .zu-zweit { contain-intrinsic-block-size: auto 295px; }
  }
}
/* === Ende r12 Worte === */

/* === r13 Nah: in assets/nah.css (im <body> der Startseite geladen) === */

/* === r13 Seiten (README «Inhaltsseiten»): Fuss-Spalte «Für Ihren Betrieb» auf allen Nahweb-Seiten === */
@media (min-width: 900px) and (max-width: 1199px) {
  .fuss-oben { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fuss-marke { grid-column: 1 / -1; }
}
@media (min-width: 1200px) { .fuss-oben { grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); } }
.fall-branchen { margin-top: clamp(18px, 5vw, 56px); max-width: 44em; font-size: 16.5px; line-height: 1.55; color: var(--nacht-text); text-wrap: pretty; }
.fall-branchen a, .ks-ratgeber a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.fall-branchen a { color: var(--papier); text-decoration-color: var(--orange); white-space: nowrap; }
@media (hover: hover) { .fall-branchen a:hover { color: #FF9677; } .ks-ratgeber a:hover { color: var(--orange-text); } }
.ks-ratgeber { margin-top: 12px; max-width: 46em; font-size: 15.5px; line-height: 1.55; color: var(--tinte-2); }
.ks-ratgeber a { color: var(--tinte); }
@media print { .fall-branchen, .ks-ratgeber { display: none !important; } }
/* === Ende r13 Seiten === */

/* === r13 Abschluss: in assets/nah.css === */

/* === r13 Skizze (README «Website neu zeichnen»): Weg zum Werkzeug im Satz unter dem Hauptknopf des Helds === */
.zusage-fuer a { color: var(--tinte); font-weight: 650; text-underline-offset: .2em; }
@media (hover: hover) { .zusage-fuer a:hover { color: var(--orange-text); } }
/* === Ende r13 Skizze === */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .kopf, .leiste, .fortschritt, .menue, .bewegung-knopf, .bewegung-zeile, .buehne-eingabe, .buehne-figur, .fall-medien, .fall-buehne,
  .sprung, .nach-oben, .menue-knopf, .kopf-nav, .formular-karte, .ablauf-schluss, .werk-qr { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; stroke-dashoffset: 0 !important; }
  .dunkel, .fuss, .paket-premium, .zahl, .fragen-hilfe { background: none !important; color: #000 !important; box-shadow: none !important; }
  .dunkel *, .fuss *, .paket-premium *, .zahl * { color: #000 !important; }
  .paket, .schritt, .frage, .kosten, .zahl, .person, .karte, .versprechen { break-inside: avoid; }
  .held { padding-top: 0; }
  section { padding-block: 24px !important; }
  h1, h2, h3, .titel-gross, .abschnitt-lead, summary { break-after: avoid; page-break-after: avoid; }
}
@media (forced-colors: active) {
  .held-titel, .titel-gross, .neben-titel, .fall-name, .recht-titel { line-height: 1.15; }
  .satz-titel { line-height: 1.05; }
  .satz-titel em { line-height: 1; }
  .knopf, .menue-knopf, .leiste-knopf { border: 2px solid ButtonText; }
  .leiste { background-color: Canvas; }
  .wahl span { border: 1px solid ButtonText; }
  .wahl input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .wahl.wahl[data-demo] input:checked + span { background: Highlight; color: HighlightText; }
  .menue-striche i, .umfang-zeichen::before, .umfang-zeichen::after, .frage-zeichen::before, .frage-zeichen::after { forced-color-adjust: none; background: CanvasText; }
  .js .fall:not(.ist-aktiv) :is(.fall-name, .fall-nutzen, .fall-merkmale) { opacity: 1; }
  .wahl::before { display: none; }
  .fall-punkte li::before, .fall-punkte li::after { forced-color-adjust: none; background: CanvasText; }
  .fall-punkte li::after { background: Highlight; }
  .schritt-nr::after { forced-color-adjust: none; color: Highlight; -webkit-text-stroke-color: Highlight; }
}
@media (max-width: 299px) {
  .wahl { grid-template-columns: 1fr; border-radius: 22px; }
}
@media (max-width: 359px) {
  .paket-band { position: static; align-self: flex-start; margin: -6px 0 14px; border-radius: 14px; }
}
