/* Schreinerei Petersen – Demo
   Farben aus Logo & Bestandsseite, Schrift ausschließlich schwarz. */

:root {
  --ink: #000;
  --paper: #fff;
  --mist: #f2f2f2;
  --sand: #f6efe6;
  --wood-1: #ca9e67;
  --wood-2: #936737;
  --wood-3: #683c11;
  --grad: linear-gradient(135deg, var(--wood-1) 0%, var(--wood-2) 55%, var(--wood-3) 100%);
  --line: rgba(0, 0, 0, .14);
  --line-strong: rgba(0, 0, 0, .85);

  --f-display: "Petersen FJ", "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 140px);
  --header: 76px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--wood-3); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--wood-1); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--wood-1); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Typo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.05; letter-spacing: -.015em; margin: 0; font-variation-settings: "SOFT" 60, "WONK" 0; }
h1 { font-size: clamp(44px, 7.2vw, 96px); }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.15; }
h1 em, h2 em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 38em; }
p { margin: 0 0 1em; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 26px;
  font-weight: 600; font-size: 15.5px; letter-spacing: .01em; text-decoration: none;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: transparent; cursor: pointer;
  transition: background-color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--wood { background: var(--wood-1); border-color: var(--wood-1); }
.btn--wood:hover { background: #d8b282; border-color: #d8b282; }
.btn--line:hover { background: var(--sand); border-color: var(--wood-2); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 14.5px; }

.more {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; text-decoration: none; padding: 6px 0;
  background: linear-gradient(var(--wood-2), var(--wood-2)) left bottom / 100% 2px no-repeat;
  transition: background-size .3s var(--ease);
}
.more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.more:hover svg { transform: translateX(4px); }
.more:hover { background-size: 40% 2px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: 210px; flex: none; }
.brand img { width: 100%; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 8px 0; position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after, .nav a.is-active::after { transform: scaleX(1); }
.nav .btn { margin-left: 6px; }
.burger { display: none; }

@media (max-width: 980px) {
  :root { --header: 66px; }
  .brand { width: 168px; }
  .nav { display: none; }
  .header-actions { display: flex; gap: 10px; }
  .burger, .call-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: transparent; cursor: pointer;
  }
  .call-icon { background: var(--wood-1); border-color: var(--wood-1); }
  .burger svg, .call-icon svg { width: 22px; height: 22px; }
}
@media (min-width: 981px) { .header-actions { display: none; } }

.drawer {
  position: fixed; inset: var(--header) 0 0 0; z-index: 49;
  background: var(--paper);
  padding: 20px var(--gutter) 32px;
  display: flex; flex-direction: column;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.drawer.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.drawer a.d-link {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-display); font-size: 30px; text-decoration: none;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.drawer a.d-link svg { width: 20px; height: 20px; }
.drawer .d-actions { margin-top: auto; display: grid; gap: 10px; }
body.menu-open { overflow: hidden; }

/* ---------- Ringe (Signatur) ---------- */
.rings { position: absolute; pointer-events: none; overflow: visible; }
.rings path { fill: none; stroke: url(#woodGrad); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.rings.draw path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 2.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 7vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { margin: 22px 0 26px; font-size: clamp(42px, 5.4vw, 78px); }
.hero .lead { margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media .frame { position: relative; z-index: 1; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 1.6s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero-media .rings { width: 128%; height: 128%; left: -8%; top: -12%; z-index: 0; }
.hero-badge {
  position: absolute; z-index: 2; left: -28px; bottom: 36px;
  background: var(--paper); padding: 16px 20px 16px 16px; border-radius: var(--radius);
  display: flex; gap: 14px; align-items: center; box-shadow: 0 18px 40px -18px rgba(0,0,0,.35);
}
.hero-badge img { width: 46px; height: 46px; }
.hero-badge strong { display: block; font-family: var(--f-display); font-size: 22px; line-height: 1.1; font-weight: 600; }
.hero-badge span { font-size: 13.5px; }

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.facts li { padding: 22px 0; display: flex; gap: 14px; align-items: center; font-weight: 500; }
.facts li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.facts svg { width: 26px; height: 26px; flex: none; color: var(--wood-3); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media .frame { aspect-ratio: 16 / 11; }
  .hero-badge { left: 12px; bottom: -22px; }
  .hero h1 { margin-top: 30px; }
  .facts ul { grid-template-columns: 1fr; }
  .facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts li { padding: 16px 0; }
}

/* ---------- Sections ---------- */
.sec { padding: var(--sec) 0; position: relative; }
.sec--mist { background: var(--mist); }
.sec--sand { background: var(--sand); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 { margin-top: 18px; }
.sec-head p { margin: 0; }
.num {
  font-family: var(--f-display); font-style: italic; font-size: 15px;
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--wood-2); margin-right: 14px;
}
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } }

/* Karten Privat */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; text-decoration: none; }
.card .ph { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .ph img { transform: scale(1.05); }
.card h3 { margin: 20px 0 8px; }
.card p { margin: 0 0 14px; font-size: 15.5px; }
.card .more { margin-top: auto; align-self: flex-start; }
.sec-foot { margin-top: clamp(40px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .card { scroll-snap-align: start; }
}

/* Gewerbe */
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split h2 { margin: 18px 0 24px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.ticks li { padding: 13px 0 13px 30px; border-top: 1px solid var(--line); position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--wood-2); }
.mosaic { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1.12; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption, .tile figcaption {
  position: absolute; left: 10px; bottom: 10px; background: var(--paper); padding: 5px 10px; font-size: 13px; font-weight: 600; border-radius: 2px;
}
.split--film { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@media (max-width: 900px) { .split, .split--film { grid-template-columns: 1fr; } .ticks { grid-template-columns: 1fr; } }

/* Kunst */
.kunst { overflow: hidden; }
.kunst .rings { width: 900px; height: 900px; right: -320px; top: -260px; opacity: .55; }
.kunst-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-bottom: 48px; }
.kunst-head h2 { margin-top: 18px; max-width: 13em; }
@media (max-width: 820px) { .kunst-head { grid-template-columns: 1fr; } }
.strip {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 27vw, 360px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 22px;
  margin: 0 calc(50% - 50vw); scrollbar-width: thin; scrollbar-color: var(--wood-2) transparent;
}
.strip { scroll-padding-inline: var(--gutter); }
@media (min-width: 1240px) { .strip { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--wrap)) / 2 + var(--gutter)); } }
.tile { scroll-snap-align: start; margin: 0; position: relative; cursor: zoom-in; border: 0; padding: 0; background: none; text-align: left; }
.tile .ph { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); }
.tile:nth-child(even) .ph { aspect-ratio: 3 / 3.4; margin-top: 48px; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile .cap { display: block; margin-top: 12px; font-size: 15px; }
.tile .cap b { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 500; }
.strip-hint { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 500; }
.strip-hint svg { width: 18px; height: 18px; }

/* Über uns */
.film { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 0; padding: 0; cursor: pointer; width: 100%; background: var(--mist); }
.film img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.film:hover img { transform: scale(1.03); }
.film .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border-radius: 50%; background: var(--wood-1);
  display: grid; place-items: center; transition: transform .3s var(--ease);
}
.film:hover .play { transform: translate(-50%, -50%) scale(1.07); }
.film .play svg { width: 30px; height: 30px; margin-left: 5px; }
.film .play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid var(--wood-1); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.film .film-label { position: absolute; left: 16px; bottom: 16px; background: var(--paper); padding: 8px 14px; font-weight: 600; font-size: 14px; border-radius: 2px; }
.trio { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px 32px; margin: 32px 0 36px; }
.trio div { border-top: 2px solid; border-image: var(--grad) 1; padding-top: 14px; }
.trio strong { display: block; white-space: nowrap; font-family: var(--f-display); font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; line-height: 1.1; }
.trio span { font-size: 14.5px; line-height: 1.4; display: block; margin-top: 6px; max-width: 11em; }
@media (max-width: 520px) { .trio { grid-template-columns: 1fr; } }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--line); }
.form fieldset { border: 0; margin: 0 0 26px; padding: 0; }
.form legend, .form label { font-weight: 600; font-size: 15px; display: block; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px;
  border: 1.5px solid var(--line-strong); border-radius: 999px; cursor: pointer; font-weight: 500; font-size: 15px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.chip span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); transition: background-color .2s; }
.chip input:checked + span { background: var(--sand); border-color: var(--wood-2); }
.chip input:checked + span::before { background: var(--wood-2); border-color: var(--wood-2); }
.chip input:focus-visible + span { outline: 2px solid var(--wood-3); outline-offset: 3px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid rgba(0,0,0,.28); border-radius: var(--radius); background: var(--paper);
  padding: 13px 14px; font-size: 16px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wood-2); box-shadow: 0 0 0 3px rgba(202, 158, 103, .35); }
.field .hint { font-size: 13.5px; margin-top: 6px; }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; }
.field .err { display: none; font-size: 13.5px; font-weight: 600; margin-top: 6px; }
.field .err::before { content: "! "; color: #b3261e; }
.field.has-error .err { display: block; }
.file {
  display: flex; align-items: center; gap: 14px; padding: 14px; border: 1.5px dashed rgba(0,0,0,.35); border-radius: var(--radius); cursor: pointer;
}
.file svg { width: 24px; height: 24px; color: var(--wood-3); flex: none; }
.file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file:focus-within { outline: 2px solid var(--wood-3); outline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-top: 8px; }
.form-foot small { font-size: 13.5px; max-width: 30em; }
.hp { position: absolute; left: -9999px; }
.success { display: none; text-align: left; }
.form.is-sent > :not(.success) { display: none; }
.form.is-sent .success { display: block; }
.success .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--wood-1); display: grid; place-items: center; margin-bottom: 20px; }
.success .ok svg { width: 30px; height: 30px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; gap: 0; } }

.address { font-style: normal; font-size: 17px; line-height: 1.7; }
.address strong { font-family: var(--f-display); font-size: 24px; font-weight: 500; display: block; margin-bottom: 8px; }
.address a { text-decoration: none; font-weight: 600; background: linear-gradient(var(--wood-1), var(--wood-1)) left bottom / 100% 2px no-repeat; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 28px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; color: var(--wood-3); flex: none; }
.map {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sand);
  display: grid; place-items: center; text-align: center; padding: 24px;
}
.map .rings { inset: 0; width: 100%; height: 100%; opacity: .7; }
.map > div { position: relative; }
.map svg.pin { width: 34px; height: 34px; color: var(--wood-3); margin: 0 auto 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--mist); padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; align-items: start; }
.footer .brand { width: 200px; }
.footer nav { display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-decoration-color: var(--wood-2); text-underline-offset: 4px; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Unterseiten ---------- */
.page-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero .rings { width: 760px; height: 760px; right: -260px; top: -300px; opacity: .6; }
.crumbs { font-size: 14px; margin-bottom: 28px; display: flex; gap: 10px; align-items: center; }
.crumbs a { text-decoration: none; font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(42px, 6vw, 80px); max-width: 12em; margin: 18px 0 24px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.jump a { text-decoration: none; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 10px 18px; font-weight: 500; font-size: 15px; transition: background-color .2s var(--ease); }
.jump a:hover { background: var(--sand); }
.wide-img { aspect-ratio: 1240 / 460; border-radius: var(--radius); overflow: hidden; }
.wide-img img { width: 100%; height: 100%; object-fit: cover; }

.topic { padding: clamp(56px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.topic-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); }
.topic-text { position: sticky; top: calc(var(--header) + 32px); align-self: start; }
.topic-text h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 16px 0 20px; }
.topic-text ul { padding-left: 1.1em; margin: 0 0 28px; }
.topic-text li { margin: 4px 0; }
.topic-text li::marker { color: var(--wood-2); }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery button { border: 0; padding: 0; background: var(--mist); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; grid-column: span 3; aspect-ratio: 4 / 3; }
.gallery button.w { grid-column: span 6; aspect-ratio: 1240 / 560; }
.gallery button.t { grid-column: span 2; aspect-ratio: 3 / 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
@media (max-width: 900px) {
  .topic-grid { grid-template-columns: 1fr; }
  .topic-text { position: static; }
}
@media (max-width: 560px) {
  .gallery button, .gallery button.t { grid-column: span 3; aspect-ratio: 1; }
  .gallery button.w { grid-column: span 6; aspect-ratio: 4 / 3; }
}

.cta-band { background: var(--sand); padding: clamp(56px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.cta-band .rings { width: 700px; height: 700px; left: -260px; top: -220px; opacity: .6; }
.cta-band .wrap { position: relative; display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; }
.cta-band h2 { max-width: 14em; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Werdegang */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--grad); }
.timeline li { position: relative; padding: 0 0 34px 52px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--wood-2); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 6px var(--wood-1);
}
.timeline .yr { font-family: var(--f-display); font-style: italic; font-size: 18px; }
.timeline h3 { margin: 2px 0 6px; font-size: clamp(21px, 2vw, 25px); }
.timeline p { margin: 0; }

/* ---------- Lightbox & Dialog ---------- */
dialog { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(20, 14, 8, .82); }
.lb { width: 100vw; height: 100dvh; margin: 0; }
.lb-inner { width: 100%; height: 100%; display: grid; grid-template-columns: 72px 1fr 72px; grid-template-rows: 1fr auto; align-items: center; }
.lb figure { margin: 0; grid-column: 2; display: grid; justify-items: center; gap: 12px; }
.lb img { max-width: 100%; max-height: 80dvh; object-fit: contain; border-radius: 2px; }
.lb figcaption { background: var(--paper); padding: 6px 12px; font-weight: 600; font-size: 14.5px; border-radius: 2px; }
.lb-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; display: grid; place-items: center; justify-self: center; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { position: fixed; top: 16px; right: 16px; }
.modal { width: min(560px, calc(100vw - 32px)); background: var(--paper); border-radius: var(--radius); padding: 36px; }
.modal h3 { margin-bottom: 12px; }
@media (max-width: 600px) { .lb-inner { grid-template-columns: 0 1fr 0; } .lb-prev, .lb-next { position: fixed; bottom: 20px; } .lb-prev { left: 20px; } .lb-next { right: 20px; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

.demo-flag {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; background: var(--paper); border: 1.5px solid var(--ink);
  font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; letter-spacing: .04em;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .rings.draw path { stroke-dashoffset: 0; }
  .hero-media .frame img { transform: none; }
}

/* ---------- v2: Leistungen, Team, Social ---------- */
.social-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background-color .2s var(--ease); }
.social-ico svg { width: 21px; height: 21px; }
.social-ico:hover { background: var(--sand); }
.socials { display: flex; gap: 10px; }
.socials a { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--line-strong); border-radius: 50%; background: none !important; }
.socials a:hover { background: var(--sand) !important; }
.socials svg { width: 20px; height: 20px; }
.drawer .socials { justify-content: center; margin-top: 6px; }

.svc-label {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px 22px; align-items: center;
  padding: 22px 0; margin-bottom: 28px; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header) + 16px);
}
.svc-label h3 { font-size: clamp(24px, 2.4vw, 32px); }
.svc-label p { margin: 4px 0 0; font-size: 15.5px; }
.svc-tag {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-display); font-style: italic; font-size: 22px; background: var(--wood-1);
}
@media (max-width: 700px) { .svc-label { grid-template-columns: auto 1fr; } .svc-label .more { grid-column: 1 / -1; justify-self: start; } }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--3 .ph { aspect-ratio: 4 / 3.4; }
@media (max-width: 1000px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards--3 { grid-template-columns: none; } }

.ph-empty {
  display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: repeating-linear-gradient(135deg, var(--sand) 0 14px, #efe4d6 14px 15px) !important;
  border: 1.5px dashed var(--wood-2); border-radius: var(--radius); text-align: center; padding: 16px;
  font-size: 14px; font-weight: 600; aspect-ratio: 4 / 3;
}
.ph-empty svg { width: 30px; height: 30px; color: var(--wood-3); }
.gallery .ph-empty { grid-column: span 3; }
.gallery .ph-empty.w { grid-column: span 6; aspect-ratio: 1240 / 560; }
.card .ph.ph-empty { aspect-ratio: 4 / 5; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member .ph { aspect-ratio: 4 / 5; }
.member h3 { margin: 18px 0 2px; }
.member .role { font-weight: 600; font-size: 14.5px; margin: 0 0 8px; letter-spacing: .02em; }
.member p { font-size: 15.5px; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } }

.social-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: 36px; }
.social-head h2 { margin-top: 18px; max-width: 14em; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta-grid a { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); position: relative; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.insta-grid a:hover img { transform: scale(1.06); }
@media (max-width: 800px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Audit-Korrekturen (UI UX Pro Max) ---------- */
/* Touch: Klickflächen ≥ 44px, kein Tap-Delay */
a, button, label, summary { touch-action: manipulation; }
.more { min-height: 44px; padding: 10px 0; }
.brand { display: flex; align-items: center; min-height: 44px; }
.social-ico { width: 44px; height: 44px; }
.footer nav a, .footer-bottom a, .address a, .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.footer nav { gap: 0; }
.footer-bottom span { display: inline-flex; align-items: center; gap: 6px; }
.address { line-height: 1.5; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
/* Lesbarkeit: kleine Texte anheben */
.eyebrow { font-size: 13px; }
.field .hint, .file small, .form-foot small { font-size: 14px; }
.mosaic figcaption, .tile figcaption { font-size: 14px; }
/* Formular: Pflichtfelder */
.req { color: var(--wood-3); font-weight: 700; }
.req-note { font-size: 14px; margin: -2px 0 12px; }
.req-note span { color: var(--wood-3); font-weight: 700; }
/* Bewegung: Puls nur kurz, nicht endlos */
.film .play::after { animation-iteration-count: 3; }
/* Kunst-Leiste: sichtbare Steuerung statt nur Wischen */
.strip-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.strip-nav { display: flex; gap: 10px; }
.strip-nav .lb-btn { border: 1.5px solid var(--line-strong); background: var(--paper); width: 48px; height: 48px; }
.strip-nav .lb-btn:hover { background: var(--sand); }
.strip-nav .lb-btn:disabled { opacity: .35; cursor: default; }
.crumbs a { min-width: 44px; padding: 0 8px; margin-left: -8px; }
.address .socials a { display: inline-grid; place-items: center; min-height: 0; }

/* ---------- Reduktion: keine dekorativen Linien / Nummerierungen ---------- */
.eyebrow::before { display: none; }
.eyebrow { gap: 0; }
.svc-tag, .num { display: none; }
.svc-label { grid-template-columns: 1fr auto; border: 0; padding: 0; margin-bottom: 32px; }
@media (max-width: 700px) { .svc-label { grid-template-columns: 1fr; } .svc-label .more { grid-column: auto; } }
.trio div { border-top: 0; border-image: none; padding-top: 0; }
.ticks li { border-top: 0; padding: 7px 0 7px 22px; }
.ticks li::before { width: 7px; height: 7px; border: 0; background: var(--wood-2); top: 17px; }
.facts, .facts li + li { border: 0; }
.facts li + li { padding-left: 0; }
.facts ul { gap: 28px; }
.topic { border-top: 0; padding-top: clamp(40px, 6vw, 80px); }
.footer-bottom { border-top: 0; }
.contact-list li { border-top: 0; padding: 4px 0; }
.drawer a.d-link { border-bottom: 0; }
.header.is-scrolled { border-bottom-color: transparent; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
@media (max-width: 900px) { .facts li + li { border-top: 0; } .facts ul { gap: 0; } }
.film .play::after { display: none; }

/* =========================================================
   Bewegung & Hover – ruhig, präzise, abbremsend
   ========================================================= */
:root {
  --t-fast: .2s;          /* Hover, Druck */
  --t-mid: .45s;          /* Zustandswechsel */
  --t-slow: .9s;          /* Einblenden beim Scrollen */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* Einblenden: kleiner Versatz, liest sich als Blenden, nicht als Rutschen */
.js .reveal { transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0s); }

/* Bilder öffnen sich von unten nach oben – wie ein Vorhang aus Holz */
.js .reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path var(--t-slow) var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .hero-media .frame.reveal-img { transition-duration: 1.2s; transition-delay: .15s; }

/* Kopfzeile weicht beim Runterscrollen aus und kommt beim Hochscrollen zurück */
.header { transition: transform var(--t-mid) var(--ease-out), border-color .3s, box-shadow .3s; }
.header.is-hidden { transform: translateY(-100%); }

/* Buttons: ruhige Flächenfüllung, leichter Druck */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: border-color var(--t-fast), transform var(--t-fast) var(--ease-out); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--sand); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-mid) var(--ease-out);
}
.btn--wood::before { background: #ddb98b; }
.btn:hover::before { transform: scaleX(1); }
.btn--line:hover, .btn--wood:hover { background-color: transparent; }
.btn--wood:hover { background: var(--wood-1); }
.btn:active { transform: scale(.98); }

/* Karten: Bild zoomt langsam, Pfeil zieht mit – auf der ganzen Karte */
.card .ph { position: relative; }
.card .ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(104, 60, 17, .28), transparent 55%);
  opacity: 0; transition: opacity var(--t-mid) var(--ease-out);
}
.card:hover .ph::after { opacity: 1; }
.card .ph img { transition: transform 1.1s var(--ease-out); }
.card:hover .ph img { transform: scale(1.04); }
.card h3 { transition: transform var(--t-mid) var(--ease-out); }
.card:hover h3 { transform: translateX(4px); }
.card:hover .more svg { transform: translateX(5px); }
.more { background-size: 100% 2px; }
.more:hover { background-size: 100% 2px; }
.more::after { content: none; }

/* Galerien: Lupe als Hinweis auf die Großansicht */
.gallery button, .tile .ph, .mosaic figure { position: relative; }
.gallery button::after, .tile .ph::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 20px no-repeat;
  opacity: 0; transform: translateY(6px); transition: opacity var(--t-mid) var(--ease-out), transform var(--t-mid) var(--ease-out);
}
.gallery button:hover::after, .gallery button:focus-visible::after, .tile:hover .ph::after, .tile:focus-visible .ph::after { opacity: 1; transform: none; }
.gallery img, .tile img, .mosaic img, .film img, .wide-img img { transition: transform 1.1s var(--ease-out); }
.gallery button:hover img, .tile:hover img, .mosaic figure:hover img { transform: scale(1.04); }
.tile .cap b { display: inline; background: linear-gradient(var(--wood-2), var(--wood-2)) left bottom / 0 1.5px no-repeat; transition: background-size var(--t-mid) var(--ease-out); }
.tile:hover .cap b { background-size: 100% 1.5px; }
.tile .cap b::after { content: "\A"; white-space: pre; }

/* Imagefilm: Bild atmet leicht, Play-Button reagiert */
.film:hover img { transform: scale(1.03); }
.film .play { transition: transform var(--t-mid) var(--ease-out), background-color var(--t-fast); }
.film:hover .play { background: #ddb98b; }

/* Zeitstrahl: Linie wächst, Ringe füllen sich nacheinander */
.js .timeline::before { transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease-out) .2s; }
.js .timeline.is-in::before { transform: scaleY(1); }
.js .timeline li::before { transition: background-color .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.js .timeline.is-in li::before { background: var(--wood-1); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 6px var(--wood-2); }
.timeline li:nth-child(1)::before { transition-delay: .3s; }
.timeline li:nth-child(2)::before { transition-delay: .5s; }
.timeline li:nth-child(3)::before { transition-delay: .7s; }
.timeline li:nth-child(4)::before { transition-delay: .9s; }
.timeline li:nth-child(5)::before { transition-delay: 1.1s; }
.timeline li:nth-child(6)::before { transition-delay: 1.3s; }

/* Kleine Links: Unterstrich wächst */
.footer a:not(.socials a), .crumbs a, .contact-list a {
  text-decoration: none;
  background: linear-gradient(var(--wood-2), var(--wood-2)) left calc(100% - 10px) / 0 1.5px no-repeat;
  transition: background-size var(--t-mid) var(--ease-out);
}
.footer a:not(.socials a):hover, .crumbs a:hover, .contact-list a:hover { background-size: 100% 1.5px; text-decoration: none; }
.socials a { transition: background-color var(--t-fast), transform var(--t-fast) var(--ease-out); }
.socials a:hover { transform: translateY(-2px); }

/* Menü-Schublade: Einträge nacheinander */
.drawer a.d-link, .drawer .d-actions { opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.drawer.is-open a.d-link, .drawer.is-open .d-actions { opacity: 1; transform: none; }
.drawer.is-open a.d-link:nth-child(1) { transition-delay: .05s; }
.drawer.is-open a.d-link:nth-child(2) { transition-delay: .09s; }
.drawer.is-open a.d-link:nth-child(3) { transition-delay: .13s; }
.drawer.is-open a.d-link:nth-child(4) { transition-delay: .17s; }
.drawer.is-open .d-actions { transition-delay: .22s; }
.drawer a.d-link svg { transition: transform var(--t-fast) var(--ease-out); }
.drawer a.d-link:hover svg { transform: translateX(5px); }

/* Großansicht: weich auf, schneller zu */
dialog[open] { animation: dlg-in .3s var(--ease-out); }
dialog[open]::backdrop { animation: fade-in .3s var(--ease-out); }
.lb[open] figure { animation: lb-img .45s var(--ease-out); }
@keyframes dlg-in { from { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes lb-img { from { opacity: 0; transform: scale(.97); } }

/* Formularfelder: ruhiger Fokuswechsel */
.chip span { transition: background-color var(--t-fast), border-color var(--t-fast); }
.chip:hover span { border-color: var(--wood-2); }
.file { transition: border-color var(--t-fast), background-color var(--t-fast); }
.file:hover { border-color: var(--wood-2); background: var(--sand); }

/* Nur Geräte mit Maus bekommen Hover-Zoom; Touch bleibt ruhig */
@media (hover: none) {
  .card:hover .ph img, .gallery button:hover img, .tile:hover img, .mosaic figure:hover img, .film:hover img { transform: none; }
  .card:hover .ph::after { opacity: 0; }
  .card:hover h3 { transform: none; }
  .btn:hover::before { transform: scaleX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal-img { clip-path: none; }
  .js .timeline::before { transform: none; }
  .header.is-hidden { transform: none; }
  .drawer a.d-link, .drawer .d-actions { opacity: 1; transform: none; }
}

/* ---------- Kunst-Leiste: Bewegung folgt dem Scrollen ---------- */
.strip { display: block; overflow-x: auto; padding: 4px 0 22px; scroll-snap-type: none; }
.strip-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 27vw, 360px); gap: 20px;
  width: max-content; padding: 0 var(--gutter);
}
@media (min-width: 1240px) { .strip-track { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gutter)); } }
@media (max-width: 560px) { .strip-track { grid-auto-columns: 72vw; } }
.strip.is-linked { overflow: hidden; }
.strip.is-linked .strip-track { transform: translate3d(calc(var(--x, 0) * -1px), 0, 0); will-change: transform; }
.strip-bar, .strip-hint, .strip-nav { display: none; }

/* ---------- Off-White statt Reinweiß für helle Flächen ---------- */
:root { --bg: #faf9f6; }
body { background: var(--bg); }
.header { background: rgba(250, 249, 246, .92); }
.drawer { background: var(--bg); }

/* =========================================================
   Unterseiten – finale Bausteine
   ========================================================= */
.page-hero .wide-img { aspect-ratio: 1240 / 520; }
.page-hero + .facts { margin-top: clamp(8px, 2vw, 24px); }

/* Großer Bereichs-Einstieg (Innen / Außen) */
.group-intro { padding: clamp(64px, 9vw, 128px) 0 clamp(8px, 2vw, 24px); }
.group-intro .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px 64px; align-items: end; }
.group-intro h2 { font-size: clamp(64px, 11vw, 168px); line-height: .9; font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.03em; }
.group-intro .lead { margin: 0 0 .6em; }
@media (max-width: 760px) { .group-intro .wrap { grid-template-columns: 1fr; } }

/* Leistungs-Themen: abwechselnd gespiegelt */
.topic { padding: clamp(48px, 7vw, 96px) 0; }
.topic-text h2 { margin: 12px 0 18px; }
@media (min-width: 901px) {
  .topic--flip .topic-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .topic--flip .topic-text { order: 2; }
}

/* Hölzer */
.materials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.material { background: var(--paper); border-radius: var(--radius); padding: 26px 24px 22px; transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out); }
.material:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(104, 60, 17, .35); }
.material .sw { display: block; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 16px; box-shadow: inset 0 0 0 4px rgba(255,255,255,.35); }
.material h3 { font-size: 24px; margin-bottom: 6px; }
.material p { margin: 0; font-size: 15.5px; }
@media (max-width: 900px) { .materials { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .materials { grid-template-columns: 1fr; } }

/* Ablauf / Zielgruppen */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step svg { width: 34px; height: 34px; color: var(--wood-3); margin-bottom: 18px; transition: transform var(--t-mid) var(--ease-out); }
.step:hover svg { transform: translateY(-3px); }
.step h3 { font-size: 23px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 15.5px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: calc(var(--header) + 32px); }
.faq-grid h2 { margin-top: 14px; }
.faq details { background: var(--paper); border-radius: var(--radius); margin-bottom: 10px; transition: box-shadow var(--t-mid) var(--ease-out); }
.faq details:hover, .faq details[open] { box-shadow: 0 10px 26px -20px rgba(104, 60, 17, .45); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px; padding: 16px 22px; font-weight: 600; font-size: 17.5px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sand)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform var(--t-mid) var(--ease-out), background-color var(--t-fast);
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--wood-1); }
.faq summary:focus-visible { outline-offset: -2px; }
.faq-a { padding: 0 22px 20px; }
.faq-a p { margin: 0; max-width: 46em; }
.faq details[open] .faq-a { animation: faq-in .45s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid > div:first-child { position: static; } }

/* Branchen */
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { background: var(--paper); border-radius: 999px; padding: 12px 20px; font-weight: 500; transition: background-color var(--t-fast); }
.tags li:hover { background: var(--sand); }

/* Kunstprojekte als Bildgeschichten */
.case { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.case + .case { margin-top: clamp(64px, 9vw, 128px); }
.case--flip { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.case--flip .case-img { order: 2; }
.case-img { border: 0; padding: 0; background: var(--mist); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; position: relative; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.case-img:hover img { transform: scale(1.04); }
.case-img::after {
  content: ""; position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 20px no-repeat;
  opacity: 0; transform: translateY(6px); transition: opacity var(--t-mid) var(--ease-out), transform var(--t-mid) var(--ease-out);
}
.case-img:hover::after, .case-img:focus-visible::after { opacity: 1; transform: none; }
.case-text h2 { font-size: clamp(32px, 4vw, 52px); margin: 14px 0 18px; }
.case-text p { font-size: 17.5px; max-width: 30em; }
@media (max-width: 900px) {
  .case, .case--flip { grid-template-columns: 1fr; }
  .case--flip .case-img { order: 0; }
}

/* Werte */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px clamp(24px, 4vw, 56px); }
.values h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 10px; }
.values p { margin: 0; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }

/* Ausbildung */
.apply { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.apply-card { background: var(--paper); border-radius: var(--radius); padding: 28px 26px; }
.apply-card h3 { font-size: 24px; margin-bottom: 14px; }
.apply-card ul { list-style: none; margin: 0; padding: 0; }
.apply-card li { position: relative; padding: 6px 0 6px 22px; font-size: 15.5px; }
.apply-card li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--wood-2); }
@media (max-width: 900px) { .apply { grid-template-columns: 1fr; } }

/* Auch interessant */
.related .cards--3 .ph { aspect-ratio: 4 / 3; }
.faq summary h3 { font: inherit; margin: 0; letter-spacing: normal; line-height: inherit; }
.form-msg { margin: 6px 0 0; padding: 12px 14px; border-radius: var(--radius); background: #fbeaea; font-weight: 600; font-size: 15px; }
.form-msg::before { content: "! "; color: #b3261e; }
.apply-form { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 5vw, 72px); align-items: start; }
.apply-form h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 12px 0 14px; }
@media (max-width: 900px) { .apply-form { grid-template-columns: 1fr; } }

/* =========================================================
   Cookie-Banner & Einwilligung
   ========================================================= */
.cc-banner {
  position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 1100px;
  background: var(--paper); border-radius: 6px; box-shadow: 0 24px 60px -20px rgba(40, 24, 8, .45), 0 0 0 1px rgba(0,0,0,.06);
  padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center;
  animation: cc-in .5s var(--ease-out);
}
.cc-banner[hidden] { display: none; }
@keyframes cc-in { from { opacity: 0; transform: translateY(16px); } }
.cc-title { font-family: var(--f-display); font-size: 22px; font-weight: 500; margin: 0 0 6px; }
.cc-text p { margin: 0; font-size: 15px; line-height: 1.5; }
.cc-text a, .cc-dialog a { text-underline-offset: 3px; text-decoration-color: var(--wood-2); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-actions .btn { min-width: 150px; }
@media (max-width: 860px) {
  .cc-banner { grid-template-columns: 1fr; padding: 18px; left: 10px; right: 10px; bottom: 10px; max-height: 70vh; overflow: auto; }
  .cc-actions .btn { flex: 1 1 100%; }
}

.cc-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; background: var(--paper); border-radius: 6px; padding: clamp(22px, 4vw, 36px); }
.cc-dialog h2 { font-size: clamp(28px, 3.4vw, 36px); margin-bottom: 10px; }
.cc-dialog > p { font-size: 15.5px; }
.cc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 0; }
.cc-row + .cc-row { box-shadow: 0 -1px 0 rgba(0,0,0,.08); }
.cc-row-title { font-weight: 600; margin: 0 0 4px; }
.cc-row-text { margin: 0; font-size: 14.5px; }
.cc-dialog .cc-actions { margin-top: 18px; }

/* Schalter */
.cc-switch { position: relative; display: inline-flex; width: 52px; height: 30px; flex: none; margin-top: 2px; cursor: pointer; }
.cc-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cc-slider { position: absolute; inset: 0; border-radius: 999px; background: #d9d4cc; transition: background-color var(--t-fast); }
.cc-slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform var(--t-mid) var(--ease-out); }
.cc-switch input:checked + .cc-slider { background: var(--wood-2); }
.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: 2px solid var(--wood-3); outline-offset: 3px; }

/* Blockierte Einbettungen (2-Klick) */
.consent-embed { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 4 / 3; }
.consent-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ce-inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(18px, 3vw, 28px); }
.ce-title { font-family: var(--f-display); font-size: 22px; margin: 0 0 8px; }
.ce-text { font-size: 14.5px; margin: 0 0 16px; max-width: 34em; }
.ce-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.ce-always { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; min-height: 44px; cursor: pointer; }
.ce-always input { width: 18px; height: 18px; accent-color: var(--wood-2); }

/* Link-Button im Fußbereich */
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: inherit; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.linkbtn:hover { text-decoration: underline; text-decoration-color: var(--wood-2); text-underline-offset: 4px; }

/* ---------- Anpassungen Startseite (Kundenwunsch) ---------- */
/* Menü bleibt immer stehen */
.header, .header.is-hidden { position: sticky; top: 0; transform: none; }

/* Faktenleiste Startseite: jede Aussage in einer Zeile */
@media (min-width: 901px) {
  .facts--home ul { grid-template-columns: repeat(3, auto); justify-content: space-between; }
  .facts--home li { white-space: nowrap; }
}

/* Kunstprojekte: Einleitung bündig mit der Überschrift */
.kunst-eyebrow { position: relative; }
.kunst .kunst-head { align-items: start; margin-top: 18px; }
.kunst .kunst-head h2 { margin-top: 0; }
.kunst .kunst-head p { margin-top: .5em; }

/* Fußbereich: Unterstrich nur so lang wie das Wort */
.footer nav { justify-items: start; }
.footer nav a { justify-self: start; }

/* Hinweis „Leistung nicht dabei?“ */
.not-listed-wrap { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.not-listed {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  background: var(--sand); border-radius: 6px; padding: clamp(26px, 4vw, 44px) clamp(24px, 4vw, 48px);
}
.not-listed h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 8px; }
.not-listed p { margin: 0; max-width: 40em; }

/* =========================================================
   Kacheln, Branchen, Werkschau, Ablauf (Überarbeitung)
   ========================================================= */
/* Kachelraster mit kleinem Symbol */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile-card {
  background: var(--paper); border-radius: 6px; padding: 24px 22px 22px;
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out);
}
.tile-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -20px rgba(104, 60, 17, .4); }
.tile-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sand); margin-bottom: 16px; }
.sec--sand .tile-ico { background: var(--mist); }
.tile-ico svg { width: 20px; height: 20px; color: var(--wood-3); }
.tile-card h3 { font-size: 21px; margin-bottom: 6px; }
.tile-card p { margin: 0; font-size: 15px; line-height: 1.5; }
@media (max-width: 1000px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tile-grid { grid-template-columns: 1fr; } }

/* Branchen als kleine Kacheln */
.branch-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.branch-tiles li {
  background: var(--paper); border-radius: 6px; padding: 16px 16px; min-height: 64px;
  display: flex; align-items: center; font-weight: 600; font-size: 15.5px; line-height: 1.3;
  transition: background-color var(--t-fast), transform var(--t-mid) var(--ease-out);
}
.branch-tiles li:hover { background: var(--sand); transform: translateY(-2px); }

/* Werkschau Kunstprojekte */
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 24px); align-items: start; }
.work { margin: 0; }
.w-a { grid-column: span 7; } .w-b { grid-column: span 5; }
.w-c { grid-column: span 4; } .w-d { grid-column: span 4; } .w-e { grid-column: span 4; }
.w-f { grid-column: span 7; } .work-cta { grid-column: span 5; }
.work-img { display: block; width: 100%; border: 0; padding: 0; border-radius: 6px; overflow: hidden; cursor: zoom-in; background: var(--mist); position: relative; aspect-ratio: 4 / 3; }
.w-a .work-img, .w-f .work-img { aspect-ratio: 16 / 10; }
.w-b .work-img { aspect-ratio: 4 / 3.66; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.work-img:hover img { transform: scale(1.04); }
.work-img::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 20px no-repeat;
  opacity: 0; transform: translateY(6px); transition: opacity var(--t-mid) var(--ease-out), transform var(--t-mid) var(--ease-out);
}
.work-img:hover::after, .work-img:focus-visible::after { opacity: 1; transform: none; }
.work figcaption { padding-top: 14px; }
.work-kind { display: block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.work h3 { font-size: clamp(22px, 2vw, 26px); margin-bottom: 6px; }
.work p { margin: 0; font-size: 15.5px; max-width: 36em; }
.work-cta { align-self: stretch; background: var(--sand); border-radius: 6px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: 260px; }
.work-cta h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 0; }
.work-cta p { margin: 0; }
.work-cta .btn { align-self: flex-start; }
@media (max-width: 900px) {
  .works { grid-template-columns: repeat(2, 1fr); }
  .w-a, .w-b, .w-c, .w-d, .w-e, .w-f, .work-cta { grid-column: span 1; }
  .w-a .work-img, .w-b .work-img, .w-f .work-img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) { .works { grid-template-columns: 1fr; } }

/* Ablauf Kunstprojekte: Bild + Zeitstrahl */
.process { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.process-media h2 { margin: 14px 0 16px; }
.process-media p { max-width: 30em; }
.process-img { margin-top: 24px; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; }
.process-img img { width: 100%; height: 100%; object-fit: cover; }
.process .timeline { margin-top: 8px; }
.process .timeline .yr { font-size: 15px; }
.sec--sand .timeline li::before { background: var(--sand); box-shadow: inset 0 0 0 4px var(--sand), inset 0 0 0 6px var(--wood-1); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } }

/* =========================================================
   Listen ohne Aufzählungspunkte (Kundenwunsch, gesamte Website)
   ========================================================= */
ul.chip-list, ul.row-list { list-style: none; margin: 0; padding: 0; }
ul.chip-list li::before, ul.row-list li::before, ul.chip-list li::marker, ul.row-list li::marker { content: none; display: none; }

/* Merkmale in Leistungsabschnitten: kleine Kacheln */
.topic-text ul.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 28px; padding: 0; }
.chip-list li {
  margin: 0; padding: 9px 14px; border-radius: 6px; background: var(--sand);
  font-size: 15px; font-weight: 500; line-height: 1.3;
  transition: background-color var(--t-fast), transform var(--t-mid) var(--ease-out);
}
.chip-list li:hover { background: #efe2d1; transform: translateY(-1px); }

/* Ausbildung: jede Aussage als eigene helle Zeile */
.apply-card { display: flex; flex-direction: column; }
.apply-card h3 { margin-bottom: 16px; }
ul.row-list { display: grid; gap: 8px; }
.row-list li {
  padding: 12px 14px; border-radius: 6px; background: var(--bg); font-size: 15.5px; line-height: 1.4;
  transition: background-color var(--t-fast);
}
.row-list li:hover { background: var(--sand); }

/* =========================================================
   Scroll-Animationen – ruhig, hochwertig, performant
   (nur transform/opacity; native Scroll-Timelines, Fallback = statisch)
   ========================================================= */

/* Zeitstrahl: Linie füllt sich mit dem Scrollen, Stationen leuchten auf */
.js .timeline.is-linked::before { transform: none; background: rgba(147, 103, 55, .22); }
.js .timeline.is-linked::after {
  content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--grad);
  transform-origin: top; transform: scaleY(var(--p, 0)); will-change: transform;
}
.js .timeline.is-linked li::before {
  background: var(--paper); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 6px rgba(147, 103, 55, .35);
  border-color: rgba(147, 103, 55, .45); z-index: 1;
  transition: background-color .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease-out), transform .45s var(--ease-out);
  transition-delay: 0s !important;
}
.js .sec--sand .timeline.is-linked li::before { background: var(--sand); box-shadow: inset 0 0 0 4px var(--sand), inset 0 0 0 6px rgba(147, 103, 55, .35); }
.js .timeline.is-linked li > * { opacity: .38; transform: translateX(10px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .timeline.is-linked li.is-on > * { opacity: 1; transform: none; }
.js .timeline.is-linked li.is-on::before {
  background: var(--wood-1); border-color: var(--wood-2); transform: scale(1.08);
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 6px var(--wood-2), 0 0 0 6px rgba(202, 158, 103, .18);
}
.js .sec--sand .timeline.is-linked li.is-on::before { box-shadow: inset 0 0 0 4px var(--sand), inset 0 0 0 6px var(--wood-2), 0 0 0 6px rgba(202, 158, 103, .22); }

/* Logo wird beim Scrollen minimal kompakter */
.brand img { transform-origin: left center; transition: transform .45s var(--ease-out); }
.header.is-scrolled .brand img { transform: scale(.9); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Bilder: leichte Tiefenwirkung im Rahmen (eigene translate-Eigenschaft, Hover-Zoom bleibt erhalten) */
    .wide-img img, .work-img img, .process-img img, .film img, .mosaic figure img, .group-intro + .topic .gallery .w img {
      scale: 1.12;
      animation: pp-depth linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    @keyframes pp-depth { from { translate: 0 -5%; } to { translate: 0 5%; } }

    /* Jahresringe drehen sich kaum merklich mit */
    .page-hero .rings, .kunst .rings, .cta-band .rings, .hero-media .rings {
      animation: pp-rings linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    @keyframes pp-rings { from { rotate: -5deg; } to { rotate: 7deg; } }

    /* Große Bereichsüberschriften (Innen / Außen) gleiten leicht gegen die Scrollrichtung */
    .group-intro h2 {
      animation: pp-drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 60%;
    }
    @keyframes pp-drift { from { translate: -3% 0; } to { translate: 3% 0; } }
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline.is-linked::after { transform: scaleY(1); }
  .timeline.is-linked li > * { opacity: 1; transform: none; }
  .header.is-scrolled .brand img { transform: none; }
}

/* =========================================================
   Kundenfotos: Werkschau, Team, Entwurf → Umsetzung
   ========================================================= */
/* Werkschau als Mauerwerk – Bilder in ihrem natürlichen Format, nichts abgeschnitten */
.works.works--masonry { display: block; columns: 3 300px; column-gap: clamp(16px, 2vw, 28px); }
.works--masonry .work { break-inside: avoid; margin: 0 0 clamp(28px, 3vw, 40px); display: block; }
.works--masonry .work-img { aspect-ratio: auto; }
.works--masonry .work-img img { height: auto; }
.works--masonry .work-cta { min-height: 280px; }

/* Team mit Fotos */
.team.team--5 { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.member .ph { position: relative; overflow: hidden; border-radius: 6px; background: var(--mist); }
.member .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.member:hover .ph img { transform: scale(1.04); }
.member h3 { margin: 16px 0 2px; font-size: 22px; }
.member .role { margin: 0; }
@media (max-width: 1100px) { .team.team--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team.team--5 { grid-template-columns: repeat(2, 1fr); } }

/* Galerie: Hochformat-Kacheln */
.gallery button.t img { object-position: 50% 40%; }

/* Vom Entwurf zur Umsetzung */
.plan-list { display: grid; gap: clamp(36px, 5vw, 56px); }
.plan-row h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 14px; }
.plan-shots { display: grid; gap: 14px; }
.plan-shots--2 { grid-template-columns: 1fr 1fr; }
.plan-shots--3 { grid-template-columns: 1fr 1fr 1fr; }
.plan-shot { margin: 0; }
.plan-img { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 6px; overflow: hidden; background: var(--paper); cursor: zoom-in; }
.plan-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.plan-img:hover img { transform: scale(1.03); }
.plan-shot figcaption { margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 700px) { .plan-shots--2, .plan-shots--3 { grid-template-columns: 1fr; } }

/* Referenzen */
.refs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.refs li {
  background: var(--mist); border-radius: 6px; padding: 22px 20px; min-height: 108px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  transition: background-color var(--t-fast), transform var(--t-mid) var(--ease-out);
}
.refs li:hover { background: var(--sand); transform: translateY(-2px); }
.ref-name { font-family: var(--f-display); font-size: 22px; font-weight: 500; line-height: 1.15; }
.ref-what { font-size: 14.5px; line-height: 1.4; }

/* Referenz-Zeile Startseite */
.ref-line { margin-top: clamp(36px, 4vw, 52px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; }
.ref-line .eyebrow { margin-right: 4px; }
.ref-line span.n { font-family: var(--f-display); font-size: clamp(19px, 1.8vw, 23px); white-space: nowrap; }
.ref-line a { margin-left: auto; }

/* Referenz-Logos (Startseite) – ruhig in Graustufen, Farbe beim Überfahren */
.ref-line { align-items: center; gap: 16px 32px; }
.ref-logos { list-style: none; margin: 0; padding: 0; flex: 1 1 520px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 22px clamp(28px, 4vw, 56px); }
.ref-logos li { display: flex; align-items: center; }
.ref-logos img { width: auto; height: 46px; max-width: 160px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter .45s var(--ease-out), opacity .45s var(--ease-out); }
.ref-logos li:hover img { filter: none; opacity: 1; }
.ref-logos .logo-haribo { height: 36px; }
.ref-logos .logo-weber { height: 40px; }
.ref-logos .logo-fortuna { height: 56px; }
.ref-logos .logo-bentley { height: 50px; }
.ref-line a.more { margin-left: 0; }
@media (max-width: 700px) { .ref-logos { justify-content: flex-start; } .ref-logos img { height: 34px; } .ref-logos .logo-fortuna { height: 44px; } .ref-logos .logo-bentley { height: 38px; } .ref-logos .logo-haribo { height: 28px; } }
@media (hover: none) { .ref-logos img { filter: none; opacity: 1; } }
.ref-logos .logo-skotti { height: 34px; }
@media (max-width: 700px) { .ref-logos .logo-skotti { height: 26px; } }

/* =========================================================
   Rechtstexte (Impressum, Datenschutz)
   ========================================================= */
.page-hero--legal { padding-bottom: clamp(16px, 3vw, 32px); }
.page-hero--legal h1 { margin-bottom: 14px; }
.legal-sec { padding-top: clamp(8px, 2vw, 24px); }
.legal { max-width: 46em; }
.legal h2 { font-size: clamp(22px, 2.2vw, 28px); margin: clamp(36px, 4vw, 52px) 0 12px; scroll-margin-top: calc(var(--header) + 24px); }
.legal h2:first-child, .legal-toc + h2 { margin-top: 0; }
.legal p { margin: 0 0 1em; }
.legal a:not(.btn) { text-underline-offset: 3px; text-decoration-color: var(--wood-2); }
.legal ul { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 6px; }
.legal ul li { padding: 10px 14px; background: var(--mist); border-radius: 6px; }
.legal-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--wood-2); text-underline-offset: 3px; min-height: 0; display: inline; }
.legal-toc { background: var(--sand); border-radius: 6px; padding: 20px 24px; margin-bottom: clamp(36px, 4vw, 52px); }
.legal-toc-title { font-weight: 600; margin: 0 0 8px; }
.legal-toc ol { margin: 0; padding-left: 1.4em; columns: 2 220px; column-gap: 32px; }
.legal-toc li { padding: 3px 0; break-inside: avoid; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-stand { margin-top: clamp(32px, 4vw, 48px) !important; font-size: 14.5px; }
.legal h3 { font-size: clamp(18px, 1.6vw, 20px); margin: 22px 0 8px; }
.legal-table-wrap { overflow-x: auto; margin: 0 0 1em; border-radius: 6px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; background: var(--paper); }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; }
.legal-table thead th { background: var(--sand); font-weight: 600; }
.legal-table tbody tr:nth-child(even) td { background: var(--mist); }
.legal-table code { font-size: 13.5px; background: none; padding: 0; }

/* =========================================================
   Design-Durchgang (November 2026)
   Ohne Labels, Kursiv-Wechsel, Linien und Schatten – größere Startbilder.
   Steht bewusst am Ende und überschreibt ältere Regeln.
   ========================================================= */
:root { --tint: rgba(147, 103, 55, .13); --tint-strong: rgba(147, 103, 55, .24); }

/* Überschriften: eine Schrift, kein Kursiv-Wechsel (auch falls im Editor <em> gesetzt wird) */
h1 em, h2 em, h3 em { font-style: inherit; font-variation-settings: normal; }

/* Kleine Labels in normaler Schreibweise statt gesperrter Großbuchstaben */
.work-kind, .plan-shot figcaption { font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.ref-label { font-weight: 600; font-size: 16px; margin-right: 4px; }

/* Kopfzeile: ruhige Fläche, keine Linie, kein Glas */
.header, .header.is-scrolled { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; box-shadow: none; }

/* Buttons: flach, eine Füllfarbe – die Zweitaktion als Tonfläche statt Rahmen */
.btn { border-color: transparent; }
.btn--line, .cc-actions .btn { background: var(--tint); border-color: transparent; }
.btn--line:hover, .cc-actions .btn:hover { background: var(--tint-strong); border-color: transparent; }
.burger, .strip-nav .lb-btn { border-color: transparent; background: var(--tint); }
.socials a { border-color: transparent; background: var(--tint) !important; }
.socials a:hover { background: var(--tint-strong) !important; }
.jump a { border-color: transparent; background: var(--tint); }
.jump a:hover { background: var(--tint-strong); }

/* Unterstreichungen ohne Verlaufs-Trick: echte Unterstreichung bzw. wachsender Balken */
.more { position: relative; background: none; }
.more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--wood-2); transform-origin: left; transition: transform .3s var(--ease); }
.more:hover::after { transform: scaleX(.4); }
.more:hover { background: none; }
.address a, .footer a:not(.socials a), .crumbs a, .contact-list a, .tile .cap b {
  background: none; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
  text-decoration-color: transparent; transition: text-decoration-color var(--t-mid) var(--ease-out);
}
.address a { text-decoration-color: var(--wood-1); }
.footer a:not(.socials a):hover, .crumbs a:hover, .contact-list a:hover, .tile:hover .cap b, .address a:hover { text-decoration-color: var(--wood-2); background: none; }

/* Linien raus: Abstand und Tonstufen trennen */
.svc-label { border: 0; padding: 0; }
.contact-list li, .ticks li, .footer-bottom, .drawer a.d-link, .topic { border: 0; }
.form { border: 0; }
.file { border: 0; background: var(--tint); }
.ph-empty { background: var(--sand) !important; border: 0; }

/* Keine Schatten auf ruhenden Elementen */
.faq details:hover, .faq details[open] { box-shadow: none; background: #fff; }
.faq details { transition: background-color var(--t-mid) var(--ease-out); }
.tile-card:hover, .material:hover { box-shadow: none; }
.hero-badge { box-shadow: none; }

/* Kacheln ohne Symbol: Text trägt */
.tile-card h3 { margin-top: 0; }

/* Startseite: Titel kurz und groß, Bild deutlich größer */
@media (min-width: 901px) { .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.hero h1 { font-size: clamp(46px, 6.6vw, 98px); }
.hero-media .frame { aspect-ratio: auto; height: min(calc(100svh - var(--header) - 72px), 820px); min-height: 420px; }
@media (max-width: 900px) {
  .hero-media { order: 0; }
  .hero-media .frame { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
}

/* Unterseiten: Text links, großes Foto rechts */
.page-hero--split { padding: clamp(20px, 3vw, 40px) 0 clamp(56px, 7vw, 96px); overflow: visible; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero--split h1 { max-width: none; }
.page-hero-media { width: 100%; height: min(calc(100svh - var(--header) - 64px), 760px); min-height: 420px; overflow: hidden; border-radius: var(--radius); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
}

/* Abschluss-Band: Überschrift mit Satz links, Aktionen rechts */
.cta-band .wrap { flex-wrap: nowrap; }
.cta-band h2 { max-width: none; }
.cta-band p { margin: 12px 0 0; }
@media (max-width: 800px) { .cta-band .wrap { flex-wrap: wrap; } }

/* Cookie-Hinweis auf dem Handy kompakt – drei gleichwertige Buttons nebeneinander */
@media (max-width: 860px) {
  .cc-banner { padding: 14px 14px 12px; gap: 10px; max-height: none; }
  .cc-title { font-size: 18px; margin-bottom: 4px; }
  .cc-text p { font-size: 13.5px; line-height: 1.45; }
  .cc-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .cc-actions .btn { min-width: 0; flex: none; --h: 44px; padding: 0 6px; font-size: 13px; letter-spacing: 0; }
}

/* Überschriften der Seitenköpfe passen in zwei Zeilen */
.hero h1 { font-size: clamp(40px, 6.6vw, 98px); }
.page-hero--split h1 { font-size: clamp(40px, 4.6vw, 66px); }

/* Kacheln und Holzarten ohne Kasten: Text in Spalten */
.tile-card, .material { background: transparent; padding: 0; border-radius: 0; }
.tile-card:hover, .material:hover { transform: none; }

/* Anhang-Feld: Symbol mittig zu Titel und Hinweis (die allgemeine Label-Regel setzte display:block) */
.form label.file { display: flex; align-items: center; gap: 14px; margin-bottom: 0; }
.form label.file > span { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.form label.file > span br { display: none; }

/* Telefon/E-Mail im Kontaktblock: ohne Balken, Unterstreichung erst beim Überfahren */
.contact-list a.more::after { display: none; }

/* Pflicht-Checkbox Datenschutz */
.form label.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; font-size: 15px; line-height: 1.5; margin: 0; cursor: pointer; }
.form label.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--wood-2); cursor: pointer; }
.form label.check a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--wood-2); }
.field--check { margin-top: 4px; }

/* Formular: „(optional)“ dezent neben der Beschriftung */
.form label .opt { font-weight: 400; }

/* =========================================================
   Startseite (Nov. 2026): quadratisches Bild, bündig mit Überschrift und Buttons,
   geschlossene Jahresringe stehen an allen Seiten über
   ========================================================= */
.hero-square { position: relative; }
.hero-media .hero-square .rings { position: absolute; width: 170%; height: 170%; left: -35%; top: -35%; z-index: 0; }
.hero-media .hero-square .frame { position: absolute; inset: 0; width: auto; height: auto; min-height: 0; aspect-ratio: auto; z-index: 1; }
.hero-media .hero-square .frame img { object-position: 50% 60%; }
@media (min-width: 901px) {
  .hero-grid { align-items: stretch; }
  .hero h1 { margin-top: 0; }
  .hero .lead { margin-bottom: 32px; }
  .hero-media { position: relative; min-height: 0; }
  .hero-square { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); aspect-ratio: 1 / 1; }
}
@media (max-width: 900px) {
  .hero { overflow: hidden; }
  .hero-square { width: min(74vw, 440px); aspect-ratio: 1 / 1; margin: clamp(64px, 16vw, 110px) auto clamp(48px, 12vw, 80px); }
}

/* Kunst auf der Startseite: alle Kacheln auf einen Blick, ohne Seitwärtsbewegung */
.kunst-grid { max-width: var(--wrap); margin: clamp(32px, 4vw, 48px) auto 0; padding-inline: var(--gutter); }
.kunst-grid-track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.kunst-grid .tile .ph, .kunst-grid .tile:nth-child(even) .ph { aspect-ratio: 3 / 4; margin-top: 0; }
.kunst-grid .tile .cap { font-size: 14px; line-height: 1.4; margin-top: 10px; }
.kunst-grid .tile .cap b { font-size: 17px; }
@media (max-width: 1000px) { .kunst-grid-track { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .kunst-grid-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Beschriftung auf dem Startbild einer Unterseite */
figure.page-hero-media { margin: 0; position: relative; }
.hero-cap { position: absolute; left: 16px; bottom: 16px; z-index: 1; background: var(--paper); padding: 8px 14px; font-weight: 600; font-size: 14px; line-height: 1.3; border-radius: 2px; }
/* Ringe: Platz oben und unten, damit sie vollständig sichtbar bleiben */
.hero-media .hero-square .rings { width: 150%; height: 150%; left: -25%; top: -25%; }
@media (min-width: 901px) { .hero { padding-top: clamp(120px, 11vw, 160px); padding-bottom: clamp(110px, 10vw, 150px); } }
.hero-media .hero-square .rings { width: 140%; height: 140%; left: -20%; top: -20%; }
@media (min-width: 901px) { .hero-grid { column-gap: clamp(64px, 8vw, 128px); } }

/* Imagefilm nach dem Klick: Video an der Stelle des Standbilds */
video.film-video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; background: #000; border-radius: var(--radius); cursor: auto; }
.split--film .film { aspect-ratio: 16 / 9; }
.hero-media .hero-square .frame img { object-position: 50% 50%; }

/* =========================================================
   Werdegang (Über uns): links ein mitlaufendes Bild zur Station, die gerade gelesen wird.
   Ohne JavaScript und auf dem Handy steht das Bild direkt bei jeder Station.
   ========================================================= */
.vita { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.vita-media { display: none; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.vita-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s var(--ease); }
.vita-media img.is-fading { opacity: 0; }
.vita-inline { margin: 0 0 14px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.vita-inline img { width: 100%; height: 100%; object-fit: cover; }
.vita-list li { padding-bottom: clamp(44px, 6vh, 80px); }
@media (min-width: 901px) {
  .js .vita-media { display: block; position: sticky; top: calc(var(--header) + 40px); }
  .js .vita-inline { display: none; }
  .js .vita-list li { min-height: 34vh; }
}
@media (max-width: 900px) {
  .vita { grid-template-columns: 1fr; }
}

/* Startseite ohne Jahresringe: normaler Abstand um den Kopfbereich */
@media (min-width: 901px) { .hero { padding-top: clamp(56px, 6vw, 96px); padding-bottom: clamp(64px, 7vw, 110px); } }
@media (max-width: 900px) { .hero-square { margin: clamp(32px, 8vw, 56px) auto 0; width: min(100%, 520px); } }
