/* KETA Onepager. Fassung 4: hell, schmale Versal-Überschriften, Rot als Aktionsfarbe. */

@font-face {
  font-family: "Archivo KETA";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Caveat KETA";
  src: url("../fonts/caveat-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* ───────────── Grundlagen ───────────── */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, figure, address { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; border-radius: 0; }
a { color: inherit; }
svg, img { display: block; }
img { max-width: 100%; }
address { font-style: normal; }
fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; }

:root {
  --weiss: #fcfcfa;
  --hell: #f1f0ec;
  --schwarz: #151617;
  --grau: #5d5f61;
  --linie: rgba(21, 22, 23, .14);
  --rot: #d1202a;
  --rot-dunkel: #a8141d;
  --auf-dunkel: #f5f4f0;
  --auf-dunkel-2: #a9aaab;
  --papier: #f6f6f3;
  --tinte: #131313;
  --tinte-2: #5c5c5a;
  --haar-papier: rgba(19, 19, 19, .16);
  --kuli: #2b46b9;

  --aus: cubic-bezier(.22, .68, .18, 1);
  --stift: cubic-bezier(.4, 0, .2, 1);

  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --gap: clamp(1rem, 2.4vw, 2.5rem);
  --sek: clamp(4rem, 8vw, 7rem);
  --kopf: 76px;
}
@media (max-width: 1023.98px) { :root { --kopf: 64px; } }

html {
  font-family: "Archivo KETA", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--kopf);
  background: var(--weiss);
}
html.menue-offen { overflow: hidden; }
body {
  background: var(--weiss);
  color: var(--schwarz);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--schwarz); color: var(--weiss); }
:focus-visible { outline: 2px solid var(--rot); outline-offset: 3px; }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--schwarz); color: var(--weiss); padding: .75rem 1rem;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; outline-color: var(--rot); }

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

/* ───────────── Schrift ───────────── */
.t-h1, .t-h2 {
  font-stretch: 75%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .005em;
}
.t-h1 { font-size: clamp(2.75rem, 7.2vw, 6.5rem); line-height: .95; }
.t-h2 { font-size: clamp(2rem, 4.4vw, 3.75rem); line-height: 1; }
.t-lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.45; font-weight: 400; }
.t-versal { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.3; }
.t-spalte { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; line-height: 1.3; }
.t-kuli { font-family: "Caveat KETA", cursive; font-weight: 600; color: var(--kuli); line-height: 1; }
.grau { color: var(--grau); }

/* Zeile der H1: Polster, damit nichts angeschnitten ist; die Ränder heben es wieder auf */
.t-h1 { display: flex; flex-direction: column; }
.dz { display: block; overflow: hidden; padding: .12em .06em; margin: -.12em -.06em; white-space: nowrap; }
.dz__i { display: block; }

/* ───────────── Knöpfe und Links ───────────── */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .95em 1.4em;
  background: var(--rot); color: var(--weiss);
  border: 2px solid var(--rot); border-radius: 4px;
  font-size: .9375rem; font-weight: 600; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color 160ms linear, border-color 160ms linear, color 160ms linear;
}
.knopf:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); }
.knopf--rand { background: transparent; color: var(--schwarz); border-color: var(--schwarz); }
.knopf--rand:hover { background: var(--schwarz); border-color: var(--schwarz); color: var(--weiss); }

.link {
  display: inline-block;
  padding-block: calc((44px - 1lh) / 2); margin-block: calc((44px - 1lh) / -2);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em;
  border: 0; background: none; cursor: pointer; font: inherit; color: inherit;
  transition: color 160ms linear;
}
.link:hover { color: var(--rot); }
.link--stark { font-weight: 700; color: var(--schwarz); }
.link--stark:hover { color: var(--rot); }

/* ───────────── Infozeile und Kopf ───────────── */
.info { position: relative; z-index: 70; background: var(--schwarz); color: var(--auf-dunkel); font-size: 13.5px; line-height: 1.2; }
.info :focus-visible { outline-color: var(--auf-dunkel); }
.info__innen { height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.info__tel { display: flex; align-items: center; height: 44px; font-weight: 700; text-decoration: none; }
.info__tel:hover { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 719.98px) {
  .info__adresse { display: none; }
  .info__innen { justify-content: flex-end; }
}

.kopf {
  position: sticky; top: 0; z-index: 60;
  height: var(--kopf); background: var(--weiss); border-bottom: 1px solid var(--linie);
}
.kopf__innen { height: 100%; display: flex; align-items: center; gap: 1rem; }
.kopf__logo { display: flex; align-items: center; min-height: 44px; margin-right: auto; color: var(--schwarz); }
.logo { height: 20px; width: auto; shape-rendering: geometricPrecision; }
.kopf__nav { display: flex; align-items: center; gap: 2rem; margin-right: 1rem; }
.kopf__nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: .9375rem; font-weight: 600; text-decoration: none;
}
.kopf__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 7px; height: 2px; background: var(--rot);
  transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--aus);
}
.kopf__nav a:hover::after, .kopf__nav a[aria-current]::after { transform: scaleX(1); }

.kopf__menue { display: none; width: 48px; height: 48px; margin-right: -12px; border: 0; background: none; cursor: pointer; position: relative; color: var(--schwarz); }
.kopf__menue span {
  position: absolute; left: 12px; width: 24px; height: 2px; background: currentColor;
  top: 50%; margin-top: -1px; transition: transform 300ms var(--aus), opacity 200ms linear;
}
.kopf__menue span:nth-child(1) { transform: translateY(-8px); }
.kopf__menue span:nth-child(3) { transform: translateY(8px); }
html.menue-offen .kopf__menue span:nth-child(1) { transform: rotate(45deg); }
html.menue-offen .kopf__menue span:nth-child(2) { transform: scaleX(0); opacity: 0; }
html.menue-offen .kopf__menue span:nth-child(3) { transform: rotate(-45deg); }

@media (max-width: 1023.98px) {
  .kopf__nav, .kopf__knopf { display: none; }
  .kopf__menue { display: block; }
  .logo { height: 18px; }
  html.kein-js .kopf__menue { display: none; }
  html.kein-js .kopf__knopf { display: inline-flex; }
}

.menue {
  position: fixed; left: 0; right: 0; bottom: 0; top: var(--menue-oben, var(--kopf)); z-index: 55;
  background: var(--weiss); overflow-y: auto;
  padding: .5rem var(--pad) 1.5rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  visibility: hidden; opacity: 0;
  transition: opacity 200ms linear, visibility 0s linear 200ms;
}
html.menue-offen .menue { visibility: visible; opacity: 1; transition-delay: 0s; }
.menue__liste li { border-bottom: 1px solid var(--linie); }
.menue__liste a { display: flex; align-items: center; min-height: 44px; padding-block: 1rem; text-decoration: none; }
.menue__liste a:hover { color: var(--rot); }
.menue__fuss { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.menue__tel { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 1024px) { .menue { display: none; } }

/* ───────────── Abschnitte ───────────── */
.sek { padding-block: var(--sek); }
.sek--linie { border-top: 1px solid var(--linie); }
.sek--hell { background: var(--hell); }

.raster { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2rem; align-items: center; }

.foto { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--hell); }
.foto img { width: 100%; height: 100%; object-fit: cover; }

.absatz { margin-top: 1rem; max-width: 34rem; }
.aktion-knopf { margin-top: 1.75rem; }
.aktion-zweit { margin-top: .5rem; }
.foto__link { display: block; width: 100%; height: 100%; }
.foto__link img { transition: transform 500ms var(--aus); }
.foto__link:hover img { transform: scale(1.03); }

.liste__titel { margin-top: 1.75rem; }
.liste { margin-top: .6rem; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 1.5rem; }
.liste li { border-top: 1px solid var(--linie); padding-block: .6rem; }
@media (min-width: 720px) { .liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (min-width: 1024px) {
  .raster { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 0; }
  .foto--l { grid-column: 1 / span 6; grid-row: 1; }
  .text--r { grid-column: 8 / span 5; grid-row: 1; }
  .text--l { grid-column: 1 / span 5; grid-row: 1; }
  .foto--r { grid-column: 7 / span 6; grid-row: 1; }
  .text--k { grid-column: 1 / span 5; grid-row: 1; }
  .foto--k { grid-column: 7 / span 6; grid-row: 1; }
}

/* ───────────── Einstieg ───────────── */
.start { position: relative; background: var(--weiss); }
.start__foto { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hell); }
.start__foto img { width: 100%; height: 100%; object-fit: cover; }
.start__text { padding-block: 2rem 3rem; }
.start__lead { margin-top: 1.25rem; max-width: 30ch; }
.start__knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.start__anruf { margin-top: 1.25rem; color: var(--grau); }
@media (max-width: 719.98px) { .start__foto { aspect-ratio: 16 / 11; } }
@media (min-width: 1024px) {
  .start { display: flex; align-items: center; min-height: max(32rem, min(78svh, 44rem)); }
  .start__foto {
    position: absolute; top: 0; bottom: 0; right: 0; left: calc(50% + var(--gap) / 2);
    aspect-ratio: auto;
  }
  .start .wrap { position: relative; }
  .start__text { padding-block: 2.5rem; width: calc(50% - var(--gap) / 2); }
}

/* ───────────── Band ───────────── */
.band { background: var(--schwarz); color: var(--auf-dunkel); padding-block: clamp(3.5rem, 7vw, 6rem); }
.band :focus-visible { outline-color: var(--auf-dunkel); }
.band__raster { align-items: end; row-gap: 2rem; }
.band__lead { margin-top: 1rem; max-width: 44ch; color: var(--auf-dunkel-2); }
@media (min-width: 1024px) {
  .band__text { grid-column: 1 / span 8; }
  .band__knopf { grid-column: 9 / span 4; justify-self: end; }
}

/* ───────────── Anfrage ───────────── */
.anfrage .raster { align-items: start; row-gap: 3rem; }
.anfrage__links .t-lead { margin-top: 1.25rem; max-width: 26rem; }
.anfrage__tel { margin-top: 2rem; }
.anfrage__nr {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: .25rem; text-decoration: none;
  font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.1;
}
.anfrage__nr:hover { color: var(--rot); }
@media (min-width: 1024px) {
  .anfrage .formular { scroll-margin-top: 2.25rem; }
  .anfrage__links { grid-column: 1 / span 4; position: sticky; top: 7rem; align-self: start; }
  .anfrage__rechts { grid-column: 6 / span 7; }
}

/* Das Anfrageblatt: ein Blatt Papier */
.formular {
  position: relative; background: var(--papier); color: var(--tinte);
  padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: 0 1px 0 var(--linie);
  scroll-margin-top: 1rem;
}
.formular ::selection { background: var(--kuli); color: var(--papier); }
.formular :focus-visible { outline-color: var(--kuli); }
.formular .link { font-weight: 700; }
.formular .link:hover { color: var(--kuli); }
.block { margin: 0 0 2.25rem; position: relative; }
.block > legend { float: left; width: 100%; padding: 0; margin-bottom: .5rem; }
.block > legend + * { clear: both; }
.gruppentitel::after { content: ""; display: block; height: 1px; margin-top: .5rem; background: currentColor; }

.feld {
  position: relative; display: flex; align-items: baseline; gap: .9rem; min-height: 3.25rem;
  border-bottom: 1px solid var(--tinte); padding-top: .5rem;
}
.feld label { flex: none; white-space: nowrap; }
.feld input {
  flex: 1; min-width: 0; min-height: 44px; border: 0; background: none; outline: none; padding: .15rem 0 .1rem;
  font-family: "Caveat KETA", cursive; font-weight: 600; font-size: 1.75rem; line-height: 1.2; color: var(--kuli);
  caret-color: var(--kuli);
}
.feld:focus-within, .feld--fehler { border-bottom-color: var(--kuli); box-shadow: 0 1px 0 var(--kuli); }
.feld__einheit { flex: none; }
.reihe { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2rem; }
.block .feld + .reihe, .block .reihe .feld { margin-top: .25rem; }
.fehlt { position: absolute; right: 0; bottom: .35rem; font-size: 1.5rem; pointer-events: none; }
.block--anliegen > .fehlt { top: -.15rem; bottom: auto; }
.fehlt--frei { position: static; display: block; margin-top: .4rem; font-size: 1.5rem; line-height: 1.15; }
.fehlt[hidden] { display: none; }

.kreuze { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1.5rem; }
.kreuz { display: flex; align-items: center; gap: .85rem; min-height: 48px; cursor: pointer; position: relative; }
.kreuz input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.kasten { position: relative; flex: none; width: 1.5rem; height: 1.5rem; border: 1.5px solid var(--tinte); display: block; }
.kasten .haken { position: absolute; top: -.5rem; right: -.55rem; width: 1.9rem; height: 1.66rem; overflow: visible; visibility: hidden; }
.kreuz input:checked + .kasten .haken { visibility: visible; }
.kreuz input:focus-visible + .kasten { outline: 2px solid var(--kuli); outline-offset: 3px; }
.haken path {
  fill: none; stroke: var(--kuli); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke;
  stroke-width: 2.6;
}

.zeilenfeld { margin-top: 1.25rem; position: relative; }
.zeilenfeld label { display: block; margin-bottom: .35rem; }
.datei { margin-bottom: 0; }
.datei__input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.datei__knopf {
  display: flex; align-items: center; gap: .75rem; min-height: 56px; padding: .75rem 1rem; cursor: pointer;
  border: 1.5px dashed var(--tinte); line-height: 1.3; font-weight: 600; font-size: .9375rem;
  transition: background-color 160ms linear;
}
.datei__knopf:hover { background: rgba(19, 19, 19, .05); }
.datei__input:focus-visible + .datei__knopf { outline: 2px solid var(--kuli); outline-offset: 3px; }
.datei__icon { flex: none; width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.datei__liste { margin-top: .25rem; }
.datei__liste li { display: flex; align-items: center; gap: .75rem; border-bottom: 1px solid var(--haar-papier); min-height: 48px; }
.datei__name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .9375rem; }
.datei__gr { flex: none; color: var(--tinte-2); font-size: .8125rem; }
.datei__weg { flex: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.datei__weg svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.datei__weg:hover { color: var(--rot-dunkel); }

.keta-falle { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 1.5rem; }

.danke { display: none; padding-block: clamp(2.5rem, 6vw, 4.5rem); outline: none; }
.danke__text { font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 700; line-height: 1.2; max-width: 26ch; }
body.zustand-danke .danke { display: block; }
body.zustand-danke #formular { display: none; }

.zeilenfeld textarea {
  display: block; width: 100%; resize: none; border: 0; outline: none; background-color: transparent; padding: 0;
  font-family: "Caveat KETA", cursive; font-weight: 600; font-size: 1.75rem; color: var(--kuli); caret-color: var(--kuli);
  line-height: 2.5rem; height: 10rem;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(2.5rem - 1px), var(--tinte) calc(2.5rem - 1px), var(--tinte) 2.5rem);
  background-attachment: local; overflow: hidden;
}
.zeilenfeld textarea:focus { background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(2.5rem - 1px), var(--kuli) calc(2.5rem - 1px), var(--kuli) 2.5rem); }

.aktion { position: relative; margin-top: 1.75rem; }
.knopf--voll { width: 100%; }
.knopf:disabled { opacity: .6; cursor: progress; }
.meldung { margin-top: 1rem; min-height: 1.5em; font-weight: 600; color: var(--rot-dunkel); }
.meldung:empty { margin-top: 0; min-height: 0; }

@media (min-width: 720px) {
  .reihe--kontakt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .reihe:not(.reihe--kontakt) { grid-template-columns: auto minmax(0, 1fr); }
  .reihe .feld--jahr label + input { width: 4.2ch; flex: none; }
  .kreuze { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719.98px) {
  .formular { padding: 1.25rem; }
  .reihe .feld--jahr input { max-width: 5.5rem; flex: none; }
}

/* ───────────── Kontakt ───────────── */
.adresse { margin-top: 1.25rem; font-size: 1.375rem; font-weight: 600; line-height: 1.35; }
.kontakt__reihe { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.75rem; }
.kontakt__reihe .link { font-weight: 700; }

/* ───────────── Fuss ───────────── */
.fuss { background: var(--schwarz); color: var(--auf-dunkel); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.fuss :focus-visible { outline-color: var(--auf-dunkel); }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; text-underline-offset: .2em; }
.fuss__raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.logo--fuss { height: 22px; }
.fuss__zusatz { margin-top: 1rem; color: var(--auf-dunkel-2); }
.fuss__nav a, .fuss__adresse a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss__adresse address { margin-bottom: .25rem; }
@media (min-width: 720px) { .fuss__nav { margin-top: -10px; } }
.fuss__zeile {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem;
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: .5rem; border-top: 1px solid rgba(245, 244, 240, .16);
  font-size: 13px; line-height: 1.5; color: var(--auf-dunkel-2);
}
.fuss__zeile a { display: inline-flex; align-items: center; min-height: 44px; color: var(--auf-dunkel-2); }
.fuss__zeile a:hover { color: var(--auf-dunkel); }
@media (min-width: 720px) {
  .fuss__raster { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .fuss__marke { grid-column: 1 / span 5; }
  .fuss__nav { grid-column: 6 / span 3; }
  .fuss__adresse { grid-column: 9 / span 4; }
}
/* Credit der Agentur (handbuch/CREDIT.md): Wortlaut und Link fest. Schrift und Grösse der
   Schlusszeile (Archivo, 13px), der Schnitt wie auf jeder Site. Farbe das Agentur-Gold als
   Token: #ad8330 auf --schwarz mit 5.23:1 (CREDIT.md 3.2, Stufe für dunkle Footer), auch
   beim Hover; Rückmeldung ist die Unterstreichung der Fuss-Links. Herz als SVG in
   currentColor. Mittig (CREDIT.md 3.4): bis 1023px als eigene Zeile unter Copyright und
   «Nach oben», ab 1024px im Raster zwischen beiden auf einer Höhe. Im HTML steht er
   zuletzt, das ist die Reihenfolge am Handy. Tap-Ziel 44px wie die übrigen Fuss-Links. */
.fuss { --credit: #ad8330; }
.fuss__zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.fuss .credit, .fuss .credit:hover { color: var(--credit); }
.fuss .credit {
  display: block; grid-column: 1 / -1; justify-self: center; padding-block: calc((44px - 2lh) / 2);
  font-weight: 400; font-style: normal; letter-spacing: normal; text-transform: none; line-height: 1.5; opacity: 1;
  text-align: center;
}
.credit__herz { display: inline-block; width: 1.1em; height: 1.1em; margin-inline-start: .1em; vertical-align: -.2em; }
@media (min-width: 1024px) {
  .fuss__zeile { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .fuss__zeile > a:not(.credit) { grid-area: 1 / 3; justify-self: end; }
  .fuss .credit { grid-area: 1 / 2; }
}

/* ───────────── Bewegung ───────────── */
@media (prefers-reduced-motion: no-preference) {
  /* Einstieg: Foto blendet ein, Zeilen fahren hoch, danach Vorspann und Knöpfe */
  html.js .lade--foto { opacity: 0; }
  html.js .lade--foto.ist-da { opacity: 1; transition: opacity 500ms linear; }
  html.js .dz__i { transform: translateY(110%); }
  html.js .start.ist-da .dz__i { transform: none; transition: transform 600ms var(--aus) calc(var(--z, 0) * 90ms); }
  html.js .lade--text { opacity: 0; }
  html.js .lade--text.ist-da { opacity: 1; transition: opacity 300ms linear calc(300ms + var(--i, 0) * 100ms); }

  /* Scrollen: einmal je Element */
  html.js .rv { opacity: 0; }
  html.js .rv.ist-da { opacity: 1; transition: opacity 300ms linear; }
  html.js .rv-foto { opacity: 0; transform: translateX(-24px); }
  html.js .rv-foto--r { transform: translateX(24px); }
  html.js .rv-foto.ist-da { opacity: 1; transform: none; transition: opacity 600ms var(--aus), transform 600ms var(--aus); }
  @media (max-width: 1023.98px) {
    html.js .rv-foto, html.js .rv-foto--r { transform: none; }
  }

  /* Stift: Zeichnen und Handschrift */
  html.js .haken path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  html.js .kreuz input:checked + .kasten .haken path { stroke-dashoffset: 0; transition: stroke-dashoffset 220ms var(--stift); }
  html.js .schreibt { clip-path: inset(-15% 100% -15% -5%); }
  html.js .schreibt.ist-da { clip-path: inset(-15% -5% -15% -5%); transition: clip-path calc(var(--n, 10) * 45ms) linear; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* WhatsApp-Knopf unten rechts, wie auf den anderen Sites der Agentur (harb, navido, solarama, sairas):
   rund, WhatsApp-Grün, grüner Schatten, hebt sich beim Zeigen leicht; immer sichtbar. Liegt unter Kopfzeile und Handy-Menü. */
.wa-knopf {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 45px rgba(37, 211, 102, .38);
  transition: transform .25s var(--aus);
}
.wa-knopf:hover { transform: translateY(-4px) scale(1.04); }
.wa-knopf:focus-visible { outline: 2px solid var(--schwarz); outline-offset: 3px; }
.wa-knopf svg { width: 34px; height: 34px; }
@media (max-width: 1100px) {
  .wa-knopf { width: 56px; height: 56px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .wa-knopf svg { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .wa-knopf { transition: none; } .wa-knopf:hover { transform: none; } }
@media print { .wa-knopf { display: none; } }

/* ───────────── Rechtstexte und 404: schlichte Textspalte ───────────── */
.recht { min-height: 60vh; }
.recht__spalte { max-width: 44rem; }
.recht__spalte > * + * { margin-top: 1rem; }
.recht__spalte .t-h2 { margin-bottom: 1.5rem; }
.recht__h { margin-top: 2.25rem !important; font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }
.recht__adresse { font-style: normal; font-size: 1.125rem; font-weight: 600; line-height: 1.5; }
.recht__weiter { margin-top: 2.5rem !important; padding-top: 1.25rem; border-top: 1px solid var(--linie); }
.recht .link { font-weight: 600; }
