/* =====================================================================
   HouseConsult — style.css
   Vokabular: archizen (Work Sans / Inter, Mono-Ink auf Weiß, ein Akzent)
   Grammatik: novex-design §2 — Reduktion, Typo als Architektur, leise Motion
   ===================================================================== */

/* ---- Fonts (self-hosted, variabel) ---------------------------------- */
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-latin.woff2") format("woff2"),
       url("../fonts/work-sans-latin-ext.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2"),
       url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
  font-style: normal;
}

/* ---- Tokens ------------------------------------------------------------ */
:root {
  --ink: #1c1c1c;
  --body: #4a4a4a;
  --muted: #5f5f5f;
  --line: #e4e4e4;
  --surface: #f6f6f6;
  --bg: #ffffff;
  --accent: #12508c;
  --accent-ink: #0d3d6b;
  --focus: #12508c;

  --font-display: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  --step-0: clamp(1.06rem, 1rem + 0.25vw, 1.18rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3: clamp(1.9rem, 1.5rem + 2vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.6vw, 4.5rem);

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-ease: cubic-bezier(0.6, 0.02, 0, 1.01); /* archizen "Appear" timing, 1:1 */
}

/* ---- Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  overflow-x: clip; /* fängt Sub-Pixel-/Rundungs-Überläufe auf sehr schmalen Screens; bricht sticky nicht (anders als hidden) */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ---- Focus / a11y -------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Layout ------------------------------------------------------- */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}
.section { padding-block: var(--section-y); }
:where(section, [id]) { scroll-margin-top: calc(var(--header-h) + 1rem); }
.section--surface { background: var(--surface); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.section__head h2 { font-size: var(--step-3); }
.section__head p { margin-top: 1rem; max-width: 42rem; }
.lede { font-size: var(--step-1); color: var(--body); line-height: 1.5; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  text-decoration: none;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { --btn-bg: var(--accent-ink); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { --btn-bg: var(--surface); --btn-fg: var(--ink); border-color: var(--ink); }
.btn--accent { --btn-bg: var(--accent); }
.btn--accent:hover { --btn-bg: var(--accent-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.2s var(--ease);
}
.textlink svg { width: 1em; height: 1em; }
.textlink:hover { gap: 0.7rem; }

/* ---- Header / Nav -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 97%, transparent);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.brand__logo {
  display: block;
  height: 34px;
  width: auto;
}
@media (max-width: 520px) { .brand__logo { height: 30px; } }

.nav { display: flex; align-items: center; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  font-size: var(--step--1);
  font-weight: 500;
  text-decoration: none;
  color: var(--body);
  border-radius: var(--radius);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav__link:hover { color: var(--ink); background: var(--surface); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  content: "";
  width: 5px; height: 5px;
  margin-left: 0.45rem;
  background: var(--accent);
  border-radius: 50%;
}
/* CTA-Button: immer dunkler Grund + weißer Text. Doppelklassen-Selektor, damit
   weder .nav__link.is-active (Kontakt-Seite) noch .nav__link:hover den Text/Grund
   überschreiben können. Hover = Marken-Blau, Text bleibt weiß. */
.nav__link--cta.nav__link {
  background: var(--ink);
  color: #fff;
  margin-left: 0.4rem;
}
.nav__link--cta.nav__link:hover,
.nav__link--cta.nav__link:focus-visible {
  background: var(--accent);
  color: #fff;
}
.nav__link--cta.is-active::after { background: #fff; }

.nav__toggle { display: none; }

@media (max-width: 820px) {
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.4rem 0.7rem;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
  }
  .nav__toggle-bar,
  .nav__toggle-bar::before,
  .nav__toggle-bar::after {
    content: "";
    display: block;
    width: 20px; height: 2px;
    background: var(--ink);
    transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
  }
  .nav__toggle-bar { position: relative; }
  .nav__toggle-bar::before { position: absolute; top: -6px; }
  .nav__toggle-bar::after { position: absolute; top: 6px; }
  .nav__toggle-label { font-size: var(--step--1); font-weight: 500; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

  .nav__list {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.25);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }
  .nav__list.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link {
    min-height: 52px;
    padding-inline: 0.4rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: var(--step-0);
  }
  .nav__link:hover { background: none; }
  .nav__link--cta { margin: 1rem 0 0; justify-content: center; border-bottom: 0; }
}

/* ---- Preloader (nur Startseite, nur mit JS) — Muster archizen --------- */
.preloader { display: none; }
.js .preloader {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  /* Exit nach archizen (etwas gestrafft): erst faded die Loader-Gruppe an Ort,
     danach räumt der weiße Backdrop ab. Kein Slide/Wipe/Transform. */
  transition: opacity 0.4s var(--ease) 0.25s, visibility 0s 0.65s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  width: min(300px, 70vw);
  transition: opacity 0.6s var(--ease);
}
.preloader.is-done .preloader__inner { opacity: 0; }
.preloader__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  animation: pre-brand 0.5s var(--ease) 0.1s forwards;
}
.preloader__brand span { color: var(--muted); font-weight: 600; }
.preloader__track {
  width: 100%;
  height: 3px;
  background: #d9d9d9;
  overflow: hidden;
}
.preloader__fill {
  display: block;
  width: 2%;
  height: 100%;
  background: var(--ink);
  animation: pre-fill 1s cubic-bezier(0.7, 0, 0.3, 1) forwards;
  transition: width 0.3s var(--ease);
}
@keyframes pre-brand { to { opacity: 1; } }
@keyframes pre-fill { from { width: 2%; } to { width: 92%; } }

/* ---- Hero (full-bleed, Template-Muster) ------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 640px;
  min-height: 88svh;
  max-height: 920px;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
  overflow: clip;
  background: var(--ink);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  transform: scale(1.001);
  will-change: transform;
}
.hero__bg picture { display: block; width: 100%; height: 100%; }
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Nur so viel wie nötig: unteres Drittel für Text-Lesbarkeit, oben bleibt das Bild klar. */
  background:
    linear-gradient(to top, rgba(12, 13, 15, 0.72) 0%, rgba(12, 13, 15, 0.34) 26%, rgba(12, 13, 15, 0.10) 48%, transparent 68%),
    linear-gradient(100deg, rgba(12, 13, 15, 0.36) 0%, rgba(12, 13, 15, 0.08) 42%, transparent 66%);
}
.hero__inner {
  position: relative;
  will-change: transform, opacity;
}
.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 1.1rem + 5.4vw, 5.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em; /* archizen: -4px auf 100px */
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.42);
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.12em; }
.hero__line > span { display: block; will-change: transform; }
.hero__actions { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.btn--on-dark {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--on-dark:hover {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-fg: #fff;
  border-color: #fff;
}
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1.25rem, 3vw, 2rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s var(--ease);
}
.hero__scroll:hover { color: #fff; }
.hero__scroll svg { width: 1rem; height: 1rem; animation: hero-bob 2.4s var(--ease) infinite; }
@keyframes hero-bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* Entrance-Choreografie — 1:1 nach archizen.framer.website (Framer "Appear").
   Ein gemeinsamer Ease mit minimalem Overshoot; Delays relativ zum Moment, in dem
   .is-in gesetzt wird (= Preloader fertig, ≈ realer t 1,8 s). Ergibt dieselbe
   absolute Zeitachse wie das Template: Bild 1,8 s + 2,5 s; Text 3,0/3,1 s + 1 s. */
.js .hero__bg { opacity: 0.001; transform: scale(0.6) rotate(15deg); }
.js .hero__eyebrow { opacity: 0.001; transform: translateY(50px); }
.js .hero__line > span { opacity: 0.001; transform: translateY(50px); }
.js .hero__actions { opacity: 0.001; transform: perspective(1200px) translateY(50px); }
.js .hero__scroll { opacity: 0; }

.hero.is-in .hero__bg {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition: opacity 2.5s var(--hero-ease), transform 2.5s var(--hero-ease);
}
.hero.is-in .hero__eyebrow,
.hero.is-in .hero__line > span,
.hero.is-in .hero__actions {
  opacity: 1;
  transform: none;
  transition: opacity 1s var(--hero-ease), transform 1s var(--hero-ease);
}
.hero.is-in .hero__eyebrow { transition-delay: 1.1s; }
.hero.is-in .hero__line:nth-child(1) > span { transition-delay: 1.2s; }
.hero.is-in .hero__line:nth-child(2) > span { transition-delay: 1.3s; }
.hero.is-in .hero__actions { transition-delay: 1.4s; }
.hero.is-in .hero__scroll { opacity: 1; transition: opacity 0.6s var(--ease) 1.8s; }

@media (max-width: 700px) {
  .hero {
    min-height: 540px;
    min-height: 80svh;
    padding-block: clamp(2rem, 5vw, 3rem) clamp(2rem, 6vw, 3rem);
  }
  .hero__bg img { object-position: center 58%; }
  .hero__title { font-size: clamp(2.15rem, 1.3rem + 4.2vw, 2.9rem); }
  .hero__scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .preloader { display: none !important; }
  .preloader__fill, .preloader__brand { animation: none; }
  .js .hero__line > span,
  .js .hero__eyebrow,
  .js .hero__actions,
  .js .hero__bg,
  .js .hero__scroll { opacity: 1; transform: none; }
  .hero.is-in .hero__bg,
  .hero.is-in .hero__eyebrow,
  .hero.is-in .hero__line > span,
  .hero.is-in .hero__actions { transition: none; }
  .hero__scroll svg { animation: none; }
}

/* ---- Facts strip ------------------------------------------------------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.facts__item {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.35rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) 1.25rem clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line);
}
.facts__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-2);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.facts__label { font-size: var(--step--1); color: var(--muted); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .facts { grid-template-columns: 1fr; } }

/* ---- Service cards --------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover { border-color: var(--ink); }
.card__media {
  aspect-ratio: 16 / 10;
  background: var(--surface);
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.4s var(--ease), transform 0.5s var(--ease);
}
.card:hover .card__media img { filter: grayscale(0); transform: scale(1.03); }
.card__body { padding: clamp(1.3rem, 2.5vw, 1.9rem); display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card__title { font-size: var(--step-1); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card__title svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--muted); transition: transform 0.25s var(--ease), color 0.25s var(--ease); }
.card:hover .card__title svg { transform: translateX(4px); color: var(--accent); }
.card__text { color: var(--body); font-size: var(--step--1); line-height: 1.6; }
.card__meta { margin-top: auto; padding-top: 0.9rem; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }

/* ---- Figure (inline page image) --------------------------------- */
.figure {
  margin-block: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.figure img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.figure figcaption { padding: 0.9rem 0; font-size: var(--step--1); color: var(--muted); }

/* ---- Prose / detail content --------------------------------------- */
.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.75rem; }
.prose h3 { font-size: var(--step-1); margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.5rem; }
.prose a { color: var(--accent-ink); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

/* ---- Two-column split (content + aside) --------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.split__aside {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--surface);
  border-radius: var(--radius);
  font-size: var(--step--1);
}
.split__aside h2 { font-size: var(--step-0); margin-bottom: 0.75rem; }
.split__aside dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; }
.split__aside dt { color: var(--muted); }
.split__aside dd { color: var(--ink); font-weight: 500; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split__aside { position: static; }
}

/* ---- Steps (Ablauf) --------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}
.step__num {
  counter-increment: step;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  color: var(--muted);
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step__title { font-size: var(--step-1); margin-bottom: 0.4rem; }
.step__text { font-size: var(--step--1); color: var(--body); max-width: 44rem; }

/* ---- Price ------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); }
.price {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.price__name { font-size: var(--step-0); font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.price__value { margin-top: 0.8rem; font-size: var(--step-2); font-family: var(--font-display); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.price__value small { font-size: var(--step--1); font-weight: 400; color: var(--muted); letter-spacing: 0; }
.price__note { margin-top: 0.6rem; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 620px) { .price-grid { grid-template-columns: 1fr; } }

/* ---- FAQ ------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); max-width: 48rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { width: 1rem; height: 1rem; flex: none; transition: transform 0.25s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding-bottom: 1.4rem; color: var(--body); font-size: var(--step--1); max-width: 44rem; }
.faq__a > * + * { margin-top: 0.8rem; }

/* ---- Forms --------------------------------------------------------- */
.form-block { background: var(--surface); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--step--1); font-weight: 500; color: var(--ink); }
.field .req { color: var(--accent-ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field__error { font-size: var(--step--1); color: #b3261e; min-height: 1.2em; }
.field__error::before { content: "⚠ "; }
.field__error:empty::before { content: ""; }
.checkbox { flex-direction: row; align-items: flex-start; gap: 0.7rem; }
.checkbox input { min-height: 0; width: 20px; height: 20px; margin-top: 0.2rem; flex: none; accent-color: var(--accent); }
.checkbox label { font-weight: 400; color: var(--body); font-size: var(--step--1); line-height: 1.5; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-status { font-size: var(--step--1); }
.form-status[data-state="ok"] { color: #1a7f37; }
.form-status[data-state="error"] { color: #b3261e; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- Contact detail list --------------------------------------------- */
.contact-lines { display: grid; gap: 1.25rem; }
.contact-lines div { display: grid; gap: 0.15rem; }
.contact-lines dt { font-size: var(--step--1); color: var(--muted); }
.contact-lines dd { font-size: var(--step-0); color: var(--ink); font-weight: 500; }
.contact-lines a { text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---- CTA band ------------------------------------------------------- */
.cta-band { background: var(--ink); color: #fff; }
.cta-band h2 { color: #fff; font-size: var(--step-3); max-width: 20ch; }
.cta-band p { color: rgba(255, 255, 255, 0.72); margin-top: 1rem; max-width: 44ch; }
.cta-band .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.3); }
.cta-band .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.1); --btn-fg: #fff; border-color: #fff; }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }

/* ---- Breadcrumb --------------------------------------------------------- */
.breadcrumb { padding-top: 1.5rem; font-size: var(--step--1); color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.5rem; padding: 0; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li::after { content: "/"; margin-left: 0.5rem; color: var(--line); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { display: inline-block; padding-block: 0.3rem; text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* ---- Page header (inner pages) ------------------------------------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 1.3rem + 3.4vw, 3.5rem); }
.page-head p { margin-top: 1.25rem; font-size: var(--step-1); color: var(--body); max-width: 46rem; line-height: 1.5; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.site-footer__head { font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.site-footer__col ul { list-style: none; padding: 0; display: grid; gap: 0.2rem; }
.site-footer__col a {
  display: inline-block;
  padding-block: 0.4rem;
  text-decoration: none;
  color: var(--body);
  font-size: var(--step--1);
}
.site-footer__col a:hover { color: var(--ink); }
.site-footer__note { margin-top: 1rem; font-size: var(--step--1); color: var(--muted); max-width: 30ch; }
.site-footer__address { font-style: normal; font-size: var(--step--1); color: var(--body); line-height: 1.9; }
.site-footer__address a { text-decoration: none; }
.site-footer__aihint { color: var(--muted); }
@media (max-width: 520px) { .site-footer__legal { flex-wrap: wrap; row-gap: 0.25rem; } }
.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--muted);
}
.site-footer__legal { list-style: none; display: flex; gap: 1.5rem; padding: 0; }
.site-footer__legal a { display: inline-block; padding-block: 0.35rem; text-decoration: none; color: var(--muted); }
.site-footer__legal a:hover { color: var(--ink); }
.brand--footer .brand__logo { height: 40px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---- Reveal (leise Motion, novex §9) ----------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card__media img { filter: grayscale(0); }
  * { transition: none !important; animation: none !important; }
}

/* ---- Utilities ------------------------------------------------------- */
.stack-lg > * + * { margin-top: clamp(2rem, 4vw, 3rem); }
.mt-3 { margin-top: 2rem; }
.text-muted { color: var(--muted); }
.todo-note {
  display: block;
  margin-top: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  font-size: var(--step--1);
  color: var(--muted);
}
