@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-normal.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2")
    format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2")
    format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --chalk: #f2f0ea;
  --paper: #faf9f6;
  --char: #181c1c;
  --char-2: #222828;
  --copper: #bd7652;
  --copper-d: #8c4e2f; /* Kupfer für Text auf hellem Grund (Kontrast ≥ 5:1) */
  --copper-l: #e0a685; /* Kupfer für Text auf dunklem Grund */
  --mineral: #a7b8bd;
  --ink: #1a1e1e;
  --muted: #565c59;
  --muted-d: #b9bdb8;
  --line: rgba(24, 28, 28, 0.16);
  --line-d: rgba(242, 240, 234, 0.22);
  --err: #9b2c1d;

  --serif:
    "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino,
    Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;

  --gutter: clamp(20px, 4vw, 64px);
  --gap: clamp(14px, 1.6vw, 28px);
  --maxw: 1600px;
  --hdr: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.15, 1);
  --focus: #8c4e2f;
}

/* ------------------------------------------------------------------ Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 16px);
}
body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
address {
  margin: 0;
}
address {
  font-style: normal;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
::selection {
  background: var(--copper);
  color: var(--char);
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.hero :focus-visible,
.interlude :focus-visible,
.site-footer :focus-visible,
.menu :focus-visible,
.cta--dark :focus-visible,
.theme-dark :focus-visible,
.finale :focus-visible,
.nf :focus-visible,
.site-header[data-over="dark"] :focus-visible,
.privacy-notice :focus-visible,
.lightbox :focus-visible,
.sv-hero--immersive :focus-visible,
.pj-hero--full :focus-visible,
.pr-feas :focus-visible {
  outline-color: #e3a98a;
}
.finale :focus-visible {
  outline-color: var(--char);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 300;
  background: var(--char);
  color: var(--chalk);
  padding: 0.8rem 1.1rem;
  font-size: 0.9rem;
  transition: top 0.2s;
}
.skip:focus {
  top: 12px;
}

main {
  display: block;
  padding-top: var(--hdr);
  outline: none;
}
body.hero-dark main {
  padding-top: 0;
}

/* ------------------------------------------------------------------ Layout */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

/* ------------------------------------------------------------------ Typografie */
.eyebrow {
  font: 600 0.72rem/1.3 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-d);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--light,
.eyebrow--dark {
  color: inherit;
}
.eyebrow--light {
  color: var(--copper-l);
}
.eyebrow--dark {
  color: var(--char);
}

.sec-head {
  margin-bottom: clamp(2.2rem, 5vw, 4.5rem);
}
.sec-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
.sec-title {
  font: 400 clamp(2.8rem, 7.4vw, 7.5rem)/0.94 var(--serif);
  letter-spacing: -0.02em;
  margin: 0;
}
.sec-title--m {
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  line-height: 1;
}
.sec-title--light {
  color: var(--chalk);
}
.sec-title em,
.finale__title em {
  font-style: italic;
}
.sec-note {
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.lede {
  font: 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.22 var(--serif);
}

/* Animierter Unterstrich */
.ul {
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(var(--copper), var(--copper));
  background-repeat: no-repeat;
  background-position:
    0 100%,
    0 100%;
  background-size:
    100% 1px,
    0 2px;
  transition:
    background-size 0.55s var(--ease),
    color 0.3s;
  padding-bottom: 1px;
}
.ul:hover,
.ul:focus-visible {
  background-size:
    100% 1px,
    100% 2px;
}
.ul--light {
  color: var(--chalk);
}
.ul-anim {
  background-image: linear-gradient(var(--copper), var(--copper));
  background-repeat: no-repeat;
  background-position: 0 96%;
  background-size: 0 2px;
  transition: background-size 0.6s var(--ease);
  padding-bottom: 0.04em;
}
a:hover > .ul-anim,
a:focus-visible > .ul-anim,
a:hover .ul-anim,
a:focus-visible .ul-anim {
  background-size: 100% 2px;
}

/* Platzhalter für nicht hinterlegte Betreiberdaten */
.ph {
  color: #7c2a1b;
  background: rgba(155, 44, 29, 0.09);
  border-bottom: 1px dashed currentColor;
  padding: 0 0.25em;
  font-style: normal;
  font-weight: 500;
}
.site-footer .ph,
.menu .ph,
.cta--dark .ph,
.theme-dark .ph {
  color: #ffd6c8;
  background: rgba(255, 214, 200, 0.1);
}
.finale .ph {
  color: #4a1409;
  background: rgba(255, 255, 255, 0.38);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--char);
  color: var(--chalk);
  font: 600 0.86rem/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.15rem 1.6rem;
  border: 1px solid var(--char);
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s;
}
.btn i,
.btn-line i,
.hero__cta i,
.foot-cta i,
.finale__btn i {
  font-style: normal;
  display: inline-block;
  transition: transform 0.45s var(--ease);
}
.btn:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--char);
}
.btn:hover i,
.btn-line:hover i,
.hero__cta:hover i,
.foot-cta:hover i,
.finale__btn:hover i {
  transform: translateX(6px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: var(--char);
  color: var(--chalk);
  border-color: var(--char);
}
.btn--light {
  background: var(--chalk);
  color: var(--char);
  border-color: var(--chalk);
}
.btn--small {
  padding: 0.8rem 1.1rem;
  font-size: 0.76rem;
}
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font: 600 0.84rem/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid currentColor;
  transition:
    color 0.3s,
    border-color 0.3s;
}
.btn-line:hover {
  color: var(--copper-d);
  border-color: var(--copper);
}
.linklike {
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.linklike:hover {
  color: var(--copper-d);
}

/* Brotkrumen */
.crumbs {
  grid-column: 1 / -1;
  margin-bottom: 2.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  opacity: 0.5;
}
.crumbs a {
  transition: color 0.3s;
}
.crumbs a:hover {
  color: var(--copper-d);
}
.crumbs--light {
  color: rgba(242, 240, 234, 0.78);
}
.crumbs--light a:hover {
  color: var(--copper-l);
}

/* ------------------------------------------------------------------ Wortmarke */
.wm {
  display: inline-flex;
  align-items: baseline;
  gap: 0.38em;
  font-family: var(--serif);
  font-size: 1.62rem;
  line-height: 1;
  letter-spacing: 0.15em;
  padding-bottom: 0.22em;
  position: relative;
  white-space: nowrap;
}
.wm::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.15em;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  transform-origin: left;
  transition:
    transform 0.6s var(--ease),
    background 0.3s,
    opacity 0.3s;
}
.wm-b {
  font-style: italic;
  color: var(--copper-d);
  transition: color 0.3s;
}
a:hover > .wm::after {
  background: var(--copper);
  opacity: 1;
  transform: scaleX(1);
}
.wm--xl {
  font-size: clamp(2.8rem, 10.2vw, 11rem);
  letter-spacing: 0.09em;
  gap: 0.3em;
}
.wm--xl .wm-b {
  color: var(--copper-l);
}

/* ------------------------------------------------------------------ Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--hdr);
  background: rgba(242, 240, 234, 0.97);
  border-bottom: 1px solid var(--line);
  transition:
    transform 0.5s var(--ease),
    background 0.4s,
    color 0.4s,
    border-color 0.4s;
}
.hdr {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}
.brand {
  display: inline-flex;
}
.nav {
  justify-self: end;
}
.nav ul {
  display: flex;
  gap: clamp(1.1rem, 2.6vw, 2.6rem);
}
.nav-link {
  font: 500 0.88rem/1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 0.6rem 0;
  display: inline-block;
}
.nav-link span {
  background-image: linear-gradient(var(--copper), var(--copper));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size 0.5s var(--ease);
  padding-bottom: 0.45rem;
}
.nav-link:hover span,
.nav-link:focus-visible span,
.nav-link.is-current span {
  background-size: 100% 2px;
}
.hdr-cta {
  border: 1px solid currentColor;
  padding: 0.75rem 1.1rem;
  font: 600 0.76rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s;
}
.hdr-cta:hover {
  background: var(--char);
  color: var(--chalk);
  border-color: var(--char);
}
.menu-btn {
  display: none;
  align-items: center;
  gap: 0.8rem;
  font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7rem 0 0.7rem 0.7rem;
}
.menu-btn__icon {
  width: 26px;
  height: 10px;
  position: relative;
  display: block;
}
.menu-btn__icon i {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition:
    transform 0.45s var(--ease),
    top 0.45s var(--ease);
}
.menu-btn__icon i:first-child {
  top: 0;
}
.menu-btn__icon i:last-child {
  top: 8px;
}
.menu-open .menu-btn__icon i:first-child {
  top: 4px;
  transform: rotate(35deg);
}
.menu-open .menu-btn__icon i:last-child {
  top: 4px;
  transform: rotate(-35deg);
}

/* Erweiterung mit JS: transparent über dunklen Heroes, verstecken beim Runterscrollen */
.js .site-header[data-over="dark"] {
  background: transparent;
  border-color: transparent;
  color: var(--chalk);
}
.js .site-header[data-over="dark"] .wm-b {
  color: var(--copper-l);
}
.js .site-header[data-over="dark"] .hdr-cta:hover {
  background: var(--chalk);
  color: var(--char);
  border-color: var(--chalk);
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
.menu-open .site-header {
  transform: none;
  background: transparent;
  border-color: transparent;
  color: var(--chalk);
}
.menu-open .site-header .wm-b {
  color: var(--copper-l);
}

/* ------------------------------------------------------------------ Mobiles Menü */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--char);
  color: var(--chalk);
  overflow-y: auto;
  padding-top: calc(var(--hdr) + 1rem);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition:
    clip-path 0.7s var(--ease),
    visibility 0s 0.7s;
}
.menu[hidden] {
  display: block;
}
.menu.is-open {
  clip-path: inset(0);
  visibility: visible;
  transition:
    clip-path 0.7s var(--ease),
    visibility 0s;
}
.menu__inner {
  min-height: calc(100svh - var(--hdr) - 1rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 2rem;
}
.menu__list li {
  border-bottom: 1px solid var(--line-d);
  overflow: hidden;
}
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 0.7rem 0;
  font: 400 clamp(2.4rem, 11vw, 4.4rem)/1.05 var(--serif);
  letter-spacing: -0.01em;
}
.menu__list .menu__num {
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--copper-l);
  min-width: 2rem;
}
.menu__list a[aria-current="page"] .menu__txt {
  font-style: italic;
  color: var(--copper-l);
}
.menu__list li {
  transform: translateY(40px);
  opacity: 0;
  transition:
    transform 0.8s var(--ease),
    opacity 0.8s var(--ease);
  transition-delay: calc(var(--i) * 55ms + 150ms);
}
.menu.is-open .menu__list li {
  transform: none;
  opacity: 1;
}
.menu__foot {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  font-size: 0.9rem;
  color: var(--muted-d);
}
.menu__legal a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
.menu__contact a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
body.menu-open {
  overflow: hidden;
}

/* ------------------------------------------------------------------ Footer */
.site-footer {
  background: var(--char);
  color: var(--chalk);
  padding: clamp(4rem, 8vw, 8rem) 0 2rem;
  position: relative;
}
.foot-top {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line-d);
}
.foot-brand {
  align-self: flex-start;
}
.foot-claim {
  font: 400 clamp(1.3rem, 2.2vw, 1.9rem)/1.25 var(--serif);
  color: var(--muted-d);
  max-width: 34ch;
}
.foot-claim em {
  color: var(--chalk);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: clamp(1.6rem, 3vw, 3rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}
.foot-h {
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-l);
  margin-bottom: 1.4rem;
}
.foot-col li {
  margin-bottom: 0.55rem;
}
.foot-col a {
  font-size: 0.96rem;
  color: var(--chalk);
  background-image: linear-gradient(var(--copper-l), var(--copper-l));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition:
    background-size 0.5s var(--ease),
    color 0.3s;
  padding-bottom: 2px;
}
.foot-col a:hover,
.foot-col a:focus-visible {
  background-size: 100% 1px;
  color: #fff;
}
.foot-contact address p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.55;
}
.foot-contact address p:not(:first-child) {
  color: var(--muted-d);
  font-size: 0.88rem;
}
.foot-contact address p:not(:first-child) a {
  color: var(--chalk);
  font-size: 1rem;
}
.foot-cta {
  display: inline-flex;
  gap: 0.9rem;
  align-items: center;
  margin-top: 0.6rem;
  font: 600 0.82rem/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--copper-l);
  padding-bottom: 0.65rem;
  color: var(--chalk);
}
.foot-note {
  border-top: 1px solid var(--line-d);
  padding: 1.6rem 0;
  color: var(--muted-d);
  font-size: 0.84rem;
  max-width: 84ch;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  border-top: 1px solid var(--line-d);
  padding-top: 1.6rem;
  font-size: 0.84rem;
  color: var(--muted-d);
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.4rem;
}
.foot-legal a,
.foot-legal .linklike {
  color: var(--muted-d);
}
.foot-legal a:hover,
.foot-legal .linklike:hover {
  color: var(--chalk);
}
.to-top {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  font: 600 0.74rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chalk);
}
.to-top i {
  font-style: normal;
  transition: transform 0.4s var(--ease);
}
.to-top:hover i {
  transform: translateY(-4px);
}

/* ------------------------------------------------------------------ Datenschutz-Hinweis */
.privacy-notice {
  position: fixed;
  left: var(--gutter);
  bottom: 1.2rem;
  z-index: 120;
  width: min(420px, calc(100vw - 2 * var(--gutter)));
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--char);
  padding: 1.3rem 1.4rem 1.2rem;
  transform: translateY(24px);
  opacity: 0;
  transition:
    transform 0.6s var(--ease),
    opacity 0.6s var(--ease);
}
.privacy-notice:not([hidden]) {
  transform: none;
  opacity: 1;
}
.privacy-notice[hidden] {
  display: none;
}
.privacy-notice__title {
  font: 400 1.5rem/1 var(--serif);
  margin-bottom: 0.6rem;
}
.privacy-notice__text {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.privacy-notice__actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.86rem;
}

/* ------------------------------------------------------------------ Reveal (nur mit JS; ohne JS ist alles sichtbar) */
.js [data-reveal].reveal-ready {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].reveal-ready.in {
  opacity: 1;
  transform: none;
}

.js [data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.04em 0.16em;
  margin: 0 -0.04em -0.16em;
}
.js [data-split] .wi {
  display: inline-block;
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms + 80ms);
  will-change: transform;
}
.js [data-split].reveal-ready .wi {
  transform: translateY(108%);
}
.js [data-split].reveal-ready.in .wi {
  transform: none;
}
[data-split] .w + .w,
[data-split] .w {
  white-space: nowrap;
}

.js [data-reveal-img].reveal-ready {
  clip-path: inset(9% 0 0 0);
  transition: clip-path 1.3s var(--ease);
}
.js [data-reveal-img].reveal-ready img {
  transform: scale(1.12);
  transition: transform 1.8s var(--ease);
}
.js [data-reveal-img].reveal-ready.in {
  clip-path: inset(0);
}
.js [data-reveal-img].reveal-ready.in img {
  transform: scale(1);
}

.ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.lni {
  display: block;
}
.js [data-split].reveal-ready .ln .lni {
  transform: translateY(108%);
  transition: transform 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 120ms + 80ms);
}
.js [data-split].reveal-ready.in .ln .lni {
  transform: none;
}

.reveal-all [data-reveal],
.reveal-all [data-split] .wi,
.reveal-all [data-split] .ln .lni {
  opacity: 1 !important;
  transform: none !important;
}
.reveal-all [data-reveal-img] {
  clip-path: none !important;
}
.reveal-all [data-reveal-img] img {
  transform: none !important;
}

/* Hover-Zoom für Bilder in Links */
.hz img,
.work-item__img img,
.pcard__img img,
.jcard__img img,
.mag-card__img img,
.svc-row__img img,
.gitem__a img,
.rel-proj img {
  transition:
    transform 1.4s var(--ease),
    filter 0.6s;
}
.work-item__img:hover img,
.pcard a:hover .pcard__img img,
.jcard a:hover .jcard__img img,
.mag-card a:hover .mag-card__img img,
.svc-row__img:hover img,
.gitem__a:hover img,
.rel-proj:hover img {
  transform: scale(1.045);
}
.js [data-reveal-img].reveal-ready.in img {
  transition: transform 1.4s var(--ease);
}

/* ------------------------------------------------------------------ Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(14, 18, 18, 0.97);
  color: var(--chalk);
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s var(--ease),
    visibility 0s 0.4s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease);
}
.lightbox__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--gutter);
  font: 600 0.74rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lightbox__btn {
  color: var(--chalk);
  border: 1px solid var(--line-d);
  padding: 0.8rem 1.1rem;
  font: 600 0.74rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    background 0.3s,
    color 0.3s;
}
.lightbox__btn:hover {
  background: var(--chalk);
  color: var(--char);
}
.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 clamp(3.4rem, 8vw, 7rem);
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.35s;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  color: var(--chalk);
  border: 1px solid var(--line-d);
  font-size: 1.3rem;
  transition:
    background 0.3s,
    color 0.3s;
}
.lightbox__nav:hover {
  background: var(--chalk);
  color: var(--char);
}
.lightbox__nav--prev {
  left: clamp(0.6rem, 2vw, 1.6rem);
}
.lightbox__nav--next {
  right: clamp(0.6rem, 2vw, 1.6rem);
}
.lightbox__cap {
  padding: 1rem var(--gutter) 1.4rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted-d);
  max-width: 80ch;
  margin-inline: auto;
  min-height: 3.4rem;
}
body.lb-open {
  overflow: hidden;
}
[data-lightbox] {
  cursor: zoom-in;
  display: block;
}

/* ------------------------------------------------------------------ CTA-Band (wiederverwendbar) */
.cta {
  padding: clamp(4.5rem, 10vw, 10rem) 0;
}
.cta--dark {
  background: var(--char);
  color: var(--chalk);
}
.cta--light {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.cta__grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}
.cta__title {
  font: 400 clamp(2.8rem, 7vw, 7rem)/0.95 var(--serif);
  letter-spacing: -0.02em;
}
.cta__side {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  align-items: flex-start;
}
.cta__side p {
  max-width: 40ch;
  color: var(--muted);
}
.cta--dark .cta__side p {
  color: var(--muted-d);
}
.cta--dark .btn {
  background: var(--chalk);
  color: var(--char);
  border-color: var(--chalk);
}
.cta--dark .btn:hover {
  background: var(--copper);
  border-color: var(--copper);
}

/* ------------------------------------------------------------------ Hinweise / Akkordeon / Chips */
.notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--copper);
  background: var(--paper);
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  margin-bottom: 2rem;
}
.notice--warn {
  border-left-color: var(--err);
}
.empty-note {
  padding: 3rem 0;
  color: var(--muted);
}

.acc {
  border-top: 1px solid var(--line);
}
.acc:last-of-type {
  border-bottom: 1px solid var(--line);
}
.acc summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem 0;
  cursor: pointer;
  font: 400 clamp(1.25rem, 2.1vw, 1.75rem)/1.2 var(--serif);
}
.acc summary::-webkit-details-marker {
  display: none;
}
.acc summary i {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
}
.acc summary i::before,
.acc summary i::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.45s var(--ease);
}
.acc summary i::after {
  transform: rotate(90deg);
}
.acc[open] summary i::after {
  transform: rotate(0);
}
.acc summary:hover {
  color: var(--copper-d);
}
.acc__body {
  padding: 0 3rem 1.8rem 0;
  max-width: 68ch;
  color: var(--muted);
}
.acc[open] .acc__body {
  animation: accIn 0.5s var(--ease);
}
@keyframes accIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.chip {
  border: 1px solid var(--line);
  padding: 0.65rem 1.05rem;
  font: 600 0.76rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background 0.35s var(--ease),
    color 0.35s,
    border-color 0.35s;
}
.chip:hover {
  border-color: var(--char);
}
.chip.is-active {
  background: var(--char);
  color: var(--chalk);
  border-color: var(--char);
}
.chips__count {
  margin-left: auto;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ------------------------------------------------------------------ Responsiv (Basis) */
@media (max-width: 1100px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .foot-contact {
    grid-column: 1 / -1;
  }
  .cta__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
@media (max-width: 980px) {
  :root {
    --hdr: 66px;
  }
  .nav,
  .hdr-cta {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
    justify-self: end;
  }
  .hdr {
    grid-template-columns: 1fr auto;
  }
  .wm {
    font-size: 1.32rem;
  }
}
@media (max-width: 640px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .privacy-notice {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 12px;
  }
  .lightbox__stage {
    padding: 0 0.6rem;
  }
  .lightbox__nav {
    top: auto;
    bottom: -3.8rem;
    transform: none;
  }
  .lightbox__nav--prev {
    left: 0.8rem;
  }
  .lightbox__nav--next {
    right: 0.8rem;
  }
  .acc__body {
    padding-right: 0;
  }
}

/* Ohne JS: Navigation sichtbar halten */
html:not(.js) .menu-btn {
  display: none;
}
html:not(.js) .menu {
  display: none;
}
@media (max-width: 980px) {
  html:not(.js) .nav {
    display: block;
    grid-column: 1 / -1;
    justify-self: start;
    padding-bottom: 0.6rem;
  }
  html:not(.js) .nav ul {
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
  }
  html:not(.js) .site-header {
    height: auto;
    position: static;
  }
  html:not(.js) main,
  html:not(.js) body.hero-dark main {
    padding-top: 0;
  }
  html:not(.js) .hdr {
    grid-template-columns: 1fr;
    padding-block: 0.8rem;
    gap: 0.4rem;
  }
}

/* ------------------------------------------------------------------ Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal],
  .js [data-split] .wi,
  .js .ln .lni {
    opacity: 1 !important;
    transform: none !important;
  }
  .js [data-reveal-img] {
    clip-path: none !important;
  }
  .js [data-reveal-img] img {
    transform: none !important;
  }
  [data-parallax] img {
    transform: none !important;
  }
}

@media print {
  .site-header,
  .menu,
  .privacy-notice,
  .lightbox,
  .cta,
  .to-top {
    display: none !important;
  }
  main {
    padding-top: 0 !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .js [data-reveal],
  .js [data-split] .wi,
  .js .ln .lni {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Skalierte Reveal-Bilder dürfen nie horizontales Scrollen erzeugen */
[data-reveal-img] {
  overflow: hidden;
}
html,
body {
  overflow-x: clip;
}
.crumbs--light {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
