/* QUADRO OFFICE · Startseiten-Entwurf · gemeinsames Stylesheet für Richtung A und B
   Farbwerte aus „QUADRO Farbkonzept-V1.pdf“; Abweichungen sind markiert. */

/* ---------- Farbrichtungen ---------- */
:root,
[data-theme="a"] {
  --bg: #F2F2ED;          /* Off-White, Seitengrund */
  --surface: #FFFFFF;     /* Weiß: Fotos, Karten, Formulare */
  --ink: #3C3C3B;         /* Anthrazit, Text */
  --ink-soft: rgba(60, 60, 59, .78);
  --line: rgba(60, 60, 59, .16);
  --dark: #1B3A4B;        /* Petrol, Trägerfläche */
  --dark-deep: #142C38;   /* Petrol tief, Overlays/Footer */
  --on-dark: #F2F2ED;
  --on-dark-soft: rgba(242, 242, 237, .76);
  --line-dark: rgba(242, 242, 237, .18);
  --frame: #D8DCDA;       /* Petrol hell: Kopf-/Hero-Rahmen (Montana-Prinzip) */
  --tint: #EBEEC9;        /* Grün hell: Leistungen */
  --green: #C4D600;       /* QUADRO-Grün: Logo, CTA, ein Akzent */
  --on-green: #3C3C3B;
  --link: #4F5A00;        /* Dunkelgrün für Links auf Hell */
  --theme-name: "Richtung A · Klar und souverän";
}

[data-theme="b"] {
  --bg: #F2F2ED;
  --surface: #FFFFFF;
  --ink: #352C38;         /* Abendviolett, Text */
  --ink-soft: rgba(53, 44, 56, .78);
  --line: rgba(53, 44, 56, .16);
  --dark: #352C38;        /* Abendviolett, Trägerfläche */
  --dark-deep: #261F29;   /* abgeleitet: Abendviolett tief (nicht im Farbkonzept, zur Freigabe) */
  --on-dark: #F2F2ED;
  --on-dark-soft: rgba(242, 242, 237, .76);
  --line-dark: rgba(242, 242, 237, .18);
  --frame: #DDD5E8;       /* Fliederlicht */
  --tint: #E8E3EE;        /* abgeleitet: Fliederlicht aufgehellt (Mischung mit Off-White, zur Freigabe) */
  --green: #C4D600;
  --on-green: #352C38;
  --link: #352C38;        /* Grün nie auf Flieder: Links in Abendviolett, unterstrichen */
  --theme-name: "Richtung B · Offen und inspirierend";
}

/* ---------- Schrift-Vergleich (intern) ---------- */
:root,
[data-font="inter"] { --f-head: "Inter Tight", system-ui, sans-serif; --f-body: "Inter Tight", system-ui, sans-serif; --head-track: -0.032em; --head-weight: 500; }
[data-font="manrope"] { --f-head: "Manrope", system-ui, sans-serif; --f-body: "Manrope", system-ui, sans-serif; --head-track: -0.035em; --head-weight: 600; }
[data-font="merri"] { --f-head: "Merriweather Sans", system-ui, sans-serif; --f-body: "Merriweather Sans", system-ui, sans-serif; --head-track: -0.02em; --head-weight: 500; } /* CI-Vorgabe zum Vergleich */
[data-font="mix"] { --f-head: "Inter Tight", system-ui, sans-serif; --f-body: "Manrope", system-ui, sans-serif; --head-track: -0.032em; --head-weight: 500; }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 1100px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: var(--head-weight); letter-spacing: var(--head-track); line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: .6rem 1rem; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 32px, 1360px); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 64px, 1360px); } }

.section { padding-block: clamp(72px, 10vw, 150px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
}
/* Quadrat-Marker: wiedererkennbares, sparsames QUADRO-Motiv */
.eyebrow::before { content: ""; width: .62em; height: .62em; background: var(--green); flex: none; }
.on-dark .eyebrow { color: var(--on-dark-soft); }
.h1 { font-size: clamp(2.5rem, 6.4vw, 6rem); }
.h2 { font-size: clamp(2rem, 4.4vw, 4rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: clamp(1.06rem, 1.35vw, 1.28rem); line-height: 1.5; color: var(--ink-soft); max-width: 38ch; }
.on-dark .lead { color: var(--on-dark-soft); }
.muted { color: var(--ink-soft); }

/* ---------- Buttons & Links ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; gap: .7em;
  min-height: var(--h); padding: 0 1.45em;
  font: 500 1rem/1 var(--f-body);
  text-decoration: none; border: 0; cursor: pointer;
  transition: background-color .25s, color .25s, transform .25s;
}
.btn--primary { background: var(--green); color: var(--on-green); }
.btn--primary:hover { background: color-mix(in srgb, var(--green) 86%, #000); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.on-dark .btn--ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--line-dark); }
.on-dark .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--on-dark); }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }

.link {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 500; text-decoration: none; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px; transition: background-size .35s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.on-dark .link { color: var(--on-dark); }

/* ---------- Kopfzeile: Rahmen + schwebende Navigation ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 14px 16px 0;
  pointer-events: none;
}
@media (min-width: 768px) { .site-head { padding: 18px 32px 0; } }
.head-bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1360px; margin-inline: auto;
  padding: 8px 8px 8px 16px;
  background: var(--frame);
  transition: background-color .35s, box-shadow .35s, max-width .5s cubic-bezier(.2,.7,.2,1), padding .35s;
}
.is-scrolled .head-bar {
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px -18px rgba(0, 0, 0, .35), 0 0 0 1px var(--line);
  max-width: 1120px;
}
.logo { display: block; flex: none; }
.logo img { height: 40px; width: auto; }
@media (min-width: 1100px) { .logo img { height: 46px; } }
.nav { display: none; }
@media (min-width: 1100px) {
  .nav { display: flex; gap: 2px; }
  .nav a {
    position: relative; display: block;
    padding: 10px 14px; font-size: .95rem; font-weight: 500; text-decoration: none;
    transition: background-color .2s;
  }
  .nav a:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
  .nav a::before {
    content: ""; position: absolute; left: 14px; bottom: 6px; width: 6px; height: 6px;
    background: var(--green); transform: scale(0); transition: transform .25s;
  }
  .nav a:hover::before, .nav a[aria-current]::before { transform: scale(1); }
}
.head-actions { display: flex; align-items: center; gap: 8px; }
.lang { display: none; font-size: .85rem; font-weight: 500; padding: 0 8px; }
.lang span { opacity: .5; }
@media (min-width: 768px) { .lang { display: block; } }
.head-actions .btn { --h: 46px; padding: 0 1.15em; font-size: .95rem; }
.head-actions .btn .lbl-long { display: none; }
@media (min-width: 560px) { .head-actions .btn .lbl-long { display: inline; } .head-actions .btn .lbl-short { display: none; } }
.burger {
  width: 46px; height: 46px; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  display: grid; place-items: center;
}
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.6px; background: var(--ink); position: relative; transition: transform .3s, background-color .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1100px) { .burger { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--frame);
  padding: 110px 16px 32px;
  display: flex; flex-direction: column; gap: 32px;
  visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s;
}
.menu-open .mobile-menu { visibility: visible; opacity: 1; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font: var(--head-weight) clamp(1.5rem, 6vw, 2rem)/1.1 var(--f-head); letter-spacing: var(--head-track);
  text-decoration: none;
}
.mobile-menu .meta { margin-top: auto; font-size: .95rem; display: grid; gap: 6px; }

/* ---------- Hero ---------- */
.hero { background: var(--frame); padding: 108px 0 0; }
@media (min-width: 768px) { .hero { padding-top: 136px; } }
.hero-grid { display: grid; gap: 24px; padding-bottom: 32px; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.7fr 1fr; align-items: end; gap: 56px; padding-bottom: 44px; }
}
.hero h1 { font-size: clamp(2.4rem, 5.3vw, 5.4rem); max-width: 15ch; }
.hero .lead { max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--dark);
}
@media (min-width: 640px) { .hero-media { aspect-ratio: 16 / 9; } }
@media (min-width: 1100px) { .hero-media { aspect-ratio: 21 / 9; } }
.hero-media img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 45%; will-change: transform; }
.hero-note {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  max-width: 380px; background: var(--surface); padding: 18px 20px;
  display: grid; gap: 4px; font-size: .95rem;
}
@media (min-width: 768px) { .hero-note { left: 28px; bottom: 28px; } }
.hero-note strong { font-weight: 600; }
.hero-note a { color: var(--link); font-weight: 500; }
.img-tag {
  position: absolute; top: 14px; right: 14px;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(0,0,0,.42); color: #fff; padding: 5px 9px;
}

/* ---------- Einleitung ---------- */
.intro-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .intro-grid { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; } .intro-grid .eyebrow { margin-top: .9em; } }
.intro-statement { font: var(--head-weight) clamp(1.6rem, 3.1vw, 2.8rem)/1.18 var(--f-head); letter-spacing: -0.025em; }
.intro-statement .soft { color: var(--ink-soft); }

/* ---------- Stack Cards (Signatur-Effekt) ---------- */
.stack-section { background: var(--dark); color: var(--on-dark); }
.stack-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 960px) { .stack-head { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.stack { display: grid; gap: 20px; }
.stack-card {
  display: grid;
  background: var(--dark-deep);
  overflow: hidden;
  transform-origin: 50% 0;
}
.stack-card figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.stack-card figure img { width: 100%; height: 100%; object-fit: cover; }
.stack-card .body { padding: 26px 22px 30px; display: grid; gap: 14px; align-content: start; }
.stack-card .num { font-size: .85rem; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 10px; }
.stack-card .num::before { content: ""; width: 8px; height: 8px; background: var(--green); }
.stack-card p { color: var(--on-dark-soft); max-width: 40ch; }
.stack-card .link { justify-self: start; }
@media (min-width: 768px) {
  .stack { gap: 0; }
  .stack-card {
    position: sticky; top: calc(110px + var(--i) * 22px);
    grid-template-columns: 1.5fr 1fr;
    min-height: min(76vh, 680px);
    margin-bottom: 8vh;
    box-shadow: 0 -24px 60px -30px rgba(0, 0, 0, .55);
  }
  .stack-card:last-child { margin-bottom: 0; }
  .stack-card figure { aspect-ratio: auto; height: 100%; }
  .stack-card .body { padding: 48px 44px; align-content: space-between; }
}

/* ---------- Leistungen (BoConcept-Prinzip: ruhig, kurz) ---------- */
.services { background: var(--tint); }
.services-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .services-grid { grid-template-columns: 1fr 1.25fr; gap: 80px; } .services-grid > div:first-child { position: sticky; top: 140px; align-self: start; } }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list a {
  display: grid; grid-template-columns: 2.4rem 1fr auto; gap: 12px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: padding .3s;
}
.service-list .no { font-size: .85rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.service-list h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.2; }
.service-list p { grid-column: 2; font-size: .95rem; color: var(--ink-soft); margin-top: 4px; }
.service-list .arr { grid-row: 1; grid-column: 3; transition: transform .3s; }
.service-list a:hover { padding-left: 10px; }
.service-list a:hover .arr { transform: translateX(6px); }

/* ---------- Arbeitssituationen: wischbare Bildkacheln ---------- */
.rooms-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.rooms-head h2 { max-width: 16ch; }
.rail-ctrl { display: flex; gap: 8px; }
.rail-ctrl button {
  width: 52px; height: 52px; border: 0; cursor: pointer;
  background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 1.2rem; transition: background-color .2s;
}
.rail-ctrl button:hover { background: var(--green); color: var(--on-green); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 420px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 4px;
}
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 48px) / 4); } }
.room { scroll-snap-align: start; text-decoration: none; display: grid; gap: 14px; align-content: start; }
.room figure { margin: 0; overflow: hidden; aspect-ratio: 3 / 4; background: var(--frame); }
.room img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.room:hover img { transform: scale(1.045); }
.room h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.room p { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Projektweg (Terminal-Idee, ruhig) ---------- */
.path { background: var(--surface); }
.path-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 80px); display: grid; gap: 20px; }
.path-grid { display: grid; gap: 48px; }
.path-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 44px; }
.path-step { display: grid; gap: 14px; align-content: start; }
.path-step figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.path-step figure img { width: 100%; height: 100%; object-fit: cover; }
.path-step .phase { font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.path-step p { color: var(--ink-soft); max-width: 44ch; }
.path-visual { display: none; }
/* Ohne Bewegung: ruhiges Raster statt Bildfolge */
@media (min-width: 768px) { .path-grid:not(.is-enhanced) .path-steps { grid-template-columns: 1fr 1fr; gap: 56px 32px; } }
@media (min-width: 1200px) { .path-grid:not(.is-enhanced) .path-steps { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) {
  .path-grid.is-enhanced { grid-template-columns: 1fr 1.15fr; gap: 80px; }
  .is-enhanced .path-steps { gap: 0; }
  .is-enhanced .path-step { min-height: 72vh; align-content: center; padding-left: 28px; border-left: 1px solid var(--line); position: relative; transition: opacity .5s; opacity: .35; }
  .is-enhanced .path-step::before { content: ""; position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; background: var(--line); transition: background-color .4s, transform .4s; }
  .is-enhanced .path-step.is-active { opacity: 1; }
  .is-enhanced .path-step.is-active::before { background: var(--green); transform: scale(1.4); }
  .is-enhanced .path-step figure { display: none; }
  .is-enhanced .path-visual { display: block; position: sticky; top: 120px; height: calc(100vh - 160px); max-height: 760px; align-self: start; overflow: hidden; background: var(--frame); }
  .path-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s ease, transform 1.4s cubic-bezier(.2,.7,.2,1); }
  .path-visual img.is-active { opacity: 1; transform: scale(1); }
  .path-visual .count { position: absolute; left: 20px; bottom: 20px; background: var(--surface); padding: 8px 12px; font-size: .85rem; font-variant-numeric: tabular-nums; }
}
.path-step h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }

/* ---------- Projekte ---------- */
.projects-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; }
.projects { display: grid; gap: 48px 24px; }
@media (min-width: 768px) {
  .projects { grid-template-columns: repeat(12, 1fr); }
  .project:nth-child(1) { grid-column: 1 / 8; }
  .project:nth-child(2) { grid-column: 8 / 13; margin-top: clamp(48px, 11vw, 180px); }
  .project:nth-child(3) { grid-column: 2 / 7; }
  .project:nth-child(4) { grid-column: 7 / 13; margin-top: clamp(32px, 6vw, 100px); }
}
.project { text-decoration: none; display: grid; gap: 16px; align-content: start; }
.project figure { margin: 0; overflow: hidden; position: relative; background: var(--frame); }
.project:nth-child(odd) figure { aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .project:nth-child(even) figure { aspect-ratio: 4 / 5; } }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.project:hover img { transform: scale(1.04); }
.project .meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-soft); }
.project .meta span + span::before { content: "·"; margin-right: 10px; }
.project h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.project p { color: var(--ink-soft); max-width: 46ch; }
.placeholder-copy { font-style: italic; }

/* ---------- Menschen ---------- */
.people-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .people-grid { grid-template-columns: 1fr 1fr; } }
.people-grid figure { margin: 0; display: grid; gap: 12px; }
.people-grid .ph { overflow: hidden; aspect-ratio: 3 / 2; }
.people-grid img { width: 100%; height: 100%; object-fit: cover; }
.people-grid figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.people-grid figcaption a { color: var(--link); }
.people-head { display: grid; gap: 24px; margin-bottom: 44px; }
@media (min-width: 960px) { .people-head { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 64px; } }

/* Faktenzeile (CROX-Prinzip, ruhig, ohne Hochzählen) */
.facts { display: grid; margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
@media (min-width: 768px) { .fact { padding: 30px 28px 30px 0; border-bottom: 0; } .fact + .fact { border-left: 1px solid var(--line); padding-left: 28px; } }
.fact .val { font: var(--head-weight) clamp(1.7rem, 2.8vw, 2.5rem)/1.05 var(--f-head); letter-spacing: var(--head-track); }
.fact .val img { height: 64px; width: auto; display: inline-block; vertical-align: middle; margin-right: 12px; }
.fact p { font-size: .95rem; color: var(--ink-soft); }
.fact .check { font-size: .78rem; color: var(--ink-soft); border: 1px dashed var(--line); padding: 4px 8px; justify-self: start; }

.brands { margin-top: 56px; display: grid; gap: 18px; }
.brand-row { display: flex; flex-wrap: wrap; gap: 10px 28px; font: 500 clamp(1rem, 1.4vw, 1.2rem)/1.4 var(--f-head); color: var(--ink-soft); }

/* ---------- Nachhaltigkeit ---------- */
.eco { background: var(--frame); }
.eco-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .eco-grid { grid-template-columns: 1.3fr 1fr; gap: 80px; } }
.eco-grid figure { margin: 0; overflow: hidden; aspect-ratio: 5 / 4; }
.eco-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.eco ul { margin: 24px 0 32px; padding: 0; list-style: none; display: grid; gap: 10px; }
.eco li { display: flex; gap: 12px; align-items: baseline; }
.eco li::before { content: ""; width: 8px; height: 8px; background: var(--ink); flex: none; transform: translateY(-2px); }

/* ---------- Kontakt & Showrooms ---------- */
.contact { background: var(--dark); color: var(--on-dark); }
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.showrooms { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 640px) { .showrooms { grid-template-columns: 1fr 1fr; } }
.showroom { background: var(--dark-deep); display: grid; }
.showroom figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.showroom img { width: 100%; height: 100%; object-fit: cover; }
.showroom .body { padding: 20px 20px 24px; display: grid; gap: 8px; }
.showroom h3 { font-size: 1.35rem; letter-spacing: -0.015em; }
.showroom address { font-style: normal; color: var(--on-dark-soft); font-size: .95rem; }
.showroom .links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; font-size: .95rem; }

.form { background: var(--surface); color: var(--ink); padding: clamp(22px, 3vw, 40px); display: grid; gap: 16px; align-self: start; }
.form h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--f-body); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 0;
  padding: 13px 14px; min-height: 50px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { font-size: .9rem; font-weight: 500; margin-bottom: 8px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: 10px 14px; box-shadow: inset 0 0 0 1px var(--line); font-size: .92rem; cursor: pointer; transition: background-color .2s; }
.chips input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.form small { color: var(--ink-soft); font-size: .82rem; }
.form-msg { display: none; background: var(--tint); padding: 12px 14px; font-size: .92rem; }
.form-msg.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-foot { background: var(--dark-deep); color: var(--on-dark-soft); padding: 64px 0 32px; font-size: .92rem; }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.site-foot img { height: 34px; width: auto; }
.site-foot h4 { font: 600 .78rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--on-dark); }
.foot-legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* ---------- Konzept-Hinweise & interne Vergleichsleiste ---------- */
.draft-note { background: var(--bg); border-top: 1px solid var(--line); padding: 28px 0 120px; font-size: .85rem; color: var(--ink-soft); }
.draft-note ul { margin: 8px 0 0; padding-left: 1.1em; display: grid; gap: 4px; }
.devbar {
  position: fixed; left: 12px; bottom: 12px; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  background: #1d1d1d; color: #f2f2ed; padding: 6px; font: 500 12px/1 system-ui, sans-serif;
  box-shadow: 0 8px 30px -10px rgba(0,0,0,.5); max-width: calc(100% - 24px);
}
.devbar b { padding: 0 6px; font-weight: 600; }
.devbar button, .devbar a { font: inherit; color: inherit; background: transparent; border: 0; padding: 8px 9px; cursor: pointer; text-decoration: none; }
.devbar button[aria-pressed="true"] { background: #f2f2ed; color: #1d1d1d; }
.devbar .sep { width: 1px; align-self: stretch; background: rgba(255,255,255,.2); margin: 0 2px; }
.devbar .x { opacity: .6; }
.clean .devbar, .clean .draft-note { display: none; }

/* ---------- Bewegung (Animation-Addons-Prinzip: Text-/Bild-Reveal, ruhig) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s cubic-bezier(.2,.75,.15,1); transition-delay: calc(var(--wi) * 45ms + var(--d, 0s)); }
.js [data-split].in .w > span { transform: none; }
.js [data-clip] { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s cubic-bezier(.7,0,.2,1); transition-delay: var(--d, 0s); }
.js [data-clip] img { transform: scale(1.15); transition: transform 1.8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js [data-clip].in { clip-path: inset(0 0 0 0); }
.js [data-clip].in img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-split] .w > span, .js [data-clip], .js [data-clip] img { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .stack-card { position: static !important; transform: none !important; margin-bottom: 20px !important; }
}
.reduce-motion [data-reveal], .reduce-motion [data-split] .w > span, .reduce-motion [data-clip], .reduce-motion [data-clip] img { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
.reduce-motion .stack-card { position: static !important; transform: none !important; filter: none !important; margin-bottom: 20px !important; }
.reduce-motion .hero-media img { transform: none !important; }

/* ---------- B · Leistungen als Akkordeon („Our service“-Prinzip) ---------- */
.services--acc { position: relative; overflow: hidden; }
.ghost-word {
  position: absolute; left: -0.04em; top: clamp(40px, 6vw, 90px);
  font: 300 clamp(5rem, 15vw, 15rem)/.9 var(--f-head); letter-spacing: -0.04em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--ink) 14%, transparent);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.services--acc .wrap { position: relative; }
.acc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc h3 { margin: 0; font: inherit; letter-spacing: 0; }
.acc-btn {
  width: 100%; display: grid; grid-template-columns: 32px 1fr auto 22px; align-items: center; gap: 16px;
  padding: 22px 4px; background: none; border: 0; color: var(--ink); text-align: left; cursor: pointer; font: inherit;
}
.acc-ic { width: 26px; height: 26px; color: var(--ink); }
.acc-title { font: var(--head-weight) clamp(1.25rem, 2vw, 1.75rem)/1.15 var(--f-head); letter-spacing: -0.02em; }
.acc-more { font-size: .9rem; color: var(--ink-soft); display: none; }
@media (min-width: 640px) { .acc-more { display: inline; } }
.acc-sign { position: relative; width: 18px; height: 18px; }
.acc-sign::before, .acc-sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .35s; }
.acc-sign::after { transform: rotate(90deg); }
.is-open .acc-sign::after { transform: rotate(0deg); }
.acc-btn:hover .acc-title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2,.8,.2,1); }
.acc-panel > div { overflow: hidden; min-height: 0; }
.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { display: grid; gap: 18px; padding: 0 4px 26px 52px; }
@media (min-width: 768px) { .acc-inner { grid-template-columns: minmax(220px, 340px) 1fr; gap: 28px; align-items: end; } }
.acc-inner figure { margin: 0; display: grid; gap: 6px; }
.acc-inner img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.acc-inner figcaption { font-size: .75rem; color: var(--ink-soft); }
.acc-inner p { color: var(--ink-soft); max-width: 40ch; margin-bottom: 16px; }
.reduce-motion .acc-panel, .reduce-motion .acc-sign::after { transition: none; }

/* ---------- A · Arbeitswelten als horizontaler Scroll („Since 2012“-Prinzip) ---------- */
.hscroll { background: var(--dark); color: var(--on-dark); overflow: hidden; }
.hscroll-track { display: grid; gap: 20px; padding: clamp(72px, 10vw, 150px) 16px; }
.h-intro { display: grid; gap: 22px; align-content: center; }
.h-big { font: var(--head-weight) clamp(2.4rem, 6vw, 6.4rem)/1 var(--f-head); letter-spacing: var(--head-track); max-width: 12ch; }
.h-panel { background: var(--dark-deep); display: grid; }
.h-panel figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.h-panel img { width: 100%; height: 100%; object-fit: cover; }
.h-panel .body { padding: 24px 22px 28px; display: grid; gap: 12px; align-content: start; }
.h-panel .num { font-size: .85rem; color: var(--on-dark-soft); display: flex; gap: 10px; align-items: center; }
.h-panel .num::before { content: ""; width: 8px; height: 8px; background: var(--green); }
.h-panel p { color: var(--on-dark-soft); max-width: 40ch; }
.h-panel .link { justify-self: start; }
@media (min-width: 900px) {
  .hscroll.is-live { height: 100vh; }
  .is-live .hscroll-track { display: flex; gap: 32px; height: 100vh; align-items: center; padding: 0 clamp(32px, 6vw, 96px); width: max-content; will-change: transform; }
  .is-live .h-intro { width: min(52vw, 760px); flex: none; padding-right: 4vw; }
  .is-live .h-panel { flex: none; width: min(72vw, 1040px); height: min(68vh, 620px); grid-template-columns: 1.5fr 1fr; }
  .is-live .h-panel figure { aspect-ratio: auto; height: 100%; }
  .is-live .h-panel .body { padding: 40px 36px; align-content: end; }
  .is-live .h-panel:last-child { margin-right: clamp(32px, 6vw, 96px); }
}

/* ---------- Touch: größere Tippflächen für Textlinks, ohne die Optik zu ändern ---------- */
@media (pointer: coarse) {
  .link, .people-grid figcaption a, .showroom .links a { position: relative; }
  .link::after, .people-grid figcaption a::after, .showroom .links a::after { content: ""; position: absolute; inset: -10px -6px; }
}
