/* Webwerkstatt Porrmann – gemeinsame Gestaltung
   Statisch, ohne JavaScript, ohne externe Ressourcen.
   Schriften: Manrope (Überschriften) und Inter (Text), lokal, OFL-1.1. */

@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600.woff2") format("woff2"); }

/* ---------- Farben und Maße ---------- */
:root {
  --marke: #1f5e46;
  --marke-hover: #174a37;
  --marke-sanft: #e8f1ec;
  --marke-hell: #8fd1b4;       /* Akzent auf dunklem Grund */
  --anthrazit: #171717;
  --dunkel: #111214;
  --text: #202020;
  --text-leise: #5f5f5f;
  --grund: #fafaf9;
  --weiss: #ffffff;
  --rand: #e7e7e7;
  --text-auf-dunkel: #f5f4f2;
  --leise-auf-dunkel: #a8a6a2;
  --linie-auf-dunkel: #2a2b2e;

  --schatten-s: 0 1px 2px rgba(23, 23, 23, .05);
  --schatten-m: 0 10px 30px -12px rgba(23, 23, 23, .18);
  --schatten-l: 0 30px 60px -24px rgba(23, 23, 23, .30);

  --display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-s: 6px;
  --r: 10px;
  --r-l: 16px;
  --tempo: 180ms cubic-bezier(.2, .7, .2, 1);

  --gutter: 16px;
  --maxw: 1240px;
  --section: 48px;
  --callbar-space: calc(96px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section: 64px; --callbar-space: 0px; }
}
@media (min-width: 1024px) {
  :root { --section: 72px; }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  scroll-padding-bottom: var(--callbar-space);
  background-color: var(--grund);
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  overflow-wrap: break-word;
}

h1, h2, h3, p, ul, ol { margin: 0; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--anthrazit);
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h2 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem); font-weight: 800; max-width: 22ch; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }

p { max-width: 64ch; text-wrap: pretty; }
p + p { margin-top: 14px; }

ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
strong { font-weight: 600; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Links und Fokus ---------- */
a {
  color: var(--marke);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--tempo), background-color var(--tempo), border-color var(--tempo), box-shadow var(--tempo), transform var(--tempo);
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--marke); outline-offset: 3px; }
.dunkel :focus-visible,
.kontakt-band :focus-visible,
.person-tafel :focus-visible,
.preiskarte-dunkel :focus-visible,
.anrufleiste:focus-visible { outline-color: var(--weiss); }

.nowrap { white-space: nowrap; }

/* ---------- Sprunglink ---------- */
.sprunglink {
  position: absolute; left: var(--gutter); top: 8px; z-index: 60;
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px;
  border-radius: var(--r); background: var(--weiss); color: var(--anthrazit);
  font-weight: 600; box-shadow: var(--schatten-m); transform: translateY(-200%);
}
.sprunglink:focus { transform: none; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.abschnitt { padding-block: max(32px, calc(var(--section) * .55)) var(--section); }
.flaeche-weiss { background: var(--weiss); border-block: 1px solid var(--rand); }
.flaeche-grau { background: #f1f1ee; }

/* ---------- Überzeile ---------- */
.vorzeile {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--marke);
}
.vorzeile::before { content: ""; width: 22px; height: 2px; background: currentColor; flex: none; }

.abschnitt-kopf { margin-bottom: 40px; }
.abschnitt-intro { margin-top: 20px; font-size: 1.125rem; color: var(--text-leise); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border: 1px solid var(--rand); border-radius: var(--r-s);
  background: var(--weiss); color: var(--anthrazit);
  font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -.005em;
  text-decoration: none; box-shadow: var(--schatten-s);
}
.knopf:hover { border-color: var(--anthrazit); text-decoration: underline; }

.knopf-primaer { background: var(--marke); border-color: var(--marke); color: var(--weiss); }
.knopf-primaer:hover { background: var(--marke-hover); border-color: var(--marke-hover); color: var(--weiss); box-shadow: 0 10px 22px -10px rgba(31, 94, 70, .8); transform: translateY(-1px); }

.knopf-hell { background: var(--weiss); border-color: var(--weiss); color: var(--marke) !important; }
.knopf-hell:hover { background: var(--marke-sanft); }

.pfeillink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--display); font-weight: 700; text-decoration: none; }
.pfeillink:hover { text-decoration: underline; }
.pfeillink .icon { transition: transform var(--tempo); }
.pfeillink:hover .icon { transform: translateX(3px); }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 40;
  background: var(--weiss);
  border-bottom: 1px solid var(--rand);
  box-shadow: var(--schatten-s);
}

.kopf-innen {
  display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px;
  min-height: 64px; padding-block: 8px;
}

.marke { display: inline-flex; align-items: center; gap: 12px; color: var(--anthrazit); text-decoration: none; margin-right: auto; min-height: 44px; }
.marke-zeichen {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: var(--r); background: var(--marke); color: var(--weiss);
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
}
.marke-text { display: grid; }
.marke-name { font-family: var(--display); font-weight: 800; font-size: 1.0625rem; line-height: 1.2; letter-spacing: -.02em; }
.marke-unter { display: none; font-size: .8125rem; line-height: 1.3; color: var(--text-leise); }

.navi { order: 3; width: 100%; }
.navi ul { display: flex; flex-wrap: wrap; gap: 0 4px; list-style: none; margin: 0 0 0 -10px; padding: 0; }
.navi a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  border-radius: var(--r-s);
  font-family: var(--display); font-weight: 700; font-size: .975rem;
  color: var(--anthrazit); text-decoration: none;
}
.navi a:hover { color: var(--marke); text-decoration: underline; }

.kopf-telefon {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: var(--r-s); background: var(--marke); color: var(--weiss);
  font-family: var(--display); font-weight: 700; font-size: .975rem; text-decoration: none; white-space: nowrap;
}
.kopf-telefon .icon { width: 18px; height: 18px; }
.kopf-telefon:hover { background: var(--marke-hover); color: var(--weiss); text-decoration: underline; }

/* Menü am Handy (ohne JavaScript, Checkbox) */
.menue-schalter { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.menue-knopf {
  order: 2; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--rand); border-radius: var(--r-s); background: var(--weiss);
  font-family: var(--display); font-weight: 700; font-size: .9375rem; color: var(--anthrazit);
  cursor: pointer; user-select: none;
}
.menue-schalter:focus-visible + .menue-knopf { outline: 3px solid var(--marke); outline-offset: 2px; }
.menue-linien { position: relative; width: 18px; height: 12px; }
.menue-linien::before, .menue-linien::after, .menue-linien span {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform var(--tempo), opacity var(--tempo);
}
.menue-linien::before { top: 0; }
.menue-linien span { top: 5px; }
.menue-linien::after { top: 10px; }
.menue-schalter:checked + .menue-knopf .menue-linien::before { transform: translateY(5px) rotate(45deg); }
.menue-schalter:checked + .menue-knopf .menue-linien span { opacity: 0; }
.menue-schalter:checked + .menue-knopf .menue-linien::after { transform: translateY(-5px) rotate(-45deg); }
.kopf-telefon { order: 1; }
@media (max-width: 1199px) {
  .kopf-innen { column-gap: 12px; }
  .navi { display: none; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rand); }
  .menue-schalter:checked ~ .navi { display: block; }
  .navi ul { display: grid; gap: 2px; margin: 0; }
  .navi a { display: flex; width: 100%; min-height: 48px; padding: 0 12px; font-size: 1.0625rem; }
  .navi a:hover { background: var(--marke-sanft); text-decoration: none; }
}
@media (max-width: 479px) { .menue-wort { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .menue-knopf { width: 44px; padding: 0; justify-content: center; } }
@media (min-width: 1200px) { .menue-knopf, .menue-schalter { display: none; } .kopf-telefon { order: 0; } }
@media (max-width: 1199px) { .marke { flex: 1 1 0; min-width: 0; } }
/* Offenes Handy-Menü scrollt mit der Seite weg, statt den Inhalt zu verdecken */
.kopf:has(.menue-schalter:checked) { position: relative; }
@media (max-width: 359px) { .marke { gap: 8px; } .marke-zeichen { width: 36px; height: 36px; } .marke-name { font-size: .9375rem; } }

@media (min-width: 560px) { .marke-unter { display: block; } }
@media (min-width: 768px) { .kopf-telefon { display: inline-flex; } }
@media (min-width: 1200px) {
  .kopf-innen { min-height: 76px; flex-wrap: nowrap; }
  .navi { order: 0; width: auto; }
  .navi ul { margin: 0; gap: 0 8px; }
  .marke-name { font-size: 1.1875rem; }
}

/* ---------- Einstieg ---------- */
.einstieg { padding-block: 28px 56px; overflow: clip; }

.einstieg-raster { display: grid; gap: 48px; align-items: center; }
.einstieg-raster > * { min-width: 0; }
.einstieg-raster > .leiste { margin-top: 0; }

.einstieg h1 {
  font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.5rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -.035em;
  max-width: 13ch;
}
.akzent { color: var(--marke); }

.einleitung { margin-top: 22px; font-size: 1.1875rem; line-height: 1.6; color: var(--text-leise); max-width: 40ch; }

.knopfzeile { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.einstieg-nummer { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: .9375rem; color: var(--text-leise); }
.einstieg-nummer .icon { width: 18px; height: 18px; color: var(--marke); }

@media (min-width: 768px) { .einstieg { padding-block: 56px 24px; } .einleitung { font-size: 1.25rem; } }
@media (min-width: 1024px) {
  .einstieg { padding-block: 64px 24px; }
  .einstieg-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; }
  .einstieg-raster > .skizze { grid-column: 2; grid-row: 1; }
  .einstieg-raster > .leiste { grid-column: 1 / -1; grid-row: 2; margin-top: -8px; }
  .einstieg h1 { font-size: clamp(3rem, 0.75rem + 4.2vw, 4.5rem); max-width: none; }
}

/* ---------- Website-Skizze (nur Dekoration) ---------- */
.skizze { position: relative; padding: 0 0 36px; max-width: 640px; }
@media (min-width: 480px) { .skizze { padding-bottom: 84px; } }

.browser {
  position: relative;
  border-radius: var(--r-l);
  background: var(--weiss);
  border: 1px solid var(--rand);
  box-shadow: var(--schatten-l);
  overflow: hidden;
}
.browser-leiste { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--rand); background: #f4f4f2; }
.browser-leiste > span { width: 10px; height: 10px; border-radius: 50%; background: #d9d8d4; }
.browser-adresse {
  margin-left: 12px; flex: 1; max-width: 220px; padding: 3px 12px;
  border-radius: 999px; background: var(--weiss); border: 1px solid var(--rand);
  font-size: .75rem; color: var(--text-leise);
}

/* Schriftgrößen skalieren mit der Breite des Browserfensters bzw. Handys */
.browser-seite { container-type: inline-size; padding: 16px 18px 20px; }
.skizze span, .skizze b { display: block; }
.skizze .icon { width: 1.15em; height: 1.15em; flex: none; }

.s-kopf { display: flex; align-items: center; gap: 3.2cqw; padding-bottom: 2.4cqw; border-bottom: 1px solid #f0f0ee; font-size: 1.75cqw; }
.s-logo { display: flex !important; align-items: center; gap: .5em; font-family: var(--display); font-weight: 800; color: var(--anthrazit); letter-spacing: -.01em; }
.s-logo b { display: grid !important; place-items: center; width: 1.9em; height: 1.9em; border-radius: .45em; background: var(--marke); color: var(--weiss); font-size: .8em; }
.s-kopf .s-logo { font-size: 2.1cqw; }
.s-nav { color: var(--text-leise); font-weight: 500; }
.s-kopf .s-nav:first-of-type { margin-left: auto; }
.s-tel, .s-knopf {
  display: inline-flex !important; align-items: center; gap: .45em; width: max-content;
  padding: .55em .95em; border-radius: .45em; background: var(--marke); color: var(--weiss);
  font-family: var(--display); font-weight: 700; line-height: 1;
}

.s-held { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.6cqw; align-items: center; padding: 4cqw 0 3.6cqw; }
.s-vorzeile { font-size: 1.55cqw; font-weight: 600; color: var(--marke); }
.s-titel { margin-top: .35em; font-family: var(--display); font-weight: 800; font-size: 3.7cqw; line-height: 1.12; letter-spacing: -.02em; color: var(--anthrazit); }
.s-text { margin-top: .8em; font-size: 1.7cqw; line-height: 1.5; color: var(--text-leise); }
.s-held .s-knopf { margin-top: 2.6cqw; font-size: 1.7cqw; }
.s-szene { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 1.6cqw; }

.s-karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8cqw; font-size: 1.45cqw; }
.s-karten > span { padding: 1.6cqw 1.8cqw; border-radius: 1.3cqw; border: 1px solid #ecebe8; background: #fbfbfa; color: var(--text-leise); line-height: 1.35; }
.s-karten .icon { width: 2.6cqw; height: 2.6cqw; color: var(--marke); margin-bottom: .6em; }
.s-karten b { font-family: var(--display); font-weight: 700; color: var(--anthrazit); font-size: 1.15em; margin-bottom: .15em; }

.handy {
  position: absolute; right: -6px; bottom: 0; width: 34%; max-width: 190px; min-width: 120px;
  padding: 8px; border-radius: 26px; background: var(--anthrazit);
  box-shadow: var(--schatten-l);
}
.handy-seite { container-type: inline-size; padding: 14px 10px 12px; border-radius: 19px; background: var(--weiss); overflow: hidden; }
.h-kopf { display: flex; align-items: center; justify-content: space-between; padding-bottom: 5cqw; margin-bottom: 6cqw; border-bottom: 1px solid #f0f0ee; font-size: 7cqw; }
.h-kopf .icon { width: 9cqw; height: 9cqw; color: var(--anthrazit); }
.handy-seite .s-titel { margin: 0; font-size: 10cqw; }
.handy-seite .s-szene { margin-top: 6cqw; aspect-ratio: 16 / 10; border-radius: 5cqw; }
.handy-seite .s-text { margin-top: 5cqw; font-size: 6.5cqw; }
.s-voll { width: 100% !important; justify-content: center; margin-top: 5cqw; font-size: 7cqw; }

.skizze-marke {
  position: absolute; left: 20px; bottom: 6px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--weiss); border: 1px solid var(--rand); box-shadow: var(--schatten-m);
  font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.2; color: var(--anthrazit);
}
.skizze-marke .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--marke); color: var(--weiss); stroke-width: 3; }

@media (max-width: 479px) {
  .skizze-marke { display: none; }
  .browser-seite { padding: 12px 12px 16px; }
  .s-nav { display: none; }
  .s-kopf .s-tel { margin-left: auto; }
}

/* ---------- Leiste unter dem Einstieg ---------- */
.leiste {
  display: grid; gap: 0;
  margin-top: 48px; padding: 8px;
  border: 1px solid var(--rand); border-radius: var(--r-l);
  background: var(--weiss); box-shadow: var(--schatten-m);
}
.leiste li { display: flex; align-items: center; gap: 14px; padding: 0; font-family: var(--display); font-weight: 700; color: var(--anthrazit); }
.leiste li + li { border-top: 1px solid var(--rand); }
.leiste-icon, .punkt-icon, .karte-icon {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: var(--r); background: var(--marke-sanft); color: var(--marke);
}

@media (min-width: 768px) {
  .leiste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leiste li + li { border-top: 0; border-left: 1px solid var(--rand); }
}

/* ---------- Geteilte Bereiche ---------- */
.geteilt { display: grid; gap: 40px; }
.geteilt > * { min-width: 0; }
@media (min-width: 1024px) { .geteilt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; } }

/* ---------- Leistungskarten ---------- */
.karten { display: grid; gap: 20px; }
.karten > * { min-width: 0; }
@media (min-width: 1024px) { .karten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.karte {
  display: flex; flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--rand); border-radius: var(--r-l);
  background: var(--weiss); box-shadow: var(--schatten-s);
  transition: transform var(--tempo), box-shadow var(--tempo), border-color var(--tempo);
}
.karte:hover { transform: translateY(-4px); box-shadow: var(--schatten-m); border-color: #d6d6d3; }
@media (min-width: 768px) { .karte { padding: 32px; } }

.karte h3 + p { margin-top: 12px; color: var(--text-leise); }

.hinweis {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 28px; padding: 18px 20px;
  border-radius: var(--r); background: var(--marke-sanft); color: #1d3b30;
  max-width: none;
}
.hinweis .icon { margin-top: 3px; color: var(--marke); }

/* ---------- Preise ---------- */
.preise { display: grid; gap: 16px; align-items: stretch; }
.preise > * { min-width: 0; }

.preiskarte {
  padding: 32px 26px;
  border: 1px solid var(--rand); border-radius: var(--r-l);
  background: var(--grund); box-shadow: var(--schatten-s);
}
.preiskarte-dunkel {
  background: var(--dunkel); border-color: var(--dunkel); color: var(--text-auf-dunkel);
  box-shadow: var(--schatten-l);
}
.preiskarte-dunkel h3 { color: var(--weiss); }

.preis { margin-block: 18px 20px; padding-bottom: 20px; border-bottom: 1px solid var(--rand); }
.preiskarte-dunkel .preis { border-bottom-color: var(--linie-auf-dunkel); }

.preis-vor {
  display: inline-block; margin-bottom: 10px; padding: 3px 10px;
  border-radius: var(--r-s); background: var(--marke-hell); color: var(--dunkel);
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.preis-zahl {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: 3.25rem; line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--anthrazit);
}
.preiskarte-dunkel .preis-zahl { color: var(--weiss); }
.preis-takt { display: block; margin-top: 10px; font-size: .9375rem; font-weight: 500; color: var(--text-leise); }
.preiskarte-dunkel .preis-takt { color: var(--leise-auf-dunkel); }
.preiskarte-dunkel > p:last-child { color: #d9d7d3; }
.steuer { white-space: nowrap; }

.preis-plus {
  display: grid; place-items: center; justify-self: center;
  width: 44px; height: 44px; margin-block: -6px;
  border-radius: 50%; background: var(--weiss); border: 1px solid var(--rand); box-shadow: var(--schatten-m);
  font-family: var(--display); font-weight: 800; font-size: 1.375rem; color: var(--anthrazit);
  position: relative; z-index: 1;
}

.preisliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.preisliste li { display: flex; gap: 12px; align-items: flex-start; }
.preisliste .icon { margin-top: 2px; color: var(--marke); stroke-width: 2.5; }
.preiskarte-dunkel .preisliste .icon { color: var(--marke-hell); }
.preiskarte-dunkel .preisliste li { color: #d9d7d3; }
.preis-notiz { margin-top: 20px; font-size: .9375rem; color: var(--text-leise); }
.preiskarte-dunkel .preis-notiz { color: var(--leise-auf-dunkel); }

.preis-oder { width: 56px; height: 56px; font-size: 1rem; letter-spacing: .02em; }

@media (min-width: 768px) {
  .preise { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
  .preise .preiskarte { align-self: stretch; padding: 40px; }
  .preis-plus { margin: 0 -10px; }
  .preis-zahl { font-size: 4rem; }
}

.preise-fuss { display: grid; gap: 12px; margin-top: 32px; color: var(--text-leise); }
.preise-fuss p + p { margin-top: 0; }

/* ---------- Ablauf (dunkel) ---------- */
.dunkel { background: var(--dunkel); color: var(--text-auf-dunkel); }
.dunkel h2, .dunkel h3 { color: var(--weiss); }
.dunkel .vorzeile { color: var(--marke-hell); }

.schritte { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--linie-auf-dunkel); }
.schritt { padding: 28px 0; border-bottom: 1px solid var(--linie-auf-dunkel); }
.schritt-nummer {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--display); font-weight: 800; font-size: .9375rem; letter-spacing: .1em; color: var(--marke-hell);
}
.schritt p { margin-top: 10px; color: var(--leise-auf-dunkel); }

@media (min-width: 1024px) {
  .schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; }
  .schritt { padding: 8px 36px 8px 0; border-bottom: 0; border-top: 2px solid var(--linie-auf-dunkel); padding-top: 28px; position: relative; }
  .schritt + .schritt { padding-left: 0; }
  .schritt::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 2px; background: var(--marke-hell); }
}

/* ---------- Person ---------- */
.geteilt-karte {
  padding: 16px;
  border: 1px solid var(--rand); border-radius: var(--r-l);
  background: var(--weiss); box-shadow: var(--schatten-m);
}
@media (min-width: 1024px) {
  .geteilt-karte { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; padding: 16px 56px 16px 16px; }
}

.person-tafel {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  min-height: 400px; padding: 32px;
  border-radius: 12px; color: var(--weiss); background: #123829;
}
.person-name { margin-top: 40px; font-family: var(--display); font-weight: 800; font-size: 1.75rem; letter-spacing: -.02em; line-height: 1.15; }
.person-rolle { margin-top: 4px; color: rgba(255, 255, 255, .85); font-size: .9375rem; }
.person-tafel .knopf { margin-top: 24px; }

.person-text { padding: 16px 8px 24px; }
.person-text h2 { margin-bottom: 20px; }
.person-text > p:not(.vorzeile) { color: var(--text-leise); }
@media (min-width: 1024px) { .person-text { padding: 32px 0; } .person-tafel { min-height: 440px; } }

/* ---------- Kontakt ---------- */
.kontakt { padding-bottom: var(--section); }
.kontakt-band {
  display: grid; gap: 32px; align-items: start;
  padding: 40px 24px;
  border-radius: var(--r-l);
  background:
    radial-gradient(40rem 22rem at 100% 0%, rgba(143, 209, 180, .22), transparent 65%),
    var(--marke);
  color: var(--weiss);
  box-shadow: var(--schatten-l);
}
.kontakt-band > * { min-width: 0; }
.kontakt-band h2 { color: var(--weiss); }
.kontakt-band a { color: var(--weiss); }
.kontakt-text p { margin-top: 18px; color: rgba(255, 255, 255, .9); }

.kontakt-zuordnung { margin-top: 14px; font-weight: 600; }
.kontakt-angaben p + p { margin-top: 8px; }
.kontakt-angaben > p:nth-of-type(2) { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .22); }

@media (min-width: 768px) {
  .kontakt-band { padding: 56px; }
}
@media (min-width: 1024px) {
  .kontakt-band { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding: 72px; }
}

/* ---------- Kontaktformular ---------- */
.kontakt-text .kontakt-angaben { margin-top: 28px; }
.kontakt-form {
  display: grid; gap: 16px;
  padding: 24px; border-radius: var(--r-l);
  background: var(--weiss); color: var(--text); box-shadow: var(--schatten-m);
}
.kontakt-band .kontakt-form a { color: var(--marke); }
.feld { display: grid; gap: 6px; min-width: 0; }
.feld label { font-weight: 600; font-size: .9375rem; color: var(--anthrazit); }
.feld .pflicht { color: var(--marke); }
.feld .freiwillig { font-weight: 400; color: var(--text-leise); }
.feld input, .feld textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid #8a8a85; border-radius: var(--r-s);
  background: var(--weiss); color: var(--text);
  font: inherit; font-size: 1rem;
}
.feld textarea { min-height: 140px; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: 3px solid var(--marke-hell); outline-offset: 1px; border-color: var(--marke); }
.feld-falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-hinweis { font-size: .9375rem; color: var(--text-leise); }
.kontakt-form .knopf { width: 100%; cursor: pointer; }
@media (min-width: 640px) {
  .kontakt-form { grid-template-columns: 1fr 1fr; padding: 32px; }
  .feld-breit { grid-column: 1 / -1; }
}

/* Inhaltsfläche hell (body ist für Safari 26 dunkel) */
main { display: block; background: var(--grund); }

/* Vertrauenszeile im Einstieg */
.vertrauen { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 18px 0 0; padding: 0; font-size: .9375rem; font-weight: 600; color: var(--anthrazit); }
.vertrauen li { display: inline-flex; align-items: center; gap: 6px; }
.vertrauen .icon { width: 18px; height: 18px; color: var(--marke); flex: none; }

/* Häufige Fragen (aufklappbar ohne JavaScript) */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq-eintrag { border: 1px solid var(--rand); border-radius: var(--r); background: var(--weiss); }
.faq-eintrag summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 18px; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: 1.0625rem; color: var(--anthrazit);
}
.faq-eintrag summary::-webkit-details-marker { display: none; }
.faq-eintrag summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--marke); }
.faq-eintrag[open] summary::after { content: "–"; }
.faq-eintrag summary:hover { color: var(--marke); }
.faq-eintrag summary:focus-visible { outline: 3px solid var(--marke); outline-offset: 2px; border-radius: var(--r); }
.faq-eintrag p { margin: 0; padding: 0 18px 18px; color: var(--text-leise); }

/* Fehlerseiten 404/403 */
.meldung { max-width: 640px; }
.meldung p { margin-top: 16px; font-size: 1.125rem; }
.meldung .knopfzeile { margin-top: 28px; }

/* Fehlermeldung im Formular (vom Server) */
.form-fehler { padding: 14px 16px; border-radius: var(--r-s); background: #fbeaea; color: #8a2b2b; font-weight: 600; border-left: 4px solid #a33a3a; }
.feld [aria-invalid="true"] { border-color: #a33a3a; }

/* Feste Leiste am Handy: nichts Fokussiertes verdecken */
:where(a, button, input, textarea, label, summary) { scroll-margin-bottom: calc(var(--callbar-space) + 8px); }
body:has(.kontakt :focus) .anrufdock { display: none; }

/* ---------- Popup nach dem Senden (ohne JavaScript, über :target) ---------- */
.popup { display: none; position: fixed; inset: 0; z-index: 100; place-items: center; padding: 16px; }
.popup:target { display: grid; }
.popup-hintergrund { position: absolute; inset: 0; background: rgba(17, 18, 20, .55); }
.popup-karte {
  position: relative; width: min(100%, 460px);
  padding: 32px 28px; border-radius: var(--r-l);
  background: var(--weiss); color: var(--text); box-shadow: var(--schatten-l);
  text-align: center;
}
.popup-karte h2 { font-size: 1.5rem; line-height: 1.25; }
.popup-karte p { margin-top: 12px; color: var(--text-leise); }
.popup-karte a:not(.knopf) { color: var(--marke); }
.popup-karte .knopf { margin-top: 24px; width: 100%; }
.popup-zeichen { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; background: var(--marke-sanft); color: var(--marke); }
.popup-zeichen .icon { width: 28px; height: 28px; }
.popup-zeichen-fehler { background: #fbeaea; color: #a33a3a; }

/* ---------- Rechtliche Seiten ---------- */
.textseite { padding-block: 40px var(--section); }
.textseite-spalte {
  max-width: 820px; padding: 28px 20px;
  border: 1px solid var(--rand); border-radius: var(--r-l);
  background: var(--weiss); box-shadow: var(--schatten-s);
}
.textseite h1 { font-size: 2.25rem; font-weight: 800; letter-spacing: -.035em; }
.textseite h2 { margin-top: 40px; font-size: 1.375rem; font-weight: 700; max-width: none; }
.textseite h1 + h2 { margin-top: 28px; }
.textseite h2 + p, .textseite h2 + address { margin-top: 10px; }
.textseite address { font-style: normal; }
.textseite .zurueck { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rand); }
.textseite .zurueck a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-weight: 700; }
@media (min-width: 768px) {
  .textseite { padding-top: 64px; }
  .textseite-spalte { padding: 56px; }
  .textseite h1 { font-size: 3rem; }
  .textseite h2 { font-size: 1.5rem; }
}

/* ---------- Fußzeile ---------- */
.fuss {
  background: var(--dunkel); color: var(--leise-auf-dunkel);
  padding-block: 48px calc(28px + var(--callbar-space));
  font-size: .9375rem; line-height: 1.6;
}
.fuss a { color: var(--text-auf-dunkel); text-decoration: none; }
.fuss a:hover { color: var(--marke-hell); text-decoration: underline; }
.fuss-raster { display: grid; gap: 32px; }
.fuss-raster > * { min-width: 0; }
.fuss-marke { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 1.125rem; letter-spacing: -.02em; }
.fuss-marke .marke-zeichen { background: var(--marke); }
.fuss-claim { margin-top: 12px; }
.fuss-titel { margin-bottom: 8px; font-family: var(--display); font-weight: 700; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--marke-hell); }
.fuss address { font-style: normal; }
.fuss-kontakt p:last-child a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.fuss-links ul { display: grid; list-style: none; margin: 0; padding: 0; }
.fuss-links a { display: inline-flex; align-items: center; min-height: 40px; }
.fuss-links a[aria-current="page"] { color: var(--marke-hell); font-weight: 600; }
.fuss-unten { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--linie-auf-dunkel); font-size: .8125rem; }
@media (min-width: 768px) {
  .fuss-raster { grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
}

/* ---------- Mobile Anrufleiste ---------- */
.anrufdock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 50;
}
.anrufleiste {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px; padding: 10px 12px 10px 20px;
  border-radius: var(--r-l); background: var(--marke); color: var(--weiss);
  text-decoration: none;
}

/* Safari 26 (Liquid Glass) färbt seine Leisten nach dem Seitenhintergrund (html/body).
   Normal hell; assets/js/glas.js setzt .fuss-sichtbar, sobald die Fußzeile unten ankommt,
   dann ist der Hintergrund dunkel wie die Fußzeile. Die Inhaltsfläche (main) bleibt hell. */
html.fuss-sichtbar, html.fuss-sichtbar body { background-color: var(--dunkel); }
.anrufleiste-text { display: grid; }
.anrufleiste-titel { font-size: .8125rem; line-height: 1.1rem; opacity: .9; }
.anrufleiste-nummer { font-family: var(--display); font-weight: 800; font-size: 1.25rem; line-height: 1.5rem; white-space: nowrap; }
.anrufleiste-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: var(--weiss); color: var(--marke); }
.anrufleiste:hover .anrufleiste-nummer { text-decoration: underline; text-underline-offset: 3px; }
.anrufleiste:focus-visible { outline: 3px solid var(--weiss); outline-offset: -7px; }
@media (min-width: 768px) { .anrufdock { display: none; } }

/* ---------- Bewegung und Druck ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .karte:hover, .knopf-primaer:hover { transform: none; }
}

@media print {
  .anrufdock, .sprunglink, .navi, .skizze, .menue-knopf, .kopf-telefon, .kontakt-form, .popup { display: none !important; }
  .kopf { position: static; box-shadow: none; }
  html, body, main { padding-bottom: 0; background: #fff; }
  .dunkel, .preiskarte-dunkel, .kontakt-band, .person-tafel { background: #fff !important; color: var(--text) !important; box-shadow: none; border: 1px solid var(--text); }
  .dunkel h2, .dunkel h3, .kontakt-band h2, .preiskarte-dunkel h3, .preiskarte-dunkel .preis-zahl { color: var(--text) !important; }
  .fuss { background: #fff !important; color: var(--text) !important; border-top: 1px solid var(--text); padding-bottom: 28px; }
  .fuss a, .fuss-titel, .fuss-links a[aria-current="page"] { color: var(--text) !important; }
  .kontakt-band a, .kontakt-text p { color: var(--text) !important; }
}

.kontakt-notfall { font-size: .9375rem; opacity: .85; }
.einstieg-nummer { overflow-wrap: anywhere; }

/* ---------- Nutzen (drei Spalten) ---------- */
.nutzen { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.nutzen li { padding-top: 24px; border-top: 2px solid var(--marke); }
.nutzen h3 { margin-top: 18px; font-size: 1.25rem; }
.nutzen p { margin-top: 8px; color: var(--text-leise); max-width: 34ch; }
@media (min-width: 768px) { .nutzen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 1200px) { .nutzen { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Leistungskarten mit Liste und Etikett ---------- */
.karte > .karte-icon { margin-bottom: 22px; }
.karte h3 + p { margin-top: 8px; }
.karte-liste { margin-top: 22px; margin-bottom: 28px; padding-top: 22px; border-top: 1px solid var(--rand); gap: 10px; font-size: .975rem; }
.karte-etikett {
  align-self: flex-start; margin-top: auto; padding: 6px 12px; border-radius: 999px;
  background: #f1f1ef; color: var(--text); font-size: .8125rem; font-weight: 600;
}
.karte-etikett-marke { background: var(--marke-sanft); color: var(--marke); }

/* ---------- Leiste: zwei Angebote ---------- */
.leiste-angebot {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 12px;
  border-radius: var(--r); color: var(--anthrazit); text-decoration: none;
  transition: background var(--tempo);
}
.leiste-angebot:hover { background: var(--marke-sanft); }
.leiste-text { display: grid; min-width: 0; }
.leiste-titel { font-family: var(--display); font-weight: 700; }
.leiste-zusatz { font-family: var(--body); font-weight: 400; font-size: .9375rem; color: var(--text-leise); }
.leiste-preis { margin-left: auto; font-family: var(--display); font-weight: 800; font-size: 1.375rem; color: var(--marke); white-space: nowrap; }
.leiste-pfeil { display: grid; color: var(--marke); transition: transform var(--tempo); }
.leiste-angebot:hover .leiste-pfeil { transform: translateX(3px); }
@media (min-width: 768px) { .leiste-angebot { padding: 14px 20px; } }
@media (max-width: 379px) { .leiste-pfeil { display: none; } }

/* Preiskarten: Notiz unten bündig */
.preiskarte { display: flex; flex-direction: column; }
.preiskarte .preis-notiz { margin-top: auto; padding-top: 20px; }

/* ---------- Personenkarte mit Foto ---------- */
.person-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.person-tafel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 32, 24, .55) 68%, rgba(10, 32, 24, .92) 100%);
}
.person-tafel > :not(.person-foto) { position: relative; z-index: 1; }

/* ---------- Referenzen ---------- */
.logo-raster { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .logo-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .logo-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.logo-karte {
  display: flex; flex-direction: column; height: 100%; padding: 16px 16px 20px; color: inherit; text-decoration: none;
  border: 1px solid var(--rand); border-radius: var(--r-l); background: var(--weiss); box-shadow: var(--schatten-s);
  transition: transform var(--tempo), box-shadow var(--tempo);
}
.logo-karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-m); }
.logo-flaeche { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 8% 10%; }
.logo-flaeche img { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.logo-karte .pfeillink { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--rand); overflow-wrap: anywhere; }
.logo-karte:hover .pfeillink .icon { transform: translate(2px, -2px); }
.referenzen-mehr { margin-top: 32px; }
.referenzseite { padding-block: 48px var(--section); }
.referenzseite h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); }
.zurueck-start { margin-top: 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
