/* Gehring Jarc – Demo. Richtung: Der Name als Monument */

@font-face {
  font-family: "TikTok Sans";
  src: url("../fonts/tiktoksans-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-stretch: 75% 150%;
  font-display: swap;
  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: "TikTok Sans";
  src: url("../fonts/tiktoksans-latin-ext.woff2") format("woff2");
  font-weight: 300 900;
  font-stretch: 75% 150%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113;
}

:root {
  /* Farben: Sichtbeton der alten Seite, Markengrün */
  --bg: #ecece8;
  --surface: #e0e0db;
  --surface-2: #d6d6d0;
  --paper: #f6f6f5;
  --ink: #151514;
  --muted: #4b4b46;
  --accent: #959835;
  --on-accent: #151514;
  --on-photo: #f6f6f5;

  --font: "TikTok Sans", "Helvetica Neue", Arial, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.1rem + 0.9vw, 2.125rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);

  --m: clamp(20px, 2.2vw, 32px);
  --gap: clamp(16px, 1.6vw, 24px);
  --section: clamp(96px, 12vw, 200px);

  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -100px; z-index: 50; background: var(--paper); padding: 12px 16px; }
.skip:focus { top: 12px; }

h2 { font-size: var(--step-head); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; }
h3 { font-size: var(--step-lead); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 600; text-decoration: none; border-radius: 0;
  transition: background-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.btn:hover { background: var(--paper); }
.btn:active { transform: translateY(1px) scale(.98); }

.grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden;
  color: var(--on-photo); background: #2a2a27;
}
.hero-media, .hero-media .slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media .slide { object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero-media .slide.is-on { opacity: 1; }
.scrim {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62%;
  background: linear-gradient(to top, rgba(10, 10, 9, .72) 0%, rgba(10, 10, 9, .45) 45%, rgba(10, 10, 9, 0) 100%); /* taste-skill-ignore: Scrim unter Text auf Foto */
  pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; z-index: 1;
  background: linear-gradient(to bottom, rgba(10, 10, 9, .45), rgba(10, 10, 9, 0)); /* taste-skill-ignore: Scrim unter Navigation auf Foto */
  pointer-events: none;
}
.bar {
  position: absolute; z-index: 3; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--m);
}
.mark { white-space: nowrap; font-weight: 800; font-stretch: 150%; text-transform: uppercase; text-decoration: none; font-size: 1rem; letter-spacing: -0.01em; }
.links { display: flex; gap: clamp(20px, 2.4vw, 36px); }
.links a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0; position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.links a:hover::after, .links a:focus-visible::after { transform: scaleX(1); }
.menu-btn { display: none; }

.hero-foot {
  position: absolute; z-index: 2; left: var(--m); right: var(--m); bottom: clamp(14px, 2vw, 30px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; row-gap: clamp(18px, 2.4vw, 32px);
}
.hero-line { max-width: 34ch; font-size: max(18px, var(--step-body)); line-height: 1.4; font-weight: 500; }
.hero-btn { justify-self: end; background: var(--paper); color: var(--ink); }
.hero-btn:hover { background: var(--accent); }
.name {
  grid-column: 1 / -1;
  font-weight: 800; font-stretch: 150%; text-transform: uppercase;
  font-size: var(--fit, 14.2vw); line-height: .8; letter-spacing: -0.035em;
  display: flex; flex-direction: column;
}
.name span { display: block; width: max-content; white-space: nowrap; }
.name .l2 { align-self: flex-end; }

/* ---------- Intro ---------- */
.intro {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: var(--section) var(--m) calc(var(--section) * .9);
}
.intro-h { grid-column: 1 / 7; grid-row: 1; max-width: 12ch; }
.statement {
  grid-column: 7 / 13; grid-row: 1 / 3; margin-top: clamp(40px, 9vh, 120px);
  font-size: var(--step-lead); line-height: 1.25; text-indent: 3em; letter-spacing: -0.01em;
}
.intro-photo { grid-column: 1 / 4; grid-row: 2 / 4; align-self: end; margin-top: 40px; transform: translateY(55%); }
.intro-photo img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.note { grid-column: 4 / 6; grid-row: 3; align-self: end; font-size: var(--step-small); line-height: 1.45; color: var(--muted); max-width: 26ch; transform: translateY(calc(55% + 120px)); }
.intro { padding-bottom: calc(var(--section) * 1.6); }

/* ---------- Showcase band ---------- */
.showcase { padding-bottom: var(--section); }
.show-h { margin: 0 var(--m) 56px; padding-left: calc((100% - 2 * var(--m)) / 6); }
.band { display: flex; height: 68svh; min-height: 420px; }
.panel { position: relative; flex: 2 1 0; overflow: hidden; transition: flex-grow .5s var(--ease-out); }
.panel.p1 { flex-grow: 5; } .panel.p3 { flex-grow: 3; }
.panel img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
@media (hover: hover) {
  .band:hover .panel { flex-grow: 2; }
  .band .panel:hover { flex-grow: 6; }
}
.panel-title {
  position: absolute; left: 0; top: 0; padding: 24px 28px 48px 24px; max-width: 70%;
  color: var(--on-photo); font-size: var(--step-lead); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em;
  background: linear-gradient(135deg, rgba(10, 10, 9, .55), rgba(10, 10, 9, 0) 70%); /* taste-skill-ignore: Scrim unter Bildtitel */
}
.caption { margin: 18px var(--m) 0; max-width: 70ch; }

/* ---------- Zeichnung zum Möbel ---------- */
.draw {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: var(--section) var(--m); background: var(--surface); align-items: center;
}
.draw-stage { grid-column: 1 / 9; position: relative; aspect-ratio: 16 / 10; background: #fff; overflow: hidden; }
.draw-stage .st { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .6s ease, transform .9s var(--ease-out); transform: scale(1.015); }
.draw-stage .st.is-on { opacity: 1; transform: none; }
.draw-stage .st[data-st="3"], .draw-stage .st[data-st="0"] { object-fit: cover; }
.draw-text { grid-column: 9 / 13; display: grid; gap: 24px; }
.draw-text h2 { font-size: var(--step-lead); max-width: 16ch; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.step {
  min-height: 48px; padding: 0 14px; text-align: left; cursor: pointer;
  background: var(--surface-2); border: 0; border-radius: 0; font-weight: 500;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .15s var(--ease-out);
}
.step:hover { background: var(--paper); }
.step:active { transform: scale(.98); }
.step[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.range-wrap { display: block; }
.range-wrap input { width: 100%; accent-color: var(--accent); height: 32px; cursor: pointer; }
.st-text { min-height: 4.5em; }
/* ohne JavaScript: alle vier Stufen untereinander */
html:not(.js) .draw-stage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: transparent; }
html:not(.js) .draw-stage .st { position: static; opacity: 1; transform: none; background: #fff; aspect-ratio: 16/10; }
html:not(.js) .steps, html:not(.js) .range-wrap, html:not(.js) .st-text { display: none; }

/* ---------- Wie wir arbeiten (Diagonale) ---------- */
.how {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: var(--section) var(--m); align-items: start;
}
.how img { width: 100%; height: 100%; object-fit: cover; }
.how-h { grid-column: 7 / 13; grid-row: 1; font-weight: 400; }
.how-a { grid-column: 1 / 5; grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.how-ta { grid-column: 5 / 9; grid-row: 2; max-width: 36ch; padding-left: 8px; }
.how-b { grid-column: 6 / 9; grid-row: 3; aspect-ratio: 1; margin-top: -120px; }
.how-tb { grid-column: 9 / 13; grid-row: 3; max-width: 36ch; margin-top: -120px; }
.how-c { grid-column: 8 / 13; grid-row: 4; aspect-ratio: 16 / 10; margin-top: 140px; }
.how-tc { grid-column: 3 / 7; grid-row: 4; max-width: 36ch; margin-top: 140px; justify-self: end; }
.how strong { font-weight: 700; }
.how-a { margin-top: 0; }
.how-h { padding-bottom: 40px; }
.how-ta { align-self: start; margin-top: 0; }

/* ---------- Für wen ---------- */
.who {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px;
  padding: var(--section) var(--m); background: var(--ink); color: var(--paper);
}
.who-side { grid-column: 1 / 5; display: grid; gap: 28px; align-content: start; }
.who-side p { max-width: 40ch; }
.who-side img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.who-cols { grid-column: 6 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-content: start; padding-top: 10px; }
.who-cols h3 { margin-bottom: 20px; color: var(--accent); filter: brightness(1.25); }
.who-cols li { padding: 8px 0; }
.who-cols li + li { margin-top: 2px; }

/* ---------- Referenzen ---------- */
.gallery { position: relative; padding: var(--section) 0 clamp(64px, 8vw, 120px); }
.gal-h { margin: 0 var(--m) 40px; display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.gal-h .count { font-size: var(--step-body); font-weight: 500; letter-spacing: 0; color: var(--muted); }
.row {
  display: flex; gap: clamp(20px, 3vw, 48px); padding: 24px var(--m);
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scroll-padding-inline: var(--m);
}
.row::-webkit-scrollbar { display: none; }
.row li { flex: 0 0 auto; scroll-snap-align: start; }
.frame {
  display: block; padding: 0; border: 0; background: none; cursor: zoom-in;
  width: clamp(200px, 17vw, 280px); aspect-ratio: 2 / 3; overflow: hidden;
}
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease-out); }
.frame:hover img, .frame:focus-visible img { transform: scale(1.06); }
.gal-nav { margin-left: auto; display: flex; gap: 6px; }
.gal-nav button { min-width: 48px; min-height: 48px; border: 0; background: var(--surface-2); cursor: pointer; font-size: 20px; transition: background-color .2s var(--ease-out), transform .15s var(--ease-out); }
.gal-nav button:hover { background: var(--ink); color: var(--paper); }
.gal-nav button:active { transform: scale(.94); }
.gal-now { margin: 16px var(--m) 0; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; min-height: 1.2em; }

/* ---------- Werkstatt ---------- */
.about {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(64px, 8vw, 120px);
  padding: var(--section) var(--m);
}
.facts { grid-column: 1 / 4; display: grid; gap: 14px; align-content: start; font-size: var(--step-body); }
.facts h2 { margin-bottom: 18px; }
.facts a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bio { grid-column: 4 / 13; display: grid; gap: 1.2em; }
.bio p { font-size: var(--step-lead); line-height: 1.22; letter-spacing: -0.01em; }
.bio .cap { float: left; width: 3.66em; height: 3.66em; object-fit: cover; margin: .18em .5em 0 0; }
.bio strong { font-weight: 700; }
.bio .soft { color: var(--muted); }
.halls { grid-column: 1 / 13; display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); align-items: end; }
.halls img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.halls figure:last-child img { aspect-ratio: 4 / 5; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 0; background: var(--surface); }
.contact .row-c { grid-column: 1 / 9; }
.contact-photo { grid-column: 9 / 13; grid-row: 1 / 7; position: relative; overflow: hidden; }
.contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.row-c {
  display: flex; align-items: flex-end; min-height: clamp(84px, 10vw, 150px);
  padding: 0 var(--m) clamp(14px, 1.6vw, 26px);
  font-size: var(--step-head); font-weight: 400; line-height: 1; letter-spacing: -0.03em; text-decoration: none;
  transition: background-color .25s var(--ease-out), padding-left .35s var(--ease-out);
}
.row-c:nth-child(even) { background: var(--surface-2); }
h2.row-c { font-weight: 700; font-stretch: 150%; text-transform: uppercase; }
a.row-c:hover { background: var(--paper); padding-left: calc(var(--m) + 12px); }
.hello { gap: 24px; align-items: center; padding-top: clamp(14px, 1.6vw, 26px); background: var(--accent) !important; }
.round {
  display: inline-grid; place-items: center; width: .9em; height: .9em; border-radius: 50%;
  background: var(--ink); color: var(--paper); transition: transform .3s var(--ease-out);
}
.round svg { width: 45%; height: 45%; }
.hello:hover .round { transform: translateX(8px); }

/* ---------- Footer ---------- */
.foot {
  position: relative; overflow: hidden; min-height: min(100svh, 880px);
  display: flex; flex-direction: column;
  background: var(--ink); color: var(--paper); padding: clamp(80px, 10vw, 140px) var(--m) 0;
}
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.invite { grid-column: 1 / 8; display: grid; gap: 36px; justify-items: start; }
.invite h2 { font-size: clamp(2.5rem, 1rem + 4.4vw, 5.5rem); max-width: 13ch; font-weight: 600; }
.foot .btn:hover { background: var(--paper); }
.foot-links { grid-column: 10 / 13; display: grid; gap: 6px; align-content: start; padding-top: 12px; }
.foot-links a { display: inline-block; padding: 8px 0; text-decoration: none; font-size: var(--step-body); }
.foot-links a:hover { color: var(--accent); }
.legal {
  margin-top: auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: var(--step-small); color: #b9b9b2; padding-bottom: 18px;
}
.legal a { margin-left: 20px; text-decoration: none; }
.legal a:hover { color: var(--paper); }
.foot-name {
  font-weight: 800; font-stretch: 150%; text-transform: uppercase; white-space: nowrap;
  font-size: 22vw; line-height: .8; letter-spacing: -0.04em; margin-left: -0.04em;
  margin-bottom: -0.2em;
}

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100svh; width: 100vw; height: 100svh; margin: 0; }
.lightbox::backdrop { background: rgba(12, 12, 11, .92); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto auto; place-items: center; gap: 12px; padding: 24px var(--m); color: var(--paper); }
.lightbox img { max-height: 76vh; width: auto; max-width: 100%; object-fit: contain; }
.lb-ctl { display: flex; gap: 8px; }
.lb-btn { min-height: 48px; padding: 0 18px; background: var(--paper); color: var(--ink); border: 0; cursor: pointer; font-weight: 600; }
.lb-btn:hover { background: var(--accent); }

/* ---------- Bewegung ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
.hero-media .slide.is-on { animation: drift 9s linear both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.js .name span { transform: translateY(40%); opacity: 0; transition: transform 1.1s var(--ease-out), opacity .8s ease; }
.js .name.in span { transform: none; opacity: 1; }
.js .name.in .l2 { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .name span { opacity: 1; transform: none; transition: none; }
  .hero-media .slide { transition: none; animation: none !important; }
  .panel, .panel img, .frame img { transition: none; }
}

/* ---------- Tablet ---------- */
.bar-cta { display: none; }
@media (max-width: 1024px) {
  .hero-btn { display: none; }
  .bar-cta { display: inline-flex; min-height: 44px; padding: 0 16px; background: var(--paper); color: var(--ink); }
  .bar { gap: clamp(16px, 2.4vw, 36px); }
  .bar .mark { margin-right: auto; }
  .draw-stage { grid-column: 1 / 13; }
  .draw-text { grid-column: 1 / 13; margin-top: 40px; grid-template-columns: 1fr 1fr; column-gap: var(--gap); align-items: start; }
  .draw-text h2, .draw-text > p:first-of-type { grid-column: 1; }
  .steps, .range-wrap, .st-text { grid-column: 2; }
  .draw-text h2 { grid-row: 1; } .draw-text > p:first-of-type { grid-row: 2 / 4; }
  .who-side { grid-column: 1 / 13; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
  .who-side h2 { grid-column: 1 / 3; }
  .who-cols { grid-column: 1 / 13; }
  .facts { grid-column: 1 / 13; grid-template-columns: repeat(4, auto); justify-content: start; column-gap: 40px; }
  .facts h2 { grid-column: 1 / -1; }
  .bio { grid-column: 1 / 13; }
}

/* ---------- Telefon ---------- */
@media (max-width: 720px) {
  .links {
    display: none; position: absolute; top: 64px; left: var(--m); right: var(--m);
    flex-direction: column; gap: 0; background: var(--paper); color: var(--ink); padding: 8px 20px;
  }
  .links.open { display: flex; }
  .links a { display: block; padding: 14px 0; font-size: 18px; }
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; background: none; border: 0; font-weight: 600; cursor: pointer; }
  .bar { justify-content: flex-start; gap: 20px; }
  .bar .mark { margin-right: auto; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .hero-line { max-width: 30ch; }

  .intro { padding-bottom: var(--section); row-gap: 32px; }
  .intro-h, .statement { grid-column: 1 / -1; }
  .intro-h { grid-row: 1; } .statement { grid-row: 2; margin-top: 0; text-indent: 0; }
  .intro-photo { grid-column: 6 / 13; grid-row: 3; transform: none; margin-top: 0; }
  .intro-photo img { aspect-ratio: 4 / 5; }
  .note { grid-column: 1 / 6; grid-row: 3; transform: none; align-self: end; }

  .show-h { padding-left: 0; margin-bottom: 32px; }
  .band { height: 84svh; flex-wrap: wrap; }
  .panel { height: 50%; flex: none !important; }
  .panel.p1 { width: 64%; } .panel.p2 { width: 36%; } .panel.p3 { width: 36%; } .panel.p4 { width: 64%; }
  .panel-title { max-width: 100%; }

  .draw-text { grid-template-columns: 1fr; }
  .draw-text > * { grid-column: 1 !important; grid-row: auto !important; }
  .draw-text { margin-top: 28px; }

  .how { row-gap: 20px; }
  .how > * { grid-row: auto !important; margin-top: 0 !important; }
  .how-h { grid-column: 1 / -1; padding-bottom: 8px; }
  .how-a { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .how-ta { grid-column: 1 / -1; padding-left: 0; margin-bottom: 36px !important; }
  .how-b { grid-column: 5 / 13; }
  .how-tb { grid-column: 5 / 13; margin-bottom: 36px !important; }
  .how-c { grid-column: 1 / 11; }
  .how-tc { grid-column: 1 / 11; justify-self: start; }

  .who-side { grid-template-columns: 1fr; }
  .who-side h2 { grid-column: 1; }
  .who-cols { grid-template-columns: 1fr; row-gap: 36px; }
  .who-cols h3 { margin-bottom: 10px; }

  .frame { width: 44vw; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 10px; }
  .bio .cap { width: 4.8em; height: 4.8em; }
  .halls { grid-template-columns: 1fr; }
  .halls figure:last-child { width: 70%; justify-self: end; }

  .row-c { font-size: var(--step-lead); min-height: 76px; }
  .contact .row-c { grid-column: 1 / -1; }
  .contact-photo { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .hello { justify-content: space-between; }
  .round { width: 56px; height: 56px; }

  .foot { min-height: 0; }
  .legal { margin-top: 72px; }
  .invite, .foot-links { grid-column: 1 / -1; }
  .invite h2 { font-size: 11vw; }
  .invite .btn { width: 100%; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 36px; }
  .legal a { margin-left: 0; margin-right: 16px; }
  .foot-name { font-size: 30vw; }
}

/* Nachträge Runde 1 */
.gal-h { align-items: center; }
.gal-h h2 { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.intro-body { grid-column: 7 / 13; grid-row: 3; margin-top: 32px; max-width: 52ch; }
.bio .soft { font-size: var(--step-body); line-height: 1.55; max-width: 62ch; }
.bio .lead-p { font-size: var(--step-lead); }
@media (max-width: 720px) {
  .intro-body { grid-column: 1 / -1; grid-row: 3; margin-top: 0; }
  .intro-photo, .note { grid-row: 4; }
}
@media (max-width: 1024px) { .foot { min-height: 0; } .legal { margin-top: 96px; } }
@media (max-width: 720px) {
  .bar { gap: 12px; }
  .mark { font-size: 14px; }
  .bar-cta { padding: 0 12px; }
}

/* =================== Unterseiten =================== */
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.dark:hover { background: var(--accent); color: var(--on-accent); }

.bar-sub { position: relative; color: var(--ink); }
.bar-sub .links a[aria-current="page"]::after { transform: scaleX(1); }
.bar-sub .bar-cta { background: var(--ink); color: var(--paper); }
.bar-sub .bar-cta:hover { background: var(--accent); color: var(--on-accent); }
@media (min-width: 1025px) { .bar-sub .bar-cta { display: inline-flex; min-height: 44px; padding: 0 18px; margin-left: 28px; } .bar-sub .links { margin-left: auto; } }

.crumbs { padding: 0 var(--m); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--muted); }
.crumbs a { display: inline-block; padding: 8px 0; text-decoration: none; color: var(--ink); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.crumbs span { display: inline-block; padding: 8px 0; }

.page-top { padding: clamp(32px, 5vw, 72px) var(--m) 0; }
.page-title {
  font-weight: 800; font-stretch: 150%; text-transform: uppercase;
  font-size: var(--fit, 12vw); line-height: .82; letter-spacing: -0.035em;
  display: flex; flex-direction: column;
}
.page-title span { display: block; width: max-content; white-space: nowrap; }
.page-lead {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end;
  margin: clamp(32px, 4vw, 56px) 0 clamp(32px, 4vw, 56px);
}
.page-lead p { grid-column: 1 / 8; font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.01em; }
.page-lead .btn { grid-column: 10 / 13; justify-self: end; }
.page-hero { margin: 0 calc(var(--m) * -1); }
.page-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

.say { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: var(--section) var(--m) calc(var(--section) * .6); }
.say h2 { grid-column: 1 / 6; }
.say p { grid-column: 7 / 13; font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.01em; }

.chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: calc(var(--section) * .6) var(--m); align-items: center; }
.ch-text { grid-column: 1 / 6; display: grid; gap: 20px; justify-items: start; }
.ch-text p { max-width: 52ch; }
.ch-text .btn { margin-top: 8px; }
.ch-photo { grid-column: 7 / 13; }
.ch-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chapter.rev .ch-text { grid-column: 8 / 13; grid-row: 1; }
.chapter.rev .ch-photo { grid-column: 1 / 7; grid-row: 1; }
.ch-photo img[src*="03-schnitt"], .ch-photo img[src*="02-ansicht"] { object-fit: contain; background: #fff; }

.rows { padding: var(--section) var(--m) calc(var(--section) * .6); }
.rows-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-bottom: clamp(40px, 5vw, 72px); }
.rows-head h2 { grid-column: 1 / 7; }
.rows-intro { grid-column: 7 / 13; align-self: end; max-width: 48ch; }
.items { display: grid; gap: 6px; }
.item {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center;
  background: var(--surface); padding: 0 0 0 clamp(16px, 2vw, 28px);
}
.item:nth-child(even) { background: var(--surface-2); }
.item h3 { grid-column: 1 / 5; padding: 24px 0; }
.item p { grid-column: 5 / 9; padding: 24px 0; }
.item figure { grid-column: 9 / 13; align-self: stretch; overflow: hidden; }
.item img { width: 100%; height: 100%; min-height: 180px; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease-out); }
.item:hover img { transform: scale(1.04); }

.pair { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); padding: calc(var(--section) * .6) var(--m); align-items: end; }
.pair img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pair figure:nth-child(2) img { aspect-ratio: 4 / 5; }
.pair-cap { grid-column: 1 / -1; }

.linkrows { padding: var(--section) var(--m); background: var(--surface); }
.linkrows h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.linkrows ul { display: grid; gap: 6px; }
.lr {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 2fr) auto; align-items: center; gap: var(--gap);
  min-height: clamp(96px, 9vw, 140px); padding: 12px 12px 12px clamp(16px, 2vw, 28px);
  background: var(--bg); text-decoration: none;
  transition: background-color .25s var(--ease-out);
}
.lr:hover { background: var(--paper); }
.lr-t { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.lr-img { align-self: stretch; overflow: hidden; }
.lr-img img { width: 100%; height: 100%; max-height: 120px; object-fit: cover; }
.lr .round { font-size: 64px; transition: transform .3s var(--ease-out); }
.lr:hover .round { transform: translateX(6px); }

.factlist { padding: var(--section) var(--m) calc(var(--section) * .6); background: var(--ink); color: var(--paper); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.factlist h2 { grid-column: 1 / 5; }
.factlist dl { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px var(--gap); margin: 0; }
.factlist dt { color: #b9b9b2; margin-bottom: 6px; }
.factlist dd { margin: 0; font-size: var(--step-lead); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.facts-note { grid-column: 5 / 13; color: #b9b9b2; }

.refs { padding: var(--section) var(--m) calc(var(--section) * .6); }
.refs-head { display: grid; gap: 28px; margin-bottom: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  min-height: 48px; padding: 0 16px; border: 0; background: var(--surface-2); cursor: pointer; font-weight: 500;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .15s var(--ease-out);
}
.chip span { color: var(--muted); margin-left: 4px; }
.chip:hover { background: var(--paper); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] span { color: #b9b9b2; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.tiles li[hidden] { display: none; }
.tile { width: 100%; aspect-ratio: auto; display: grid; text-align: left; }
.tile img { aspect-ratio: 4 / 3; width: 100%; height: auto; }
.tile-cap { display: block; padding: 12px 0 0; font-weight: 500; }
.refs-count { margin-top: 28px; color: var(--muted); }
.project { padding: calc(var(--section) * .6) var(--m) var(--section); }
.project-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-bottom: 40px; }
.project-head h2 { grid-column: 1 / 6; }
.project-head p { grid-column: 7 / 13; font-size: var(--step-lead); line-height: 1.25; }
.tiles.bonn { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tiles.bonn img { aspect-ratio: 3 / 4; }

/* ---------- Formular ---------- */
.ask { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; padding: var(--section) var(--m); background: var(--surface); }
.ask-side { grid-column: 1 / 5; display: grid; gap: 24px; align-content: start; }
.ask-side h2 { max-width: 14ch; }
.ask-direct { font-size: var(--step-lead); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.ask-direct a { text-decoration: none; }
.ask-direct a:hover { text-decoration: underline; text-underline-offset: 5px; }
.ask-form { grid-column: 6 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 20px var(--gap); }
.field { display: grid; gap: 8px; align-content: start; }
.field.wide { grid-column: 1 / -1; }
.field label { font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--paper); border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: none; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; }
.field input[type="file"] { font: inherit; padding: 10px 0; }
.field input[type="file"]::file-selector-button { font: inherit; font-weight: 600; min-height: 44px; padding: 0 16px; margin-right: 14px; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; }
.hint { font-size: var(--step-small); color: var(--muted); }
.field.check { grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.field.check input { width: 24px; height: 24px; accent-color: var(--ink); margin: 0; }
.field.check label { font-weight: 400; }
.field.invalid input, .field.invalid textarea { border-bottom-color: #a3261b; }
.field .err { color: #a3261b; font-size: var(--step-small); font-weight: 600; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.send .btn { border: 0; cursor: pointer; min-width: 200px; }
.form-msg { font-weight: 500; max-width: 46ch; }

@media (max-width: 1024px) {
  .page-lead p { grid-column: 1 / 13; }
  .page-lead .btn { grid-column: 1 / 13; justify-self: start; margin-top: 24px; }
  .say h2, .say p { grid-column: 1 / 13; }
  .say p { margin-top: 24px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles.bonn { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ask-side, .ask-form { grid-column: 1 / 13; }
  .factlist h2, .factlist dl, .facts-note { grid-column: 1 / 13; }
  .lr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .lr-s { display: none; }
}
@media (max-width: 720px) {
  .bar-sub .links { top: 60px; box-shadow: 0 12px 32px rgba(0,0,0,.12); /* taste-skill-ignore: schwebendes Menü */ }
  .page-hero img { aspect-ratio: 4 / 3; }
  .chapter { row-gap: 28px; }
  .ch-text, .ch-photo, .chapter.rev .ch-text, .chapter.rev .ch-photo { grid-column: 1 / 13; grid-row: auto; }
  .chapter.rev .ch-photo { order: 2; }
  .rows-head h2, .rows-intro { grid-column: 1 / 13; }
  .rows-intro { margin-top: 16px; }
  .item { padding: 0; }
  .item h3, .item p, .item figure { grid-column: 1 / 13; }
  .item h3 { padding: 20px 16px 0; }
  .item p { padding: 8px 16px 20px; }
  .item figure { order: -1; }
  .pair { grid-template-columns: 1fr; }
  .pair figure:nth-child(2) { width: 70%; justify-self: end; }
  .factlist dl { grid-template-columns: 1fr 1fr; }
  .tiles, .tiles.bonn { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .project-head h2, .project-head p { grid-column: 1 / 13; }
  .project-head p { margin-top: 16px; }
  .ask-form { grid-template-columns: 1fr; }
  .lr { grid-template-columns: minmax(0, 1fr) 96px; min-height: 96px; }
  .lr-t { font-size: var(--step-lead); }
  .lr .round { display: none; }
}
.js [data-fit] span { transform: translateY(40%); opacity: 0; transition: transform 1.1s var(--ease-out), opacity .8s ease; }
.js [data-fit].in span { transform: none; opacity: 1; }
.js [data-fit].in span + span { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .js [data-fit] span { opacity: 1; transform: none; transition: none; } }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.light:hover { background: var(--accent); color: var(--on-accent); }
.who-cols .btn { margin-top: 24px; }
.caption-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 18px var(--m) 0; }
.caption-row .caption, .caption-row .gal-now { margin: 0; }
.intro-btn { grid-column: 7 / 13; grid-row: 4; justify-self: start; margin-top: 32px; }
.bio-btn { justify-self: start; }
@media (max-width: 720px) {
  .intro-btn { grid-column: 1 / -1; grid-row: 5; margin-top: 8px; }
}
.project-head p { font-size: var(--step-body); line-height: 1.5; max-width: 60ch; }
@media (max-width: 1024px) { .project-head h2, .project-head p { grid-column: 1 / 13; } .project-head p { margin-top: 16px; } }
@media (max-width: 720px) { .page-lead p { font-size: var(--step-body); line-height: 1.5; } }
.ask-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.field { min-width: 0; }
.field input[type="file"] { width: 100%; max-width: 100%; }
@media (max-width: 720px) { .ask-form { grid-template-columns: minmax(0, 1fr); } }
.factlist dl > div { min-width: 0; }
.factlist dd { hyphens: auto; overflow-wrap: break-word; }
.about { padding-bottom: calc(var(--section) * .6); }
.ask { padding-top: calc(var(--section) * .7); padding-bottom: calc(var(--section) * .7); }
.tile { overflow: visible; }
.tile img { transition: opacity .25s var(--ease-out); }
.tile:hover img, .tile:focus-visible img { transform: none; opacity: .85; }

/* Logo */
.mark { display: inline-flex; align-items: center; min-height: 44px; }
.mark .logo { display: block; height: clamp(30px, 2.6vw, 40px); width: auto; transition: opacity .2s var(--ease-out); }
.mark:hover .logo { opacity: .8; }
.bar-sub .mark { color: var(--accent); }
@media (max-width: 720px) { .mark .logo { height: 28px; } }

/* =================== Feste Menüleiste =================== */
.bar { position: fixed; z-index: 40; transition: background-color .3s var(--ease-out), color .3s var(--ease-out), padding .3s var(--ease-out); }
.bar.solid { background: var(--bg); color: var(--ink); padding-top: 10px; padding-bottom: 10px; }
.bar.solid .mark { color: var(--accent); }
.bar.solid .bar-cta, .bar.solid .hero-cta { background: var(--ink); color: var(--paper); }
.bar-sub { position: sticky; top: 0; background: var(--bg); padding-top: 12px; padding-bottom: 12px; }
[id] { scroll-margin-top: 88px; }
@media (max-width: 720px) {
  .bar .links { top: 100%; margin-top: 4px; }
  .bar.solid .links, .bar-sub .links { box-shadow: 0 12px 32px rgba(0,0,0,.12); /* taste-skill-ignore: schwebendes Menü */ }
}
@media (prefers-reduced-motion: reduce) { .bar { transition: none; } }

/* =================== Startseite kompakter =================== */
body:not(.sub) { --section: clamp(64px, 7vw, 120px); }
body:not(.sub) .intro { padding-bottom: calc(var(--section) * 1.2); }
body:not(.sub) .intro-photo { transform: translateY(20%); }
body:not(.sub) .note { transform: translateY(calc(20% + 40px)); }
body:not(.sub) .statement { margin-top: clamp(24px, 4vh, 56px); }
body:not(.sub) .show-h { margin-bottom: 36px; }
body:not(.sub) .band { height: 60svh; }
body:not(.sub) .how-b, body:not(.sub) .how-tb { margin-top: -160px; }
body:not(.sub) .how-c, body:not(.sub) .how-tc { margin-top: 48px; }
body:not(.sub) .how-h { padding-bottom: 24px; }
body:not(.sub) .gal-h { margin-bottom: 20px; }
body:not(.sub) .row { padding-top: 12px; padding-bottom: 12px; }
body:not(.sub) .about { row-gap: clamp(40px, 5vw, 72px); }
body:not(.sub) .foot { min-height: min(80svh, 720px); padding-top: clamp(64px, 7vw, 112px); }
@media (max-width: 720px) {
  body:not(.sub) .intro-photo, body:not(.sub) .note { transform: none; }
  body:not(.sub) .intro { padding-bottom: var(--section); }
  body:not(.sub) .how-b, body:not(.sub) .how-tb, body:not(.sub) .how-c, body:not(.sub) .how-tc { margin-top: 0; }
}

/* Unterpunkte „Für wen wir arbeiten“ */
.who-cols li { padding: 0; }
.who-cols li a {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 0;
  text-decoration: none; transition: color .2s var(--ease-out), transform .25s var(--ease-out);
}
.who-cols li a::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: opacity .2s var(--ease-out), transform .25s var(--ease-out); }
.who-cols li a:hover, .who-cols li a:focus-visible { color: var(--accent); filter: brightness(1.25); }
.who-cols li a:hover::after, .who-cols li a:focus-visible::after { opacity: 1; transform: none; }
/* angesprungener Punkt auf der Unterseite kurz hervorheben */
.item:target { background: var(--paper); }
.item:target h3 { color: var(--accent); filter: brightness(.85); }
@media (min-width: 1025px) {
  .bar:not(.bar-sub) .links { margin-left: auto; }
  .bar.solid:not(.bar-sub) .bar-cta { display: inline-flex; min-height: 44px; padding: 0 18px; margin-left: 28px; }
}

/* =================== Footer: Pfeil und Karte =================== */
.foot-links a { display: inline-flex; align-items: center; gap: 10px; transition: color .2s var(--ease-out); }
.foot-links a::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: opacity .2s var(--ease-out), transform .25s var(--ease-out); }
.foot-links a:hover, .foot-links a:focus-visible { color: var(--accent); filter: brightness(1.25); }
.foot-links a:hover::after, .foot-links a:focus-visible::after { opacity: 1; transform: none; }
.legal a[data-consent-open] { margin-left: 20px; }

.foot { padding-top: 0 !important; }
.foot-map {
  position: relative; margin: 0 calc(var(--m) * -1) clamp(64px, 7vw, 112px); height: clamp(320px, 42vw, 520px);
  background: #2a2a27 url("../img/firmenschild-02.webp") center / cover no-repeat; overflow: hidden;
}
.foot-map:not(.is-loaded)::before { content: ""; position: absolute; inset: 0; background: rgba(12, 12, 11, .72); }
.foot-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35); }
.ce-inner { position: relative; z-index: 1; height: 100%; display: grid; align-content: center; justify-items: start; gap: 16px; padding: 0 var(--m); max-width: 640px; color: var(--paper); }
.ce-title { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; }
.ce-text a { color: inherit; text-underline-offset: 3px; }
.ce-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ce-always { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.ce-always input { width: 22px; height: 22px; accent-color: var(--accent); }

/* =================== Cookie-Banner =================== */
.cc-banner {
  position: fixed; z-index: 60; left: var(--m); right: var(--m); bottom: var(--m);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center;
  max-width: 1100px; margin: 0 auto; padding: clamp(18px, 2vw, 28px);
  background: var(--paper); color: var(--ink);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22); /* taste-skill-ignore: schwebender Banner */
}
.cc-banner[hidden] { display: none; }
.cc-title { font-weight: 700; font-size: var(--step-body); margin-bottom: 4px; }
.cc-text p:not(.cc-title) { font-size: var(--step-small); line-height: 1.5; max-width: 70ch; }
.cc-text a { color: inherit; text-underline-offset: 3px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-actions .btn { border: 0; cursor: pointer; min-height: 44px; padding: 0 18px; }
.cc-dialog {
  width: min(640px, calc(100vw - 2 * var(--m))); max-height: calc(100svh - 2 * var(--m)); overflow: auto;
  border: 0; padding: clamp(20px, 3vw, 36px); background: var(--paper); color: var(--ink);
}
.cc-dialog::backdrop { background: rgba(12, 12, 11, .6); }
.cc-dialog h2 { font-size: var(--step-lead); margin-bottom: 12px; }
.cc-dialog > p { margin-bottom: 20px; }
.cc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; }
.cc-row + .cc-row { background: transparent; }
.cc-row:nth-of-type(even) { background: var(--bg); margin: 0 -12px; padding: 16px 12px; }
.cc-row-title { font-weight: 700; }
.cc-row-text { font-size: var(--step-small); color: var(--muted); }
.cc-dialog .cc-actions { margin-top: 24px; }
.cc-switch { position: relative; display: inline-block; width: 52px; height: 30px; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc-slider { position: absolute; inset: 0; background: var(--surface-2); border-radius: 30px; transition: background-color .2s var(--ease-out); }
.cc-slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); transition: transform .2s var(--ease-out); }
.cc-switch input:checked + .cc-slider { background: var(--ink); }
.cc-switch input:checked + .cc-slider::after { transform: translateX(22px); }
.cc-switch input:disabled + .cc-slider { opacity: .55; }
.cc-switch input:focus-visible + .cc-slider { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 720px) {
  .cc-banner { grid-template-columns: 1fr; left: 12px; right: 12px; bottom: 12px; }
  .cc-actions .btn { flex: 1 1 auto; }
  .foot-map { height: 300px; }
}

/* =================== Unterseiten-Kopf: Text links, Bild rechts =================== */
.page-top {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end;
  padding: clamp(24px, 3vw, 48px) var(--m) 0;
}
.page-text { grid-column: 1 / 8; padding-bottom: clamp(8px, 1vw, 16px); }
.page-top .page-lead { display: block; margin: clamp(28px, 3vw, 44px) 0 0; }
.page-top .page-lead p { max-width: 40ch; }
.page-top .page-lead .btn { margin-top: 28px; }
.page-hero { grid-column: 8 / 13; margin: 0 calc(var(--m) * -1) 0 0; }
.page-hero img { width: 100%; height: min(72svh, 760px); aspect-ratio: auto; object-fit: cover; }

/* Porträts der Meister */
.masters { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; padding: calc(var(--section) * .6) var(--m); }
.masters h2 { grid-column: 1 / 5; }
.master:nth-of-type(1) { grid-column: 5 / 9; }
.master:nth-of-type(2) { grid-column: 9 / 13; margin-top: clamp(48px, 8vw, 120px); }
.portrait-ph { aspect-ratio: 4 / 5; background: var(--surface-2); display: grid; place-items: end start; padding: 20px; }
.portrait-ph span { color: var(--muted); }
.master figcaption { display: grid; gap: 2px; margin-top: 16px; }
.master strong { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; }
.master figcaption span { color: var(--muted); }

@media (max-width: 1024px) {
  .page-text { grid-column: 1 / 13; }
  .page-hero { grid-column: 1 / 13; margin: clamp(32px, 4vw, 48px) calc(var(--m) * -1) 0; }
  .page-hero img { height: auto; aspect-ratio: 16 / 9; }
  .masters h2 { grid-column: 1 / 13; }
  .master:nth-of-type(1) { grid-column: 1 / 7; }
  .master:nth-of-type(2) { grid-column: 7 / 13; }
}
@media (max-width: 720px) {
  .page-hero img { aspect-ratio: 4 / 3; }
  .master:nth-of-type(2) { margin-top: 48px; }
}
@media (min-width: 1025px) { .page-hero img { height: min(62svh, 640px); } }
.foot { min-height: 0 !important; }
.foot .legal { margin-top: clamp(64px, 7vw, 112px); }

/* Menü: aktueller Abschnitt auf der Startseite */
.links a.is-current::after { transform: scaleX(1); }

/* =================== Stilmittel: Überschriften rechtsbündig wie „JARC“ im Logo ===================
   Nur Überschriften, die in der rechten Hälfte stehen. Absätze bleiben linksbündig (Lesbarkeit).
   Zum Zurücknehmen diesen Block bis zum Ende-Kommentar löschen. */
@media (min-width: 721px) {
  body:not(.sub) .show-h { padding-left: 0; text-align: right; }
  body:not(.sub) .how-h { text-align: right; }
  body:not(.sub) .gal-h h2 { order: 2; margin-left: auto; text-align: right; }
  body:not(.sub) .gal-nav { order: 1; margin-left: 0; }
  .chapter.rev .ch-text h2 { justify-self: end; text-align: right; }
  .how.how p { text-align: right; justify-self: end; }
}
/* =================== Ende EXPERIMENT rechtsbündig =================== */

/* „Anfragen“ im Menü im Markengrün */
.bar .bar-cta, .bar.solid .bar-cta, .bar-sub .bar-cta { background: var(--accent); color: var(--on-accent); }
.bar .bar-cta:hover, .bar.solid .bar-cta:hover, .bar-sub .bar-cta:hover { background: var(--ink); color: var(--paper); }
/* „Wie wir arbeiten“ im selben Format wie die übrigen Abschnittsüberschriften */
.how-h { font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; font-size: var(--step-head); }

/* =================== „Wie wir arbeiten“: drei gleiche Schritte nebeneinander =================== */
.how.how {
  grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 0; align-items: start;
}
.how.how > * { margin: 0 !important; transform: none; }
.how.how .how-h { grid-column: 1 / -1; grid-row: 1; padding-bottom: clamp(32px, 4vw, 56px); }
.how.how .how-a { grid-column: 1; grid-row: 2; }
.how.how .how-b { grid-column: 2; grid-row: 2; }
.how.how .how-c { grid-column: 3; grid-row: 2; }
.how.how .how-ta { grid-column: 1; grid-row: 3; }
.how.how .how-tb { grid-column: 2; grid-row: 3; }
.how.how .how-tc { grid-column: 3; grid-row: 3; justify-self: start; }
.how.how figure { aspect-ratio: 4 / 3; overflow: hidden; }
.how.how figure img { width: 100%; height: 100%; object-fit: cover; }
.how.how p { max-width: 46ch; padding: 24px 0 0 !important; }
.how.how strong { display: block; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 10px; }
@media (max-width: 720px) {
  .how.how { grid-template-columns: minmax(0, 1fr); }
  .how.how .how-h, .how.how .how-a, .how.how .how-b, .how.how .how-c,
  .how.how .how-ta, .how.how .how-tb, .how.how .how-tc { grid-column: 1; grid-row: auto; }
  .how.how .how-ta, .how.how .how-tb { padding-bottom: 40px !important; }
}

/* Bild-Initiale steht vor dem Absatz (damit der Absatz im Editor bearbeitbar ist) */
.bio { display: block; }
.bio > * + p { margin-top: 1.2em; }
.bio .cap { font-size: var(--step-lead); }
.bio .bio-btn { display: inline-flex; margin-top: 1.6em; }
@media (max-width: 720px) { .bio .cap { width: 4.8em; height: 4.8em; } }

/* =================== Einleitung „Innenausbau und Möbel nach Maß“: Text links, Bild rechts =================== */
.intro.intro {
  grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr auto;
  column-gap: var(--gap); row-gap: 0; align-items: start;
  padding-bottom: var(--section);
}
.intro.intro > * { transform: none !important; margin: 0; }
.intro.intro .intro-h { grid-column: 1 / 7; grid-row: 1; max-width: 14ch; }
.intro.intro .statement { grid-column: 1 / 7; grid-row: 2; margin-top: clamp(24px, 3vw, 40px); text-indent: 0; text-align: left; max-width: 30ch; }
.intro.intro .intro-body { grid-column: 1 / 7; grid-row: 3; margin-top: 24px; text-align: left; justify-self: start; max-width: 52ch; }
.intro.intro .intro-btn { grid-column: 1 / 7; grid-row: 4; justify-self: start; align-self: start; margin-top: 32px; }
.intro.intro .intro-photo { grid-column: 8 / 13; grid-row: 1 / 5; align-self: start; }
.intro.intro .intro-photo img { aspect-ratio: 4 / 3; width: 100%; }
.intro.intro .note { grid-column: 8 / 13; grid-row: 5; margin-top: 14px; max-width: none; font-size: var(--step-small); color: var(--muted); }
@media (max-width: 1024px) {
  .intro.intro .intro-h, .intro.intro .statement, .intro.intro .intro-body, .intro.intro .intro-btn { grid-column: 1 / 13; }
  .intro.intro .intro-photo { grid-column: 1 / 13; grid-row: 5; margin-top: 40px; }
  .intro.intro .note { grid-column: 1 / 13; grid-row: 6; }
  .intro.intro .intro-btn { grid-row: 4; }
}

/* Einleitung, Fassung 2: Satz zweizeilig und rechtsbündig wie GEHRING / JARC im Logo */
.intro.intro { grid-template-rows: auto auto auto auto 1fr; }
.intro.intro .intro-h { grid-column: 1 / 8; grid-row: 1; max-width: none; }
.intro.intro .statement { grid-column: 1 / 13; grid-row: 2; justify-self: end; text-align: right; max-width: none; margin-top: clamp(28px, 3.5vw, 48px); }
.intro.intro .intro-photo { grid-column: 1 / 7; grid-row: 3 / 6; margin-top: clamp(48px, 5vw, 80px); }
.intro.intro .intro-body { grid-column: 8 / 13; grid-row: 3; margin-top: clamp(48px, 5vw, 80px); max-width: 48ch; }
.intro.intro .note { grid-column: 8 / 13; grid-row: 4; margin-top: 20px; }
.intro.intro .intro-btn { grid-column: 8 / 13; grid-row: 5; margin-top: 32px; }
@media (max-width: 1024px) {
  .intro.intro .statement { text-align: left; justify-self: start; }
  .intro.intro .statement br { display: none; }
  .intro.intro .intro-h, .intro.intro .statement, .intro.intro .intro-body, .intro.intro .note, .intro.intro .intro-btn, .intro.intro .intro-photo { grid-column: 1 / 13; }
  .intro.intro .intro-body { grid-row: 3; margin-top: 24px; }
  .intro.intro .intro-photo { grid-row: 4; margin-top: 40px; }
  .intro.intro .note { grid-row: 5; margin-top: 12px; }
  .intro.intro .intro-btn { grid-row: 6; margin-top: 28px; }
}

/* Einleitung, Fassung 3: Überschrift wie zuvor, zwei Bilder (Innenausbau groß links, Möbel rechts) */
.intro.intro { grid-template-rows: auto auto auto auto auto 1fr; }
.intro.intro .intro-h { max-width: 12ch; }
.intro.intro .intro-photo { grid-row: 3 / 7; }
.intro.intro .intro-photo img { aspect-ratio: 4 / 3; height: auto; }
.intro.intro .intro-photo2 { grid-column: 8 / 13; grid-row: 6; align-self: end; margin-top: 40px; }
.intro.intro .intro-photo2 img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 1024px) {
  .intro.intro .intro-photo2 { grid-column: 1 / 13; grid-row: 7; margin-top: 16px; width: 70%; justify-self: end; }
}
@media (min-width: 1025px) {
  .intro.intro .intro-photo { align-self: stretch; }
  .intro.intro .intro-photo img { height: 100%; aspect-ratio: auto; object-fit: cover; }
}
@media (max-width: 1024px) {
  .intro.intro { grid-template-rows: none; }
  .intro.intro .intro-h { grid-row: 1; }
  .intro.intro .statement { grid-row: 2; }
  .intro.intro .intro-body { grid-row: 3; }
  .intro.intro .intro-photo { grid-row: 4; margin-top: 40px; }
  .intro.intro .note { grid-row: 5; margin-top: 12px; }
  .intro.intro .intro-btn { grid-row: 6; margin-top: 28px; }
  .intro.intro .intro-photo2 { grid-row: 7; margin-top: 40px; }
}
@media (min-width: 721px) { .factlist dd { hyphens: manual; } }

/* Über uns: „Wer wir sind“ als einzelner zentrierter Satz */
.credo { padding: var(--section) var(--m); display: grid; justify-items: center; }
.credo-text {
  max-width: 30ch; text-align: center;
  font-size: clamp(1.6rem, 1rem + 2vw, 2.25rem); font-weight: 500; line-height: 1.22; letter-spacing: -0.015em;
}
.credo-text .w { opacity: .6; transition: opacity .15s linear; }
@media (prefers-reduced-motion: reduce) { .credo-text .w { opacity: 1 !important; } }

/* Textblöcke neben einem Bild (rechts): komplett rechtsbündig – Überschrift, Text, Buttons */
@media (min-width: 721px) {
  .chapter.rev .ch-text { justify-items: end; text-align: right; }
  .chapter.rev .ch-text p { justify-self: end; }
}
.ch-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
@media (min-width: 721px) { .chapter.rev .ch-links { justify-content: flex-end; } }
.credo { padding-bottom: calc(var(--section) * .5); }

/* Startseite: „Die Werkstatt“ zentriert, Texte mit Wort-Effekt */
.about.werk { row-gap: clamp(48px, 6vw, 96px); }
.werk-text { grid-column: 1 / 13; display: grid; justify-items: center; text-align: center; gap: 24px; max-width: 760px; margin: 0 auto; }
.werk-text h2 { margin-bottom: 8px; }
.werk-text .lead-p { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.01em; }
.werk-text .soft { color: var(--ink); max-width: 60ch; }
.werk-text .btn { margin-top: 12px; }
[data-words] .w { opacity: .6; transition: opacity .15s linear; }
@media (prefers-reduced-motion: reduce) { [data-words] .w { opacity: 1 !important; } }
/* Werkstatt: Satz zweizeilig über die volle Breite, ohne sichtbare Überschrift */
.werk-text { max-width: none; }
.werk-text .lead-p { font-size: clamp(1.375rem, 0.4rem + 1.65vw, 2.125rem); white-space: normal; }
@media (min-width: 1025px) { .werk-text .lead-p { white-space: nowrap; } }
@media (max-width: 1024px) { .werk-text .lead-p br { display: none; } }
@media (min-width: 1025px) and (max-width: 1199px) { .werk-text .lead-p { white-space: normal; max-width: 34ch; } }
@media (min-width: 1200px) { .werk-text .lead-p { font-size: min(2.5rem, calc((100vw - 2 * var(--m)) / 46.5)); } }

/* =================== Startbild: Logo statt Schriftzug =================== */
.name-logo { grid-column: 1 / -1; margin: 0; line-height: 0; color: var(--on-photo); }
.name-logo .hero-logo { display: block; width: 100%; height: auto; }
.js .name-logo .hero-logo { transform: translateY(12%); opacity: 0; transition: transform 1.1s var(--ease-out), opacity .8s ease; }
.js .name-logo.in .hero-logo { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .name-logo .hero-logo { opacity: 1; transform: none; transition: none; } }
.pp-editing .name-logo .hero-logo { opacity: 1 !important; transform: none !important; }

/* Logo oben links erst, wenn die helle Leiste kommt */
.bar:not(.bar-sub) .mark { transition: opacity .3s var(--ease-out), visibility 0s linear .3s; }
.bar:not(.bar-sub):not(.solid) .mark { opacity: 0; visibility: hidden; }
.bar.solid:not(.bar-sub) .mark { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out), visibility 0s; }
/* Startbild: Abschattung höher, damit die Zeile über dem Logo auch auf heller Wand lesbar bleibt */
.hero .scrim { height: 78%; background: linear-gradient(to top, rgba(10, 10, 9, .78) 0%, rgba(10, 10, 9, .6) 45%, rgba(10, 10, 9, .28) 75%, rgba(10, 10, 9, 0) 100%); /* taste-skill-ignore: Scrim unter Text auf Foto */ }
.nap { font-style: normal; }
.nap a { text-decoration: none; }
.nap a:hover { color: var(--paper); }
.page-title .sr { position: absolute; }

/* =================== Häufige Fragen =================== */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; padding: var(--section) var(--m) calc(var(--section) * .8); }
.faq > h2 { grid-column: 1 / 5; align-self: start; }
.faq-list { grid-column: 5 / 13; display: grid; gap: 6px; }
.faq-item { background: var(--surface); transition: background-color .25s var(--ease-out); }
.faq-item[open] { background: var(--surface-2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 16px clamp(16px, 2vw, 28px); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: var(--step-body); font-weight: 600; letter-spacing: -0.005em; line-height: 1.35; }
.faq-item summary::after { content: "+"; flex: none; font-size: 28px; font-weight: 400; line-height: 1; transition: transform .25s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover h3 { color: var(--accent); filter: brightness(.8); }
.faq-a { padding: 0 clamp(16px, 2vw, 28px) 22px; max-width: 72ch; }
@media (max-width: 1024px) { .faq > h2, .faq-list { grid-column: 1 / 13; } }
@media (prefers-reduced-motion: reduce) { .faq-item, .faq-item summary::after { transition: none; } }
.page-title .sr { position: absolute; width: 1px !important; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; font-size: 1rem; }
.ask-hours { color: var(--muted); margin-top: -8px; }

/* =================== Was Kunden sagen =================== */
.voices { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(40px, 5vw, 72px); padding: var(--section) var(--m); background: var(--surface); }
.voices > h2 { grid-column: 1 / 6; align-self: start; }
.voice { margin: 0; }
.voice blockquote { margin: 0; }
.voice blockquote p { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.01em; }
.voice blockquote p::before { content: "„"; }
.voice blockquote p::after { content: "“"; }
.voice figcaption { margin-top: 14px; color: var(--muted); }
.voice-lead { grid-column: 6 / 13; text-align: right; }
.voice-lead blockquote p { font-size: clamp(1.75rem, 1rem + 2.2vw, 2.25rem); font-weight: 500; line-height: 1.2; }
.voice-row { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.voice-row .voice { background: var(--bg); padding: clamp(20px, 2.4vw, 32px); }
@media (max-width: 1024px) {
  .voices > h2, .voice-lead { grid-column: 1 / 13; }
  .voice-lead { text-align: left; }
}
@media (max-width: 720px) {
  .voice-row { grid-template-columns: 1fr; gap: 6px; }
}
.voices-source { grid-column: 1 / 13; margin-top: calc(clamp(40px, 5vw, 72px) * -0.6); color: var(--muted); font-size: var(--step-small); }
.voices-source a { color: var(--ink); text-underline-offset: 3px; }

/* =================== Handy: Burger + Vollbild-Menü =================== */
.burger { display: grid; gap: 6px; width: 26px; }
.burger span { display: block; height: 2.5px; background: currentColor; transition: transform .3s var(--ease-out), opacity .2s ease; }
.menu-btn[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
@media (max-width: 720px) {
  .bar .bar-cta, .bar.solid .bar-cta, .bar-sub .bar-cta { display: none !important; }
  .menu-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; margin-right: -10px; background: none; border: 0; color: inherit; cursor: pointer; }
  .bar .links, .bar.solid .links, .bar-sub .links {
    display: flex; position: fixed; inset: 0; z-index: -1; margin: 0; padding: 96px var(--m) 48px;
    flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    background: var(--bg); color: var(--ink); box-shadow: none; /* taste-skill-ignore: Schatten wird hier entfernt */
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-out), visibility 0s linear .3s;
  }
  .bar .links.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out), visibility 0s; }
  .bar .links li { list-style: none; }
  .bar .links a { display: block; padding: 10px 0; font-size: clamp(1.75rem, 8vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; text-align: center; }
  .bar .links a::after { bottom: 6px; height: 3px; }
  /* geöffnet: dunkle Schrift und grünes Logo, auch über dem Startbild */
  .bar.menu-open { color: var(--ink); }
  .bar.menu-open .mark { color: var(--accent); opacity: 1 !important; visibility: visible !important; }
  .bar.menu-open::before { display: none; }
  html.menu-lock, html.menu-lock body { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .burger span, .bar .links { transition: none !important; } }

/* =================== IMOS-Block: Reiter, Pfeile, Durchlauf-Balken =================== */
.draw .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.draw .step { position: relative; overflow: hidden; min-height: 52px; padding: 0 10px; text-align: center; font-size: 15px; }
.draw .step[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.draw .step .short { display: none; }
.draw .step .step-bar { position: absolute; top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 4px; padding: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.draw.ticking .step[aria-selected="true"] .step-bar { animation: step-fill 3.8s linear forwards; }
@keyframes step-fill { to { transform: scaleX(1); } }
.draw-stage { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.draw-stage .st { -webkit-user-drag: none; pointer-events: none; }
.draw-arrow {
  position: absolute; z-index: 2; bottom: 14px; width: 48px; height: 48px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer;
  transition: background-color .2s var(--ease-out), transform .15s var(--ease-out);
}
.draw-arrow.prev { right: 70px; }
.draw-arrow.next { right: 14px; }
.draw-arrow:hover { background: var(--accent); color: var(--on-accent); }
.draw-arrow:active { transform: scale(.94); }
html:not(.js) .draw-arrow { display: none; }
@media (max-width: 1024px) {
  .draw .draw-text { display: contents; }
  .draw .draw-text h2 { grid-column: 1 / 13; order: 1; }
  .draw .draw-intro { grid-column: 1 / 13; order: 2; margin: 16px 0 28px; }
  .draw .draw-stage { order: 3; }
  .draw .steps { grid-column: 1 / 13; order: 4; margin-top: 8px; }
  .draw .st-text { grid-column: 1 / 13; order: 5; margin-top: 16px; min-height: 3em; }
}
@media (max-width: 720px) {
  .draw .step .full { display: none; }
  .draw .step .short { display: inline; }
  .draw .step { min-height: 48px; padding: 0 4px; }
  .draw-arrow { width: 44px; height: 44px; bottom: 10px; }
  .draw-arrow.prev { right: 62px; }
  .draw-arrow.next { right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .draw.ticking .step[aria-selected="true"] .step-bar { animation: none; } }
@media (max-width: 1024px) {
  .draw .draw-text > *, .draw .draw-text h2, .draw .draw-intro, .draw .steps, .draw .st-text { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .draw .draw-stage { grid-column: 1 / -1; }
}
/* Footer ohne angeschnittenen Schriftzug */
.foot-name { display: none; }
.foot .legal { padding-bottom: clamp(28px, 3vw, 40px); }

/* =================== Impressum / Datenschutz =================== */
.legal-top .page-text { grid-column: 1 / 13; padding-bottom: 0; }
.legal-top .page-title { max-width: 100%; }
.legal-text { padding: clamp(40px, 5vw, 72px) var(--m) var(--section); max-width: calc(72ch + 2 * var(--m)); }
.legal-text h2 { font-size: var(--step-lead); margin: 2.2em 0 .6em; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text p + p { margin-top: .9em; }
.legal-text a { text-underline-offset: 3px; }
.legal-lead { font-size: var(--step-lead); line-height: 1.3; margin-bottom: 1.6em; }
.legal-stand { color: var(--muted); margin-top: 2em !important; }
.legal-text .todo { background: var(--accent); color: var(--on-accent); padding: 0 .3em; font-weight: 600; }

/* =================== Startseite: Einstieg Privat / Gewerbe =================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px 0 0; background: var(--bg); }
.split-panel { position: relative; display: block; height: clamp(360px, 58svh, 640px); overflow: hidden; color: var(--on-photo); text-decoration: none; }
.split-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.split-panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10, 10, 9, .78) 0%, rgba(10, 10, 9, .35) 45%, rgba(10, 10, 9, 0) 75%); /* taste-skill-ignore: Scrim unter Text auf Foto */ }
.split-text { position: absolute; z-index: 2; left: var(--m); right: var(--m); bottom: clamp(20px, 2.6vw, 40px); display: grid; gap: 10px; justify-items: start; }
.split-t { font-weight: 800; font-stretch: 150%; text-transform: uppercase; font-size: clamp(2.5rem, 1rem + 5vw, 6rem); line-height: .85; letter-spacing: -0.035em; }
.split-s { max-width: 34ch; font-size: var(--step-body); line-height: 1.4; }
.split-go { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 6px; padding: 0 18px; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.split-go::after { content: "→"; transition: transform .25s var(--ease-out); }
.split-panel:hover img, .split-panel:focus-visible img { transform: scale(1.04); }
.split-panel:hover .split-go::after, .split-panel:focus-visible .split-go::after { transform: translateX(5px); }
.split-panel:nth-child(3) .split-text { justify-items: end; text-align: right; left: auto; }
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .split-panel { height: 44svh; min-height: 300px; }
  .split-panel:nth-child(3) .split-text { justify-items: start; text-align: left; left: var(--m); }
}
@media (prefers-reduced-motion: reduce) { .split-panel img, .split-go::after { transition: none; } }

/* Zitat Alexander Jarc */
.jq { margin: 0; }
.jq blockquote { margin: 0; }
.jq blockquote p { font-weight: 800; font-stretch: 125%; font-size: clamp(1.6rem, 0.9rem + 2.4vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; color: var(--accent); filter: brightness(.82); }
.jq blockquote p::before { content: "„"; }
.jq blockquote p::after { content: "“"; }
.jq figcaption { margin-top: 14px; color: var(--muted); }
.werk-text .jq { margin: clamp(16px, 2vw, 32px) 0; max-width: 28ch; }
.jq-section { padding: 0 var(--m) calc(var(--section) * .6); display: grid; justify-items: end; text-align: right; }
.jq-section .jq { max-width: 24ch; }
@media (max-width: 720px) { .jq-section { justify-items: start; text-align: left; } }
/* Sicherheitsnetz gegen seitliches Scrollen (clip statt hidden, damit die feste Leiste funktioniert) */
html, body { overflow-x: clip; }
.jq-section .jq, .werk-text .jq { max-width: min(100%, 820px); }
.jq blockquote p { overflow-wrap: break-word; hyphens: manual; }

/* =================== Navigation mit Untermenüs =================== */
.links .has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.sub-toggle { display: inline-grid; place-items: center; width: 26px; height: 32px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; transition: transform .2s var(--ease-out); }
.has-sub.open > .sub-toggle { transform: rotate(180deg); }
.links .sub {
  position: absolute; top: calc(100% + 6px); left: -18px; z-index: 5; min-width: 270px; margin: 0; padding: 10px 0;
  list-style: none; background: var(--paper); color: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .16); /* taste-skill-ignore: schwebendes Untermenü */
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s linear .2s;
}
.links .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }  /* Brücke, damit das Menü beim Überfahren offen bleibt */
.links .has-sub:hover > .sub, .links .has-sub:focus-within > .sub, .links .has-sub.open > .sub {
  opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s;
}
.links .sub a { display: block; padding: 10px 20px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.links .sub a::after { display: none; }
.links .sub a:hover, .links .sub a:focus-visible, .links .sub a[aria-current="page"] { background: var(--bg); color: var(--ink); }
.links a.is-parent::after { transform: scaleX(1); }
@media (min-width: 721px) and (max-width: 1180px) { .links { gap: 14px !important; } .links a { font-size: 14px; } }
@media (max-width: 720px) {
  .bar .links { justify-content: safe center; overflow-y: auto; }
  .bar .links .has-sub { flex-wrap: wrap; justify-content: center; gap: 6px; }
  .bar .links .sub-toggle { width: 44px; height: 44px; }
  .bar .links .sub { position: static; display: none; width: 100%; min-width: 0; padding: 0 0 10px; background: none; box-shadow: none; /* taste-skill-ignore: Schatten wird entfernt */ opacity: 1; visibility: visible; transform: none; transition: none; text-align: center; }
  .bar .links .has-sub.open > .sub { display: block; }
  .bar .links .has-sub:hover > .sub, .bar .links .has-sub:focus-within > .sub { display: none; }
  .bar .links .has-sub.open:hover > .sub, .bar .links .has-sub.open:focus-within > .sub { display: block; }
  .bar .links .sub a { font-size: 18px; font-weight: 500; padding: 8px 0; text-align: center; letter-spacing: 0; }
  .bar .links .has-sub::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .links .sub, .sub-toggle { transition: none; } }
/* Feinschliff Navigation / Linkreihen */
@media (min-width: 721px) {
  .links { align-items: center; }
  .links > li { display: flex; align-items: center; }
  .links > li > a { padding: 10px 0; }
}
.lr-t { font-size: clamp(1.5rem, 0.9rem + 1.7vw, 2.6rem); }
.lr-img img { width: 100%; height: 100%; max-height: 120px; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 720px) { .lr-img { align-self: center; } .lr-img img { width: 96px; height: 72px; max-height: none; } }

/* =================== Mikro-Animationen (dezent) =================== */
@media (prefers-reduced-motion: no-preference) {
  /* Buttons: leicht anheben, beim Drücken einsinken */
  .btn, .split-go, .step, .chip, .lb-btn, .gal-nav button, .draw-arrow { will-change: transform; }
  .btn:hover, .lb-btn:hover { transform: translateY(-2px); }
  .btn:active, .lb-btn:active { transform: translateY(0) scale(.98); transition-duration: .08s; }
  .btn { transition: background-color .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out); }

  /* Textlinks im Fließtext: Unterstrich wird beim Überfahren kräftiger und rückt ab */
  .ch-text p a, .legal-text a, .project-head a, .faq-a a, .rows-intro a, .facts-note a, .voices-source a, .ask-side a, .field.check a {
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
    transition: text-underline-offset .25s var(--ease-out), text-decoration-thickness .25s var(--ease-out), color .2s var(--ease-out);
  }
  .ch-text p a:hover, .legal-text a:hover, .project-head a:hover, .faq-a a:hover, .rows-intro a:hover, .facts-note a:hover, .voices-source a:hover, .ask-side a:hover, .field.check a:hover { text-underline-offset: 6px; text-decoration-thickness: 2px; }

  /* Bilder: sanftes Heranzoomen beim Überfahren */
  .ch-photo, .pair figure, .halls figure, .how.how figure, .intro-photo, .intro-photo2, .who-side figure { overflow: hidden; }
  .ch-photo img, .pair img, .halls img, .how.how figure img, .intro-photo img, .intro-photo2 img, .who-side img { transition: transform 1.1s var(--ease-out); }
  .ch-photo:hover img, .pair figure:hover img, .halls figure:hover img, .how.how figure:hover img, .intro-photo:hover img, .intro-photo2:hover img, .who-side figure:hover img { transform: scale(1.035); }
  .lr-img { overflow: hidden; }
  .lr-img img { transition: transform .8s var(--ease-out); }
  .lr:hover .lr-img img { transform: scale(1.06); }
  .lr-t { transition: transform .4s var(--ease-out); }
  .lr:hover .lr-t { transform: translateX(6px); }
  .tile { overflow: hidden; }
  .tile img { transition: transform .8s var(--ease-out), opacity .25s var(--ease-out); }
  .tile:hover img, .tile:focus-visible img { transform: scale(1.04); opacity: 1; }
  .tile-cap { transition: color .2s var(--ease-out); }
  .tile:hover .tile-cap { color: var(--accent); filter: brightness(.8); }

  /* Bilder blenden beim Hereinscrollen mit leichtem Zoom ein */
  .js figure.rv img, .js .page-hero.rv img { transform: scale(1.05); transition: transform 1.4s var(--ease-out); }
  .js figure.rv.in img, .js .page-hero.rv.in img { transform: none; }
  .js .ch-photo.rv.in:hover img, .js .pair figure.rv.in:hover img, .js .halls figure.rv.in:hover img, .js .intro-photo.rv.in:hover img, .js .intro-photo2.rv.in:hover img, .js .who-side figure.rv.in:hover img, .js .how.how figure.rv.in:hover img { transform: scale(1.035); }

  /* Untermenü: Einträge rücken beim Überfahren leicht ein, Einträge erscheinen gestaffelt */
  .links .sub a { transition: padding-left .25s var(--ease-out), background-color .2s var(--ease-out); }
  .links .sub a:hover, .links .sub a:focus-visible { padding-left: 26px; }
  .links .sub li { opacity: 0; transform: translateY(-4px); transition: opacity .25s var(--ease-out), transform .25s var(--ease-out); }
  .links .has-sub:hover > .sub li, .links .has-sub:focus-within > .sub li, .links .has-sub.open > .sub li { opacity: 1; transform: none; }
  .links .sub li:nth-child(2) { transition-delay: .03s; } .links .sub li:nth-child(3) { transition-delay: .06s; }
  .links .sub li:nth-child(4) { transition-delay: .09s; } .links .sub li:nth-child(5) { transition-delay: .12s; }

  /* Logo: kaum merkliches Nachgeben */
  .mark .logo { transition: transform .3s var(--ease-out), opacity .2s var(--ease-out); }
  .mark:hover .logo { transform: translateY(-1px); }

  /* FAQ: weiches Aufklappen (in aktuellen Browsern) und Antwort blendet ein */
  .faq-list { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: clip; transition: height .35s var(--ease-out), content-visibility .35s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
  .faq-a { opacity: 0; transform: translateY(-4px); transition: opacity .3s var(--ease-out) .05s, transform .3s var(--ease-out) .05s; }
  .faq-item[open] .faq-a { opacity: 1; transform: none; }
  .faq-item summary h3 { transition: transform .3s var(--ease-out), color .2s; }
  .faq-item summary:hover h3 { transform: translateX(4px); }

  /* Formular: Fokus-Linie wächst, Pflichtfelder geben Rückmeldung */
  .field { position: relative; }
  .field input:not([type="checkbox"]):not([type="file"]), .field select, .field textarea { transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out); }
  .field input:not([type="checkbox"]):not([type="file"]):focus, .field select:focus, .field textarea:focus { background-color: #fff; border-bottom-color: var(--accent); }
  .field label { transition: color .2s var(--ease-out); }
  .field:focus-within > label { color: var(--accent); filter: brightness(.8); }
  .field .err { animation: err-in .3s var(--ease-out); }
  @keyframes err-in { from { opacity: 0; transform: translateY(-4px); } }
  .field.invalid input, .field.invalid textarea { animation: nudge .35s var(--ease-out); }
  @keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

  /* Kontakt-Links und Telefonnummer: Pfeil erscheint */
  .ask-direct a { transition: color .2s var(--ease-out); }
  .ask-direct a:hover { color: var(--accent); filter: brightness(.8); }

  /* Leiste der Unterseiten: beim Scrollen ein Hauch Tiefe */
  .bar-sub { transition: box-shadow .3s var(--ease-out); }
  .bar-sub.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .06); } /* taste-skill-ignore: feste Leiste schwebt über dem Inhalt */

  /* Kopfbild der Unterseiten zieht beim Laden sanft heran */
  .page-hero img { animation: hero-settle 1.6s var(--ease-out) both; }
  @keyframes hero-settle { from { transform: scale(1.06); } to { transform: none; } }
}

/* Prüfer-Runde: Untermenü wirklich ausblenden, Zitate kleiner, Kapitel auf Tablet einspaltig */
@media (min-width: 721px) {
  .links .sub { display: none; }
  .links .has-sub:hover > .sub, .links .has-sub:focus-within > .sub, .links .has-sub.open > .sub { display: block; }
  @starting-style { .links .has-sub:hover > .sub, .links .has-sub:focus-within > .sub, .links .has-sub.open > .sub { opacity: 0; transform: translateY(6px); } }
}
.jq blockquote p { font-size: clamp(1.5rem, 0.9rem + 1.6vw, 2.25rem); }
@media (max-width: 1024px) {
  .voice-lead blockquote p { font-size: var(--step-lead); }
  .chapter, .chapter.rev { row-gap: 32px; }
  .ch-text, .ch-photo, .chapter.rev .ch-text, .chapter.rev .ch-photo { grid-column: 1 / 13; grid-row: auto; }
  .chapter.rev .ch-photo { order: 2; }
  .chapter.rev .ch-text { justify-items: start; text-align: left; }
  .chapter.rev .ch-text h2 { justify-self: start; text-align: left; }
  .ch-photo img { aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) { .voice-lead blockquote p, .jq blockquote p { font-size: 1.375rem; } }
.js .name-logo .hero-logo { transition: transform .6s var(--ease-out), opacity .45s ease; }
