/* Ratgeber „Websites für GaLaBau“ · Pixel Impact
   Tokens, Typo, Buttons, Rauten, FAQ, Footer übernommen aus /galabau/assets/styles.css (Stand 07.11.2026).
   Bewusst eine eigene Kopie: Änderungen an der Landingpage wirken hier nicht und umgekehrt. */

/* ---------- Schriften (lokal, latin) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); }
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  ascent-override: 93.62%; descent-override: 31.21%; line-gap-override: 8.92%; size-adjust: 112.16%;
}

:root {
  --bg: #f3f3f1;
  --surface: #ffffff;
  --surface-2: #e7e7e4;
  --ink: #17171a;
  --ink-2: #2f2f34;
  --muted: #5d5d63;
  --line: #dcdcd8;
  --line-strong: #c4c4bf;

  --red: #cd1222;
  --red-hover: #b20f1d;
  --red-deep: #8f0c17;
  --red-tint: #fbebea;
  --on-dark: #f3f3f1;
  --on-dark-2: #b9b9bd;

  --font: "Poppins", "Poppins Fallback", "Segoe UI", system-ui, sans-serif;

  --fs-small: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem);
  --fs-h3: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem);
  --fs-h2: clamp(1.9rem, 1.35rem + 2vw, 3.1rem);
  --fs-display: clamp(2.15rem, 1.1rem + 2.7vw, 3.9rem);

  --r-ui: 8px;
  --r-box: 16px;

  --shadow-s: 0 1px 2px rgb(20 20 24 / 0.05), 0 4px 14px rgb(20 20 24 / 0.05);
  --shadow-m: 0 2px 4px rgb(20 20 24 / 0.05), 0 18px 40px -12px rgb(20 20 24 / 0.18);

  --container: 1240px;
  --text: 46rem;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 9vw, 144px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --z-header: 50;
  --z-float: 40;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 104px; scrollbar-color: var(--line-strong) var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input { font: inherit; color: inherit; }
input { caret-color: var(--red); }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.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;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-ui);
  text-decoration: none; font-weight: 600;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--surface { background: var(--surface); }
.section--warm { background: var(--surface-2); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--tight { padding-block: clamp(56px, 6vw, 96px); }

/* ---------- Typrollen ---------- */
.h-display { font-size: var(--fs-display); line-height: 1.1; letter-spacing: -0.04em; }
.h-section { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.035em; }
.h-card { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.section--ink .lead { color: var(--on-dark-2); }
.kicker { margin-bottom: 16px; font-weight: 600; color: var(--red); font-size: var(--fs-small); letter-spacing: 0.02em; }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 780px; }
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end; gap: 18px 72px;
}

/* Fließtext eines Ratgebers: ruhige Zeilenlänge */
.prose { max-width: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose p { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--red-deep); font-weight: 500; }
.section--ink .prose p { color: var(--on-dark-2); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--r-ui);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.16s var(--ease-out), color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.2s var(--ease-out); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--red-hover); }
  .btn:hover svg { transform: translateX(3px); }
}
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--red-deep); }
@media (hover: hover) and (pointer: fine) { .btn--light:hover { background: var(--bg); } }

/* Textlink mit Pfeil */
/* Inline statt Flex: Bricht der Text um, bleibt der Pfeil direkt am letzten Wort */
.arrow-link {
  display: inline-block; padding-block: 10px;
  font-weight: 600; line-height: 1.45; color: var(--red-deep); text-decoration: none;
  text-wrap: balance;
}
.arrow-link svg { display: inline-block; width: 18px; height: 18px; margin-left: 6px; vertical-align: -3px; transition: transform 0.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .arrow-link:hover { text-decoration: underline; }
  .arrow-link:hover svg { transform: translateX(3px); }
}

.microcopy { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: var(--fs-small); font-weight: 500; color: var(--ink-2); }
.microcopy li { display: inline-flex; align-items: center; gap: 8px; }
.microcopy li::before, .rhombus-list li::before {
  content: ""; flex: none;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--red); transform: rotate(45deg);
}

/* ---------- Kopfzeile mit Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--bg);
  border-bottom: 1px solid #d7d7d7;
  transition: background-color 0.2s ease;
}
.site-header.is-scrolled { background: var(--surface); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 84px; }
.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; margin-right: auto; }
.brand img { width: 196px; height: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: var(--r-ui);
  font-weight: 500; font-size: 0.97rem; text-decoration: none; color: var(--ink-2);
  transition: color 0.18s ease, background-color 0.18s ease;
}
@media (hover: hover) and (pointer: fine) { .main-nav a:hover { color: var(--ink); background: rgb(23 23 26 / 0.05); } }
.nav-toggle { display: none; }

/* ---------- Brotkrumen ---------- */
.breadcrumb { padding-top: 22px; font-size: var(--fs-small); color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: 0.6;
}
.breadcrumb a { text-decoration: none; color: var(--ink-2); display: inline-flex; min-height: 32px; align-items: center; }
@media (hover: hover) and (pointer: fine) { .breadcrumb a:hover { color: var(--red-deep); text-decoration: underline; } }
.breadcrumb [aria-current] { color: var(--muted); }

/* ---------- Markenraute ---------- */
.diamond {
  position: absolute; z-index: 0; pointer-events: none;
  aspect-ratio: 1;
  border-radius: 22%;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #e3141f, var(--red) 55%, #b80f1c); /* taste-skill-ignore: Markenraute wie /galabau */
}
.diamond--gray { background: #d9d9d5; }
.diamond--soft { background: rgb(255 255 255 / 0.09); }
.has-deco { position: relative; overflow: hidden; overflow: clip; isolation: isolate; }
.has-deco > .container { position: relative; z-index: 1; }

/* ---------- Hero (Ratgeber) ---------- */
.hero { position: relative; isolation: isolate; padding-block: clamp(28px, 3.5vw, 56px) clamp(64px, 8vw, 120px); overflow: clip; }
.hero h1 { margin-bottom: clamp(20px, 2.4vw, 32px); }
.hero .lead { max-width: 54ch; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.hero-visual { position: relative; }
.hero-visual .diamond { width: 46%; right: -12%; top: -10%; }
.hero-visual .diamond--gray { width: 18%; left: -6%; bottom: -6%; right: auto; top: auto; }
.hero-photo {
  position: relative; z-index: 1;
  border-radius: var(--r-box); overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--surface-2);
  box-shadow: 0 30px 60px -28px rgb(20 20 24 / 0.45); /* taste-skill-ignore: schwebendes Foto wie /galabau */
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  padding: 6px 12px; border-radius: var(--r-ui);
  background: rgb(23 23 26 / 0.78); color: #fff; font-size: 0.8125rem; font-weight: 500;
}

/* Sprungmarken unter dem Hero-Text */
.jumps { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.jumps p { font-size: var(--fs-small); font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.jumps ul { display: flex; flex-wrap: wrap; gap: 8px; }
.jumps a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 0.92rem; font-weight: 500; text-decoration: none; color: var(--ink-2);
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}
@media (hover: hover) and (pointer: fine) { .jumps a:hover { border-color: var(--red); color: var(--red-deep); } }

/* Hero ohne Foto (Unterseiten): gleicher Container und gleiche linke Kante wie im Hub.
   Begrenzt wird nur die Zeilenlänge der Inhalte, nie der Container. */
.hero .h-display { max-width: 24ch; }
.hero .answer { max-width: 980px; }

/* Kurzantwort-Kasten */
.answer {
  position: relative;
  margin-top: clamp(36px, 4vw, 52px);
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--r-box);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}
.answer h2 { font-size: 1.15rem; letter-spacing: -0.015em; margin-bottom: 18px; }
.answer ol { display: grid; gap: 14px; counter-reset: a; }
.answer li { counter-increment: a; display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; color: var(--ink-2); }
.answer li::before {
  content: counter(a);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-ui);
  background: var(--red-tint); color: var(--red-deep); font-weight: 600; font-size: 0.95rem;
}

/* ---------- Aufgaben-Karten (Hub) ---------- */
.tasks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: t; }
.task {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--r-box);
  background: var(--surface);
  box-shadow: var(--shadow-s);
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.task-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.task-no { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.task-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--red-tint); color: var(--red); }
.task-icon svg { width: 24px; height: 24px; }
.task h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.2; }
.task p { color: var(--ink-2); }
.task .arrow-link { margin-top: auto; padding-top: 6px; }
/* Ganze Karte klickbar über den Link */
.task .arrow-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-box); }
.task:has(.arrow-link:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.task .arrow-link:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .task:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
  .task:hover .arrow-link svg { transform: translateX(3px); }
}

/* ---------- Warnzeichen (dunkel) ---------- */
.signs { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.signs-head { position: sticky; top: 120px; }
.signs-head .lead { margin-top: 20px; }
.signs-list { display: grid; gap: 12px; }
.signs-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; border-radius: var(--r-box);
  background: #212126; color: #fff; font-weight: 500; font-size: 1.05rem; line-height: 1.5;
}
.signs-list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: #ff6b75; }
.signs-after { margin-top: 28px; color: var(--on-dark-2); max-width: 56ch; }

/* ---------- Zwei breite Karten ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.duo-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 3vw, 44px); border-radius: var(--r-box);
  background: var(--bg);
  transition: background-color 0.2s ease;
}
.duo-card h3 { font-size: var(--fs-h3); line-height: 1.2; }
.duo-card p { color: var(--ink-2); }
.duo-card .arrow-link { margin-top: auto; }
.duo-card .arrow-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-box); }
.duo-card:has(.arrow-link:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.duo-card .arrow-link:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) { .duo-card:hover { background: var(--surface-2); } .duo-card:hover .arrow-link svg { transform: translateX(3px); } }

/* ---------- Ablauf (wie /galabau) ---------- */
.process { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.process-intro { position: sticky; top: 120px; }
.process-intro .lead { margin-top: 20px; }
.process-intro .btn { margin-top: 32px; }
.process-intro .microcopy { color: var(--on-dark-2); }
.steps { display: grid; gap: clamp(40px, 5vw, 64px); }
.step { position: relative; padding-left: clamp(28px, 3vw, 40px); }
.step::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 13px; height: 13px; border-radius: 3px; transform: rotate(45deg); background: var(--red); }
.step:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: calc(0.45em + 20px); bottom: calc(-1 * clamp(40px, 5vw, 64px) + 8px); width: 2px; background: #3a3a40; }
.step h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
.step p { color: var(--on-dark-2); max-width: 60ch; }

/* ---------- Ursache: Text plus Anfrage-Karte ---------- */
.cause { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.cause h3 { font-size: 1.2rem; letter-spacing: -0.015em; margin-top: 40px; margin-bottom: 18px; }
.patterns { display: grid; gap: 14px; }
.patterns li { padding-left: 20px; border-left: 2px solid var(--red); color: var(--ink-2); }
.patterns strong { color: var(--ink); font-weight: 600; }
.inquiry {
  position: sticky; top: 120px;
  padding: 24px; border-radius: var(--r-box);
  background: var(--surface); box-shadow: var(--shadow-m);
}
.inquiry-label { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.inquiry-label svg { width: 16px; height: 16px; }
.inquiry-msg {
  margin-top: 14px; padding: 16px 18px; border-radius: 4px 14px 14px 14px;
  background: var(--bg); font-size: 1.05rem; line-height: 1.5; color: var(--ink);
}
.inquiry-meta { margin-top: 14px; display: grid; gap: 6px; font-size: var(--fs-small); color: var(--muted); }
.inquiry-meta span { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.inquiry-meta b { color: var(--red-deep); font-weight: 600; }
.inquiry-caption { margin-top: 16px; font-size: var(--fs-small); color: var(--muted); }

/* ---------- Nummerierte Bausteine ---------- */
.blocks { display: grid; gap: clamp(48px, 6vw, 80px); counter-reset: b; }
.block { display: grid; grid-template-columns: clamp(64px, 8vw, 120px) minmax(0, 1fr); gap: 8px 24px; counter-increment: b; }
.block::before {
  content: counter(b);
  font-size: clamp(2.6rem, 1.6rem + 3vw, 4.4rem); line-height: 0.9; font-weight: 600; letter-spacing: -0.05em;
  color: var(--red);
}
.block-body { max-width: var(--text); }
.block-body h3 { font-size: var(--fs-h3); line-height: 1.2; margin-bottom: 16px; }
.block-body p { color: var(--ink-2); }
.block-body p + p, .block-body p + ul, .block-body ul + p { margin-top: 1em; }
.block-figure { margin: 8px 0 0; grid-column: 1 / -1; }
.block-figure .frame-photo { border-radius: var(--r-box); overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 9; box-shadow: var(--shadow-m); }
.block-figure img { width: 100%; height: 100%; object-fit: cover; }
.block-figure figcaption { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); }
.rhombus-list { display: grid; gap: 10px; margin-top: 1em; }
.rhombus-list li { display: flex; align-items: baseline; gap: 12px; color: var(--ink-2); }
.rhombus-list li::before { transform: translateY(-2px) rotate(45deg); }

/* ---------- Rechner ---------- */
.calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0;
  border-radius: var(--r-box); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-m);
}
.calc-form { padding: clamp(26px, 3vw, 44px); display: grid; gap: 22px; align-content: start; }
.calc-field label { display: block; font-weight: 600; font-size: 0.97rem; line-height: 1.4; margin-bottom: 8px; }
.calc-input {
  display: flex; align-items: center;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-ui); background: var(--surface);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.calc-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgb(205 18 34 / 0.18); }
.calc-input input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border: 0; background: transparent;
  font-size: 1.1rem; font-weight: 500;
  -moz-appearance: textfield; appearance: textfield;
}
.calc-input input::-webkit-outer-spin-button, .calc-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-input input:focus { outline: none; }
.calc-input span { padding: 0 16px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.calc-result {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  padding: clamp(26px, 3vw, 44px);
  background: var(--ink); color: var(--on-dark);
}
.calc-result .diamond { width: 150px; right: -64px; top: -64px; opacity: 0.95; }
.calc-result > :not(.diamond) { position: relative; z-index: 1; }
.calc-out { font-size: var(--fs-lead); line-height: 1.5; color: var(--on-dark-2); }
.calc-out b { display: block; margin-top: 4px; color: #fff; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); line-height: 1.1; letter-spacing: -0.03em; }
.calc-out b + b { margin-top: 2px; }
.calc-note { font-size: var(--fs-small); color: var(--on-dark-2); }
.calc-formula { margin-top: 20px; font-size: var(--fs-small); color: var(--muted); max-width: 70ch; }
.calc-after { margin-top: clamp(28px, 3vw, 40px); }

/* ---------- Checkliste ---------- */
.checklist { display: grid; gap: 12px; counter-reset: c; }
.checklist li {
  counter-increment: c;
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 22px 24px; border-radius: var(--r-box); background: var(--surface);
}
.checklist li::before {
  content: counter(c);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600;
}
.checklist strong { display: block; margin-bottom: 4px; font-weight: 600; color: var(--ink); }
.checklist span { color: var(--ink-2); }

/* ---------- Beispiel im Browserrahmen ---------- */
.example { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.frame {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-box);
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgb(20 20 24 / 0.45); /* taste-skill-ignore: Browser-Mockup wie /galabau */
}
.frame img { display: block; width: 100%; height: auto; }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #ececea; }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfcfcb; }
.frame-bar span { margin-left: 10px; font-size: 0.8125rem; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 4px 10px; border-radius: 999px;
  background: var(--red-tint); color: var(--red-deep); font-size: 0.8125rem; font-weight: 600;
}
.example-text { display: grid; gap: 18px; justify-items: start; }
.example-text p { color: var(--ink-2); }
.example figcaption { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); }

/* ---------- FAQ (wie /galabau) ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 104px); }
.faq-head { position: sticky; top: 120px; align-self: start; }
.faq-list { display: grid; gap: 8px; }
.faq-item { border-radius: var(--r-box); background: var(--bg); transition: background-color 0.2s ease; }
.section--surface .faq-item { background: var(--bg); }
.faq-item[open] { background: var(--surface-2); }
.faq-item summary {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: 18px 22px;
  list-style: none; cursor: pointer;
  font-size: 1.1rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35;
  border-radius: var(--r-box);
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none;
  width: 32px; height: 32px; border-radius: var(--r-ui);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317171a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.25s var(--ease-out), background-color 0.18s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--red-tint); }
.faq-item summary:focus-visible { outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .faq-item:not([open]):hover { background: var(--surface-2); } }
.faq-body { padding: 0 22px 22px; }
.faq-body p { color: var(--ink-2); max-width: 64ch; }
.faq-body p + p { margin-top: 0.8em; }
.faq-body a { color: var(--red-deep); font-weight: 500; }

/* ---------- Autorenkasten ---------- */
.author {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center;
  max-width: 880px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--r-box);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}
.author img { width: clamp(88px, 10vw, 120px); aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; border-radius: 14px; background: var(--ink); }
.author-name { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.015em; }
.author p { margin-top: 6px; color: var(--ink-2); }

/* ---------- Abschluss-CTA (rote Fläche) ---------- */
.section--red { background: var(--red); color: #fff; }
.section--red h2 { color: #fff; }
.cta-end .diamond--soft:nth-of-type(1) { width: 520px; right: -170px; top: -210px; }
.cta-end .diamond--soft:nth-of-type(2) { width: 240px; left: -110px; bottom: -100px; }
.cta-end-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 28px 72px; align-items: end; }
.cta-end p { margin-top: 18px; font-size: var(--fs-lead); line-height: 1.55; color: rgb(255 255 255 / 0.9); max-width: 50ch; }
.cta-end .microcopy { color: rgb(255 255 255 / 0.9); }
.cta-end .microcopy li::before { background: #fff; }
.cta-end-action { display: grid; justify-items: start; }

/* ---------- Weiterlesen ---------- */
.next-head { font-size: 1.2rem; letter-spacing: -0.015em; margin-bottom: 20px; }
.next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.next a {
  display: grid; gap: 6px; align-content: start;
  min-height: 100%; padding: 22px 24px; border-radius: var(--r-box);
  background: var(--surface); text-decoration: none;
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.next small { font-size: 0.8125rem; font-weight: 600; color: var(--red); }
.next span { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.next svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--red); transition: transform 0.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .next a:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); } .next a:hover svg { transform: translateX(3px); } }

/* ---------- Offene Stellen im Entwurf: nur lokal sichtbar, gehen nicht live ---------- */
.todo {
  display: block; margin-top: 1em; padding: 12px 16px;
  border: 2px dashed #c98a00; border-radius: var(--r-ui);
  background: #fff6d6; color: #5c4300; font-size: var(--fs-small); line-height: 1.5;
}
.todo::before { content: "Offen: "; font-weight: 700; }
span.todo { display: inline; margin: 0; padding: 1px 6px; border-width: 1.5px; }
.section--ink .todo, .section--red .todo { background: #fff6d6; color: #5c4300; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding-block: 64px 32px; background: var(--ink); color: rgb(255 255 255 / 0.72); font-size: 0.97rem; }
.site-footer .diamond { width: 220px; right: -70px; bottom: -110px; opacity: 0.9; }
.site-footer > .container { position: relative; z-index: 1; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px 40px; }
.footer-logo { width: 190px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 28px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: #fff; font-weight: 500; transition: color 0.18s ease; }
@media (hover: hover) and (pointer: fine) { .footer-links a:hover { color: #ff4a58; } }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.12); color: rgb(255 255 255 / 0.6); font-size: var(--fs-small); }

/* ---------- Sticky-Button (Handy) ---------- */
.sticky-cta { display: none; }

/* ---------- Einblenden ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.55s var(--ease-out), transform 0.65s var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .hero .kicker, .hero h1, .hero .lead, .hero .jumps, .hero .answer { animation: hero-in 0.7s var(--ease-out) both; }
  .hero h1 { animation-delay: 60ms; }
  .hero .lead { animation-delay: 120ms; }
  .hero .jumps, .hero .answer { animation-delay: 190ms; }
  .hero-photo { animation: frame-in 0.9s var(--ease-out) 120ms both; }
  .hero-visual .diamond { animation: diamond-in 1.1s var(--ease-out) both, diamond-float 9s ease-in-out 1.1s infinite alternate; }

  .faq-item[open] .faq-body { animation: msg-in 0.28s var(--ease-out) both; }
  .faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size 0.3s var(--ease-out), content-visibility 0.3s allow-discrete; }
  .faq-item[open]::details-content { block-size: auto; }

  .calc-out b { transition: opacity 0.2s ease; }
  .calc-out.is-updating b { opacity: 0.55; }
}
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

@keyframes msg-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes frame-in { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes diamond-in { from { opacity: 0; transform: rotate(30deg) scale(0.9); } to { opacity: 1; transform: rotate(45deg); } }
@keyframes diamond-float { from { transform: rotate(45deg) translate(0, 0); } to { transform: rotate(45deg) translate(-8px, 8px); } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav a { padding: 0 10px; font-size: 0.92rem; }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  .hero-grid, .signs, .process, .faq, .cause, .example, .section-head--split, .cta-end-inner, .calc { grid-template-columns: minmax(0, 1fr); }
  .signs-head, .process-intro, .faq-head, .inquiry { position: static; }
  .hero-visual { max-width: 560px; }
  .tasks, .duo { grid-template-columns: minmax(0, 1fr); }
  .next { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .header-inner { height: 72px; gap: 12px; }
  .brand img { width: 150px; }
  html { scroll-padding-top: 88px; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-ui);
    background: transparent; font-weight: 600; font-size: 0.95rem; cursor: pointer;
  }
  .nav-toggle svg { width: 18px; height: 18px; }
  .js .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    padding: 8px var(--gutter) 20px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -24px rgb(20 20 24 / 0.4);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0s linear 0.2s;
  }
  .js .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0s; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { min-height: 52px; padding: 0 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  html:not(.js) .main-nav ul { flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-block: 10px; }

  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-visual .diamond { width: 40%; right: -16%; top: -8%; }
  .hero-visual .diamond--gray { display: none; }
  .btn { padding: 0 20px; }
  .process-intro .btn, .cta-end .btn { width: 100%; }
  .cta-end-action { justify-items: stretch; }
  .block { grid-template-columns: minmax(0, 1fr); }
  .block::before { font-size: 2.4rem; }
  .author { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-links { justify-content: flex-start; }
  .faq-item summary { padding: 16px 18px; font-size: 1.02rem; }
  .faq-body { padding: 0 18px 18px; }
  .checklist li { padding: 18px; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; }
  .checklist li::before { width: 34px; height: 34px; }
  .signs-list li { padding: 18px; font-size: 1rem; }

  .js .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-float);
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgb(243 243 241 / 0.96);
    box-shadow: 0 -8px 24px -16px rgb(20 20 24 / 0.35); /* taste-skill-ignore: schwebende Leiste wie /galabau */
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.28s var(--ease-out), visibility 0s linear 0.28s;
  }
  .js .sticky-cta.is-visible { transform: none; visibility: visible; transition: transform 0.28s var(--ease-out), visibility 0s; }
  .sticky-cta .btn { width: 100%; min-height: 50px; }
  .js .site-footer { padding-bottom: 104px; }
}

@media (max-width: 400px) {
  .brand img { width: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn:active { transform: none; }
  .btn:hover svg, .arrow-link:hover svg, .next a:hover svg, .task:hover .arrow-link svg { transform: none; }
  .task:hover, .next a:hover { transform: none; }
  .js .sticky-cta, .js .sticky-cta.is-visible, .js .main-nav, .js .main-nav.is-open { transition-duration: 0.01ms; }
  .faq-item summary::after { transition-duration: 0.01ms; }
}

/* ---------- Nachträge nach erster Sichtprüfung ---------- */
.next-wrap { margin-top: clamp(48px, 5vw, 72px); }
.section--surface .next a { background: var(--bg); }
.block-body a { color: var(--red-deep); font-weight: 500; }
/* Zahlenfelder haben eine eingebaute Mindestbreite: Raster und Feld dürfen schrumpfen */
.calc-form { grid-template-columns: minmax(0, 1fr); }
.calc-input input { width: 100%; }
@media (max-width: 760px) { .calc-input span { padding: 0 12px; font-size: 0.95rem; } }
/* Antwort-Kasten ohne Seitenstreifen: Markenraute vor der Überschrift statt Akzentrand */
.answer h2 { display: flex; align-items: center; gap: 12px; }
.answer h2::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2.5px; background: var(--red); transform: rotate(45deg); }
/* Brotkrumen: größere Tippfläche auf dem Handy */
@media (max-width: 760px) { .breadcrumb a { min-height: 40px; } }
/* Abschluss-CTA: Hinweise unter dem Button in einer Spalte, ruhiger als ein Dreier-Umbruch */
.cta-end .microcopy { flex-direction: column; gap: 6px; }

/* =====================================================================
   Bausteine der Unterseiten (Mitarbeiter, Pflege, Kosten, Google/KI, Beispiele)
   Gleiche Tokens, gleiche Karten- und Rautensprache wie Hub und Neuanlagen.
   ===================================================================== */
.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; }
.ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--red-tint); color: var(--red); }
.ico svg { width: 24px; height: 24px; }
.tag--ink { background: var(--ink); color: #fff; }
.small-note { margin-top: 18px; font-size: var(--fs-small); color: var(--muted); max-width: 70ch; }
.section--ink .small-note { color: var(--on-dark-2); }
.after-text { margin-top: clamp(28px, 3vw, 40px); }

/* Zweispaltig: Text links, Inhalt rechts */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.split-text { display: grid; gap: 20px; align-content: start; }
.split-text > p { color: var(--ink-2); }
.split-text a { color: var(--red-deep); font-weight: 500; }
.section--ink .split-text > p { color: var(--on-dark-2); }
.split--sticky .split-text { position: sticky; top: 120px; }

/* Tabelle, auf dem Handy als Karten */
.table-wrap { border-radius: var(--r-box); background: var(--surface); box-shadow: var(--shadow-s); overflow: hidden; }
.section--surface .table-wrap { background: var(--bg); box-shadow: none; }
.table { width: 100%; border-collapse: collapse; text-align: left; }
.table thead th { padding: 16px 24px; font-size: var(--fs-small); font-weight: 600; color: var(--muted); vertical-align: bottom; }
.table tbody th, .table td { padding: 20px 24px; vertical-align: top; border-top: 1px solid var(--line); }
.table tbody th { font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.table td { color: var(--ink-2); }
.table td b { color: var(--ink); font-weight: 600; }
.table-wide tbody th { width: 26%; }

/* Weg des Bewerbers (dunkel) */
.journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: j; }
.journey li { counter-increment: j; position: relative; padding: 26px 24px 28px; border-radius: var(--r-box); background: #212126; }
.journey li::before {
  content: counter(j); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px;
  border-radius: 10px; background: #2e2e34; color: #fff; font-weight: 600;
}
.journey li:last-child::before { background: var(--red); }
.journey li:not(:last-child)::after { content: ""; position: absolute; top: 45px; left: 76px; right: -16px; height: 2px; background: #3a3a40; }
.journey h3 { font-size: 1.15rem; letter-spacing: -0.015em; line-height: 1.3; color: #fff; margin-bottom: 10px; }
.journey p { color: var(--on-dark-2); }

/* Handy mit Kurzbewerbung (Illustration) */
.phone { width: min(100%, 340px); margin-inline: auto; padding: 12px; border-radius: 42px; background: var(--ink); box-shadow: 0 30px 60px -28px rgb(20 20 24 / 0.5); /* taste-skill-ignore: Handy-Mockup */ }
.phone-screen { padding: 30px 20px 22px; border-radius: 31px; background: var(--surface); display: grid; gap: 16px; }
.phone-head { font-weight: 600; font-size: 1.1rem; letter-spacing: -0.015em; line-height: 1.3; }
.phone-head small { display: block; margin-bottom: 4px; font-size: 0.75rem; font-weight: 600; color: var(--red); letter-spacing: 0.02em; }
.pf { display: grid; gap: 6px; }
.pf > span { font-size: 0.78rem; font-weight: 600; color: var(--ink-2); }
.pf-input { min-height: 42px; padding: 0 12px; display: flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--r-ui); font-size: 0.85rem; color: var(--muted); }
.pf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-chips i { font-style: normal; padding: 6px 10px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-size: 0.78rem; font-weight: 500; color: var(--ink-2); }
.pf-chips i.on { border-color: var(--red); background: var(--red-tint); color: var(--red-deep); }
.pf-btn { min-height: 46px; display: grid; place-items: center; border-radius: var(--r-ui); background: var(--red); color: #fff; font-weight: 600; font-size: 0.92rem; }
.pf-btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.pf-note { font-size: 0.75rem; color: var(--muted); text-align: center; }
.phone-caption { margin-top: 14px; text-align: center; font-size: var(--fs-small); color: var(--muted); }

/* Zwei Spalten mit Listen (Azubis) und Karten-Raster */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.panel, .card { padding: clamp(26px, 3vw, 40px); border-radius: var(--r-box); background: var(--surface); box-shadow: var(--shadow-s); display: grid; gap: 16px; align-content: start; }
.section--surface .panel, .section--surface .card { background: var(--bg); box-shadow: none; }
.panel h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.2; }
.card h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.3; }
.card p { color: var(--ink-2); }
.card-label { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.panel .rhombus-list, .card .rhombus-list { margin-top: 0; }
.card--x { grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.card--x .x { grid-row: span 2; color: var(--red); }
.card--x .x svg { width: 26px; height: 26px; }
.card--x p { grid-column: 2; }

/* Info-Leiste (Kennzeichnung) */
.notice {
  display: flex; gap: 14px; align-items: flex-start; max-width: 760px; margin-top: 28px;
  padding: 16px 20px; border-radius: var(--r-box); background: var(--surface); box-shadow: var(--shadow-s); color: var(--ink-2);
}
.notice svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--red); }
.notice strong { color: var(--ink); font-weight: 600; }

/* Stilisierte Suchergebnisse und Stellen (keine echte Google-Oberfläche) */
.serp { padding: 18px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.serp-url { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.serp-url::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-2); }
.serp-title { margin-top: 6px; color: var(--red-deep); font-size: 1.08rem; font-weight: 500; line-height: 1.35; }
.serp-desc { margin-top: 4px; color: var(--ink-2); font-size: 0.9rem; line-height: 1.5; }
.serp-label { display: block; margin-top: 10px; font-size: 0.75rem; color: var(--muted); }

.finder { position: relative; margin: 0; }
.finder .diamond { width: 40%; right: -10%; top: -8%; }
.finder-card { position: relative; z-index: 1; padding: 18px; border-radius: var(--r-box); background: var(--surface); box-shadow: 0 30px 60px -28px rgb(20 20 24 / 0.45); /* taste-skill-ignore: schwebende Karte wie das Hero-Foto */ display: grid; gap: 12px; }
.finder-search { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 500; color: var(--ink); }
.finder-search svg { width: 18px; height: 18px; color: var(--muted); }
.finder-map {
  position: relative; height: 150px; border-radius: 12px; overflow: hidden;
  background:
    linear-gradient(115deg, transparent 46%, #fff 46.5%, #fff 49%, transparent 49.5%),
    linear-gradient(20deg, transparent 62%, #fff 62.5%, #fff 64.5%, transparent 65%),
    #e4e7df;
}
.finder-map i { position: absolute; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--red); box-shadow: 0 0 0 3px #fff; }
.finder-list { display: grid; }
.finder-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 4px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.finder-list b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-size: 0.75rem; }
.finder-list span { font-weight: 600; color: var(--ink); }
.finder-list em { font-style: normal; color: #b07800; letter-spacing: 1px; font-size: 0.85rem; }
.finder figcaption { position: relative; z-index: 1; margin-top: 12px; font-size: var(--fs-small); color: var(--muted); }

.jobs { padding: 20px; border-radius: var(--r-box); background: var(--surface); box-shadow: var(--shadow-m); display: grid; gap: 10px; }
.jobs-head { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.jobs-head svg { width: 20px; height: 20px; color: var(--red); }
.job { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); display: grid; gap: 2px; }
.job strong { font-weight: 600; color: var(--ink); }
.job span { font-size: 0.88rem; color: var(--ink-2); }
.job small { font-size: 0.78rem; color: var(--muted); }
.job--muted { background: var(--bg); border-color: transparent; }
.job--muted strong { color: var(--ink-2); }
.jobs-caption { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); }

/* Jahreskalender (Pflege, Winterdienst) */
.year { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-box); background: var(--bg); }
.year-grid { display: grid; grid-template-columns: 170px repeat(12, minmax(0, 1fr)); gap: 10px 4px; align-items: center; }
.year-m { font-size: 0.8rem; font-weight: 600; color: var(--muted); text-align: center; }
.year-label { font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.year-label--sub { font-weight: 500; font-size: 0.85rem; color: var(--red-deep); padding-left: 14px; }
.bar { height: 26px; border-radius: 6px; }
.bar--bau { background: var(--ink); }
.bar--pflege { background: #c4c4bf; }
.bar--pflege-stark { background: #77777d; }
.bar--winter { background: #4a5a6a; }
.bar--anfrage { height: 18px; border-radius: 999px; border: 2px dashed var(--red); background: var(--red-tint); }
.year-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: var(--fs-small); color: var(--ink-2); }
.year-legend span { display: inline-flex; align-items: center; gap: 8px; }
.year-legend i { width: 22px; height: 12px; border-radius: 3px; }
.year-legend i.bar--anfrage { height: 12px; border-width: 1.5px; }
.year-list { display: grid; gap: 12px; }
.year-list li { padding: 18px 20px; border-radius: var(--r-box); background: var(--surface); }
.year-list strong { display: block; margin-bottom: 6px; font-weight: 600; }
.year-list span { color: var(--ink-2); }

/* Monatsplan */
.months { display: grid; gap: 12px; max-width: 920px; }
.months li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 22px 24px; border-radius: var(--r-box); background: var(--surface); }
.months b { font-weight: 600; font-size: 1.1rem; color: var(--red-deep); }
.months span { color: var(--ink-2); }

/* Checkliste auf heller und dunkler Fläche */
.section--surface .checklist li { background: var(--bg); }
.section--ink .checklist li { background: #212126; }
.section--ink .checklist li::before { background: var(--red); }
.section--ink .checklist strong { color: #fff; }
.section--ink .checklist span { color: var(--on-dark-2); }

/* Prüfliste zum Abhaken (rein optisch) */
.ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ticks label {
  display: flex; gap: 14px; align-items: flex-start; min-height: 64px; padding: 18px 20px;
  border-radius: var(--r-box); background: #212126; color: #fff; font-weight: 500; line-height: 1.45; cursor: pointer;
  transition: background-color 0.18s ease;
}
.ticks input {
  -webkit-appearance: none; appearance: none; flex: none; width: 24px; height: 24px; margin: 0; margin-top: 1px;
  border: 2px solid #6d6d72; border-radius: 6px; background: transparent center / 16px no-repeat; cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.ticks input:checked { border-color: var(--red); background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E"); }
.ticks input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ticks label:has(input:checked) { background: #2a2a30; }
@media (hover: hover) and (pointer: fine) { .ticks label:hover { background: #2a2a30; } }

/* Preistreiber und Warnliste */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 52px) clamp(32px, 5vw, 80px); }
.feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 6px 20px; align-items: center; }
.feature h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.3; }
.feature p { grid-column: 2; color: var(--ink-2); }
.feature a { color: var(--red-deep); font-weight: 500; }
.warnlist { display: grid; gap: 12px; max-width: 920px; }
.warnlist li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; border-radius: var(--r-box); background: var(--surface); color: var(--ink-2); }
.warnlist svg { flex: none; width: 24px; height: 24px; margin-top: 1px; color: var(--red); }
.warnlist strong { color: var(--ink); font-weight: 600; }

/* Hinweiskasten */
.note { margin-top: clamp(28px, 3vw, 40px); padding: clamp(22px, 3vw, 32px); border-radius: var(--r-box); background: var(--surface); box-shadow: var(--shadow-s); max-width: 760px; }
.note h3 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; letter-spacing: -0.015em; margin-bottom: 12px; }
.note h3 svg { width: 22px; height: 22px; color: var(--red); }
.note p { color: var(--ink-2); }

/* Einsatzgebiet als Grafik */
.area { margin: 12px 0 0; max-width: 360px; }
.area svg { width: 100%; height: auto; display: block; }
.area figcaption { margin-top: 10px; font-size: var(--fs-small); color: var(--on-dark-2); }

/* Beispiele: nummerierte Erklärliste, Handy-Screens, Vorher/Nachher */
.numlist { display: grid; gap: 24px; counter-reset: n; }
.numlist li { counter-increment: n; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 6px 16px; align-items: center; }
.numlist li::before { content: counter(n); grid-row: span 2; align-self: start; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-ui); background: var(--red); color: #fff; font-weight: 600; }
.numlist h3 { font-size: 1.1rem; letter-spacing: -0.015em; line-height: 1.3; }
.numlist p { grid-column: 2; color: var(--ink-2); }
.numlist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(32px, 5vw, 72px); margin-top: clamp(40px, 5vw, 64px); }
.showcase-wrap { margin: 0; }
.showcase { position: relative; padding: 0 clamp(36px, 7vw, 96px) 48px 0; }
.showcase > .tag { position: absolute; z-index: 2; left: 14px; top: 46px; }
.showcase-phone { position: absolute; z-index: 2; right: 0; bottom: 0; width: clamp(104px, 24%, 190px); border: 6px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-m); }
.showcase-phone img { display: block; width: 100%; height: auto; }
.showcase-wrap figcaption { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); max-width: 980px; }
.phones figure { margin: 0; display: grid; gap: 12px; align-content: start; }
.phone-shot { position: relative; border: 8px solid var(--ink); border-radius: 30px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-m); aspect-ratio: 600 / 1298; }
.phone-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone-shot .tag { position: absolute; left: 10px; top: 10px; }
.phones figcaption { font-size: var(--fs-small); color: var(--muted); }
.ba-frame { --bar: 34px; }
.ba { --pos: 50%; position: relative; overflow: hidden; aspect-ratio: 1088 / 553; background: var(--surface-2); touch-action: pan-y; user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba-handle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 24%; transform: rotate(45deg); background: var(--red); box-shadow: 0 0 0 4px #fff; /* taste-skill-ignore: Griff des Reglers wie /galabau */
  transition: transform 0.2s var(--ease-out);
}
.ba-tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: var(--r-ui); background: var(--ink); color: #fff; font-size: var(--fs-small); font-weight: 600; pointer-events: none; }
.ba-tag--before { left: 14px; }
.ba-tag--after { right: 14px; background: var(--red); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-frame:has(.ba-range:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.ba:has(.ba-range:active) .ba-handle::after { transform: rotate(45deg) scale(1.12); }
.case-quote { margin: 0; padding: clamp(24px, 2.6vw, 32px); border-radius: var(--r-box); background: var(--bg); }
.case-quote blockquote { margin: 0; }
.case-quote p { color: var(--ink); font-size: var(--fs-lead); line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; }
.case-quote figcaption { margin-top: 16px; font-size: var(--fs-small); color: var(--muted); }
.case-quote figcaption b { color: var(--red); font-weight: 600; }
.reference-text { display: grid; gap: 18px; justify-items: start; }
.reference-text > p { color: var(--ink-2); }

@media (max-width: 1100px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey li::after { display: none; }
}
@media (max-width: 900px) {
  .split, .cols-2, .cards-3, .features, .numlist--2 { grid-template-columns: minmax(0, 1fr); }
  .split--sticky .split-text { position: static; }
  .year-grid { grid-template-columns: 120px repeat(12, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .journey { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .journey li { padding: 22px 20px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px; }
  .journey li::before { margin: 0; grid-row: span 2; }
  .ticks { grid-template-columns: minmax(0, 1fr); }
  .months li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 20px; }
  .warnlist li { padding: 18px; }
  .year { padding: 0; background: none; }
  .year-grid, .year-legend { display: none; }
  .phones { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 10px; }
  .phones figure { flex: 0 0 68%; scroll-snap-align: start; }
  .showcase { padding: 0 44px 40px 0; }
  .ba-frame { --bar: 26px; }
  .ba-tag { top: 10px; font-size: 0.8125rem; }
  .ba-tag--before { left: 10px; }
  .ba-tag--after { right: 10px; }
  /* Tabelle wird zur Kartenliste */
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: auto; }
  .table tr { padding: 18px 20px; border-top: 1px solid var(--line); }
  .table tbody tr:first-child { border-top: 0; }
  .table tbody th, .table td { padding: 0; border: 0; }
  .table-wide tbody th { width: auto; }
  .table tbody th { font-size: 1.05rem; margin-bottom: 8px; }
  .table td + td, .table th + td { margin-top: 8px; }
  .table td[data-label]::before { content: attr(data-label); display: block; font-size: 0.8125rem; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
}
@media (min-width: 761px) { .year-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .finder-card { animation: frame-in 0.9s var(--ease-out) 120ms both; }
  .hero .finder .diamond { animation: diamond-in 1.1s var(--ease-out) both, diamond-float 9s ease-in-out 1.1s infinite alternate; }
  .ticks input:checked { animation: tick-in 0.22s var(--ease-out); }
}
@keyframes tick-in { from { transform: scale(0.8); } to { transform: none; } }

/* Kleinteile der Unterseiten */
.section-head .tag, .split-text .ico, .split-text .tag { justify-self: start; }
.checklist--tick li::before {
  content: ""; background: var(--red-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cd1222' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.serp--example { margin-top: 22px; max-width: 560px; }
.finder-list em { display: inline-flex; gap: 1px; }
.finder-list em svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.split-text .ico svg, .ico svg { fill: none; }
.section--ink .ico { background: #2e2e34; color: #ff6b75; }

/* Lange deutsche Wörter auf sehr schmalen Handys: trennen statt überlaufen */
body { overflow-wrap: break-word; }
@media (max-width: 400px) { h1, h2, h3, .card, .panel, .table, .journey, .checklist { hyphens: auto; -webkit-hyphens: auto; } }

/* Rautenliste als normaler Textfluss: Text, Links und Markierungen dürfen frei umbrechen */
.rhombus-list li { display: block; position: relative; padding-left: 22px; }
.rhombus-list li::before { position: absolute; left: 1px; top: calc(0.8em - 4px); transform: rotate(45deg); }

/* Schmale FAQ-Spalte: lange Wörter sauber trennen (Mitarbeiter-suche) statt hart umbrechen */
.faq-head .h-section { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; }
.feature { align-content: start; }
.phone-shot .tag { top: auto; bottom: 12px; left: 12px; box-shadow: 0 2px 8px rgb(20 20 24 / 0.2); }
.section--surface .year-list li, .section--surface .months li, .section--surface .warnlist li { background: var(--bg); }

/* Abschluss-CTA, Feinschliff: Überschrift über die volle Breite, ein Satz pro Zeile,
   darunter Text und Button oben bündig. Gilt für alle Ratgeber-Seiten. */
.cta-end-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); grid-template-areas: "title title" "text action"; gap: 0 72px; align-items: start; }
.cta-end-title { grid-area: title; max-width: 22ch; margin-bottom: clamp(24px, 2.6vw, 36px); text-wrap: balance; }
.cta-end-title span { display: block; }
.cta-end-title .cta-end-lead { color: rgb(255 255 255 / 0.8); }
.cta-end .cta-end-text { grid-area: text; margin-top: 0; }
.cta-end-action { grid-area: action; padding-top: 6px; }
@media (min-width: 1100px) { .cta-end-title { max-width: none; } .cta-end-title span { white-space: nowrap; } }
@media (max-width: 900px) {
  .cta-end-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "text" "action"; gap: 0; }
  .cta-end-action { padding-top: 0; margin-top: 28px; }
}
@media (max-width: 760px) {
  .cta-end .diamond--soft:nth-of-type(1) { width: 240px; right: -130px; top: -130px; }
  .cta-end .diamond--soft:nth-of-type(2) { width: 140px; left: -80px; bottom: -70px; }
}
@media (min-width: 761px) { .cta-end-title { max-width: none; } }

/* Beispiele: drei gemeinsame Punkte mit echten Ausschnitten statt Icon-Karten */
.proofs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proofs li { display: grid; gap: 10px; align-content: start; padding-inline: clamp(20px, 2.6vw, 40px); }
.proofs li:first-child { padding-left: 0; }
.proofs li:last-child { padding-right: 0; }
.proofs li + li { border-left: 1px solid var(--line); }
.proof-shot { margin: 0 0 14px; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); box-shadow: var(--shadow-m); }
.proof-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.proofs h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.3; }
.proofs p { color: var(--ink-2); max-width: 34ch; }
@media (max-width: 900px) {
  .proofs { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .proofs li, .proofs li:first-child, .proofs li:last-child { padding: 28px 0; }
  .proofs li:first-child { padding-top: 0; }
  .proofs li + li { border-left: 0; border-top: 1px solid var(--line); }
  .proof-shot { max-width: 520px; }
}
/* Gleich breite Spalten: Abstand per gap, Trennlinie mittig im Zwischenraum */
.proofs { --pg: clamp(40px, 5vw, 80px); column-gap: var(--pg); }
.proofs li, .proofs li:first-child, .proofs li:last-child { position: relative; padding-inline: 0; }
.proofs li + li { border-left: 0; }
.proofs li + li::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--pg) / -2); width: 1px; background: var(--line); }
@media (max-width: 900px) {
  .proofs li + li::before { display: none; }
  .proofs li + li { border-top: 1px solid var(--line); }
}

/* Foto in der Textspalte eines zweispaltigen Abschnitts */
.split-figure { margin: 12px 0 0; }
.split-photo { border-radius: var(--r-box); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); box-shadow: var(--shadow-m); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-figure figcaption { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 900px) { .split-figure { max-width: 560px; } }

/* Button mitten im Text (an drei Stellen) */
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: clamp(36px, 4vw, 52px); }
.cta-inline .microcopy { margin-top: 0; }
.section--ink .cta-inline .microcopy { color: var(--on-dark-2); }
.split-text .cta-inline { margin-top: 8px; }
@media (max-width: 760px) { .cta-inline .btn { width: 100%; } }

/* Beleg unter dem Abschluss-Button */
.cta-end .cta-proof { display: flex; max-width: none; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 18px; font-size: var(--fs-small); font-weight: 500; color: rgb(255 255 255 / 0.92); }
.cta-stars { display: inline-flex; gap: 2px; }
.cta-stars svg { width: 15px; height: 15px; fill: #fff; stroke: none; }
/* Buttons behalten ihre Schriftfarbe auch in Textspalten mit eigener Linkfarbe */
.split-text a.btn, .block-body a.btn, .prose a.btn, .feature a.btn { color: var(--btn-fg); font-weight: 600; }
