/* ==========================================================================
   H+W IMMO – Stylesheet
   Farben stehen NUR in den Variablen unter :root (unten der Dunkelmodus).
   Leitmotive aus der Visitenkarte: rote Schrägfläche, Serifen-„H+W“,
   feine Konstruktionslinien, die über die Ecken hinausstehen.
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, kein Google-Abruf) ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/cormorant-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/cormorant-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Farben & Maße ---------- */
:root {
  --rot: #BD264A;          /* Markenrot aus den Logodateien */
  --rot-tief: #9B1C3B;
  --rot-text: #BD264A;     /* Rot als Schriftfarbe (im Dunkelmodus heller) */
  --rot-zart: #FAE9EE;
  --auf-weiss-rot: #9B1C3B;

  --papier: #FBF9F6;       /* Kartenweiß, leicht warm */
  --flaeche: #FFFFFF;
  --flaeche-2: #F3EFEA;
  --tinte: #1D1D1B;        /* Logo-Schwarz */
  --tinte-2: #5C5755;
  --linie: #E6E0DA;
  --linie-stark: #CFC7C0;
  --grau-fl: #C6C6C6;      /* Logo-Grau */
  --feld-rand: #8A827D;    /* Ränder von Eingabefeldern: mind. 3:1 (WCAG 1.4.11) */

  --fuss: #1D1D1B;
  --fuss-text: #EDE8E4;
  --fuss-text-2: #ABA49F;
  --fuss-rot: #F07A93;

  --ok: #2E7D4F;
  --markiert-bg: #FFF2B3;
  --markiert-fg: #5A4500;

  --schatten: 0 1px 2px rgb(40 20 20 / .05), 0 14px 34px -14px rgb(40 20 20 / .18);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --huelle: 1200px;
  --rand: clamp(16px, 4vw, 32px);
  --kopf-hoehe: 76px;
  --radius: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --rot: #C42E55;
    --rot-tief: #A3224A;
    --rot-text: #F07A93;
    --rot-zart: #3A1A24;

    --papier: #131112;
    --flaeche: #1B1819;
    --flaeche-2: #1F1B1C;
    --tinte: #F3EEEB;
    --tinte-2: #BDB5B1;
    --linie: #2F2A2B;
    --linie-stark: #4A4243;
    --grau-fl: #8F8A88;
    --feld-rand: #8A8280;

    --fuss: #0C0B0B;

    --ok: #5CC28A;
    --markiert-bg: #4A3F10;
    --markiert-fg: #FFE58A;

    --schatten: 0 1px 2px rgb(0 0 0 / .35), 0 14px 34px -14px rgb(0 0 0 / .7);
  }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html { scroll-padding-top: calc(var(--kopf-hoehe) + 1rem); scroll-padding-bottom: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.005em;
  color: var(--tinte);
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem); }
h3 { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.8rem); }
[hidden] { display: none !important; }
::selection { background: var(--rot); color: #fff; }
:focus-visible { outline: 2px solid var(--rot-text); outline-offset: 3px; border-radius: 2px; }
.hero__rot :focus-visible, .seitenkopf__rot :focus-visible, .aufruf :focus-visible, .testband :focus-visible { outline-color: #fff; }
::placeholder { color: var(--tinte-2); opacity: 1; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprunglink {
  position: absolute; left: var(--rand); top: -100px; z-index: 100;
  background: var(--rot); color: #fff; padding: .7rem 1rem; font-weight: 600; text-decoration: none;
}
.sprunglink:focus { top: .75rem; }

.huelle {
  width: 100%;
  max-width: calc(var(--huelle) + 2 * var(--rand));
  margin-inline: auto;
  padding-inline: var(--rand);
}

/* ---------- Logo-Zeichnung (Haus / Imbisswagen) ---------- */
.zeichnung { --strich: 2.2; --strich-fein: 1.2; overflow: visible; }
.zeichnung .z-linie {
  fill: none; stroke: currentColor; stroke-width: var(--strich);
  stroke-linecap: square; stroke-linejoin: miter;
}
.zeichnung .z-fein { stroke-width: var(--strich-fein); }
.zeichnung .z-rot { fill: var(--rot); }
.zeichnung .z-grau { fill: var(--grau-fl); }
.zeichnung .z-dunkel { fill: currentColor; }
.zeichnung .z-grund { fill: var(--flaeche-2); }

@media (prefers-reduced-motion: no-preference) {
  .zeichnung--animiert .z-linie {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: zeichnen 1.1s var(--ease) forwards;
    animation-delay: calc(var(--i, 0) * 80ms + 250ms);
  }
  .zeichnung--animiert .z-flaeche {
    opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(.15);
    animation: aufbauen .9s var(--ease) forwards;
    animation-delay: calc(var(--i, 0) * 80ms + 650ms);
  }
}
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
@keyframes aufbauen { to { opacity: 1; transform: none; } }

/* ---------- Logo-Teile (aus den Original-Logos vektorisiert, werkzeug/logos_vektor.py) ---------- */
.logo-teil { display: block; overflow: visible; }
.lv-schwarz { fill: currentColor; }
.lv-rot { fill: var(--rot); }
.lv-grau { fill: var(--grau-fl); }
.lv-zusatz { fill: var(--rot-text); }
@media (prefers-reduced-motion: no-preference) {
  .logo-teil--animiert { animation: wischen 1.4s var(--ease) .15s both; }
  .logo-teil--animiert .lv-rot, .logo-teil--animiert .lv-grau { animation: aufblenden .9s var(--ease) 1.05s both; }
}
@keyframes wischen { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Das Haus, das sich zeichnet (Startseite rechts, Seitenköpfe; build.py: haus_linien_svg).
   Ohne Bewegungswunsch bleiben die Linien unsichtbar und das Original steht sofort da. */
.lz-striche { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .logo-zeichnet .lz-striche { display: inline; animation: lz-weg .5s ease 2.95s both; }
  .logo-zeichnet .lz-strich {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: lz-zeichnen var(--d, .5s) cubic-bezier(.6, .05, .3, 1) var(--v, 0s) forwards;
  }
  .logo-zeichnet .lz-flaeche { animation: lz-steigen .65s var(--ease) var(--v, 2.2s) both; }
  .logo-zeichnet .lz-original { animation: aufblenden .5s ease 2.85s both; }
}
@keyframes lz-zeichnen { to { stroke-dashoffset: 0; } }
@keyframes lz-steigen { from { clip-path: inset(100% 0 0 0); opacity: .2; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes lz-weg { to { opacity: 0; } }
@keyframes aufblenden { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Marke ---------- */
.marke { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--tinte); }
.marke__haus { height: 34px; width: auto; flex: none; }
.marke__text { display: flex; flex-direction: column; gap: 5px; flex: none; }
.marke__text .logo-teil { width: 76px; height: auto; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--papier);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
@supports (backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px)) {
  .kopf {
    background: color-mix(in srgb, var(--papier) 86%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
  }
}
.kopf--gescrollt { border-bottom-color: var(--linie); box-shadow: 0 8px 26px -20px rgb(0 0 0 / .45); }
.kopf__huelle { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--kopf-hoehe); }

.nav { display: flex; align-items: center; gap: .5rem; }
.nav__liste { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: .55rem .85rem;
  font-size: .93rem; font-weight: 500; text-decoration: none; color: var(--tinte-2);
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 1.5px;
  background: var(--rot); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--tinte); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: .6rem; }

.nav-knopf {
  display: none; width: 46px; height: 46px; padding: 0; margin-right: -8px;
  border: 0; background: transparent; color: var(--tinte); cursor: pointer; border-radius: var(--radius);
}
.nav-knopf span { display: block; width: 24px; height: 1.75px; margin: 5px auto; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav-knopf[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
.nav-knopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-knopf[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); }

@media (max-width: 899px) {
  :root { --kopf-hoehe: 68px; }
  .marke__haus { height: 30px; }
  .marke__text .logo-teil { width: 68px; }
  .js .nav-knopf { display: block; }
  .js .nav {
    position: fixed; left: 0; right: 0; top: var(--kopf-hoehe);
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    max-height: calc(100dvh - var(--kopf-hoehe)); overflow-y: auto;
    padding: 1.5rem var(--rand) 2rem;
    background: var(--papier); border-bottom: 1px solid var(--linie);
    box-shadow: 0 30px 40px -30px rgb(0 0 0 / .35);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .js .nav.ist-offen { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .js .nav__liste { flex-direction: column; gap: 0; }
  .js .nav__link {
    padding: .9rem 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 600; color: var(--tinte);
    border-bottom: 1px solid var(--linie);
  }
  .js .nav__link::after { left: 0; right: auto; width: 40px; bottom: -1px; }
  .js .nav__cta { margin: 0; width: 100%; }
  html:not(.js) .kopf__huelle { flex-wrap: wrap; padding-block: .75rem; }
  html:not(.js) .nav { flex-wrap: wrap; }
}
body.nav-offen { overflow: hidden; }

/* ---------- Knöpfe ---------- */
.knopf {
  --k-bg: transparent; --k-fg: var(--tinte); --k-rand: var(--linie-stark);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.35rem;
  border: 1.5px solid var(--k-rand); border-radius: var(--radius);
  background: var(--k-bg); color: var(--k-fg);
  font: 600 .95rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease), box-shadow .25s;
}
.knopf svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.knopf:hover svg.pfeil { transform: translateX(3px); }
.knopf:active { transform: translateY(1px); }
.knopf[disabled] { opacity: .6; cursor: progress; }
.knopf--rot { --k-bg: var(--rot); --k-fg: #fff; --k-rand: var(--rot); }
.knopf--rot:hover { --k-bg: var(--rot-tief); --k-rand: var(--rot-tief); box-shadow: 0 10px 24px -14px var(--rot); }
.knopf--weiss { --k-bg: #fff; --k-fg: var(--auf-weiss-rot); --k-rand: #fff; }
.knopf--weiss:hover { --k-bg: #FBEFF0; --k-rand: #FBEFF0; }
.knopf--hellrahmen { --k-fg: #fff; --k-rand: rgb(255 255 255 / .65); }
.knopf--hellrahmen:hover { --k-bg: rgb(255 255 255 / .12); --k-rand: #fff; }
.knopf--rahmen { --k-rand: var(--tinte); }
.knopf--rahmen:hover { --k-bg: var(--tinte); --k-fg: var(--papier); }
.knopf--klein { min-height: 42px; padding: .55rem 1.05rem; font-size: .88rem; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; }

.textlink {
  font-weight: 600; color: var(--rot-text);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.textlink:hover { text-decoration-thickness: 2px; }
button.textlink { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Vorzeile / Abschnitte ---------- */
.vorzeile {
  display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 1rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--rot-text);
}
.vorzeile::before { content: ""; width: 28px; height: 1.5px; background: currentColor; flex: none; }
.vorzeile--hell { color: #fff; }

.abschnitt { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.abschnitt--flaeche { background: var(--flaeche-2); }
.abschnitt--eng { padding-block: clamp(3rem, 2.5rem + 3vw, 5rem); }
.abschnitt__kopf { max-width: 46rem; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.abschnitt__kopf--mitte { margin-inline: auto; text-align: center; }
.abschnitt__lead { font-size: 1.08rem; color: var(--tinte-2); margin: 1.1rem 0 0; }

.raster { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.raster--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.raster--geraete { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }

.zweispaltig { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .zweispaltig { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }

/* ---------- Karte mit Konstruktionslinien ---------- */
.karte {
  position: relative;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 0;
  transition: border-color .35s, box-shadow .35s, transform .35s var(--ease);
}
.karte::before, .karte::after {
  content: ""; position: absolute; pointer-events: none;
  background: var(--linie-stark);
  transition: width .45s var(--ease), height .45s var(--ease), background-color .35s;
}
.karte::before { left: -11px; top: -1px; width: 46px; height: 1px; }
.karte::after { left: -1px; top: -11px; width: 1px; height: 46px; }
.karte:hover { border-color: var(--linie-stark); box-shadow: var(--schatten); transform: translateY(-3px); }
.karte:hover::before { width: 96px; background: var(--rot); }
.karte:hover::after { height: 96px; background: var(--rot); }
.karte--ruhig:hover { transform: none; box-shadow: none; }
.karte__link { text-decoration: none; }
.karte__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.karte__link:focus-visible { outline: none; }
.karte:has(.karte__link:focus-visible) { outline: 2px solid var(--rot-text); outline-offset: 4px; }

.etikett {
  display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--tinte-2); line-height: 1.4;
}
.etikett--platzhalter {
  border: 1px dashed var(--linie-stark); padding: .15rem .5rem; border-radius: 2px; letter-spacing: .1em;
}

/* ---------- Startseite: Hero ---------- */
.hero { position: relative; display: grid; isolation: isolate; }
.hero__rot {
  grid-area: 1 / 1;
  color: #fff;
  background-color: var(--rot);
  background-image:
    radial-gradient(120% 140% at 0% 0%, rgb(255 255 255 / .10), transparent 55%),
    linear-gradient(165deg, transparent 45%, rgb(0 0 0 / .14));
  padding-block: clamp(3.25rem, 7vw, 6rem) clamp(6.5rem, 12vw, 10rem);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(44px, 9vw, 96px)), 0 100%);
}
.hero__text { max-width: 36rem; }
.hero__titel {
  color: #fff; font-size: clamp(3rem, 1.7rem + 5.4vw, 5.6rem);
  line-height: .98; letter-spacing: -.012em; margin-bottom: 1.5rem;
}
.hero__lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem); color: rgb(255 255 255 / .93); max-width: 31rem; margin-bottom: 2rem; }
.hero__bild {
  grid-area: 2 / 1; justify-self: end;
  width: min(84%, 460px);
  margin: -3.25rem var(--rand) 1.5rem 0;
  color: var(--tinte);
  --strich: 1.15; --strich-fein: .65;
}
@media (min-width: 1000px) {
  .hero { min-height: clamp(620px, 84vh, 780px); }
  .hero__rot {
    clip-path: polygon(0 0, 68% 0, 79% 56%, 0 100%);
    padding-block: clamp(4.5rem, 8vw, 6.5rem) 12rem;
  }
  .hero__text { max-width: min(36rem, 46vw); }
  .hero__bild {
    grid-area: 1 / 1; align-self: end; justify-self: end;
    width: min(35vw, 500px);
    margin: 0 max(var(--rand), calc((100% - var(--huelle)) / 2)) clamp(2rem, 4vw, 3.5rem) 0;
    --strich: 1.05; --strich-fein: .6;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__text > * { animation: auftauchen .9s var(--ease) both; }
  .hero__text > :nth-child(2) { animation-delay: .08s; }
  .hero__text > :nth-child(3) { animation-delay: .16s; }
  .hero__text > :nth-child(4) { animation-delay: .24s; }
}
@keyframes auftauchen { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Unterseiten: Seitenkopf ---------- */
.seitenkopf { position: relative; display: grid; isolation: isolate; }
.seitenkopf__rot {
  grid-area: 1 / 1;
  color: #fff;
  background-color: var(--rot);
  background-image:
    radial-gradient(120% 160% at 0% 0%, rgb(255 255 255 / .10), transparent 55%),
    linear-gradient(165deg, transparent 45%, rgb(0 0 0 / .14));
  padding-block: clamp(2.75rem, 6vw, 4.75rem) clamp(4.5rem, 9vw, 6.5rem);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(32px, 6vw, 64px)), 0 100%);
}
.seitenkopf h1 { color: #fff; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.4rem); margin-bottom: 1rem; }
.seitenkopf__lead { max-width: 38rem; font-size: clamp(1rem, .95rem + .3vw, 1.12rem); color: rgb(255 255 255 / .93); margin: 0; }
.seitenkopf__inhalt { max-width: 40rem; }
.seitenkopf__icon { display: none; }
.seitenkopf--schlicht .seitenkopf__rot { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.75rem, 7vw, 5rem); }
@media (min-width: 900px) {
  /* Unterkante endet bei 45 % statt in der Ecke – sonst schneidet die Schräge lange Einleitungstexte ab
     (gemessen 26.10.2026 auf allen Seiten von 920 bis 1920 px) */
  .seitenkopf__rot { clip-path: polygon(0 0, 74% 0, 83% 58%, 45% 100%, 0 100%); padding-bottom: 6.5rem; }
  .seitenkopf__inhalt { max-width: min(40rem, 62vw); }
  .seitenkopf__icon {
    display: block; grid-area: 1 / 1; align-self: end; justify-self: end;
    width: clamp(170px, 19vw, 260px);
    margin: 0 max(var(--rand), calc((100% - var(--huelle)) / 2)) 1.75rem 0;
    color: var(--tinte); --strich: 1.6; --strich-fein: .9;
  }
  .seitenkopf__icon--klein { width: clamp(110px, 10.5vw, 150px); margin-bottom: 2rem; }
  .seitenkopf__icon--mittel { width: clamp(140px, 13vw, 200px); margin-bottom: 1.75rem; }
}
.brotkrumen { font-size: .8rem; margin: 0 0 1.25rem; color: #fff; }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.brotkrumen li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.brotkrumen a { color: #fff; text-underline-offset: 3px; }

/* ---------- Kacheln (Startseite) ---------- */
.kachel { display: flex; flex-direction: column; gap: .9rem; padding: clamp(1.6rem, 2.6vw, 2.25rem); }
.kachel__icon { width: auto; height: 58px; max-width: 120px; color: var(--tinte); margin-bottom: .4rem; --strich: 4.2; --strich-fein: 2.4; }
.kachel__icon--quadrat { width: 58px; height: 58px; --strich: 1.8; --strich-fein: 1.1; }
span.kachel__icon { display: block; }
span.kachel__icon > svg { width: 100%; height: 100%; }
.kachel p { color: var(--tinte-2); margin: 0; }
.mehr {
  margin-top: auto; padding-top: .6rem; display: inline-flex; gap: .5rem; align-items: center;
  font-weight: 600; font-size: .92rem; color: var(--rot-text);
}
.mehr svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.karte:hover .mehr svg { transform: translateX(5px); }

/* ---------- Ablauf ---------- */
.schritte {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 2.25rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.schritt { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--linie-stark); }
.schritt::before { content: ""; position: absolute; top: -1px; left: 0; width: 52px; height: 2px; background: var(--rot); }
.schritt__nr { display: block; font-family: var(--serif); font-size: 3.1rem; line-height: 1; font-weight: 600; color: var(--rot-text); margin-bottom: .8rem; }
.schritt h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.schritt p { color: var(--tinte-2); margin: 0; }

/* ---------- Anlässe ---------- */
.anlaesse { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.anlaesse li {
  padding: .6rem 1.15rem; border: 1px solid var(--linie-stark); border-radius: 999px;
  background: var(--flaeche); font-size: .93rem; font-weight: 500;
  transition: border-color .25s, color .25s, transform .25s var(--ease);
}
.anlaesse li:hover { border-color: var(--rot); color: var(--rot-text); transform: translateY(-2px); }

/* ---------- Vorteile ---------- */
.vorteile { display: grid; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.vorteil { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1.1rem; align-items: start; }
.vorteil__icon {
  grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--rot-zart); color: var(--rot-text); border-radius: var(--radius);
}
.vorteil__icon svg { width: 24px; height: 24px; }
.vorteil h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.vorteil p { margin: 0; color: var(--tinte-2); }

/* ---------- Aufruf-Band ---------- */
.aufruf {
  color: #fff;
  background-color: var(--rot);
  background-image: radial-gradient(90% 140% at 100% 100%, rgb(0 0 0 / .16), transparent 60%);
  clip-path: polygon(0 clamp(28px, 5vw, 64px), 100% 0, 100% 100%, 0 100%);
  padding-block: clamp(5rem, 9vw, 7.5rem) clamp(4rem, 7vw, 5.5rem);
}
.aufruf__huelle { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .aufruf__huelle { grid-template-columns: minmax(0, 1.4fr) auto; } }
.aufruf h2 { color: #fff; }
.aufruf p { color: rgb(255 255 255 / .92); margin: 1rem 0 0; max-width: 36rem; font-size: 1.06rem; }
.aufruf__aktionen { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.aufruf__tel { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.aufruf__tel svg { width: 20px; height: 20px; }
.aufruf__tel:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Locations ---------- */
.locations-liste { display: grid; gap: clamp(2rem, 4vw, 3.25rem); }
.location { display: grid; grid-template-columns: 1fr; scroll-margin-top: calc(var(--kopf-hoehe) + 1.5rem); }
.location:hover { transform: none; }
.location__bild {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--flaeche-2); border-bottom: 1px solid var(--linie); color: var(--tinte-2);
}
.location__bild img, .location__bild svg { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.location:hover .location__bild img, .location:hover .location__bild svg { transform: scale(1.025); }
.location__bild svg { --strich: 2; --strich-fein: 1.1; }
.location__bildhinweis {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 1;
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  background: var(--flaeche); color: var(--tinte-2); border: 1px solid var(--linie); padding: .35rem .65rem;
}
.location__inhalt { padding: clamp(1.5rem, 3.2vw, 2.6rem); display: flex; flex-direction: column; gap: 1.1rem; }
.location__hauptbild { position: absolute; inset: 0; }
.location__hauptbild img { width: 100%; height: 100%; object-fit: cover; }
.location__galerie {
  position: absolute; left: .75rem; right: .75rem; bottom: .75rem; z-index: 1;
  display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding: 2px;
}
.location__galerie::-webkit-scrollbar { display: none; }
.location__daumen { flex: none; width: 64px; height: 46px; border: 2px solid #fff; border-radius: 2px; overflow: hidden; opacity: .85; box-shadow: 0 2px 8px rgb(0 0 0 / .25); }
.location__daumen img { width: 100%; height: 100%; object-fit: cover; }
.location__daumen[aria-current="true"] { opacity: 1; border-color: var(--rot); }
.location__daumen:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.location__titelzeile { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.location__titelzeile h2 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); }
.location__ort { margin: 0 0 -.35rem; }
.location__text { color: var(--tinte-2); margin: 0; font-size: 1.03rem; }
.location__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: .4rem; }
@media (min-width: 900px) {
  .location { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .location__bild { aspect-ratio: auto; min-height: 380px; border-bottom: 0; border-right: 1px solid var(--linie); }
  .location:nth-child(even) .location__bild { order: 2; border-right: 0; border-left: 1px solid var(--linie); }
}

.fakten {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 1px; margin: 0; background: var(--linie); border: 1px solid var(--linie);
}
.fakten div { background: var(--flaeche); padding: .75rem 1rem; }
.fakten dt { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tinte-2); font-weight: 600; }
.fakten dd { margin: .15rem 0 0; font-weight: 600; }

.merkmale { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.merkmale li { font-size: .84rem; padding: .32rem .8rem; background: var(--flaeche-2); border-radius: 999px; color: var(--tinte); }

/* ---------- Ausstattung ---------- */
.filterleiste {
  position: sticky; top: var(--kopf-hoehe); z-index: 20;
  margin: 0 0 2rem; padding-block: .9rem;
  background: var(--papier); border-bottom: 1px solid var(--linie);
}
.filterleiste__huelle { display: flex; flex-wrap: wrap; gap: .85rem 1.25rem; align-items: center; justify-content: space-between; }
html:not(.js) .filterleiste { display: none; }
@media (max-width: 899px), (max-height: 700px) { .filterleiste { position: static; } }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: 7px; margin: -7px; max-width: calc(100% + 14px); }
.chip:focus-visible { outline-offset: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: .5rem 1rem; min-height: 40px;
  border: 1px solid var(--linie-stark); border-radius: 999px; background: var(--flaeche);
  font: 500 .88rem/1.2 var(--sans); color: var(--tinte); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--tinte); }
.chip[aria-pressed="true"] { background: var(--tinte); color: var(--papier); border-color: var(--tinte); }
.filterleiste__rechts { display: flex; align-items: center; gap: 1rem; flex: 1 1 100%; justify-content: space-between; }
.suche { position: relative; flex: 1 1 220px; max-width: 300px; }
.suche svg { position: absolute; left: .85rem; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--tinte-2); pointer-events: none; }
.suche input {
  width: 100%; min-height: 42px; padding: .55rem .9rem .55rem 2.5rem;
  font: inherit; font-size: .92rem; color: var(--tinte);
  background: var(--flaeche); border: 1px solid var(--feld-rand); border-radius: 999px;
}
.suche input:focus { outline: 2px solid transparent; border-color: var(--rot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rot) 22%, transparent); }
.treffer { font-size: .85rem; color: var(--tinte-2); white-space: nowrap; margin: 0; }
.keine-treffer { padding: 3rem 1rem; text-align: center; color: var(--tinte-2); }

.geraet { display: flex; flex-direction: column; gap: .85rem; padding: 1.6rem 1.6rem 1.35rem; }
.geraet__bild { margin: -1.6rem -1.6rem .2rem; aspect-ratio: 4 / 3; overflow: hidden; background: var(--flaeche-2); border-bottom: 1px solid var(--linie); }
.geraet__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.geraet:hover .geraet__bild img { transform: scale(1.03); }
.geraet__etiketten--links { align-items: flex-start; text-align: left; flex-direction: row; flex-wrap: wrap; }
.geraet__kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.geraet__icon { width: 62px; height: 62px; color: var(--tinte); --strich: 1.7; --strich-fein: 1.1; }
.geraet__etiketten { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; text-align: right; }
.geraet h2 { font-size: 1.65rem; }
.geraet__text { color: var(--tinte-2); margin: 0; }
.haken { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; font-size: .9rem; }
.haken li { position: relative; padding-left: 1.4rem; }
.haken li::before { content: ""; position: absolute; left: 0; top: .78em; width: .7rem; height: 1.5px; background: var(--rot); }
.geraet__fuss {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--linie);
  display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap;
}
.geraet__fuss .textlink { font-size: .88rem; position: relative; z-index: 2; }

/* Merken-Knopf (Anfrageliste) */
.merken {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: .5rem 1rem;
  border: 1.5px solid var(--linie-stark); border-radius: var(--radius); background: transparent; color: var(--tinte);
  font: 600 .86rem/1 var(--sans); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.merken svg { width: 16px; height: 16px; flex: none; }
.merken:hover { border-color: var(--rot); color: var(--rot-text); }
.merken[aria-pressed="true"] { background: var(--rot); border-color: var(--rot); color: #fff; }
.merken__an { display: none; }
.merken[aria-pressed="true"] .merken__an { display: inline-flex; align-items: center; gap: .5rem; }
.merken[aria-pressed="true"] .merken__aus { display: none; }
.merken__aus { display: inline-flex; align-items: center; gap: .5rem; }
html:not(.js) .merken { display: none; }

.hinweisband {
  display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.hinweis { display: flex; gap: .9rem; align-items: flex-start; }
.hinweis svg { width: 22px; height: 22px; flex: none; color: var(--rot-text); margin-top: .2rem; }
.hinweis p { margin: 0; color: var(--tinte-2); font-size: .95rem; }
.hinweis strong { display: block; color: var(--tinte); font-size: 1rem; }

/* Schwebende Anfrageliste + Meldung */
.schwebe {
  position: fixed; z-index: 60;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: .65rem; padding: .7rem .8rem .7rem 1.15rem;
  background: var(--tinte); color: var(--papier); border-radius: 999px;
  font-weight: 600; font-size: .9rem; text-decoration: none; box-shadow: var(--schatten);
  transition: transform .3s var(--ease), opacity .3s;
}
.schwebe:hover { transform: translateY(-2px); }
.schwebe__zahl {
  display: grid; place-items: center; min-width: 1.75rem; height: 1.75rem; padding: 0 .4rem;
  border-radius: 999px; background: var(--rot); color: #fff; font-size: .82rem;
}
.schwebe.ist-neu .schwebe__zahl { animation: hupf .5s var(--ease); }
@keyframes hupf { 30% { transform: scale(1.35); } }

.toast {
  position: fixed; z-index: 70; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom));
  width: max-content; max-width: calc(100vw - 32px);
  padding: .75rem 1.1rem; border-radius: var(--radius);
  background: var(--flaeche); color: var(--tinte); border: 1px solid var(--linie-stark); border-left: 3px solid var(--rot);
  box-shadow: var(--schatten); font-size: .9rem;
  opacity: 0; visibility: hidden; transform: translate(-50%, 12px); pointer-events: none;
  transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s;
}
.toast.ist-da { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; transition: opacity .3s, transform .35s var(--ease); }
.toast a { color: var(--rot-text); font-weight: 600; margin-left: .35rem; }

/* ---------- Gastro ---------- */
.gastro-logo { width: min(100%, 300px); color: var(--tinte); --strich: 1.6; --strich-fein: .9; }

/* ---------- Kontakt ---------- */
.kontakt-raster { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 960px) { .kontakt-raster { grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); } }
.kontakt-aside { display: grid; gap: 1rem; }
@media (min-width: 960px) { .kontakt-aside { position: sticky; top: calc(var(--kopf-hoehe) + 1.5rem); } }
.kontaktkarte { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.35rem; }
.kontaktkarte:hover { transform: none; }
.kontaktkarte__icon {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--rot-zart); color: var(--rot-text); border-radius: var(--radius);
}
.kontaktkarte__icon svg { width: 21px; height: 21px; }
.kontaktkarte__titel { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tinte-2); font-weight: 600; margin: 0 0 .15rem; }
.kontaktkarte p { margin: 0; }
.kontaktkarte a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.kontaktkarte a:hover { color: var(--rot-text); text-decoration: underline; text-underline-offset: 3px; }
.kontaktkarte address { font-style: normal; }
.kontaktkarte .klein { font-size: .85rem; color: var(--tinte-2); margin-top: .25rem; }
.kontaktkarte .klein a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.formular { display: grid; gap: 2rem; padding: clamp(1.35rem, 3.5vw, 2.75rem); scroll-margin-top: calc(var(--kopf-hoehe) + 1rem); }
.formular:hover { transform: none; box-shadow: none; }
.feldgruppe { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; min-width: 0; }
.feldgruppe > legend { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; padding: 0; margin-bottom: 1.1rem; color: var(--tinte); }
.feldgruppe__hilfe { margin: -.4rem 0 .2rem; color: var(--tinte-2); font-size: .92rem; }
.felder-2 { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .felder-2 { grid-template-columns: 1fr 1fr; } }
.feld { display: grid; gap: .4rem; min-width: 0; align-content: start; }
.feld > label, .feld__label { font-size: .86rem; font-weight: 600; }
.pflicht { color: var(--rot-text); }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 50px; padding: .8rem .95rem;
  font: inherit; font-size: 1rem; color: var(--tinte);
  background: var(--flaeche); border: 1px solid var(--feld-rand); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.feld input[type="date"] { min-height: 50px; display: block; }
.feld select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23908884' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: 18px;
}
.feld textarea { min-height: 9.5rem; resize: vertical; line-height: 1.6; }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: 2px solid transparent; border-color: var(--rot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rot) 22%, transparent);
}
.feld [aria-invalid="true"] { border-color: var(--rot); }
.feld__fehler { font-size: .84rem; color: var(--rot-text); font-weight: 600; margin: 0; }
.feld__hilfe { font-size: .84rem; color: var(--tinte-2); margin: 0; }

.anliegen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: .6rem; }
@media (min-width: 1280px) { .anliegen { grid-template-columns: repeat(5, minmax(0, 1fr)); } .anliegen__option label { padding: .9rem .8rem; font-size: .86rem; } }
.anliegen__option { position: relative; display: flex; }
.anliegen__option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.anliegen__option label {
  flex: 1; display: flex; flex-direction: column; gap: .55rem; padding: 1rem 1.05rem;
  border: 1.5px solid var(--feld-rand); border-radius: var(--radius); background: var(--flaeche);
  font-weight: 600; font-size: .9rem; line-height: 1.3; cursor: pointer; overflow-wrap: anywhere; hyphens: auto;
  transition: border-color .2s, background-color .2s;
}
.anliegen__option label svg { width: 28px; height: 28px; color: var(--tinte-2); transition: color .2s; }
.anliegen__option label:hover { border-color: var(--tinte-2); }
.anliegen__option input:checked + label { border-color: var(--rot); background: var(--rot-zart); }
.anliegen__option input:checked + label svg { color: var(--rot-text); }
.anliegen__option input:focus-visible + label { outline: 2px solid var(--rot-text); outline-offset: 2px; }

.auswahl { border: 1px dashed var(--linie-stark); border-radius: var(--radius); padding: 1rem 1.1rem; background: var(--papier); }
.auswahl__titel { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-weight: 600; font-size: .9rem; margin: 0; }
.auswahl__titel [tabindex] { outline-offset: 2px; }
.formular__hinweis { margin: -.75rem 0 0; font-size: .86rem; color: var(--tinte-2); }
.auswahl__leer { margin: .4rem 0 0; color: var(--tinte-2); font-size: .9rem; }
.auswahl__liste { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: .75rem 0 0; padding: 0; }
.auswahl__eintrag {
  display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .35rem .3rem .85rem;
  background: var(--flaeche); border: 1px solid var(--linie-stark); border-radius: 999px; font-size: .88rem; font-weight: 500;
}
.auswahl__typ { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tinte-2); }
.auswahl__eintrag button {
  display: grid; place-items: center; width: 28px; height: 28px; padding: 0;
  border: 0; border-radius: 50%; background: var(--flaeche-2); color: var(--tinte-2); cursor: pointer;
}
.auswahl__eintrag button:hover { background: var(--rot); color: #fff; }
.auswahl__eintrag button svg { width: 14px; height: 14px; }
html:not(.js) .auswahl { display: none; }

/* Pflicht-Häkchen Datenschutz */
.zustimmung { display: grid; gap: .4rem; }
.zustimmung__zeile { display: flex; gap: .8rem; align-items: flex-start; }
.zustimmung input[type="checkbox"] {
  flex: none; width: 22px; height: 22px; margin: .15rem 0 0;
  accent-color: var(--rot); cursor: pointer;
}
.zustimmung label { font-size: .92rem; line-height: 1.55; cursor: pointer; }
.zustimmung label a { color: var(--rot-text); font-weight: 600; text-underline-offset: 3px; }
.zustimmung input[aria-invalid="true"] { outline: 2px solid var(--rot-text); outline-offset: 2px; }
.zustimmung .feld__fehler { padding-left: calc(22px + .8rem); }

.hp-feld { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.formular__fuss { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; padding-top: .5rem; border-top: 1px solid var(--linie); }
.datenschutzhinweis { font-size: .84rem; color: var(--tinte-2); margin: 0; max-width: 32rem; flex: 1 1 260px; }
.datenschutzhinweis a { color: var(--rot-text); }

.meldung { padding: 1rem 1.2rem; border-left: 3px solid var(--rot); background: var(--rot-zart); border-radius: 0 var(--radius) var(--radius) 0; }
.meldung p { margin: 0; }
.meldung p + p { margin-top: .4rem; }
.meldung a { color: var(--rot-text); font-weight: 600; }
.meldung:focus { outline: none; }

.erfolg { text-align: center; padding: clamp(2.25rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem); display: grid; justify-items: center; gap: 1rem; }
.erfolg:hover { transform: none; }
.erfolg__haken { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--rot); color: #fff; }
.erfolg__haken svg { width: 30px; height: 30px; }
.erfolg h2 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); }
.erfolg p { margin: 0; color: var(--tinte-2); max-width: 30rem; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 47rem; }
.rechtstext h2 { font-size: clamp(1.65rem, 1.35rem + 1vw, 2.1rem); margin: 2.75rem 0 .9rem; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; margin: 1.75rem 0 .5rem; }
.rechtstext p, .rechtstext li { color: var(--tinte-2); }
.rechtstext strong { color: var(--tinte); }
.rechtstext a { color: var(--rot-text); overflow-wrap: anywhere; }
.rechtstext address { font-style: normal; color: var(--tinte); margin-bottom: 1em; }
.rechtstext ul { padding-left: 1.2rem; }
.rechtstext .stand { font-size: .9rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--linie); }
.platzhalter { background: var(--markiert-bg); color: var(--markiert-fg); padding: 0 .3em; border-radius: 2px; font-weight: 600; }

/* ---------- Fußzeile ---------- */
.fuss {
  --rot-text: var(--fuss-rot); --grau-fl: #8F8A88;
  background: var(--fuss); color: var(--fuss-text);
  padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: .93rem;
}
.fuss .marke { color: var(--fuss-text); }
.fuss__raster { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.fuss__marke p { color: var(--fuss-text-2); margin: 1.2rem 0 0; max-width: 20rem; }
.fuss h2 {
  font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--fuss-text-2); font-weight: 600; margin-bottom: 1rem; line-height: 1.4;
}
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.fuss address { font-style: normal; }
.fuss a { color: var(--fuss-text); text-decoration: none; overflow-wrap: anywhere; }
.fuss a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fuss__klein { color: var(--fuss-text-2); font-size: .85rem; }
.fuss__unten {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .12);
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between;
  color: var(--fuss-text-2); font-size: .85rem;
}
.fuss__unten ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* ---------- Fehlerseite ---------- */
.fehlerseite { text-align: center; display: grid; justify-items: center; gap: 1.25rem; }
.fehlerseite__zahl { font-family: var(--serif); font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; color: var(--rot-text); font-weight: 600; }

/* ---------- Einblenden beim Scrollen ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* .reveal-an setzt erst main.js – vorher (und ohne Skript) ist alles sichtbar */
  .reveal-an [data-reveal] {
    opacity: 0; transform: translateY(22px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--verzug, 0ms);
  }
  .reveal-an [data-reveal].ist-sichtbar { opacity: 1; transform: none; }
}

/* ---------- Hinweisband der Testfassung ---------- */
.testband {
  background: #1D1B1B; color: #fff; font-size: .8rem; line-height: 1.4;
  padding: .5rem var(--rand); text-align: center;
}
.testband strong { color: #FFE58A; }

/* ---------- Windows-Kontrastmodus ---------- */
@media (forced-colors: active) {
  .anliegen__option input:checked + label { outline: 3px solid Highlight; outline-offset: -3px; }
  .chip[aria-pressed="true"], .merken[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: 2px; }
  .nav__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
  .nav__link::after, .vorzeile::before, .schritt::before, .haken li::before { background: CanvasText; }
  .karte::before, .karte::after { display: none; }
  .zeichnung .z-rot, .zeichnung .z-grau, .zeichnung .z-dunkel { fill: CanvasText; }
  .hero__rot, .seitenkopf__rot, .aufruf { border-bottom: 2px solid CanvasText; }
}

/* ---------- Druck ---------- */
@media print {
  .kopf, .schwebe, .toast, .aufruf, .filterleiste, .merken, .hero__bild, .seitenkopf__icon, .testband { display: none !important; }
  body { background: #fff; color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__rot, .seitenkopf__rot { clip-path: none; background: none; color: #000; padding-block: 1rem; }
  .hero__titel, .seitenkopf h1, .seitenkopf__lead, .hero__lead, .brotkrumen, .brotkrumen a, .vorzeile--hell { color: #000; }
  .knopf--weiss, .knopf--hellrahmen { color: #000; border-color: #000; background: none; }
  .fuss { background: #fff; color: #000; border-top: 1px solid #000; }
  .fuss a, .fuss .marke, .fuss__marke p, .fuss h2, .fuss__unten { color: #000; }
}
