/* =====================================================================
   M's Codewerk — Die Digitalschmiede
   Design-System „Anthrazit & Messing" (aus Betriebs-Tool/docs/DESIGN-SYSTEM.md)
   Statisches CSS, keine externen Requests. Fonts lokal via @font-face.
   ===================================================================== */

/* ---- Lokale Variable Font (CSP-clean, kein CDN) --------------------- */
@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/geist-latin-wght-normal.woff2") format("woff2");
  /* Basis-Latein: deckt deutsche Umlaute (ä ö ü ß) ab */
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* ---- Design-Tokens (Dark = Standard-Bühne) ------------------------- */
:root {
  /* Farb-Palette „Anthrazit & Messing" */
  --background: #191d23;
  --background-deep: #15191e; /* Schmiede-Boden, minimal dunkler */
  --foreground: #eceff2;
  --card: #22272d;
  --popover: #242930;
  --primary: #e8aa51; /* Messing/Gold — Signal, sparsam */
  --primary-foreground: #0d1624;
  --secondary: #464e58;
  --muted: #30363e;
  --muted-foreground: #a5abb4;
  --accent: #3a4049;
  --destructive: #f4595e;
  --success: #43c07a;
  --border: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.24);
  --ring: #e8aa51;

  /* Typografie */
  --font-sans: "Geist Variable", system-ui, -apple-system, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono",
    Menlo, Consolas, monospace;

  /* Radius / Spacing */
  --radius: 0.625rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-pill: 999px;
  --maxw: 72rem;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset / Basis ------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* dezente Schmiede-Glut: Gold-Schimmer oben, ruhiges Anthrazit unten */
  background-image:
    radial-gradient(60rem 40rem at 75% -10%, rgba(232, 170, 81, 0.08), transparent 60%),
    radial-gradient(50rem 40rem at 0% 5%, rgba(78, 130, 229, 0.05), transparent 55%);
  background-attachment: fixed;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 600;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Layout-Helfer ------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.section--tight {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
/* Startseite (body.start): kompaktere Abstände — sie ist Teaser, kein
   One-Pager mehr; die Unterseiten behalten ihre großzügige Luft. */
.start .hero {
  padding-block: clamp(2.75rem, 7vw, 5rem);
}
.start .section {
  padding-block: clamp(2rem, 4.5vw, 3rem);
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin-bottom: 0.75rem;
}
.section-lead {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  max-width: 42rem;
}
.center {
  text-align: center;
}
.center .section-lead {
  margin-inline: auto;
}

/* ---- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 600;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 150ms ease-out, border-color 150ms ease-out,
    transform 120ms ease-out, box-shadow 150ms ease-out;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
.btn--primary:hover {
  background: #f0b866;
}
.btn--ghost {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--primary);
  background: var(--accent);
}
.btn--lg {
  padding: 1rem 1.7rem;
  font-size: 1.05rem;
}

/* ---- Header / Nav -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 25, 30, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius);
  background: rgba(232, 170, 81, 0.15);
  border: 1px solid rgba(232, 170, 81, 0.35);
  color: var(--primary);
  flex: none;
  overflow: hidden;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-size: 1.18rem;
}
.brand__name .accent {
  color: var(--primary);
}
/* Goldener Claim unter dem Namen, mit dezentem Glut-Schimmer */
.brand__claim {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(232, 170, 81, 0.45);
}
/* Footer-Marke bleibt schlicht (dort steht der Claim schon im Text) */
.site-footer .brand__name {
  font-size: 1.02rem;
}
.nav__links {
  display: none;
  gap: 1.5rem;
  align-items: center;
}
.nav__links a {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  transition: color 150ms ease-out;
}
.nav__links a:hover {
  color: var(--foreground);
}
.nav__links a[aria-current="page"] {
  color: var(--foreground);
  position: relative;
}
/* Gold-Strich als eigenes Element (statt ::after), damit er beim
   Seitenwechsel als Einziges zum neuen Menüpunkt gleiten kann. */
.nav-strich {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}
.nav__cta {
  display: none;
}
@media (min-width: 820px) {
  .nav__links,
  .nav__cta {
    display: inline-flex;
  }
}

/* ---- Hero ---------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(4rem, 11vw, 8rem);
  overflow: hidden;
}
.hero__inner {
  max-width: 46rem;
}
.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hero__art {
  display: none;
}
.hero__art img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(232, 170, 81, 0.25);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero__art {
    display: block;
  }
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.08;
}
.hero h1 .accent {
  color: var(--primary);
}
.hero__lead {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--muted-foreground);
  max-width: 40rem;
}
.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero__note {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero__note .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--success);
  flex: none;
}

/* ---- Karten-Grids -------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 720px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  height: 100%;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius);
  background: var(--muted);
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}
.card--gold .card__icon {
  background: rgba(232, 170, 81, 0.14);
  color: var(--primary);
}
.card__icon--img {
  width: 3.4rem;
  height: 3.4rem;
  overflow: hidden;
  border: 1px solid rgba(232, 170, 81, 0.3);
  background: #0c0e12;
}
.card__icon--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card--gold {
  border-color: rgba(232, 170, 81, 0.3);
  background:
    linear-gradient(180deg, rgba(232, 170, 81, 0.06), transparent 45%),
    var(--card);
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--muted-foreground);
  font-size: 0.98rem;
}
.card__tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
}

/* Ganze Kachel als Link (Startseite) */
.card--link {
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: border-color 150ms ease-out, transform 120ms ease-out,
    box-shadow 150ms ease-out;
}
.card--link:hover {
  border-color: rgba(232, 170, 81, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.card__more {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

/* Problem/Lösung-Zeilen */
.pain {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.3rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 100%;
}
.pain__quote {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.35rem;
}
.pain__fix {
  color: var(--muted-foreground);
  font-size: 0.96rem;
}
.pain__arrow {
  color: var(--primary);
  flex: none;
  margin-top: 0.15rem;
}

/* ---- So läuft's — Schritte ---------------------------------------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  padding-top: 2.4rem;
}
.step__num {
  position: absolute;
  top: 1.3rem;
  right: 1.4rem;
  font-size: 2.4rem;
  font-weight: 600;
  color: rgba(232, 170, 81, 0.25);
  line-height: 1;
}
.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.step p {
  color: var(--muted-foreground);
  font-size: 0.96rem;
}
.step--first {
  border-color: rgba(232, 170, 81, 0.35);
}
.step--first .step__badge {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-foreground);
  background: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

/* ---- Referenzen ---------------------------------------------------- */
.proof {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.7rem;
  height: 100%;
}
.proof__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.9rem;
}
.proof h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.proof p {
  color: var(--muted-foreground);
  font-size: 0.97rem;
}
.proof__flow {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.proof__flow li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--foreground);
}
.proof__flow .k {
  color: var(--primary);
  font-weight: 600;
  flex: none;
}

/* ---- Über mich ----------------------------------------------------- */
.about {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 820px) {
  .about {
    grid-template-columns: 1.4fr 1fr;
  }
  .about--mit-bild {
    grid-template-columns: 0.75fr 1.5fr 1fr;
  }
}
.about__portrait {
  margin: 0;
  max-width: 17rem;
}
.about__portrait img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(232, 170, 81, 0.4);
  box-shadow:
    0 0 0 4px rgba(232, 170, 81, 0.08),
    0 18px 50px rgba(0, 0, 0, 0.45);
}
.about__portrait figcaption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  text-align: center;
}
/* Verantwortungs-Block: Text links, Bild rechts — diagonal zum Porträt oben */
.about-verantwortung {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}
@media (min-width: 820px) {
  .about-verantwortung {
    grid-template-columns: 1.6fr 0.9fr;
  }
  .about__portrait--rechts {
    justify-self: end;
  }
}
.about-verantwortung__text .k {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius);
  background: rgba(232, 170, 81, 0.12);
  border: 1px solid rgba(232, 170, 81, 0.3);
  color: var(--primary);
  margin-bottom: 0.8rem;
}
.about-verantwortung__text h2 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}
.about-verantwortung__text p {
  color: var(--muted-foreground);
  max-width: 38rem;
}
.about p + p {
  margin-top: 1rem;
}
.about__values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.about__values li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.1rem;
}
.about__values strong {
  display: block;
}
.about__values span {
  color: var(--muted-foreground);
  font-size: 0.92rem;
}
.about__values .k {
  color: var(--primary);
  flex: none;
  margin-top: 0.1rem;
}

/* ---- FAQ ----------------------------------------------------------- */
.faq {
  margin-top: 2.25rem;
  display: grid;
  gap: 0.85rem;
  max-width: 48rem;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0 1.3rem;
  transition: border-color 150ms ease-out;
}
.faq details[open] {
  border-color: rgba(232, 170, 81, 0.3);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 200ms var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq p {
  color: var(--muted-foreground);
  padding-bottom: 1.2rem;
  margin-top: -0.25rem;
}

/* ---- Kontakt / CTA-Bühne ------------------------------------------ */
.cta {
  background:
    linear-gradient(180deg, rgba(232, 170, 81, 0.08), transparent 60%),
    var(--card);
  border: 1px solid rgba(232, 170, 81, 0.28);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 0.75rem;
}
.cta p {
  color: var(--muted-foreground);
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}
.cta__mail {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted-foreground);
}
.cta__mail .ph {
  color: var(--primary);
  font-weight: 600;
}

/* ---- Footer -------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background-deep);
  padding-block: 2.5rem;
  margin-top: 2rem;
}
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: center;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer__links a {
  color: var(--muted-foreground);
  font-size: 0.92rem;
  transition: color 150ms ease-out;
}
.footer__links a:hover {
  color: var(--foreground);
}
.footer__meta {
  color: var(--muted-foreground);
  font-size: 0.85rem;
}

/* ---- Scroll-Animation (nur CSS) ------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-in linear forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 55%;
}
@keyframes reveal-in {
  to {
    opacity: 1;
    transform: none;
  }
}
/* Browser ohne scroll-timeline: sofort sichtbar (Fallback) */
@supports not (animation-timeline: view()) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ---- Seitenübergänge (kein harter Sprung zwischen den Unterseiten) --
   Moderne Browser: Cross-Document View Transitions — die alte Seite
   gleitet sanft raus, die neue rein. Ältere Browser: weiches Einblenden
   beim Laden. Beides rein CSS, kein JavaScript. */
@view-transition {
  navigation: auto;
}
/* Kopfleiste ist auf allen Seiten identisch: eigener Übergangs-Name
   → sie bleibt beim Seitenwechsel optisch einfach stehen. */
.site-header {
  view-transition-name: kopfleiste;
}
::view-transition-old(kopfleiste),
::view-transition-new(kopfleiste) {
  animation: none;
}
/* NUR der Gold-Strich bekommt einen eigenen Übergang: er gleitet beim
   Seitenwechsel zum neuen Menüpunkt — der Text bleibt stehen. */
.nav-strich {
  view-transition-name: nav-strich;
}
::view-transition-group(nav-strich) {
  animation-duration: 170ms;
  animation-timing-function: var(--ease);
}
/* Inhalt: nur kurzes, ruhiges Überblenden — keine Bewegung. */
::view-transition-old(root) {
  animation: seite-raus 120ms ease-out both;
}
::view-transition-new(root) {
  animation: seite-rein 180ms ease-in both;
}
@keyframes seite-raus {
  to {
    opacity: 0;
  }
}
@keyframes seite-rein {
  from {
    opacity: 0;
  }
}
@supports not (view-transition-name: root) {
  body {
    animation: seite-einblenden 280ms ease-out both;
  }
  @keyframes seite-einblenden {
    from {
      opacity: 0;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root),
  body {
    animation: none !important;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* =====================================================================
   Fragebogen-Seite
   ===================================================================== */
.form-intro {
  background: var(--card);
  border: 1px solid rgba(232, 170, 81, 0.28);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.6rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.form-intro .k {
  color: var(--primary);
  flex: none;
  margin-top: 0.15rem;
}
.form-intro h2 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.form-intro p {
  color: var(--muted-foreground);
  font-size: 0.96rem;
}
.form-intro p + p {
  margin-top: 0.5rem;
}
.form-intro ol {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted-foreground);
  font-size: 0.96rem;
}
.form-intro ol li + li {
  margin-top: 0.2rem;
}

.q {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.1rem;
}
.q > legend,
.q__title {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  padding: 0;
}
.q__hint {
  color: var(--muted-foreground);
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
}
.opt {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 150ms ease-out;
}
.opt:hover {
  background: var(--accent);
}
.opt input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex: none;
  accent-color: var(--primary);
  cursor: pointer;
}
.opt span {
  font-size: 0.98rem;
}
.opt--inline {
  align-items: center;
  flex-wrap: wrap;
}
.field-line {
  border: none;
  border-bottom: 1px solid var(--border-strong);
  background: transparent;
  color: var(--foreground);
  font: inherit;
  padding: 0.2rem 0.3rem;
  min-width: 12rem;
  flex: 1;
}
.field-line:focus {
  outline: none;
  border-bottom-color: var(--primary);
}
.q textarea {
  width: 100%;
  margin-top: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--foreground);
  font: inherit;
  padding: 0.7rem 0.85rem;
  resize: vertical;
  min-height: 4.5rem;
}
.q textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-actions {
  position: sticky;
  bottom: 0;
  margin-top: 1.5rem;
  padding: 1rem 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  box-shadow: 0 -18px 30px -18px rgba(0, 0, 0, 0.6);
  z-index: 5;
  background: linear-gradient(180deg, transparent, var(--background) 40%);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}
.form-actions .hint {
  color: var(--muted-foreground);
  font-size: 0.88rem;
}
.form-back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted-foreground);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  transition: color 150ms ease-out;
}
.form-back:hover {
  color: var(--foreground);
}

/* ---- Einblicke (Screenshots mit Musterdaten) ------------------------ */
.shots {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 860px) {
  .shots {
    grid-template-columns: 1fr 1fr;
  }
}
.shot {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--border);
}
.shot figcaption {
  padding: 1.1rem 1.3rem;
  font-size: 0.95rem;
  color: var(--muted-foreground);
}
.shot figcaption strong {
  color: var(--foreground);
  display: block;
  margin-bottom: 0.25rem;
}
.shots__hinweis {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted-foreground);
  border-left: 2px solid var(--primary);
  padding-left: 1rem;
}

/* ---- Lightbox: Screenshots groß ansehen ----------------------------- */
.lightbox__ausloeser {
  cursor: zoom-in;
}
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 94vw;
  max-height: 92vh;
  cursor: zoom-out;
}
.lightbox::backdrop {
  background: rgba(10, 12, 16, 0.88);
  backdrop-filter: blur(4px);
}
.lightbox img {
  max-width: 94vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.lightbox__hinweis {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

/* ---- Mini-Ablauf (kompakte Leiste, Startseite) --------------------- */
.flow-mini {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.flow-mini li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.1rem 0.5rem 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.flow-mini .n {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: rgba(232, 170, 81, 0.15);
  color: var(--primary);
  font-size: 0.85rem;
  flex: none;
}
.flow-mini__cta {
  margin-top: 1.75rem;
}

/* ---- Beweis-Teaser (Startseite) ------------------------------------ */
.teaser {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  margin-top: 2.5rem;
}
@media (min-width: 820px) {
  .teaser {
    grid-template-columns: 1.2fr 1fr;
  }
}
.teaser__shot {
  margin: 0;
}
.teaser__text p {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

/* ---- Feature-Liste (Leistungen-Seite) ------------------------------ */
.feature-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  max-width: 46rem;
}
.feature-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--foreground);
  font-size: 1rem;
}
.feature-list li::before {
  content: "";
  flex: none;
  margin-top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--primary);
}

/* Anker-Sektionen nicht unter den Sticky-Header rutschen lassen */
section[id] {
  scroll-margin-top: 5rem;
}

/* =====================================================================
   Rechts-Seiten (Impressum / Datenschutz)
   ===================================================================== */
.legal {
  max-width: 46rem;
}
.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1.5rem;
}
.legal h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.6rem;
}
.legal p,
.legal ul {
  color: var(--muted-foreground);
  margin-bottom: 0.8rem;
}
.legal ul {
  padding-left: 1.3rem;
}
.legal li {
  margin-bottom: 0.3rem;
}
.legal a {
  color: var(--primary);
}
.placeholder {
  display: inline-block;
  background: rgba(232, 170, 81, 0.14);
  border: 1px dashed rgba(232, 170, 81, 0.55);
  color: var(--primary);
  border-radius: var(--radius);
  padding: 0.1rem 0.5rem;
  font-weight: 600;
  font-size: 0.92em;
}
.placeholder--block {
  display: block;
  padding: 0.8rem 1rem;
  margin: 0.4rem 0 1rem;
}

/* =====================================================================
   Print-CSS — helle, papier-freundliche Variante
   ===================================================================== */
@media print {
  :root {
    --foreground: #111418;
    --muted-foreground: #444a52;
    --primary: #8a5a12;
  }
  body {
    background: #fff !important;
    background-image: none !important;
    color: #111418;
    font-size: 11pt;
    line-height: 1.4;
  }
  .site-header,
  .site-footer,
  .form-actions,
  .form-back,
  .skip-link,
  .nav__cta {
    display: none !important;
  }
  .section {
    padding-block: 0;
  }
  .form-intro {
    border: 1px solid #bbb;
    background: #f4f4f4;
    color: #111;
  }
  .form-intro p,
  .form-intro ol,
  .q__hint,
  .opt span {
    color: #333;
  }
  .q {
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 0.6rem;
    padding: 0.9rem 1rem;
  }
  .opt {
    padding: 0.2rem 0;
  }
  .opt input {
    accent-color: #333;
  }
  .field-line {
    border-bottom: 1px solid #333;
    color: #111;
  }
  .q textarea {
    border: 1px solid #999;
    background: #fff;
    color: #111;
    min-height: 3rem;
  }
  .print-title {
    display: block !important;
    margin-bottom: 1rem;
  }
  a[href]::after {
    content: "";
  }
}
.print-title {
  display: none;
}

/* ---- Utility ------------------------------------------------------- */
.wrap--narrow {
  max-width: 52rem;
}
.mt-xs {
  margin-top: 0.6rem;
}
.mb-md {
  margin-bottom: 1.25rem;
}
.note {
  margin-top: 2rem;
  font-size: 0.9rem;
}
.label-w {
  min-width: 5rem;
}
.print-title {
  font-weight: 600;
  font-size: 1.1rem;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}
