/* RAUMTREU Reinigungsservice · Konzeptprojekt von EA Webdesign
   Designsystem: Weiß, kühles Hellgrau, dunkles Petrol, kleiner Mintakzent. Manrope lokal. */

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

:root {
  --white: #FFFFFF;
  --grey: #F2F5F5;
  --ink: #163A3D;
  --text: #45575A;
  --primary: #174E52;
  --primary-hover: #123F42;
  --mint: #D9EEE6;
  --line: #DCE4E3;
  --error: #9E3B2E;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1280px;
  --gutter: 20px;
  --section: 64px;
  --section-sm: 48px;
  --header: 72px;
  --radius: 4px;
  --radius-img: 3px;
  --t: 180ms ease;
  --measure: 62ch;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section: 80px; --section-sm: 56px; --header: 80px; }
}
@media (min-width: 1100px) {
  :root { --gutter: 56px; --section: 104px; --section-sm: 72px; }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 17.5px; } }

h1, h2, h3, h4 { color: var(--ink); font-weight: 600; margin: 0; letter-spacing: -0.015em; overflow-wrap: anywhere; }
h1 { font-size: clamp(38px, 3.2vw + 26px, 76px); line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 1.6vw + 20px, 44px); line-height: 1.14; letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 0.5vw + 17px, 23px); line-height: 1.3; }
h4 { font-size: 18px; line-height: 1.35; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
button { font: inherit; color: inherit; }
strong { font-weight: 600; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--mint); color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header) + 16px); }

.measure { max-width: var(--measure); }
.lead { font-size: 19px; line-height: 1.55; }
@media (min-width: 768px) { .lead { font-size: 21px; } }
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
@media (min-width: 768px) { .eyebrow { font-size: 13px; } }
.text-link {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  transition: gap var(--t);
}
.text-link svg { width: 18px; height: 18px; flex: none; transition: transform var(--t); }
.text-link:hover svg { transform: translateX(4px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-sm { padding-top: var(--section-sm); padding-bottom: var(--section-sm); }
.bg-grey { background: var(--grey); }
.bg-mint { background: var(--mint); }
.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; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--t), border-color var(--t), color var(--t);
  white-space: nowrap;
}
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-secondary { background: var(--white); color: var(--primary); }
.btn-secondary:hover { background: var(--grey); color: var(--primary); border-color: var(--primary); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Skip-Link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -100px;
  background: var(--ink); color: var(--white);
  padding: 12px 18px; border-radius: var(--radius); z-index: 1000; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Wortmarke ---------- */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.wordmark-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.wordmark-name svg { width: 12px; height: 12px; color: var(--primary); flex: none; }
.wordmark-sub {
  margin-top: 5px;
  padding-left: 19px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text);
}
.wordmark-lg .wordmark-name { font-size: 22px; }
.wordmark-lg .wordmark-sub { font-size: 10.5px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease;
}
.site-header.is-scrolled { background: var(--white); border-bottom-color: var(--line); }
main { padding-top: var(--header); }
.site-header .container {
  height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav { display: none; align-items: center; gap: 4px; margin-left: auto; }
.nav > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  font-weight: 500; font-size: 16px; color: var(--ink);
  background: none; border: 0; cursor: pointer; border-radius: var(--radius);
  position: relative;
  transition: color var(--t);
}
.nav-link:hover { color: var(--primary); }
.nav-link svg { width: 14px; height: 14px; transition: transform var(--t); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-link[aria-current="page"]::after, .nav-link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--primary); border-radius: 1px;
}
.sub {
  position: absolute; top: calc(100% + 6px); left: 6px;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  display: none;
  box-shadow: 0 8px 24px rgba(22, 58, 61, 0.08);
}
.sub.is-open { display: block; }
.sub a {
  display: block; padding: 11px 14px; border-radius: 3px;
  color: var(--ink); font-weight: 500; font-size: 15.5px;
  transition: background-color var(--t);
}
.sub a:hover { background: var(--grey); }
.sub a[aria-current="page"], .sub a.is-active { background: var(--mint); }
.sub-divider { height: 1px; background: var(--line); margin: 6px 8px; }
.header-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px 0 12px;
  background: none; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; color: var(--ink);
}
.menu-btn svg { width: 24px; height: 24px; }
@media (min-width: 960px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; margin-left: 20px; }
  .menu-btn { display: none; }
}

/* ---------- Mobiles Menü (Drawer) ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(22, 58, 61, 0.28);
  opacity: 0; visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(380px, 100%);
  background: var(--white);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 240ms ease;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
body.drawer-open { overflow: hidden; }
.drawer-head {
  height: var(--header); flex: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}
.drawer-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: none; border: 0; cursor: pointer; color: var(--ink); border-radius: var(--radius);
}
.drawer-close svg { width: 24px; height: 24px; }
.drawer-nav { padding: 12px var(--gutter) 24px; }
.drawer-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; min-height: 56px;
  font-size: 20px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.drawer-nav .drawer-sub a { font-size: 17px; font-weight: 500; padding-left: 18px; min-height: 52px; }
.drawer-nav a[aria-current="page"], .drawer-nav a.is-active { color: var(--primary); }
.drawer-nav a svg { width: 18px; height: 18px; color: var(--primary); }
.drawer-foot { margin-top: auto; padding: 8px var(--gutter) 32px; }
.drawer-foot .btn { width: 100%; }
.drawer-foot p { margin-top: 18px; font-size: 14.5px; }

/* ---------- Hero (verblendetes Hintergrundbild) ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); margin-top: calc(-1 * var(--header)); }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 2; }
.hero-text { max-width: 640px; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 34px; }

/* Mobil: erst Text, dann Foto, nach oben und unten ins Weiß verlaufend */
.hero-content { padding-top: calc(var(--header) + 48px); padding-bottom: 8px; }
.hero-media { aspect-ratio: 4 / 3; margin-top: 16px; }
.hero-media::after {
  background:
    linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 78%, #FFFFFF 100%),
    rgba(255,255,255,0.12);
}
@media (min-width: 768px) {
  .hero-content { padding-top: calc(var(--header) + 64px); }
  .hero-media { aspect-ratio: 16 / 9; }
}
@media (min-width: 960px) {
  .hero { min-height: calc(clamp(560px, 78vh, 760px) + var(--header)); display: flex; align-items: center; }
  .hero-content { padding-top: calc(var(--header) + 56px); padding-bottom: 56px; width: 100%; }
  .hero-media { position: absolute; inset: 0; margin: 0; aspect-ratio: auto; z-index: 1; }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.25) 12%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 72%, #FFFFFF 100%),
      linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 40%, rgba(255,255,255,0.92) 50%, rgba(255,255,255,0.62) 64%, rgba(255,255,255,0.30) 82%, rgba(255,255,255,0.18) 100%);
  }
}

/* ---------- Abschnittsköpfe ---------- */
.section-head { margin-bottom: 44px; }
.section-head h2 { max-width: 20ch; }
.section-head p { margin-top: 18px; max-width: var(--measure); }
@media (min-width: 900px) {
  .section-head { margin-bottom: 56px; }
  .section-head.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
  .section-head.split p { margin-top: 0; }
}

/* ---------- Leistungszeilen (Startseite) ---------- */
.services-layout { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .services-layout { grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; }
}
.service-list { border-top: 1px solid var(--line); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 44px 1fr 40px;
  gap: 8px 12px;
  align-items: start;
  padding: 26px 0;
  color: inherit;
  text-decoration: none;
}
.service-row .num { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; color: var(--primary); padding-top: 6px; }
.service-row h3 { transition: color var(--t); }
.service-row p { margin-top: 8px; max-width: 52ch; }
.service-row .arrow {
  width: 40px; height: 40px; flex: none; margin-top: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--primary); border-radius: 50%;
  transition: transform var(--t), background-color var(--t);
}
.service-row .arrow svg { width: 20px; height: 20px; }
.service-row:hover h3 { color: var(--primary); }
.service-row:hover .arrow { transform: translateX(4px); background: var(--mint); }
@media (min-width: 768px) {
  .service-row { grid-template-columns: 64px 1fr 48px; padding: 32px 0; }
}
.services-figure { display: none; }
@media (min-width: 960px) {
  .services-figure { display: block; margin: 0; }
  .services-figure img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 72% 50%; border-radius: var(--radius-img); width: 100%; }
}
.services-figure figcaption { margin-top: 14px; font-size: 14.5px; }

/* ---------- Arbeitsweise (Bild links, Text rechts) ---------- */
.approach { display: grid; gap: 40px; }
.approach-figure { margin: 0; }
.approach-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: var(--radius-img); }
.approach-blocks { display: grid; gap: 36px; }
.approach-blocks h3 { margin-bottom: 10px; }
.approach-blocks p { max-width: 50ch; }
@media (min-width: 900px) {
  .approach { grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; }
  .approach-figure img { aspect-ratio: 3 / 4; }
  .approach-blocks { gap: 40px; }
}

/* ---------- Schritte ---------- */
.steps { display: grid; gap: 32px; }
.step { border-top: 1px solid var(--ink); padding-top: 22px; }
.step .num { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; color: var(--primary); margin-bottom: 14px; }
.step h3 { margin-bottom: 10px; }
.step p { max-width: 36ch; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* ---------- Abschluss ---------- */
.closing h2 { font-size: clamp(32px, 2.4vw + 20px, 56px); max-width: 16ch; }
.closing p { margin-top: 20px; max-width: 48ch; font-size: 19px; }
.closing .btn { margin-top: 32px; }
@media (min-width: 900px) {
  .closing-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
  .closing .btn { margin-top: 0; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 15.5px; }
.footer-grid { display: grid; gap: 40px; }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; font-weight: 600; }
.footer-col li + li { margin-top: 4px; }
.footer-col a { color: var(--text); display: inline-block; padding: 4px 0; min-height: 32px; transition: color var(--t); }
.footer-col a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between;
  font-size: 14.5px;
}
.footer-bottom a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom a:hover { color: var(--primary); }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
}

/* ---------- Unterseiten: Seitenkopf ---------- */
.page-head { padding-top: 56px; padding-bottom: 48px; }
.page-head h1 { max-width: 18ch; }
.page-head .lead { margin-top: 26px; max-width: 58ch; }
.page-head .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
@media (min-width: 900px) {
  .page-head { padding-top: 88px; padding-bottom: 64px; }
  .page-head.split { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
  .page-head.split .lead { margin-top: 0; }
}
.page-figure { margin: 0; }
.page-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-img); }
@media (min-width: 768px) { .page-figure img { aspect-ratio: 3 / 2; } }
.figure-portrait img { aspect-ratio: 3 / 4 !important; }
.page-figure figcaption { margin-top: 12px; font-size: 14.5px; }
.pos-hero { object-position: 60% 50%; }
.pos-weit { object-position: 56% 50%; }
.pos-detail { object-position: 72% 50%; }
.pos-vorbereitung { object-position: 50% 22%; }
.pos-hochformat { object-position: 50% 40%; }

/* ---------- Zweispaltiger Inhalt ---------- */
.two-col { display: grid; gap: 40px; }
.two-col h2 { max-width: 16ch; }
.two-col .col-text > p { max-width: var(--measure); }
.two-col .col-text > p + p { margin-top: 1em; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .two-col.sticky-head > :first-child { position: sticky; top: calc(var(--header) + 32px); }
}

/* ---------- Definitionsliste / Umfang ---------- */
.spec-list { border-top: 1px solid var(--line); }
.spec-list > li { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec-list h3, .spec-list h4 { font-size: 18px; }
.spec-list p { max-width: 52ch; }
@media (min-width: 640px) {
  .spec-list > li { grid-template-columns: 220px 1fr; gap: 24px; }
}
@media (min-width: 900px) {
  .spec-list > li { grid-template-columns: 260px 1fr; gap: 40px; padding: 24px 0; }
}

/* ---------- Leistungsübersicht: gewichtete Zeilen ---------- */
.offer { display: grid; gap: 32px; padding: 48px 0; border-top: 1px solid var(--line); }
.offer:last-of-type { border-bottom: 1px solid var(--line); }
.offer .num { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; color: var(--primary); margin-bottom: 16px; }
.offer h2 { font-size: clamp(26px, 1.2vw + 20px, 36px); }
.offer .offer-lead { margin-top: 16px; max-width: 54ch; }
.offer-facts { display: grid; gap: 24px; margin-top: 28px; }
.offer-facts h3 { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.offer-facts ul { display: grid; gap: 4px; }
.offer-facts li { padding-left: 18px; position: relative; }
.offer-facts li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.offer-facts p { max-width: 42ch; }
.offer .text-link { margin-top: 24px; }
.offer-figure { margin: 0; }
.offer-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-img); }
.offer-note { margin-top: 20px; max-width: 56ch; }
@media (min-width: 640px) { .offer-facts { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (min-width: 900px) {
  .offer { grid-template-columns: 7fr 5fr; gap: 72px; padding: 64px 0; align-items: start; }
  .offer.offer-featured { grid-template-columns: 6fr 6fr; }
  .offer.offer-plain { grid-template-columns: 7fr 5fr; }
  .offer.offer-plain .offer-facts { grid-template-columns: 1fr; }
  .offer.offer-plain .offer-aside { padding-top: 6px; }
  .offer-figure img { aspect-ratio: 4 / 3; }
  .offer-featured .offer-figure img { aspect-ratio: 5 / 4; }
}

/* Hinweiskasten (Orientierung) */
.notice-box { background: var(--grey); border-radius: var(--radius); padding: 32px 24px; display: grid; gap: 20px; }
.notice-box h2 { font-size: clamp(24px, 1vw + 18px, 30px); max-width: 22ch; }
.notice-box p { max-width: 52ch; }
@media (min-width: 768px) { .notice-box { padding: 40px; } }
@media (min-width: 900px) { .notice-box { grid-template-columns: 1fr auto; align-items: center; gap: 40px; } }

/* ---------- Checkliste ---------- */
.checklist-box { background: var(--mint); border-radius: var(--radius); padding: 32px 24px; display: grid; gap: 28px; }
.checklist-box > div > p { margin-top: 14px; max-width: 34ch; color: var(--ink); }
@media (min-width: 900px) { .checklist-box { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; padding: 48px 56px; } }
.checklist-box h2 { font-size: clamp(24px, 1vw + 18px, 30px); }
.checklist { display: grid; gap: 0; border-top: 1px solid rgba(22,58,61,0.18); }
.checklist li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid rgba(22,58,61,0.18); }
.checklist strong { font-weight: 600; color: var(--ink); }
.checklist p { color: var(--ink); }
@media (min-width: 640px) { .checklist li { grid-template-columns: 180px 1fr; gap: 24px; } }
@media (min-width: 768px) and (max-width: 899px) { .checklist-box { padding: 40px 44px; } }

/* ---------- Redaktionelle Blöcke (Über RAUMTREU) ---------- */
.editorial { display: grid; gap: 40px; }
.editorial-item h3 { margin-bottom: 10px; }
.editorial-item p { max-width: 52ch; }
.editorial-item .num { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; color: var(--primary); margin-bottom: 12px; }

/* ---------- Akkordeon / Fragen ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.3;
}
.faq-btn:hover { color: var(--primary); }
.faq-icon { flex: none; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--primary); transition: background-color var(--t), transform var(--t); }
.faq-icon svg { width: 14px; height: 14px; }
.faq-icon .minus { display: none; }
.faq-btn[aria-expanded="true"] .faq-icon { background: var(--mint); }
.faq-btn[aria-expanded="true"] .faq-icon .plus { display: none; }
.faq-btn[aria-expanded="true"] .faq-icon .minus { display: block; }
.faq-panel { padding: 0 0 24px; }
.faq-panel p { max-width: 58ch; }
.faq-panel[hidden] { display: none; }

/* ---------- Seiten-CTA ---------- */
.page-cta { border-top: 1px solid var(--line); }
.page-cta h2 { max-width: 18ch; }
.page-cta p { margin-top: 16px; max-width: 50ch; }
.page-cta .btn { margin-top: 28px; }
@media (min-width: 900px) {
  .page-cta .container { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
  .page-cta .btn { margin-top: 0; }
}

/* ---------- Demo-Hinweis ---------- */
.demo-note { background: var(--mint); color: var(--ink); font-size: 14.5px; font-weight: 500; }
.demo-note .container { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
.demo-note svg { width: 18px; height: 18px; flex: none; }

/* ---------- Formular ---------- */
.form-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .form-layout { grid-template-columns: 7fr 4fr; gap: 80px; align-items: start; }
  .form-aside { position: sticky; top: calc(var(--header) + 32px); }
}
.form-aside h2 { font-size: 22px; }
.form-aside p { margin-top: 14px; max-width: 38ch; font-size: 16px; }
.form-aside .aside-block + .aside-block { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }

.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 40px; }
.progress li { border-top: 2px solid var(--line); padding-top: 12px; font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
.progress li .p-num { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; }
.progress li.is-current { border-top-color: var(--primary); color: var(--ink); }
.progress li.is-done { border-top-color: var(--ink); color: var(--ink); }

.form-step[hidden] { display: none; }
.form-step h2 { font-size: clamp(26px, 1.2vw + 20px, 34px); outline: none; }
.form-step h2:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; }
.form-step > p { margin-top: 12px; max-width: 54ch; }
fieldset { border: 0; padding: 0; margin: 36px 0 0; min-width: 0; }
legend { padding: 0; font-weight: 600; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.hint { font-size: 15px; margin-bottom: 14px; }
.choices { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 560px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; font-weight: 500; color: var(--ink);
  transition: border-color var(--t), background-color var(--t);
}
.choice:hover { border-color: var(--primary); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice .box {
  flex: none; width: 20px; height: 20px; border: 1.5px solid var(--text); border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center; background: var(--white);
  transition: background-color var(--t), border-color var(--t);
}
.choice .box.round { border-radius: 50%; }
.choice .box svg { width: 12px; height: 12px; color: var(--white); opacity: 0; }
.choice .box.round::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--white); opacity: 0; }
.choice input:checked ~ .box { background: var(--primary); border-color: var(--primary); }
.choice input:checked ~ .box svg, .choice input:checked ~ .box.round::after { opacity: 1; }
.choice:has(input:checked) { background: var(--mint); border-color: var(--primary); }
.choice:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }

.field { margin-top: 24px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field .optional { font-weight: 400; color: var(--text); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; color: var(--ink); background: var(--white);
  transition: border-color var(--t);
}
.field input:hover, .field textarea:hover { border-color: var(--text); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: var(--primary); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.error-msg { display: none; margin-top: 8px; font-size: 15px; color: var(--error); font-weight: 500; }
.has-error .error-msg, .error-msg.is-visible { display: block; }
fieldset.has-error .choices { outline: 1px solid var(--error); outline-offset: 6px; border-radius: 2px; }
.area-row { display: grid; gap: 12px; align-items: end; }
@media (min-width: 640px) { .area-row { grid-template-columns: 1fr auto; } }
.area-row .choice { min-height: 48px; }
.input-unit { position: relative; }
.input-unit input { padding-right: 52px; }
.input-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-weight: 500; color: var(--text); }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.summary + .form-actions { border-top: 0; padding-top: 8px; }
.form-actions .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .form-actions .btn { flex: 0 0 auto; } }

.summary { margin-top: 36px; border-top: 1px solid var(--line); }
.summary-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.summary-row dt { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.summary-row dd { margin: 0; grid-column: 1; color: var(--text); }
.summary-row .edit { grid-column: 2; grid-row: 1 / span 2; }
.edit { background: none; border: 0; cursor: pointer; font-weight: 600; color: var(--primary); padding: 8px 4px; min-height: 40px; text-decoration: underline; text-underline-offset: 4px; }
.summary-title { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 40px; }

.form-done { padding: 0; }
.form-done h2 { font-size: clamp(28px, 1.4vw + 20px, 38px); outline: none; }
.form-done > p { margin-top: 16px; max-width: 54ch; }
.form-done .btn { margin-top: 32px; }
.form-done .summary dd { color: var(--ink); }
.form-done .summary-row { grid-template-columns: 1fr; }

/* ---------- Kontakt-Block ---------- */
.contact-grid { display: grid; gap: 32px; }
.contact-grid h3 { margin-bottom: 10px; }
.contact-grid p { max-width: 44ch; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* ---------- Projekthinweis ---------- */
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; margin-bottom: 0.5em; font-size: clamp(24px, 1vw + 18px, 30px); }
.prose ul { display: grid; gap: 6px; }
.prose li { padding-left: 18px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.prose a { text-decoration: underline; text-underline-offset: 4px; }
.source-table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin-top: 8px; }
.source-table th, .source-table td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.source-table th { font-weight: 600; color: var(--ink); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}


/* Fußzeilenlinks als sichere Tippziele auf dem Smartphone. */
@media (max-width: 760px) {
  .footer-col a { min-height: 44px; display: inline-flex; align-items: center; padding: 0; }
  .footer-col li + li { margin-top: 0; }
  .footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
}
