/* ============================================================
   ARVION AG – Design System
   Editorial, präzise, hochwertig. Creme + Bronze + Anthrazit.
   Keine Rundungen, feine Linien, viel Raum.
   ============================================================ */

/* ---------- Fonts (selbst gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+20AC;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/playfair-italic-latin.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --bg:          #FFFFFF;
  --surface:     #FFFFFF;
  --surface-alt: #F8F5EF;
  --ink:         #1E1C18;
  --ink-soft:    #46413A;
  --muted:       #7A7268;
  --gold:        #AC7C3A;
  --gold-deep:   #8F6527;
  --gold-soft:   #C49A5C;
  --gold-tint:   #F0E7D7;
  --line:        #E3DCCE;
  --line-dark:   #D5CBB8;
  --footer-bg:   #A0722E;
  --font-sans:   'Figtree', -apple-system, 'Segoe UI', sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;
  --container:   1220px;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
ul { list-style: none; }
strong { color: var(--ink); font-weight: 600; }

h1, h2, h3, h4 {
  font-weight: 400;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.55rem); }
h3 { font-size: 1.22rem; font-weight: 500; }
h1 em, h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: 28px; }
section { padding-block: clamp(72px, 9vw, 120px); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px;
}
.skip-link:focus { left: 8px; }

/* Eyebrow: Linie + Versalien */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 34px; height: 1px;
  background: var(--gold);
  flex: none;
}
.section-head { text-align: center; max-width: 660px; margin: 0 auto clamp(44px, 6vw, 72px); }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after {
  content: '';
  width: 34px; height: 1px;
  background: var(--gold);
  flex: none;
}
.section-head p { margin-top: 16px; color: var(--muted); }
.lead { font-size: 1.14rem; line-height: 1.75; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 34px;
  font-family: var(--font-sans);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-outline-gold { background: transparent; color: var(--gold-deep); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }
.btn-sm { padding: 12px 24px; font-size: .76rem; }
.btn-lg { padding: 19px 42px; }
.btn[hidden] { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  height: 84px;
}
.brand img { width: 172px; height: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 15px;
  font-size: .8rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--gold-deep); }
.main-nav a.active { color: var(--gold-deep); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  margin: 5px 0; transition: transform .25s ease, opacity .25s ease;
}

/* ---------- Hero ---------- */
.hero { padding-block: 0; }
.hero-panel {
  position: relative;
  min-height: min(82vh, 720px);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-panel img.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-panel::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(92deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,.36) 62%, rgba(255,255,255,0) 82%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 600px;
  padding-block: 100px 150px;
}
.hero-content h1 { margin-bottom: 26px; }
.hero-content .lead { max-width: 460px; margin-bottom: 40px; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Stats-Leiste (überlappend) */
.stats-bar { position: relative; z-index: 5; margin-top: -74px; padding-block: 0; }
.stats-card {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  max-width: 800px; margin-inline: auto;
  padding: 38px 24px;
}
.stat {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding-inline: 20px;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat-icon { color: var(--gold); flex: none; display: grid; place-items: center; }
.stat-num { font-size: 2rem; font-weight: 500; color: var(--ink); line-height: 1.05; letter-spacing: -0.02em; }
.stat-label { font-size: .85rem; color: var(--muted); letter-spacing: .02em; }

/* ---------- Quick-Planner ---------- */
.planner { padding-block: clamp(64px, 8vw, 96px) 0; }
.planner-card {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 36px 40px;
}
.planner-intro { flex: 1 1 240px; }
.planner-intro h2 { font-size: 1.4rem; margin-bottom: 6px; font-weight: 500; }
.planner-intro p { font-size: .95rem; color: var(--muted); }
.planner-form { display: flex; align-items: stretch; gap: 14px; flex-wrap: wrap; }
.planner-options { display: flex; gap: 10px; }
.planner-option { position: relative; }
.planner-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.planner-option label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  width: 100px; height: 92px;
  border: 1px solid var(--line);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.planner-option label svg { color: var(--gold); }
.planner-option input:checked + label {
  border-color: var(--gold); background: var(--gold-tint); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.planner-plz {
  width: 110px;
  border: 1px solid var(--line);
  padding: 12px 16px;
  font: inherit; font-size: .95rem; text-align: center;
  background: var(--surface-alt);
}
.planner-plz:focus { outline: none; border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.planner-form .btn { align-self: center; }

/* ---------- Split (Text + Bild) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split-media { position: relative; }
.split-media img {
  width: 100%; aspect-ratio: 4/3.2; object-fit: cover;
}
.split-media::before {
  content: '';
  position: absolute; inset: 26px -26px -26px 26px;
  border: 1px solid var(--gold-soft);
  opacity: .5;
  pointer-events: none;
}
.split-content h2 { margin-bottom: 20px; }
.split-content > p { color: var(--muted); margin-bottom: 26px; }
.check-list { display: grid; gap: 14px; margin-bottom: 34px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; color: var(--ink-soft); }
.check-list svg { flex: none; margin-top: 5px; color: var(--gold); }

/* ---------- Leistungs-Karten ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .25s ease;
}
.service-card:hover { border-color: var(--gold); }
.service-card-media { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-card-media img { transform: scale(1.04); }
.service-tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--surface); color: var(--ink);
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding: 9px 16px;
}
.service-card-body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3 { margin-bottom: 10px; }
.service-card-body p { font-size: .97rem; color: var(--muted); flex: 1; }
.link-more {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px;
  font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep);
}
.link-more svg { transition: transform .2s ease; }
.link-more:hover svg { transform: translateX(5px); }

/* ---------- Prozess ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.process-step {
  position: relative;
  padding: 36px 28px 10px 0;
  text-align: left;
}
.process-step + .process-step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
}
.process-step::before {
  content: '';
  position: absolute; top: -1px; left: 0; width: 34px; height: 1px;
  background: var(--gold);
}
.process-step h3 { font-size: 1.08rem; margin-bottom: 10px; }
.process-step p { font-size: .93rem; color: var(--muted); }
.process-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.process-grid.cols-5 .process-step { padding-right: 22px; }
.process-grid.cols-5 .process-step + .process-step { padding-left: 22px; }

/* ---------- Projekt-Galerie ---------- */
.projects-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.projects-head h2 { margin-top: 8px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item {
  position: relative; overflow: hidden;
  aspect-ratio: 3/3.4;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-cta {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 16px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(0deg, rgba(50,36,15,.82), rgba(50,36,15,.18)), url('../img/wohnraum-2.jpg') center/cover;
  font-weight: 500; font-size: 1.06rem; line-height: 1.45;
}
.gallery-cta .circle-arrow {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  background: var(--gold); color: #fff;
  transition: transform .2s ease;
}
.gallery-cta:hover .circle-arrow { transform: translateX(6px); }
.gallery-large { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-large .gallery-item { aspect-ratio: 4/3.1; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; align-items: start; }
.faq-item {
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 24px 2px;
  font-weight: 500; font-size: 1.04rem; color: var(--ink);
  cursor: pointer; list-style: none;
  transition: color .15s ease;
}
.faq-item summary:hover { color: var(--gold-deep); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem; font-weight: 300; color: var(--gold);
  line-height: 1;
  transition: transform .25s ease;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 2px 24px; color: var(--muted); font-size: .97rem; max-width: 92%; }

/* ---------- CTA-Banner ---------- */
.cta-banner { position: relative; padding-block: clamp(80px, 10vw, 140px); overflow: hidden; }
.cta-banner-bg { position: absolute; inset: 0; }
.cta-banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(92deg, rgba(32,27,19,.36), rgba(32,27,19,.08)); }
.cta-card {
  position: relative; z-index: 2;
  background: var(--surface);
  padding: clamp(38px, 5vw, 58px);
  max-width: 500px;
  border-top: 3px solid var(--gold);
}
.cta-card h2 { margin-bottom: 16px; }
.cta-card p { color: var(--muted); margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,.85);
  padding: clamp(56px, 8vw, 84px) 0 0;
  font-size: .95rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 44px;
  padding-bottom: 52px;
}
.footer-brand img { width: 180px; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; line-height: 1.65; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  transition: background .15s ease, border-color .15s ease;
}
.footer-social a:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.75); }
.site-footer h3 {
  color: #fff; font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer ul li { margin-bottom: 11px; }
.site-footer a { color: rgba(255,255,255,.85); transition: color .15s ease; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 5px; opacity: .8; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.25);
  padding-block: 24px;
  font-size: .87rem; color: rgba(255,255,255,.72);
}

/* ---------- Unterseiten: Page-Hero ---------- */
.page-hero { padding-block: clamp(64px, 8vw, 104px) clamp(52px, 6vw, 80px); }
.page-hero .split-media img { aspect-ratio: 4/2.9; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lead { margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent;
  border: 1px solid var(--line-dark);
  padding: 9px 16px;
  font-size: .74rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
}
.badge svg { color: var(--gold); }

/* Feature-Karten */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  padding: 34px 32px 36px;
  transition: border-color .25s ease;
}
.feature-card:hover { border-color: var(--gold); }
.feature-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--gold-tint); color: var(--gold-deep);
  margin-bottom: 22px;
}
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { font-size: .96rem; color: var(--muted); margin-bottom: 16px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  font-size: .74rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  background: transparent; border: 1px solid var(--line-dark);
  color: var(--muted);
  padding: 5px 12px;
}

/* Ansprechpartner-Karte */
.contact-person {
  display: grid; grid-template-columns: 320px 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  max-width: 920px; margin-inline: auto;
}
.contact-person-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-person-body { padding: clamp(30px, 4vw, 48px); }
.contact-person-body h2 { font-size: 1.7rem; margin-bottom: 4px; }
.contact-person-role { color: var(--gold-deep); font-weight: 500; margin-bottom: 18px; }
.contact-person-body > p { color: var(--muted); margin-bottom: 24px; }
.contact-lines { display: grid; gap: 11px; margin-bottom: 28px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 500; }
.contact-lines svg { color: var(--gold); }
.contact-lines a:hover { color: var(--gold-deep); }

/* ---------- Konfigurator ---------- */
.konfigurator-section { background: var(--surface); border-block: 1px solid var(--line); }
.konfigurator {
  max-width: 1040px; margin-inline: auto;
}
.konfig-progress {
  display: flex; align-items: center; gap: 0;
  margin-bottom: clamp(36px, 5vw, 52px);
  counter-reset: kstep;
}
.konfig-progress span {
  flex: 1;
  height: 2px;
  background: var(--line);
  position: relative;
  transition: background .3s ease;
}
.konfig-progress span.done, .konfig-progress span.current { background: var(--gold); }
.konfig-step { display: none; border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.konfig-step.active { display: block; animation: kfade .35s ease; }
@keyframes kfade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.konfig-step-label {
  display: block; padding: 0;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.konfig-step h3 {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 400;
  margin-bottom: clamp(24px, 4vw, 38px);
}
.konfig-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.konfig-options.cols-4 { grid-template-columns: repeat(4, 1fr); }
.konfig-option { position: relative; }
.konfig-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 2; }
.konfig-option label {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  height: 100%;
  transition: border-color .15s ease;
}
.konfig-option label:hover { border-color: var(--gold-soft); }
.konfig-option input:checked + label { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.konfig-option input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.konfig-option-img { aspect-ratio: 4/2.9; overflow: hidden; }
.konfig-option-img img { width: 100%; height: 100%; object-fit: cover; }
.konfig-option-text {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 16px;
  font-size: .88rem; font-weight: 500; color: var(--ink);
}
.konfig-option-text::after {
  content: '';
  width: 16px; height: 16px; flex: none;
  border: 1px solid var(--line-dark);
  transition: background .15s ease, border-color .15s ease;
}
.konfig-option input:checked + label .konfig-option-text::after {
  background: var(--gold); border-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4'%3E%3Cpath d='m4.5 12.5 5 5 10-11'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}
.konfig-option.no-img label { padding: 0; justify-content: center; min-height: 92px; }
.konfig-option.no-img .konfig-option-text { padding: 20px 18px; }
.konfig-nav {
  display: flex; align-items: center; gap: 14px;
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.konfig-back { margin-right: auto; visibility: hidden; }
.konfig-back.show { visibility: visible; }
.konfig-next, .konfig-submit { margin-left: auto; }
.konfig-hint { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.konfig-error { color: #8C3A2B; font-size: .9rem; font-weight: 500; margin-top: 14px; display: none; }
.konfig-error.show { display: block; }

/* ---------- Formulare ---------- */
.contact-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: clamp(30px, 4vw, 46px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: .76rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink);
}
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-size: .98rem;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  padding: 13px 16px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); grid-column: 1 / -1; }
.form-consent input { margin-top: 4px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert { padding: 16px 20px; margin-bottom: 26px; font-weight: 500; border: 1px solid; }
.alert-success { background: #EFF5EC; border-color: #B9D5B0; color: #2F5D2A; }
.alert-error   { background: #FAECEA; border-color: #E5BCB2; color: #8C3A2B; }

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px 30px;
  margin-bottom: 20px;
}
.info-card h3 { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; font-size: 1.02rem; }
.info-card h3 svg { color: var(--gold); }
.info-card p { color: var(--muted); font-size: .97rem; }
.info-card a { font-weight: 600; }

/* ---------- Rechtsseiten ---------- */
.legal-content { max-width: 780px; }
.legal-content h1 { margin-bottom: 32px; }
.legal-content h2 { font-size: 1.35rem; margin: 40px 0 12px; font-weight: 500; }
.legal-content h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.legal-content p, .legal-content li { color: var(--ink-soft); margin-bottom: 12px; }
.legal-content ul { list-style: disc; padding-left: 22px; }

/* ---------- Reveal-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.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) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .process-grid.cols-5 { grid-template-columns: repeat(2, 1fr); border-top: 0; }
  .process-step { border-top: 1px solid var(--line-dark); }
  .process-step + .process-step { border-left: 0; padding-left: 0; }
  .process-grid.cols-5 .process-step + .process-step { padding-left: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-large { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .konfig-options, .konfig-options.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 84px 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 18px 28px 28px;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 14px 4px; font-size: .92rem; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .split, .page-hero .split { grid-template-columns: 1fr; }
  .split-media::before { display: none; }
  .hero-content { padding-block: 76px 120px; }
  .stats-card { grid-template-columns: 1fr; gap: 22px; padding: 28px 26px; }
  .stat { justify-content: flex-start; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-person { grid-template-columns: 1fr; }
  .contact-person-photo img { max-height: 360px; }
  .planner-card { flex-direction: column; align-items: stretch; }
  .planner-form { justify-content: center; }
  .projects-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .cards-3 { grid-template-columns: 1fr; }
  .gallery, .gallery-large { grid-template-columns: 1fr; }
  .process-grid, .process-grid.cols-5 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .planner-options { flex-wrap: wrap; justify-content: center; }
  .hero-actions .btn { width: 100%; }
  .konfig-options, .konfig-options.cols-4 { grid-template-columns: 1fr; }
  .konfig-nav { flex-direction: column-reverse; }
  .konfig-nav .btn { width: 100%; }
}
