/* Holzstudio Debus – private Testversion (Mia): Reiter-Version mit Sitzbank-Animation */
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-ext-500.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-ext-600.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --creme: #EBE4D8;
  --papier: #F3EEE6;
  --braun: #584736;
  --tinte: #3A2E23;
  --nacht: #1E1B18;
  --kohle: #2A2520;
  --staub: #ADA192;
  --holz: #C08A52;
  --glut: #E59A4E;
  --linie: rgba(88, 71, 54, .2);
  --linie-hell: rgba(235, 228, 216, .18);
  --pad: clamp(20px, 4.5vw, 72px);
  --maxw: 90rem;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: clamp(16px, 0.5vw + 8.8px, 20px); }
html.lenis, html.lenis body { height: auto; }
.js body { transition: opacity .3s ease; }
html.jump body { opacity: 0; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--braun);
  font: 400 1.0625rem/1.65 Poppins, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--glut); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--creme); color: var(--nacht); padding: 10px 14px; }
.skip:focus { left: 8px; }
.meta { font-size: 0.875rem; letter-spacing: .01em; opacity: .75; margin-bottom: .6em; }

/* ---------- Logo: Original-Wortmarke mit Linie und den drei Symbolen (Baum, Sägeblatt, Sideboard),
   im Fuß zusätzlich mit Claim. Als Maske, damit es die Textfarbe übernimmt (hell auf dunkel, braun auf hell). ---------- */
.mark { display: inline-block; flex: none; text-decoration: none; line-height: 0; }
.mark__logo {
  display: block; width: 196px; aspect-ratio: 847 / 227; background: currentColor;
  -webkit-mask: url(../img/logo-mark.svg) no-repeat left center / contain;
  mask: url(../img/logo-mark.svg) no-repeat left center / contain;
}
.mark--full { display: block; width: 250px; max-width: 100%; }
.mark--full .mark__logo {
  width: 100%; aspect-ratio: 847 / 309;
  -webkit-mask-image: url(../img/logo-full.svg); mask-image: url(../img/logo-full.svg);
}
@media (max-width: 640px) { .top .mark__logo { width: 152px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  font: 500 0.9375rem/1 Poppins, sans-serif; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  background: var(--creme); color: var(--nacht);
  border: 1px solid var(--creme); border-radius: 999px;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: #fff; border-color: #fff; }
.btn--ghost { background: transparent; color: var(--creme); border-color: rgba(235,228,216,.45); }
.btn--ghost:hover { background: rgba(235,228,216,.1); border-color: var(--creme); color: var(--creme); }
.btn--dark { background: var(--braun); border-color: var(--braun); color: var(--creme); }
.btn--dark:hover { background: var(--tinte); border-color: var(--tinte); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 0.875rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Kopfzeile ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--pad);
  color: var(--creme);
  transition: color .4s, background-color .4s, padding .4s;
}
.top[data-tone="light"] { color: var(--braun); }
.top.is-solid { background: rgba(30,27,24,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: 12px; padding-bottom: 12px; }
.top.is-solid[data-tone="light"] { background: rgba(235,228,216,.86); }
.top__nav { display: flex; gap: 28px; margin-left: auto; font-size: 0.9375rem; }
.top__nav a { text-decoration: none; opacity: .85; }
.top__nav a:hover { opacity: 1; text-decoration: underline; }
.top[data-tone="light"] .top__cta { background: var(--braun); color: var(--creme); border-color: var(--braun); }
.top__menu { display: none; margin-left: auto; background: none; border: 1px solid currentColor; color: inherit; border-radius: 999px; font: 500 0.875rem Poppins, sans-serif; padding: 9px 18px; cursor: pointer; }
/* Menü: klappt direkt unter dem Knopf auf */
.menu {
  position: fixed; z-index: 49; top: 68px; right: var(--pad);
  width: min(260px, calc(100vw - 2 * var(--pad))); padding: 8px;
  background: var(--papier); color: var(--braun);
  border: 1px solid var(--linie); border-radius: 16px;
  box-shadow: 0 22px 50px rgba(20, 16, 12, .3);
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: block; padding: 11px 14px; border-radius: 10px; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; text-decoration: none; }
.menu nav a:hover, .menu nav a:focus-visible { background: rgba(88, 71, 54, .08); }
.menu nav a[aria-current] { color: var(--glut); }
.menu p { margin: 6px 14px 6px; padding-top: 10px; border-top: 1px solid var(--linie); font-size: 0.875rem; line-height: 1.7; }
.menu p a { text-decoration: none; }

/* ---------- Bühne ---------- */
.stage { position: relative; height: 100vh; height: 100svh; background: var(--nacht); color: var(--creme); }
.stage__pin { position: sticky; top: 0; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; height: 100vh; height: 100svh; overflow: hidden; }
.stage__glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(42% 38% at 62% 48%, rgba(229,154,78,.42), rgba(229,154,78,0) 70%),
    radial-gradient(30% 28% at 60% 50%, rgba(255,196,128,.28), rgba(255,196,128,0) 70%);
  opacity: 0;
  will-change: transform, opacity;
}
.stage__hero {
  position: absolute; left: var(--pad); top: 0; bottom: 0; width: min(54vw, 900px);
  display: flex; flex-direction: column; justify-content: center; gap: clamp(26px, 5vh, 56px);
  padding-top: 64px; pointer-events: none;
}
.stage__title {
  position: relative; z-index: 1; margin: 0; pointer-events: none;
  font-size: clamp(3.625rem, 9.4vw, 10.75rem); line-height: .9; letter-spacing: -.05em; font-weight: 500;
  color: var(--creme);
}
.stage__title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.stage__title .ln > span { display: block; }
.stage__sub { position: relative; z-index: 1; margin: 0; color: #d8cfc2; font-size: clamp(1rem, 1.35vw, 1.3125rem); pointer-events: none; }
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.stage__fallback { display: none; position: absolute; right: 8vw; top: 14vh; height: 72vh; width: auto; border-radius: 18px; z-index: 2; opacity: .9; }
.no-webgl .stage__fallback { display: block; }
.stage__intro { position: relative; z-index: 3; width: min(620px, 100%); color: var(--creme); pointer-events: auto; }
.stage__intro p { color: #d8cfc2; margin-bottom: 22px; }
.stage__services { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stage__services a { display: inline-block; padding: 7px 14px; border: 1px solid rgba(235,228,216,.3); border-radius: 999px; font-size: 0.875rem; text-decoration: none; color: var(--creme); transition: border-color .2s, background .2s; }
.stage__services a:hover { border-color: var(--creme); background: rgba(235,228,216,.08); }
.stage__hint { position: absolute; z-index: 3; right: var(--pad); bottom: 32px; font-size: 0.8125rem; color: var(--staub); display: flex; align-items: center; gap: 12px; margin: 0; }
.stage__skip {
  position: absolute; z-index: 5; right: var(--pad); top: 84px;
  font: 500 0.8125rem/1 Poppins, sans-serif; letter-spacing: .01em; color: var(--creme);
  background: rgba(30, 27, 24, .55); border: 1px solid rgba(235, 228, 216, .35); border-radius: 999px;
  padding: 10px 16px; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .2s, background .2s;
}
.stage__skip:hover { border-color: var(--creme); background: rgba(30, 27, 24, .8); }
.stage__skip::after { content: " ↓"; }
.stage__hint span { width: 1px; height: 36px; background: linear-gradient(var(--staub), transparent); display: block; animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.stage__head {
  position: absolute; z-index: 3; left: var(--pad); top: clamp(88px, 14vh, 140px);
  font-size: clamp(1.375rem, 2.2vw, 2.125rem); line-height: 1.15; color: var(--staub); opacity: 0;
}
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  position: absolute; z-index: 3; top: 50%; translate: 0 -50%; width: min(420px, 34vw);
  opacity: 0; visibility: hidden;
}
.step--l { left: var(--pad); }
.step--r { right: var(--pad); }
.step__no { display: block; font-size: 0.875rem; color: var(--glut); margin-bottom: 14px; letter-spacing: .02em; }
.step h3 { font-size: clamp(1.875rem, 3.3vw, 3.25rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 18px; }
.step p { color: #d8cfc2; max-width: 34ch; }

.dim {
  position: absolute; z-index: 4; left: 0; top: 0; opacity: 0;
  font-size: 0.8125rem; letter-spacing: .02em; color: var(--creme);
  background: rgba(30,27,24,.82); padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(235,228,216,.35); pointer-events: none;
}
.dim--note { color: var(--glut); border-color: rgba(229,154,78,.5); }
.stage__caption {
  position: absolute; z-index: 3; right: var(--pad); bottom: 74px;
  font-size: 0.875rem; color: var(--staub); opacity: 0; margin: 0; white-space: nowrap;
}

.rail {
  position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  font-size: 0.8125rem; color: var(--staub); opacity: 0; visibility: hidden;
}
.rail button { all: unset; box-sizing: border-box; cursor: pointer; padding-top: 14px; transition: color .3s; }
.rail button:hover { color: #d8cfc2; }
.rail button.is-on { color: var(--creme); }
.rail button:focus-visible { outline: 2px solid var(--glut); outline-offset: 4px; }
.rail__bar { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--linie-hell); }
.rail__bar i { position: absolute; inset: 0; background: var(--glut); transform-origin: left; transform: scaleX(0); }


/* ---------- Abschnittsköpfe ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(48px, 9vh, 110px); }
.sec-head h2 { font-size: clamp(2.625rem, 6.4vw, 6.5rem); line-height: .98; letter-spacing: -.045em; color: var(--braun); }
.sec-head p { max-width: 40ch; margin: 0; font-size: 1.125rem; }

/* ---------- Leistungen & Projekte: Foto + Panel (wie Lovable-Version) ---------- */
.eyebrow { font-size: 0.75rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 16px; opacity: .72; }
.sec-head .eyebrow { font-size: 0.75rem; margin-bottom: 18px; }
.services { padding: clamp(96px, 16vh, 180px) 0 clamp(80px, 12vh, 140px); background: var(--creme); }
.svc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.svc-nav a { padding: 7px 15px; border: 1px solid var(--linie); border-radius: 999px; font-size: 0.875rem; text-decoration: none; transition: border-color .2s, background .2s; }
.svc-nav a:hover { border-color: var(--braun); background: rgba(88,71,54,.05); }
.panels { display: grid; gap: 16px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.panel, .feat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: min(74vh, 42rem); scroll-margin-top: 64px; }
.panel--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.projects .feat { width: calc(100% - 2 * var(--pad)); max-width: calc(var(--maxw) - 2 * var(--pad)); margin: 0 auto; border-radius: 4px; overflow: hidden; }
.panel--rev .panel__img { order: 2; }
.panel__img { margin: 0; overflow: hidden; background: var(--kohle); border-radius: 4px 0 0 4px; }
.panel--rev .panel__img { border-radius: 0 4px 4px 0; }
.panel__body { border-radius: 0 4px 4px 0; }
.panel--rev .panel__body { border-radius: 4px 0 0 4px; }
.panel__img { position: relative; }
.panel__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.panel__body { background: var(--papier); display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 5vw, 96px); }
.panel__body h3 { font-size: clamp(2rem, 3.4vw, 3.625rem); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 28px; max-width: 14ch; }
.panel__text p { max-width: 46ch; }
.panel__ex { font-size: 0.9375rem; opacity: .72; border-top: 1px solid var(--linie); padding-top: 16px; margin-top: 10px; }

.projects { background: var(--creme); padding: clamp(96px, 16vh, 180px) 0 clamp(72px, 10vh, 128px); }
.feat__media { position: relative; margin: 0; background: var(--nacht); display: grid; place-items: center; padding: clamp(28px, 4vw, 64px); overflow: hidden; }
.feat__media::before { content: ""; position: absolute; inset: -10%; background: radial-gradient(40% 46% at 50% 50%, rgba(229,154,78,.28), rgba(229,154,78,0) 70%); pointer-events: none; }
.feat__video { position: relative; display: block; height: min(72vh, 700px); width: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; background: var(--kohle); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(235,228,216,.08); }
.feat__pause { position: absolute; right: 16px; bottom: 16px; font: 500 0.8125rem Poppins, sans-serif; color: var(--creme); background: rgba(30,27,24,.72); border: 1px solid rgba(235,228,216,.25); border-radius: 999px; padding: 7px 14px; cursor: pointer; }

.materials { margin-top: clamp(80px, 14vh, 160px); border-top: 1px solid var(--linie); padding-top: 40px; }
.materials h3 { font-size: clamp(1.75rem, 3vw, 2.75rem); letter-spacing: -.035em; margin-bottom: 40px; }
.materials__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.swatch { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; display: block; border-radius: 3px; margin-bottom: 22px; background: var(--holz); box-shadow: 0 30px 50px -30px rgba(58,46,35,.55); }
.mat h4 { font-size: 1.25rem; margin-bottom: 8px; }
.mat p { max-width: 34ch; }

/* ---------- Scheune → Theke ---------- */
.barn { position: relative; background: var(--nacht); color: var(--creme); }
.barn__pin { position: relative; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(32px, 6vw, 120px); padding: 80px var(--pad) 40px; max-width: var(--maxw); margin: 0 auto; }
.barn__text h2 { font-size: clamp(2.75rem, 6vw, 6.25rem); line-height: .98; letter-spacing: -.045em; margin-bottom: 30px; }
.barn__text p:not(.meta) { color: #d8cfc2; max-width: 44ch; }
.barn__frame { --pos: 50%; position: relative; margin: 0; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; height: min(78vh, 780px); aspect-ratio: 1206 / 1600; overflow: hidden; border-radius: 4px; background: var(--kohle); }
.barn__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.barn__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.barn__cut { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #ffd29a; box-shadow: 0 0 18px 4px rgba(255,170,90,.75), 0 0 2px #fff; pointer-events: none; }
.barn__cut i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; display: grid; place-items: center; border-radius: 50%; background: var(--creme); color: var(--nacht); font-style: normal; font-size: 0.9375rem; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.barn__range { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.barn__frame:has(.barn__range:focus-visible) { outline: 2px solid var(--glut); outline-offset: 4px; }
.barn__tag { position: absolute; font-size: 0.8125rem; padding: 6px 12px; border-radius: 999px; background: rgba(30,27,24,.78); color: var(--creme); max-width: calc(100% - 32px); }
.barn__tag--a { left: 16px; top: 16px; }
.barn__tag--b { right: 16px; bottom: 16px; }

/* ---------- Projekte ---------- */
.work { position: relative; background: var(--papier); }
.work__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.work__track { display: flex; align-items: flex-start; gap: clamp(28px, 4vw, 72px); padding: 0 var(--pad); will-change: transform; width: max-content; }
.work__intro { width: min(440px, 80vw); flex: none; align-self: center; }
.work__intro h2 { font-size: clamp(2.75rem, 6vw, 6.5rem); line-height: .96; letter-spacing: -.045em; margin-bottom: 28px; }
.work__intro p { max-width: 34ch; }
.proj { flex: none; width: clamp(280px, 30vw, 470px); }
.proj__img { height: min(56vh, 640px); overflow: hidden; border-radius: 4px; margin-bottom: 22px; background: var(--creme); }
.proj__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.proj h3 { font-size: clamp(1.375rem, 1.9vw, 1.875rem); line-height: 1.15; letter-spacing: -.03em; margin-bottom: 10px; }
.proj p:not(.meta) { font-size: 1rem; max-width: 38ch; }
.work__end { flex: none; width: min(420px, 80vw); align-self: center; padding-right: var(--pad); }
.work__end h3 { font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1; letter-spacing: -.045em; margin-bottom: 28px; }
.work__end .btn { background: var(--braun); color: var(--creme); border-color: var(--braun); }
.work__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 32px; height: 1px; background: var(--linie); }
.work__progress i { position: absolute; inset: 0; background: var(--braun); transform-origin: left; transform: scaleX(0); }

/* ---------- Werkstatt ---------- */
.shop { position: relative; background: var(--creme); padding-top: clamp(80px, 14vh, 160px); }
.shop__title { font-size: clamp(3rem, 8vw, 8.5rem); line-height: .92; letter-spacing: -.055em; color: var(--braun); margin-bottom: clamp(32px, 5vh, 64px); }
.shop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.shop__grid figure { margin: 0; }
.shop__grid img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; background: var(--papier); }
.shop__grid figcaption { font-size: 14px; margin-top: 10px; opacity: .8; }
.shop__text { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); padding-top: clamp(64px, 12vh, 130px); padding-bottom: clamp(40px, 8vh, 90px); }
.lead { font-size: clamp(1.25rem, 1.8vw, 1.75rem); line-height: 1.45; letter-spacing: -.01em; color: var(--tinte); }
.shop__text p:last-child { align-self: end; }
.shop__card { align-self: stretch; display: grid; align-content: center; justify-items: start; gap: 12px; background: var(--papier); border-radius: 4px; padding: clamp(28px, 3.2vw, 52px); }
.shop__card .eyebrow { margin-bottom: 0; }
.shop__card .shop__addr { font-size: clamp(1.25rem, 1.8vw, 1.625rem); line-height: 1.3; color: var(--braun); font-weight: 500; margin: 0; }
.shop__card p { margin: 0; }

/* ---------- Über uns ---------- */
.about { background: var(--creme); padding: clamp(40px, 8vh, 90px) 0 clamp(80px, 14vh, 160px); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.about__img { margin: 0; }
.about__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.about__img figcaption { font-size: 0.875rem; margin-top: 12px; opacity: .8; }
.about__text h2 { font-size: clamp(2.375rem, 4.8vw, 4.75rem); line-height: 1; letter-spacing: -.045em; margin-bottom: 32px; }
.about__text > p { max-width: 46ch; font-size: 1.125rem; }
.facts { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--linie); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--linie); }

/* ---------- Haltung ---------- */
.creed { background: var(--papier); padding: clamp(100px, 18vh, 200px) 0; }
.creed__h { font-size: 1.125rem; letter-spacing: 0; margin-bottom: 36px; color: var(--braun); opacity: .8; }
.creed__text { font-size: clamp(2.25rem, 5.6vw, 5.75rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 500; color: var(--braun); max-width: 17ch; margin: 0; }
.creed__text .w { opacity: .14; transition: none; }
.no-anim .creed__text .w { opacity: 1; }

/* ---------- Ausbildung ---------- */
.train { background: var(--papier); padding: 0 0 clamp(100px, 16vh, 180px); }
.train__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; border-top: 1px solid var(--linie); padding-top: 48px; }
.train__grid { align-items: center; }
.train h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); letter-spacing: -.04em; margin-bottom: 24px; }
.train__img { margin: 0; }
.train__img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.train__img figcaption { font-size: 0.875rem; margin-top: 12px; opacity: .8; }
.train p { max-width: 46ch; margin-bottom: 26px; }

/* ---------- Kontakt ---------- */
.contact { position: relative; overflow: hidden; background: var(--nacht); color: var(--creme); padding: clamp(110px, 18vh, 200px) 0 clamp(80px, 12vh, 140px); }
.contact__glow { position: absolute; left: 50%; top: -10%; width: 120vw; height: 90vh; transform: translateX(-50%); background: radial-gradient(40% 50% at 50% 30%, rgba(229,154,78,.22), rgba(229,154,78,0) 70%); pointer-events: none; }
.contact .wrap { position: relative; }
.contact__h { font-size: clamp(2.75rem, 7vw, 7.5rem); line-height: .96; letter-spacing: -.05em; margin-bottom: clamp(56px, 10vh, 110px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 110px); }
.form fieldset { border: 0; margin: 0 0 28px; padding: 0; }
.form legend { font-size: 1.125rem; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(235,228,216,.35); font-size: 0.9375rem; transition: background .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--creme); color: var(--nacht); border-color: var(--creme); }
.chips input:focus-visible + span { outline: 2px solid var(--glut); outline-offset: 3px; }
.field { display: block; margin-bottom: 22px; }
.field > span { display: block; font-size: 0.875rem; color: var(--staub); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font: 400 1.0625rem/1.5 Poppins, sans-serif; color: var(--creme);
  background: rgba(235,228,216,.05); border: 1px solid rgba(235,228,216,.22); border-radius: 4px; padding: 13px 14px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--glut); background: rgba(235,228,216,.08); }
.field ::placeholder { color: #857a6d; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; margin: 6px 0 26px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--glut); flex: none; }
.form__err { color: #ffb48a; font-size: 0.9375rem; }
.form__note { font-size: 0.8125rem; color: var(--staub); margin-top: 16px; }
.direct h3 { font-size: 1.625rem; letter-spacing: -.03em; margin-bottom: 22px; }
.direct ul { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--linie-hell); }
.direct li { border-bottom: 1px solid var(--linie-hell); }
.direct li a { display: block; padding: 16px 0; text-decoration: none; font-size: 1.125rem; }
.direct li a:hover { color: #fff; text-decoration: underline; }
.direct address { font-style: normal; margin-bottom: 12px; }
.direct p { color: var(--staub); }
.link { color: var(--glut); }
.faq { margin-top: clamp(80px, 14vh, 150px); max-width: 900px; }
.faq h3 { font-size: clamp(1.75rem, 3vw, 2.75rem); letter-spacing: -.035em; margin-bottom: 26px; }
.faq details { border-top: 1px solid var(--linie-hell); }
.faq details:last-child { border-bottom: 1px solid var(--linie-hell); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: #d8cfc2; max-width: 60ch; padding-bottom: 12px; }

/* ---------- Fuß ---------- */
.foot { background: var(--nacht); color: var(--staub); padding: 64px 0 32px; border-top: 1px solid var(--linie-hell); font-size: 0.9375rem; }
.foot__grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr; gap: 32px; }
.foot .mark { color: var(--staub); display: block; margin-bottom: 16px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--creme); text-decoration: underline; }
.foot__copy { margin-top: 48px; font-size: 0.8125rem; }

/* ---------- Rechtliches ---------- */
.legal { background: var(--creme); padding: 140px 0 100px; }
.legal article { max-width: 760px; }
.legal h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); letter-spacing: -.045em; line-height: 1; margin-bottom: 48px; }
.legal h2 { font-size: 1.25rem; letter-spacing: -.01em; margin: 36px 0 10px; }
.legal a { word-break: break-word; }
.page-legal .top { color: var(--braun); background: rgba(235,228,216,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.page-legal .top__cta { background: var(--braun); color: var(--creme); border-color: var(--braun); }

/* ---------- Schmal ---------- */
@media (max-width: 900px) {
  body { font-size: 1rem; }
  .top { gap: 16px; }
  .top__nav, .top__cta { display: none; }
  .top__menu { display: inline-block; }
  .stage__hero { left: var(--pad); right: var(--pad); width: auto; justify-content: flex-end; padding-bottom: 28px; gap: 22px; }
  .stage__title { font-size: clamp(3.125rem, 15.5vw, 6.875rem); }
  .stage__intro p { font-size: 0.9375rem; }
  .stage__services { display: none; }
  .stage__hint { display: none; }
  .stage__glow { background:
    radial-gradient(60% 34% at 50% 30%, rgba(229,154,78,.40), rgba(229,154,78,0) 70%),
    radial-gradient(40% 22% at 50% 30%, rgba(255,196,128,.24), rgba(255,196,128,0) 70%); }
  .stage__head { display: none; }
  .stage__skip { top: 80px; padding: 8px 12px; font-size: 0.75rem; }
  .step, .step--l, .step--r { left: var(--pad); right: var(--pad); width: auto; top: auto; bottom: 86px; translate: none; }
  .step h3 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .step p { font-size: 0.9375rem; }
  .rail { grid-template-columns: repeat(4, auto); font-size: 0.6875rem; gap: 8px; bottom: 20px; }
  .stage__caption { display: none; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .panel, .feat { grid-template-columns: 1fr; min-height: 0; }
  .panel--rev .panel__img { order: 0; }
  .panel__img { aspect-ratio: 4 / 3; }
  .panel__body { padding: 30px var(--pad) 40px; }
  .panel__body h3 { font-size: clamp(1.75rem, 8vw, 2.5rem); margin-bottom: 18px; }
  .feat__media { padding: 24px var(--pad); }
  .feat__video { height: min(68svh, 600px); }
  .materials__row { grid-template-columns: 1fr; gap: 28px; }
  .mat { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .swatch { grid-row: span 2; width: 96px; margin: 0; }
  .mat h4 { margin-top: 4px; }
  .barn__pin { grid-template-columns: 1fr; align-content: center; gap: 22px; height: auto; min-height: 100svh; padding-top: 72px; padding-bottom: 56px; }
  .barn__text h2 { font-size: clamp(2.25rem, 10vw, 3.5rem); margin-bottom: 14px; }
  .barn__text p:not(.meta) { font-size: 0.875rem; margin-bottom: 0; }
  .barn__frame { width: min(100%, calc(52svh * .754)); height: auto; justify-self: center; }
  .work { height: auto !important; padding: 96px 0 72px; }
  .work__pin { position: static; height: auto; display: block; }
  .work__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 12px; align-items: flex-start; -webkit-overflow-scrolling: touch; }
  .work__intro, .proj, .work__end { scroll-snap-align: start; }
  .work__intro { width: 82vw; align-self: flex-start; }
  .proj { width: 78vw; }
  .proj__img { height: 62vw; }
  .proj__img img { transform: none; }
  .work__progress { display: none; }
  .shop__grid { grid-template-columns: 1fr; }
  .panels { padding: 0; }
  .projects .feat { width: 100%; border-radius: 0; }
  .panel__img, .panel--rev .panel__img, .panel__body, .panel--rev .panel__body { border-radius: 0; }
  .shop__text, .about__grid, .train__grid, .contact__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
  .foot .mark--full { margin-inline: auto; }  /* Handy/Tablet: Logo im Fuß mittig (13.11.2026) */
}

/* ---------- Kleine Handys: Einstieg kompakter, damit der Titel nicht in den Pod läuft ---------- */
@media (max-width: 900px) and (max-height: 720px) {
  .stage__hero { gap: 14px; padding-bottom: 20px; }
  .stage__title { font-size: clamp(2.5rem, 12vw, 4rem); }
  .stage__intro p { font-size: 0.875rem; line-height: 1.55; margin-bottom: 14px; }
  .stage__intro .actions { flex-wrap: nowrap; gap: 8px; }
  .stage__intro .btn { min-height: 40px; padding: 0 14px; font-size: 0.8125rem; }
}

/* ---------- Ohne Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .stage__hint span { animation: none; }
}

/* ---------- Ohne JavaScript: alles statisch lesbar ---------- */
html:not(.js) .stage__glow { opacity: 1; }
html:not(.js) .stage__canvas { display: none; }
html:not(.js) .stage__fallback { display: block; }
html:not(.js) .stage__pin { position: relative; height: auto; min-height: 100svh; overflow: visible; padding-bottom: 40px; }
html:not(.js) .stage__hero { bottom: auto; height: 100svh; }
html:not(.js) .steps { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding: 0 var(--pad); margin-top: 100svh; }
html:not(.js) .step { position: static; opacity: 1; visibility: visible; width: auto; translate: none; }
html:not(.js) .stage { height: auto; }
html:not(.js) .stage__skip, html:not(.js) .stage__head, html:not(.js) .rail, html:not(.js) .dim, html:not(.js) .stage__caption, html:not(.js) .stage__hint { display: none; }
html:not(.js) .work__pin { position: relative; height: auto; padding: 96px 0; }
html:not(.js) .work__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; }
html:not(.js) .proj__img img { transform: none; }

/* ---------- Gemeinsam: Links, Hilfsklassen ---------- */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.9375rem; text-decoration: underline; text-underline-offset: .25em; }
.more::after { content: "→"; text-decoration: none; transition: transform .3s var(--ease); }
a:hover > .more::after, .more:hover::after { transform: translateX(4px); }
.btn--line { background: transparent; color: var(--braun); border-color: rgba(88,71,54,.4); }
.btn--line:hover { background: rgba(88,71,54,.06); border-color: var(--braun); }

/* Startseite: Projekte verlinken */
.sec-head__aside p { margin-bottom: 22px; }
.proj { position: relative; }
.proj h3 a { text-decoration: none; }
.proj h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.proj:hover h3 a { text-decoration: underline; }
.proj__more { margin-top: 4px; }
.work__intro .more, .work__end .more { margin-top: 22px; }
.barn__text .btn { margin-top: 26px; }
.panel__text .more { margin-top: 6px; }

/* ---------- Projektseiten ---------- */
.page-sub #inhalt { padding-top: 84px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.8125rem; margin-bottom: 26px; opacity: .78; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.top__nav a[aria-current="page"] { opacity: 1; text-decoration: underline; }

/* Übersicht */
.pl { padding: clamp(48px, 8vh, 96px) 0 clamp(80px, 12vh, 140px); }
.pl__head { margin-bottom: 0; }
.pl__head h1 { font-size: clamp(2.75rem, 6.4vw, 6.5rem); line-height: .98; letter-spacing: -.045em; }
.chips-f { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { font: 500 0.875rem Poppins, sans-serif; color: var(--braun); background: transparent; border: 1px solid var(--linie); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip span { opacity: .55; margin-left: 4px; }
.chip:hover { border-color: var(--braun); }
.chip[aria-pressed="true"] { background: var(--braun); color: var(--creme); border-color: var(--braun); }
.pl__count { font-size: 0.875rem; opacity: .7; margin: clamp(40px, 7vh, 72px) 0 20px; padding-top: 18px; border-top: 1px solid var(--linie); }
.pl__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pc[hidden] { display: none; }
.pc a { display: flex; flex-direction: column; height: 100%; background: var(--papier); text-decoration: none; border-radius: 4px; overflow: hidden; transition: background .3s; }
.pc a:hover { background: #f8f4ee; }
.pc__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kohle); }
.pc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pc a:hover .pc__img img { transform: scale(1.04); }
.pc__badge { position: absolute; left: 14px; top: 14px; font-size: 0.75rem; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: rgba(30,27,24,.78); color: var(--creme); }
.pc__body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.pc__body .eyebrow { margin-bottom: 12px; }
.pc__t { font-size: clamp(1.375rem, 1.7vw, 1.75rem); font-weight: 500; line-height: 1.15; letter-spacing: -.03em; margin-bottom: 8px; }
.pc__k { font-size: 0.9375rem; opacity: .8; margin-bottom: 22px; }
.pc__body .more { margin-top: auto; }

/* Einzelseite: Foto + Panel */
.ph { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); }
.ph__media { position: relative; margin: 0; overflow: hidden; background: var(--kohle); }
.ph__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph__media--video { background: var(--nacht); display: grid; place-items: center; padding: clamp(28px, 4vw, 64px); }
.ph__media--video::before { content: ""; position: absolute; inset: -10%; background: radial-gradient(40% 46% at 50% 50%, rgba(229,154,78,.28), rgba(229,154,78,0) 70%); pointer-events: none; }
.ph__video { position: relative; display: block; height: min(78vh, 760px); width: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; background: var(--kohle); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(235,228,216,.08); }
.vid-pause { position: absolute; right: 16px; bottom: 16px; font: 500 0.8125rem Poppins, sans-serif; color: var(--creme); background: rgba(30,27,24,.72); border: 1px solid rgba(235,228,216,.25); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.ph__body { background: var(--papier); display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vh, 72px) clamp(32px, 5vw, 96px); }
.ph__body h1 { font-size: clamp(2.25rem, 4vw, 4.25rem); line-height: 1.02; letter-spacing: -.045em; margin-bottom: 18px; max-width: 18ch; text-wrap: balance; }
.ph__lead { font-size: clamp(1.1875rem, 1.5vw, 1.5rem); line-height: 1.4; color: var(--tinte); margin-bottom: 22px; }
.ph__text p { max-width: 50ch; }
.ph__facts { margin: 22px 0 32px; border-top: 1px solid var(--linie); }
.ph__facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--linie); font-size: 0.9375rem; }
.ph__facts dt { opacity: .65; }
.ph__facts dd { margin: 0; }

/* Bilder & Vorher/Nachher */
.pd { padding: clamp(80px, 12vh, 140px) 0 0; }
.pd__h { font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1; letter-spacing: -.04em; margin-bottom: clamp(28px, 5vh, 48px); }
.gal { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2vw, 28px); }
.gal--1 { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.gal--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gal--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gal figure { margin: 0; }
.gal img, .gal video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--papier); }
.gal figcaption { font-size: 0.875rem; opacity: .75; margin-top: 12px; max-width: 48ch; }
.ba-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.ba-text h2 { font-size: clamp(2.25rem, 4.4vw, 4.5rem); line-height: 1; letter-spacing: -.045em; margin-bottom: 24px; }
.ba-text p:not(.eyebrow) { max-width: 40ch; }
.ba { --pos: 50%; position: relative; width: 100%; max-width: calc(min(82vh, 860px) * .754); aspect-ratio: 1206 / 1600; justify-self: center; overflow: hidden; border-radius: 4px; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; background: var(--kohle); }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--creme); pointer-events: none; }
.ba__line i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; display: grid; place-items: center; border-radius: 50%; background: var(--creme); color: var(--nacht); font-style: normal; font-size: 0.9375rem; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.ba__tag { position: absolute; top: 16px; font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--creme); color: var(--braun); pointer-events: none; }
.ba__tag--a { left: 16px; }
.ba__tag--b { right: 16px; }
.ba__range { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.ba:has(.ba__range:focus-visible) { outline: 2px solid var(--glut); outline-offset: 4px; }

/* Vorheriges / nächstes Projekt */
.pnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); padding-top: clamp(80px, 12vh, 140px); padding-bottom: clamp(80px, 12vh, 140px); }
.pn { display: flex; align-items: center; gap: 22px; padding: 16px; background: var(--papier); border-radius: 4px; text-decoration: none; transition: background .3s; }
.pn:hover { background: #f8f4ee; }
.pn--next { flex-direction: row-reverse; text-align: right; }
.pn__img { flex: none; width: 112px; aspect-ratio: 1; overflow: hidden; border-radius: 3px; }
.pn__img img { width: 100%; height: 100%; object-fit: cover; }
.pn__txt { display: flex; flex-direction: column; }
.pn__txt .eyebrow { margin-bottom: 8px; }
.pn__t { font-size: clamp(1.125rem, 1.5vw, 1.5rem); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.pn:hover .pn__t { text-decoration: underline; }

/* Anfrage-Band */
.cta-band { background: var(--nacht); color: var(--creme); padding: clamp(64px, 11vh, 120px) 0; }
.cta-band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 4.5rem); line-height: 1; letter-spacing: -.045em; }

/* Einblenden */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .pl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .page-sub #inhalt { padding-top: 72px; }
  .ph { grid-template-columns: 1fr; min-height: 0; }
  .ph__media { aspect-ratio: 4 / 5; max-height: 74svh; }
  .ph__media--video { aspect-ratio: auto; max-height: none; padding: 24px var(--pad); }
  .ph__video { height: min(66svh, 580px); }
  .ph__body { padding: 30px var(--pad) 48px; }
  .ph__body h1 { font-size: clamp(2rem, 9vw, 2.875rem); }
  .gal--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ba-grid { grid-template-columns: 1fr; }
  .ba { max-width: 100%; }
}
@media (max-width: 640px) {
  .pl__grid, .gal--2, .gal--3 { grid-template-columns: 1fr; }
  .pnav { grid-template-columns: 1fr; }
  .pn__img { width: 76px; }
  .crumbs { margin-bottom: 18px; }
}

/* =====================================================================
   Reiter-Version: Startseite schlank, Inhalte auf eigenen Seiten
   ===================================================================== */

/* Startseite: Überblick als drei Kacheln */
.hub { background: var(--creme); padding: clamp(96px, 16vh, 180px) 0 clamp(80px, 12vh, 140px); scroll-margin-top: 0; }
.hub__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.hub__card a { display: flex; flex-direction: column; height: 100%; background: var(--papier); text-decoration: none; border-radius: 4px; overflow: hidden; transition: background .3s; }
.hub__card a:hover { background: #f8f4ee; }
.hub__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kohle); }
.hub__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hub__card a:hover .hub__img img { transform: scale(1.04); }
.hub__body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 30px; }
.hub__body .eyebrow { margin-bottom: 12px; }
.hub__t { font-size: clamp(1.625rem, 2.3vw, 2.375rem); font-weight: 500; line-height: 1.06; letter-spacing: -.035em; margin-bottom: 10px; }
.hub__k { font-size: 0.9375rem; opacity: .8; margin-bottom: 24px; max-width: 36ch; }
.hub__body .more { margin-top: auto; }
.hub__actions { margin-top: 24px; }
.hub .sec-head { margin-bottom: clamp(36px, 6vh, 64px); }
.hub .sec-head h2 { font-size: clamp(2.375rem, 4.6vw, 4.75rem); line-height: 1; }

/* Unterseiten allgemein */
.page-dark { background: var(--nacht); }
.page-sub [id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html:has(body.page-sub) { scroll-behavior: smooth; } }
.top__nav a[aria-current="page"] { opacity: 1; }

/* Leistungen */
.pl--intro { padding-bottom: clamp(40px, 7vh, 80px); }
.panel__body .panel__h { font-size: clamp(2rem, 3.4vw, 3.625rem); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 28px; max-width: 14ch; }
.panel__ex a { text-decoration: underline; }
.svc-more { background: var(--creme); }
.materials__h { font-size: clamp(1.75rem, 3vw, 2.75rem); letter-spacing: -.035em; margin-bottom: 40px; }
.mat h3 { font-size: 1.25rem; margin-bottom: 8px; }
.flow { background: var(--creme); padding: clamp(80px, 14vh, 160px) 0 clamp(80px, 12vh, 140px); }
.flow__h { font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.02; letter-spacing: -.04em; margin-bottom: clamp(32px, 6vh, 56px); border-top: 1px solid var(--linie); padding-top: 40px; }
.flow__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.flow__list li { background: var(--papier); border-radius: 4px; padding: clamp(24px, 2.4vw, 36px); }
.flow__list .eyebrow { display: block; margin-bottom: 18px; }
.flow__list h3 { font-size: clamp(1.25rem, 1.6vw, 1.625rem); line-height: 1.15; letter-spacing: -.03em; margin-bottom: 12px; }
.flow__list p { margin: 0; font-size: 0.9375rem; }

/* Über uns */
.about--page { padding-top: clamp(48px, 8vh, 96px); }
.about__text h1 { font-size: clamp(2.375rem, 4.8vw, 4.75rem); line-height: 1; letter-spacing: -.045em; margin-bottom: 32px; }
.about__text .svc-nav { margin-top: 32px; }
.creed__text.is-lit .w { opacity: 1; transition: opacity .7s var(--ease); }
.shop .eyebrow { margin-bottom: 18px; }
.page-sub .train { padding-top: clamp(72px, 12vh, 140px); }
.page-sub .train__grid { border-top: 0; padding-top: 0; }

/* Kontakt */
.contact--page { padding-top: clamp(48px, 8vh, 96px); }
.contact--page .crumbs a, .contact--page .crumbs span { color: var(--staub); }
.direct h2 { font-size: 1.625rem; letter-spacing: -.03em; margin-bottom: 22px; }
.faq h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); letter-spacing: -.035em; margin-bottom: 26px; }

@media (max-width: 1100px) {
  .flow__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hub__grid { grid-template-columns: 1fr; }
  .hub__img { aspect-ratio: 16 / 10; }
  .panel__body .panel__h { font-size: clamp(1.75rem, 8vw, 2.5rem); margin-bottom: 18px; }
  .page-sub [id] { scroll-margin-top: 72px; }
}
@media (max-width: 640px) {
  .flow__list { grid-template-columns: 1fr; }
}

/* ---------- Kontaktseite hell (Creme statt Nacht) ---------- */
.contact--light { background: var(--creme); color: var(--braun); }
.contact--light .contact__glow { display: none; }
.contact--page.contact--light .crumbs a, .contact--page.contact--light .crumbs span { color: var(--braun); }
.contact--light .chips span { border-color: rgba(88,71,54,.35); }
.contact--light .chips input:checked + span { background: var(--braun); color: var(--creme); border-color: var(--braun); }
.contact--light .field > span { color: rgba(88,71,54,.78); }
.contact--light .field input, .contact--light .field textarea { color: var(--braun); background: rgba(255,255,255,.5); border-color: rgba(88,71,54,.28); }
.contact--light .field input:focus, .contact--light .field textarea:focus { background: rgba(255,255,255,.75); border-color: var(--braun); }
.contact--light .field ::placeholder { color: #9b8f81; }
.contact--light .check input { accent-color: var(--braun); }
.contact--light .form__err { color: #a6421a; }
.contact--light .form__note, .contact--light .direct p { color: rgba(88,71,54,.75); }
.contact--light .direct ul, .contact--light .direct li { border-color: var(--linie); }
.contact--light .direct li a:hover { color: var(--nacht); }
.contact--light .link { color: #9a531b; }
.contact--light .faq details { border-color: var(--linie); }
.contact--light .faq details p { color: rgba(88,71,54,.85); }

/* Rechtstexte: lange Wörter und Adressen umbrechen (z. B. „Datenschutzerklärung.“ auf dem Handy) */
.legal h1, .legal h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.legal a { overflow-wrap: anywhere; }
