/* ==========================================================================
   Weigento Immobilien – Design-System
   Ruhig, architektonisch, bildstark. Selbst gehostete Schriften (DSGVO).
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --c-bg: #ffffff;
  --c-bg-alt: #f4f1ec;
  --c-dark: #1c2023;
  --c-dark-2: #2a2f33;
  --c-text: #2b2f32;
  --c-muted: #6f6a64;
  --c-line: #dcd6cd;
  --c-accent: #9c7b4c;
  --c-accent-dark: #7e6139;
  --c-white: #ffffff;
  --c-error: #a23b2a;
  --c-success: #3d6b4a;

  --f-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; }
ul { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--c-dark); color: var(--c-white); padding: 12px 20px; }
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 400; line-height: 1.12; color: var(--c-dark); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(44px, 6.4vw, 92px); }
h2 { font-size: clamp(34px, 4.4vw, 60px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
h4 { font-size: 22px; }
em, .italic { font-style: italic; }
.eyebrow {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 22px;
}
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--c-text); max-width: 46ch; }
.muted { color: var(--c-muted); }
.small { font-size: 14px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding: var(--section) 0; }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-dark); color: #cfc9c1; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--c-white); }
.section--tight { padding: calc(var(--section) * .6) 0; }
.grid { display: grid; gap: clamp(24px, 3vw, 48px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { max-width: 44ch; margin: 0; }
.stack > * + * { margin-top: 1em; }

@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .section-head { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 30px;
  font-family: var(--f-sans); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--c-dark); background: var(--c-dark); color: var(--c-white);
  border-radius: var(--radius);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--c-accent); border-color: var(--c-accent); }
.btn--ghost { background: transparent; color: var(--c-dark); }
.btn--ghost:hover { background: var(--c-dark); color: var(--c-white); border-color: var(--c-dark); }
.btn--light { background: var(--c-white); color: var(--c-dark); border-color: var(--c-white); }
.btn--light:hover { background: var(--c-accent); color: var(--c-white); border-color: var(--c-accent); }
.btn--outline-light { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,.6); }
.btn--outline-light:hover { background: var(--c-white); color: var(--c-dark); border-color: var(--c-white); }
.btn .arrow, .link-arrow .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(5px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-dark); border-bottom: 1px solid var(--c-line); padding-bottom: 6px;
}
.section--dark .link-arrow { color: var(--c-white); border-color: rgba(255,255,255,.3); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
  color: var(--c-white);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid, body.header-solid .site-header { background: rgba(255,255,255,.97); color: var(--c-dark); box-shadow: 0 1px 0 var(--c-line); height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; line-height: 1; }
.logo__mark { width: 34px; height: 34px; }
.logo__text { font-family: var(--f-serif); font-size: 26px; letter-spacing: .16em; text-transform: uppercase; }
.logo__sub { display: block; font-family: var(--f-sans); font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase; margin-top: 5px; opacity: .75; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.nav a { font-size: 13px; font-weight: 400; letter-spacing: .08em; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .nav__cta { border: 1px solid currentColor; padding: 10px 18px; }
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-white); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 1px; background: currentColor; margin: 7px 0; transition: transform .3s var(--ease), opacity .3s; }

@media (max-width: 1120px) {
  .nav-toggle { display: block; z-index: 102; }
  .nav {
    position: fixed; inset: 0; z-index: 101;
    flex-direction: column; justify-content: center; gap: 22px;
    background: var(--c-dark); color: var(--c-white);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav a { font-family: var(--f-serif); font-size: 30px; letter-spacing: 0; }
  .nav .nav__cta { font-family: var(--f-sans); font-size: 13px; letter-spacing: .14em; margin-top: 16px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { opacity: 1; visibility: visible; }
  body.nav-open .nav-toggle { color: var(--c-white); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--c-white); overflow: hidden; background: var(--c-dark);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,25,.45) 0%, rgba(20,23,25,.15) 40%, rgba(20,23,25,.75) 100%); }
.hero__content { position: relative; z-index: 1; padding-bottom: clamp(64px, 10vh, 120px); padding-top: calc(var(--header-h) + 40px); }
.hero h1 { color: var(--c-white); max-width: 11em; }
.hero .lead { color: rgba(255,255,255,.88); }
.hero .eyebrow { color: #d9c3a0; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 48px; z-index: 1; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px; opacity: .8; }
.hero__scroll::after { content: ""; width: 1px; height: 64px; background: currentColor; }
@keyframes heroZoom { to { transform: scale(1); } }

.page-hero {
  position: relative; min-height: 68vh; display: flex; align-items: flex-end; color: var(--c-white); background: var(--c-dark); overflow: hidden;
}
.page-hero .hero__media::after { background: linear-gradient(180deg, rgba(20,23,25,.5) 0%, rgba(20,23,25,.7) 100%); }
.page-hero .hero__content { padding-bottom: clamp(48px, 8vh, 96px); }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 80px); color: var(--c-white); max-width: 16ch; }
.page-hero--plain { min-height: 0; background: var(--c-bg-alt); color: var(--c-text); }
.page-hero--plain h1 { color: var(--c-dark); }
.page-hero--plain .hero__content { padding-top: calc(var(--header-h) + 80px); }

.breadcrumb { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-bottom: 20px; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Bilder ---------- */
.media { position: relative; overflow: hidden; background: var(--c-bg-alt); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media--portrait { aspect-ratio: 4 / 5; }
.media--landscape { aspect-ratio: 3 / 2; }
.media--wide { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1; }
.media-caption { font-size: 13px; color: var(--c-muted); margin-top: 12px; }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--c-line); }
.stat { padding: 36px 24px 0 0; }
.stat__value { font-family: var(--f-serif); font-size: clamp(44px, 5vw, 68px); line-height: 1; color: var(--c-dark); }
.stat__label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); margin-top: 12px; }
.section--dark .stats { border-color: rgba(255,255,255,.18); }
.section--dark .stat__value { color: var(--c-white); }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Leistungs-/Feature-Karten ---------- */
.feature { border-top: 1px solid var(--c-line); padding-top: 28px; }
.feature__num { font-family: var(--f-serif); font-size: 18px; color: var(--c-accent); display: block; margin-bottom: 18px; }
.feature h3 { font-size: 28px; margin-bottom: 14px; }
.feature p { color: var(--c-muted); }
.section--dark .feature { border-color: rgba(255,255,255,.18); }
.section--dark .feature p { color: #b3aca3; }

.service-card { position: relative; display: block; overflow: hidden; color: var(--c-white); background: var(--c-dark); aspect-ratio: 3 / 4; }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform 1.2s var(--ease), opacity .6s; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20,23,25,.85)); }
.service-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(24px, 3vw, 40px); }
.service-card .eyebrow { color: #d9c3a0; margin-bottom: 12px; }
.service-card h3 { color: var(--c-white); margin-bottom: 10px; }
.service-card p { color: rgba(255,255,255,.8); font-size: 15px; margin: 0 0 18px; }
.service-card:hover img { transform: scale(1.05); opacity: .6; }

/* ---------- Projektkarten ---------- */
.project-card { display: block; }
.project-card .media { aspect-ratio: 4 / 3; margin-bottom: 22px; }
.project-card:hover .media img { transform: scale(1.04); }
.project-card__meta { display: flex; gap: 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 8px; }
.project-card h3 { font-size: 30px; margin-bottom: 8px; }
.project-card p { color: var(--c-muted); font-size: 15px; margin: 0; }
.badge { position: absolute; top: 16px; left: 16px; z-index: 1; background: var(--c-white); color: var(--c-dark); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px; }
.badge--accent { background: var(--c-accent); color: var(--c-white); }
.badge--dark { background: var(--c-dark); color: var(--c-white); }

.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter button { background: none; border: 1px solid var(--c-line); padding: 10px 20px; font-size: 13px; letter-spacing: .08em; color: var(--c-text); border-radius: 40px; transition: all .25s var(--ease); }
.filter button:hover { border-color: var(--c-dark); }
.filter button[aria-pressed="true"] { background: var(--c-dark); color: var(--c-white); border-color: var(--c-dark); }
.is-hidden { display: none !important; }

/* ---------- Prozess / Schritte ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); }
.step { counter-increment: step; border-top: 1px solid var(--c-line); padding-top: 26px; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--f-serif); font-size: 44px; color: var(--c-accent); display: block; line-height: 1; margin-bottom: 20px; }
.step h4 { margin-bottom: 10px; }
.step p { color: var(--c-muted); font-size: 15px; margin: 0; }
.section--dark .step { border-color: rgba(255,255,255,.18); }
.section--dark .step p { color: #b3aca3; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Listen ---------- */
.check-list { list-style: none; }
.check-list li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--c-line); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 14px; height: 7px; border-left: 1.5px solid var(--c-accent); border-bottom: 1.5px solid var(--c-accent); transform: rotate(-45deg); }
.section--dark .check-list li { border-color: rgba(255,255,255,.14); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--c-line); }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.facts dd { margin: 4px 0 0; font-family: var(--f-serif); font-size: 24px; color: var(--c-dark); }

/* ---------- Zitat ---------- */
.quote { font-family: var(--f-serif); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.25; font-style: italic; color: var(--c-dark); max-width: 26ch; margin: 0; }
.section--dark .quote { color: var(--c-white); }
.quote-author { margin-top: 28px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }

/* ---------- CTA-Band ---------- */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; }
.cta-split__item { position: relative; padding: clamp(56px, 8vw, 110px) clamp(28px, 5vw, 80px); color: var(--c-white); overflow: hidden; background: var(--c-dark); }
.cta-split__item:nth-child(2) { background: var(--c-dark-2); }
.cta-split__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; transition: transform 1.2s var(--ease); }
.cta-split__item:hover img { transform: scale(1.04); }
.cta-split__item > *:not(img) { position: relative; }
.cta-split__item h2 { color: var(--c-white); font-size: clamp(32px, 3.6vw, 50px); max-width: 14ch; }
.cta-split__item p { color: rgba(255,255,255,.8); max-width: 40ch; }
@media (max-width: 860px) { .cta-split { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font-family: var(--f-serif); font-size: 24px; color: var(--c-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--f-sans); font-weight: 300; font-size: 28px; color: var(--c-accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 26px; color: var(--c-muted); max-width: 70ch; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--c-dark);
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 15px 16px; transition: border-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-dark); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--c-error); }
.field__error { color: var(--c-error); font-size: 13px; margin-top: 6px; display: none; }
.field.has-error .field__error { display: block; }
.field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form > *, .wizard__step > * { min-width: 0; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--c-muted); }
.field label.choice { display: block; text-transform: none; letter-spacing: normal; font-size: inherit; font-weight: inherit; color: inherit; margin-bottom: 0; }
.field label.checkbox { display: flex; font-size: 14px; font-weight: 300; letter-spacing: 0; text-transform: none; margin-bottom: 0; }
.field .checkbox + .checkbox { margin-top: 10px; }
.form-error { color: var(--c-error); font-size: 14px; margin: 0; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--c-accent); flex: none; }
.checkbox a { text-decoration: underline; }
.form-note { font-size: 13px; color: var(--c-muted); }
.form-success { display: none; padding: 32px; background: var(--c-bg-alt); border-left: 3px solid var(--c-success); }
.form-success h3 { margin-bottom: 8px; }
.form.is-sent { display: none; }
.form.is-sent + .form-success { display: block; }

/* Kachel-Auswahl (Radio als Karte) */
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .choice-grid { grid-template-columns: minmax(0, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 20px; border: 1px solid var(--c-line); background: var(--c-white); cursor: pointer; transition: border-color .2s, background .2s; }
.choice strong, .choice small { hyphens: manual; overflow-wrap: normal; }
.choice strong { font-family: var(--f-serif); font-size: 21px; line-height: 1.2; font-weight: 500; color: var(--c-dark); }
.choice small { font-size: 13px; color: var(--c-muted); line-height: 1.4; }
.choice input:checked + span { border-color: var(--c-accent); background: #faf6ef; box-shadow: inset 0 0 0 1px var(--c-accent); }
.choice input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* Mehrstufiges Formular */
.wizard { background: var(--c-white); padding: clamp(28px, 4vw, 56px); border: 1px solid var(--c-line); }
.wizard__progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 40px; list-style: none; counter-reset: wz; }
.wizard__progress li { counter-increment: wz; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); padding-top: 14px; border-top: 2px solid var(--c-line); transition: border-color .3s, color .3s; }
.wizard__progress li::before { content: counter(wz, decimal-leading-zero) " "; color: inherit; }
.wizard__progress li.is-active, .wizard__progress li.is-done { border-color: var(--c-accent); color: var(--c-dark); }
.wizard__step { display: none; }
.wizard__step.is-active { display: grid; gap: 22px; animation: fadeIn .4s var(--ease); }
.wizard__step h3 { margin-bottom: 0; }
.wizard__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; }
@media (max-width: 640px) { .wizard__progress li { font-size: 0; } .wizard__progress li::before { font-size: 12px; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.upload { border: 1px dashed var(--c-line); padding: 28px; text-align: center; background: var(--c-bg-alt); }
.upload input { max-width: 100%; }
.upload p { margin: 8px 0 0; font-size: 13px; color: var(--c-muted); }

/* ---------- Kontaktbox ---------- */
.contact-card { background: var(--c-bg-alt); padding: clamp(28px, 4vw, 48px); }
.contact-card dl { margin: 0; }
.contact-card dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); margin-top: 22px; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 4px 0 0; font-family: var(--f-serif); font-size: 24px; color: var(--c-dark); }
.contact-card dd a:hover { color: var(--c-accent); }

.person { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; }
.person .media { aspect-ratio: 1; }
.person h4 { margin-bottom: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: #a9a29a; padding: clamp(64px, 8vw, 110px) 0 32px; font-size: 15px; }
.site-footer .logo { color: var(--c-white); margin-bottom: 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer h4 { font-family: var(--f-sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--c-white); margin-bottom: 20px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--c-white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; font-size: 13px; }
.footer-bottom ul { display: flex; gap: 24px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.legal h2 { font-size: 32px; margin-top: 56px; }
.legal h3 { font-size: 24px; margin-top: 32px; }
.legal p, .legal li { color: var(--c-text); }
.legal ul { padding-left: 20px; margin-bottom: 1.2em; }
.placeholder { background: #fbf3dd; padding: 0 4px; }

/* ---------- Scroll-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; transform: none; }
}
