/* =====================================================================
   SIRARVIS — Unternehmenswebsite
   Farb- und Schriftwelt angelehnt an das Beispielprojekt (warmes,
   redaktionelles Erscheinungsbild). Markenakzent: #b8935a.
   ===================================================================== */

/* Schrift „Oswald" liegt lokal im Projekt (assets/fonts/) – es wird
   nichts an Google übertragen. Variabler Font, deckt 400–600 ab. */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/oswald-latin.woff2") format("woff2");
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/oswald-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg:        #eae3d6;   /* warmer Sandton (Seitenhintergrund) */
  --surface:   #f6f1e6;   /* Karten / helle Flächen */
  --surface-2: #efe8d9;
  --ink:       #241f1a;   /* Haupttext (fast schwarz, warm) */
  --ink-soft:  #6b5f4a;   /* gedämpfter Text */
  --accent:    #b8935a;   /* Markengold */
  --accent-dk: #a17636;   /* Gold für Hover / Betonung */
  --green:     #5f6e48;   /* Sekundärton */
  --minus:     #a24a3c;   /* Warnrot (Fehlermeldungen, Minus-Liste) */
  --dark:      #1c1710;   /* dunkler Abschnitt */
  --line:      rgba(36, 31, 26, 0.14);
  --line-soft: rgba(36, 31, 26, 0.08);

  --maxw: 1120px;
  --radius: 14px;
  --shadow: 0 18px 44px -24px rgba(36, 23, 8, 0.45);

  --font-head: "Oswald", "Bahnschrift", "Segoe UI Semibold", system-ui, sans-serif;
  --font-body: Georgia, "Times New Roman", "Noto Serif", serif;

  /* Bewusst eine einzige, warme Bildwelt – wie das Beispielprojekt. */
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lightbox-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-dk);
  margin-bottom: 18px;
}
.eyebrow--light { color: #d8b483; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.005em;
}

.section__title {
  font-size: clamp(28px, 4.4vw, 46px);
  max-width: 20ch;
  margin-bottom: 22px;
}
.section__lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 40px;
}
.section__lead--light { color: rgba(246, 241, 230, 0.72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dk); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--lg { padding: 18px 40px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(234, 227, 214, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand__mark {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  background: var(--ink); color: var(--bg);
  font-family: var(--font-head); font-weight: 600;
  border-radius: 7px;
  font-size: 17px;
}
.brand__word {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 17px;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 13px;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav a:hover, .nav a.is-current { color: var(--ink); }
.nav__cta {
  color: var(--accent-dk) !important;
  border: 1px solid var(--accent);
  padding: 9px 18px;
  border-radius: 999px;
}
.nav__cta:hover { background: var(--accent); color: #fff !important; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; padding: 9px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--ink); margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(70px, 12vw, 140px) 0 clamp(60px, 9vw, 110px);
  background-image:
    linear-gradient(103deg,
      color-mix(in srgb, var(--bg) 97%, transparent) 0%,
      color-mix(in srgb, var(--bg) 92%, transparent) 32%,
      color-mix(in srgb, var(--bg) 72%, transparent) 64%,
      color-mix(in srgb, var(--bg) 44%, transparent) 100%),
    linear-gradient(to bottom, transparent 55%, var(--bg) 100%),
    url("assets/hero-bg.jpg");
  background-size: cover;
  background-position: center 62%;
  background-repeat: no-repeat;
}
.hero .wrap { position: relative; z-index: 1; }
.hero__title {
  font-size: clamp(38px, 7vw, 76px);
  max-width: 16ch;
  margin-bottom: 28px;
}
.hero__lead {
  font-size: clamp(18px, 2.3vw, 22px);
  color: #4a4034;            /* etwas dunkler als --ink-soft: bleibt über dem Hero-Foto gut lesbar */
  max-width: 54ch;
  margin-bottom: 38px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__meta {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-head);
  letter-spacing: 0.03em;
  font-size: 13px;
  color: var(--ink-soft);
}
.hero__meta li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.hero__meta-ic { font-size: 15px; line-height: 1; }

/* ---------- Section-Grundgerüst ---------- */
.section { padding: clamp(64px, 10vw, 118px) 0; }
.section[id] { scroll-margin-top: 78px; }
.section--alt { background: var(--surface); }
.section--dark { background: var(--dark); color: var(--surface); }
.section--dark .section__title { color: var(--surface); }

/* ---------- Abschnitts-Trenner (statt kleiner Eyebrow-Label) ---------- */
.section--divided { padding-top: 0; }
.section-divider {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(36, 31, 26, 0.045);
  padding: clamp(15px, 2.3vw, 22px) 24px;
  margin-bottom: clamp(46px, 6.5vw, 88px);
  text-align: center;
}
.section-divider span {
  display: inline-flex;
  align-items: center; justify-content: center;
  flex-wrap: wrap;
  gap: clamp(10px, 3vw, 22px);
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--ink);
}
.section-divider span::before,
.section-divider span::after {
  content: "";
  width: clamp(18px, 6vw, 54px);
  height: 1px;
  background: var(--accent);
  opacity: 0.75;
}
.section--dark .section-divider {
  background: rgba(244, 239, 227, 0.05);
  border-color: rgba(244, 239, 227, 0.18);
}
.section--dark .section-divider span { color: var(--panel-dink); }

/* ---------- Vergleich (Problem) ---------- */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.compare__col {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.section--alt .compare__col { background: var(--surface-2); }
.compare__col--good { border-color: var(--accent); background: #fff; }
.section--alt .compare__col--good { background: #fff; }
.compare__head {
  font-size: 20px; margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
}
.ticklist { list-style: none; display: grid; gap: 13px; }
.ticklist li { position: relative; padding-left: 30px; font-size: 16.5px; color: var(--ink-soft); }
.ticklist li::before {
  position: absolute; left: 0; top: 0;
  font-family: var(--font-head); font-weight: 600;
}
.ticklist--minus li::before { content: "–"; color: #a24a3c; font-size: 20px; line-height: 1.2; }
.ticklist--plus  li::before { content: "+"; color: var(--green); font-size: 18px; line-height: 1.35; }

/* ---------- Leistungs-Karten ---------- */
.cards {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.section--alt .card { background: var(--bg); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { font-size: 26px; display: block; margin-bottom: 16px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 16px; color: var(--ink-soft); }

/* ---------- Vorteile ---------- */
.benefits {
  display: grid; gap: 2px;
  grid-template-columns: repeat(3, 1fr);
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.benefit { background: var(--surface); padding: 34px 30px; }
.benefit__num {
  font-family: var(--font-head);
  font-size: 14px; letter-spacing: 0.1em;
  color: var(--accent-dk);
}
.benefit h3 { font-size: 20px; margin: 12px 0 10px; }
.benefit p { font-size: 16px; color: var(--ink-soft); }

/* ---------- Demo-Frame ---------- */
.demo-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.demo-frame__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-soft);
}
.demo-frame__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.demo-frame__url {
  margin-left: 12px;
  font-family: var(--font-head);
  font-size: 12.5px; letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: lowercase;
}
.demo-frame__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(180deg, rgba(20, 15, 8, 0.38), rgba(20, 15, 8, 0.64)),
    url("assets/demo-bg.jpg") center 26% / cover no-repeat;
  display: grid; place-items: center;
}
.demo-frame__screen iframe { width: 100%; height: 100%; border: 0; display: block; }
.demo-frame__play {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 14px;
  color: #fff;
  background: rgba(184, 147, 90, 0.92);
  border: 0; border-radius: 999px;
  padding: 15px 28px;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.demo-frame__play:hover { background: var(--accent-dk); transform: scale(1.03); }
.demo-frame__playicon { font-size: 12px; }
.demo-note { margin-top: 16px; font-size: 15px; color: var(--ink-soft); }
.demo-note a { color: var(--accent-dk); }

.demo-frame__screen--rundgang {
  background:
    linear-gradient(180deg, rgba(20, 15, 8, 0.3), rgba(20, 15, 8, 0.6)),
    url("assets/portfolio/p3.jpg") center 42% / cover no-repeat;
  text-decoration: none;
}
.demo-frame__screen--rundgang:hover .demo-frame__play { background: var(--accent-dk); transform: scale(1.03); }

/* ---------- Kundenstimmen (ohne Kasten, Blocksatz, zweispaltig) ---------- */
.quotes {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px clamp(32px, 5vw, 56px);
  margin-top: clamp(28px, 4vw, 44px);
}
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; }
.quote blockquote {
  margin: 0 0 14px;
  text-align: justify;
  hyphens: auto;
  font-size: clamp(16px, 1.9vw, 18.5px);
  line-height: 1.66;
  color: var(--ink);
}
.quote figcaption {
  display: flex; align-items: center; gap: 14px;
}
.quote figcaption img {
  height: 30px; width: auto; max-width: 120px; object-fit: contain;
  filter: grayscale(1); opacity: 0.85; flex: none;
}
.quote__ident { display: flex; flex-direction: column; gap: 1px; line-height: 1.3; }
.quote__ident .n {
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.quote__ident .c {
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: 0.11em; font-size: 11.5px; color: var(--ink-soft);
}

/* ---------- Bild-Karussell (Referenzen) — Originalformat, kein Zuschnitt, volle Bildschirmbreite ---------- */
.carousel-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: clamp(40px, 6vw, 76px);
}
.carousel { position: relative; }
.carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__track {
  display: flex; align-items: stretch; gap: 16px;
  height: min(58vh, 480px);
  list-style: none; margin: 0; padding: 0 clamp(16px, 4vw, 32px);
}
.carousel__slide { flex: 0 0 auto; height: 100%; scroll-snap-align: center; }
.carousel__slide a {
  display: block; height: 100%; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); cursor: zoom-in;
}
.carousel__slide img {
  height: 100%; width: auto; max-width: none; display: block;
  background: var(--surface-2);
  transition: transform .4s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .carousel__slide a:hover img { transform: scale(1.03); }
}
@media (max-width: 640px) {
  .carousel__track { height: min(48vh, 360px); }
}
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  z-index: 2;
  transition: background-color .15s ease, color .15s ease;
}
.carousel__btn:hover { background: var(--accent); color: #fff; }
.carousel__btn--prev { left: 16px; }
.carousel__btn--next { right: 16px; }

/* ---------- Lightbox (Vollbild-Ansicht, durchklickbar) ---------- */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  align-items: center; justify-content: center;
  background: rgba(28, 23, 16, 0.94);
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 92vw; max-height: 88vh; width: auto; height: auto;
  display: block; border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__close,
.lightbox__btn {
  position: absolute;
  border: 1px solid rgba(246, 241, 230, 0.3);
  background: rgba(28, 23, 16, 0.55);
  color: var(--surface);
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  line-height: 1;
  transition: background-color .15s ease, border-color .15s ease;
}
.lightbox__close:hover,
.lightbox__btn:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 24px; }
.lightbox__btn { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 26px; }
.lightbox__btn--prev { left: 16px; }
.lightbox__btn--next { right: 16px; }
@media (max-width: 640px) {
  .lightbox__btn { width: 42px; height: 42px; font-size: 20px; }
  .lightbox__close { width: 36px; height: 36px; font-size: 20px; top: 12px; right: 12px; }
}

/* ---------- Ablauf ---------- */
.steps {
  list-style: none;
  display: grid; gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  counter-reset: step;
}
.step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.section--alt .step { background: var(--surface-2); }
.step__num {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent-dk);
  font-family: var(--font-head); font-size: 18px;
  margin-bottom: 18px;
}
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { font-size: 16px; color: var(--ink-soft); }

/* ---------- Über uns ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about__photo img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1024 / 1450;   /* nur die leere Fläche über dem Kopf weggeschnitten */
  object-fit: cover;
  object-position: 50% 100%;   /* unten bündig – Jörn bleibt komplett im Bild */
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.about__text p { margin-bottom: 16px; color: var(--ink-soft); }
.about__text p:first-of-type { color: var(--ink); }
.about__contact { font-family: var(--font-head); letter-spacing: 0.04em; font-size: 15px; }
.about__contact a { color: var(--accent-dk); text-decoration: none; }
.about__contact a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 2px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font-family: var(--font-head);
  font-size: 19px;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--accent-dk);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 40px 24px 0; color: var(--ink-soft); font-size: 16.5px; }

/* ---------- Direkter Kontakt (Telefon / E-Mail über dem Formular) ---------- */
.contact-direct {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin: -20px 0 34px;
  font-family: var(--font-head);
  letter-spacing: 0.03em;
  font-size: 16px;
}
.contact-direct a { color: var(--surface); text-decoration: none; border-bottom: 1px solid rgba(246,241,230,0.4); padding-bottom: 1px; }
.contact-direct a:hover { border-bottom-color: var(--accent); color: #fff; }
.contact-direct__sep { color: rgba(246,241,230,0.4); }
.contact-direct__ic { font-size: 15px; }

/* ---------- Formulare (Basis: helle Fläche) ---------- */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 12px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field label {
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 12px;
  color: var(--ink-soft);
}
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--accent-dk);
  outline-offset: 1px;
}
.field textarea { resize: vertical; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-fallback { font-size: 14px; color: var(--ink-soft); }
.form-fallback:hover { color: var(--ink); }
.form-status { grid-column: 1 / -1; font-size: 15px; min-height: 1.2em; color: var(--ink-soft); }
.form-status.is-ok { color: var(--green); font-weight: bold; }
.form-status.is-err { color: var(--minus); font-weight: bold; }

/* Formular im dunklen Kontakt-Abschnitt */
.section--dark .field label { color: rgba(246, 241, 230, 0.7); }
.section--dark .field input,
.section--dark .field textarea {
  border: 1px solid rgba(246, 241, 230, 0.2);
  background: rgba(246, 241, 230, 0.06);
  color: var(--surface);
}
.section--dark .form-fallback { color: rgba(246, 241, 230, 0.66); }
.section--dark .form-fallback:hover { color: var(--surface); }
.section--dark .form-status { color: rgba(246, 241, 230, 0.75); }
.section--dark .form-status.is-ok { color: #9fd39f; }
.section--dark .form-status.is-err { color: #e6a08f; }

/* ---------- Demo: Projekt-Check-Aufruf ---------- */
.demo-check {
  margin-top: clamp(28px, 5vw, 48px);
  padding: 26px 28px;
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px;
}
.section--alt .demo-check { background: var(--bg); }
.demo-check__q {
  font-family: var(--font-head);
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--ink);
  margin: 0; max-width: 30ch;
}

/* ---------- Projekt-Check (Quiz) ---------- */
.quiz {
  margin-top: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}
.quiz__head { margin-bottom: 26px; }
.quiz__progress {
  height: 4px; border-radius: 999px;
  background: var(--line-soft); overflow: hidden;
}
.quiz__bar {
  display: block; height: 100%; width: 14%;
  background: var(--accent);
  transition: width .3s ease;
}
.quiz__count {
  margin-top: 12px;
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 12px; color: var(--ink-soft);
}
.quiz__step { border: 0; padding: 0; margin: 0; min-inline-size: 0; display: none; }
.quiz__step.is-active { display: block; }
.quiz__step legend {
  font-family: var(--font-head);
  font-size: clamp(19px, 3vw, 24px);
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 8px;
  padding: 0;
}
.quiz__hint { color: var(--ink-soft); font-size: 15px; margin-bottom: 16px; }
.quiz__step legend + .quiz__opt { margin-top: 18px; }
.quiz__opt {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 16.5px;
  transition: border-color .15s ease, background-color .15s ease;
}
.quiz__opt:hover { border-color: var(--accent); }
.quiz__opt input { accent-color: var(--accent-dk); width: 18px; height: 18px; flex: none; }
.quiz__opt:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.quiz__opt.is-selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.quiz__nag {
  color: var(--minus); font-size: 14px; margin-top: 10px;
  display: none;
}
.quiz__step--nag .quiz__nag { display: block; }
.quiz__nav {
  display: flex; align-items: center; gap: 14px;
  margin-top: 26px;
}
.quiz__nav #quizBack { margin-right: auto; }
.quiz__nav.is-start #quizBack { visibility: hidden; }
[hidden] { display: none !important; }

.quiz__result h3 {
  font-size: clamp(22px, 3.4vw, 28px);
  margin-bottom: 16px;
}
#quizResultBody { color: var(--ink-soft); margin-bottom: 24px; }
.quiz__recap {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 24px;
}
.quiz__recap h4 {
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 12px; color: var(--ink-soft);
  margin-bottom: 12px;
}
.quiz__recap-row {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.quiz__recap-row:last-child { border-bottom: 0; }
.quiz__recap-row dt { color: var(--ink-soft); }
.quiz__recap-row dd { color: var(--ink); text-align: right; font-weight: bold; white-space: nowrap; }
.quiz__contact {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.quiz__contact-intro { color: var(--ink-soft); margin-bottom: 4px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(246, 241, 230, 0.7);
  padding: 54px 0;
}
.site-footer__inner {
  display: flex; flex-wrap: wrap; gap: 24px 48px;
  align-items: center; justify-content: space-between;
}
.brand--footer { color: var(--surface); }
.brand--footer .brand__mark { background: var(--surface); color: var(--dark); }
.site-footer p { font-size: 14px; margin-top: 8px; }
.site-footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer__links a {
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 12.5px;
  text-decoration: none;
  color: rgba(246, 241, 230, 0.7);
}
.site-footer__links a:hover { color: var(--accent); }
.site-footer__copy { width: 100%; font-size: 13px; border-top: 1px solid rgba(246,241,230,0.12); padding-top: 20px; }

/* ---------- Reveal-Animation ---------- */
.section .wrap > *,
.hero .wrap > * { will-change: opacity, transform; }
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* ---------- Rechtstext-Seiten ---------- */
.legal { padding: clamp(60px, 9vw, 100px) 0; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 30px; }
.legal h2 { font-size: 22px; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent-dk); }
.legal .back { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; text-decoration: none; }
.legal .placeholder { background: #fff4dd; border: 1px dashed var(--accent); padding: 2px 6px; border-radius: 4px; color: var(--accent-dk); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about__photo { max-width: 400px; margin-inline: auto; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    transform: translateY(-120%);
    transition: transform .25s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .nav__cta { margin-top: 12px; text-align: center; border-radius: 999px; }
  .nav-toggle { display: block; }
  .compare, .steps { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .section-divider span::before, .section-divider span::after { display: none; }
  .hero {
    background-image:
      linear-gradient(180deg,
        color-mix(in srgb, var(--bg) 90%, transparent) 0%,
        color-mix(in srgb, var(--bg) 82%, transparent) 55%,
        color-mix(in srgb, var(--bg) 92%, transparent) 82%,
        var(--bg) 100%),
      url("assets/hero-bg.jpg");
    background-position: center 42%;
  }
}
