/* ════════════════════════════════════════════════════════════════
   HOVEBA – für schöneres Wohnen
   Designsystem · Dark/Light · Responsive · Barrierefrei
   ════════════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  /* Marke */
  --brand-red: #e3000a;
  --brand-blue: #0068b3;

  /* Typografie */
  /* Marcellus: ruhige, architektonische Serif — nur Schnitt 400 */
  --font-display: "Marcellus", "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 118px;
  --header-h-small: 76px;
  --radius: 14px;

  --ease-out: cubic-bezier(.22, .8, .28, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

/* Dunkelmodus (Standard) */
:root[data-theme="dark"] {
  --bg: #131110;
  --bg-raise: #1c1917;
  --bg-deep: #0c0b0a;
  --text: #f2ede6;
  --text-muted: #a79e92;
  --line: rgba(242, 237, 230, .13);
  --accent: #ff3d45;          /* Rot, für Dunkel leicht aufgehellt */
  --accent-contrast: #fff;
  --blue: #5aa7dd;            /* Blau, für Dunkel aufgehellt */
  --wood: #c89b6d;
  --scrim: rgba(12, 11, 10, .55);
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

/* Hellmodus */
:root[data-theme="light"] {
  --bg: #f7f4ef;
  --bg-raise: #fffdf9;
  --bg-deep: #ece7df;
  --text: #1b1815;
  --text-muted: #6d655b;
  --line: rgba(27, 24, 21, .14);
  --accent: #e3000a;
  --accent-contrast: #fff;
  --blue: #0068b3;
  --wood: #8a6238;
  --scrim: rgba(20, 16, 12, .45);
  --shadow: 0 24px 60px rgba(27, 24, 21, .14);
  color-scheme: light;
}

/* Textgrößen-Stufen (Barrierefreiheit) */
:root[data-fontsize="1"] { font-size: 100%; }
:root[data-fontsize="2"] { font-size: 112.5%; }
:root[data-fontsize="3"] { font-size: 125%; }

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .5s var(--ease-soft), color .5s var(--ease-soft);
}
/* Feine Papier-/Materialkörnung über der ganzen Seite */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2500;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: .035;
  mix-blend-mode: overlay;
}
:root[data-theme="light"] body::after { opacity: .05; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
em { font-style: normal; color: var(--accent); }

::selection { background: var(--brand-blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(90px, 12vw, 160px); position: relative; scroll-margin-top: var(--header-h-small); }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 3000;
  background: var(--accent); color: #fff; padding: 12px 20px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ════════════════ INTRO / LOGO-ANIMATION ════════════════ */
.intro {
  position: fixed; inset: 0; z-index: 5000;
  background: radial-gradient(circle at 50% 42%, #1a1610, #0a0908 72%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 30px;
  cursor: pointer;
}
.intro.is-done { display: none; }
.intro__logo { width: min(320px, 58vw); }
.intro__logo svg { width: 100%; height: auto; }
.intro__icons { display: flex; gap: 22px; perspective: 700px; }
.intro__claim {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 400;
  letter-spacing: .3em; /* GSAP zieht auf .04em zusammen */
  color: #f2ede6;
  opacity: 0;
}
.intro__skip {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(242, 237, 230, .38);
}
/* Im Intro überspringen die Figuren ihre Ruhephase und legen sofort los */
.intro__icons .s-bird, .intro__icons .s-birdwing { animation-delay: -1.55s; }
.intro__icons .s-cat, .intro__icons .s-cattail { animation-delay: -1.6s; }
.intro__icons .s-trike, .intro__icons .s-wheel { animation-delay: -.35s; }

/* ════════════════ HEADER ════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background-color .4s var(--ease-soft), box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.header__inner {
  max-width: 1540px; margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .4s var(--ease-out);
}
.header.is-scrolled .header__inner { height: var(--header-h-small); }

/* Großzügiger Logo-Auftritt: doppelte Größe, überlappt die transparente Leiste,
   daneben die drei animierten Logo-Symbole (Fenster · Türen · Böden) */
.header__brand { display: flex; align-items: flex-start; gap: 16px; align-self: flex-start; margin-top: 14px; flex-shrink: 0; }
.header__logo, .header__symbols { flex-shrink: 0; }
/* Navigation nimmt den Restplatz und darf enger werden — rutscht nie unter Logo/Symbole */
.nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.header__actions { flex-shrink: 0; }
.header__logo img {
  height: calc((var(--header-h) - 34px) * 2);
  width: auto;
  transition: height .4s var(--ease-out), transform .3s var(--ease-out);
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .35));
}
.header.is-scrolled .header__brand { align-self: center; margin-top: 0; align-items: center; }
.header.is-scrolled .header__logo img { height: calc(var(--header-h-small) - 22px); }
.header__logo:hover img { transform: scale(1.03); }
.header__symbols { display: flex; gap: 8px; margin-top: 6px; transition: margin .4s var(--ease-out); }
.header__symbols .hicon {
  width: 46px; height: auto; aspect-ratio: 1;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .3));
  transition: width .4s var(--ease-out);
}
.header.is-scrolled .header__symbols { margin-top: 0; }
.header.is-scrolled .header__symbols .hicon { width: 30px; }

/* Navigation */
.nav__list { display: flex; align-items: center; gap: clamp(2px, 1vw, 18px); flex-wrap: nowrap; }
.nav__link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  font-weight: 500; font-size: .98rem;
  color: var(--text);
  position: relative;
  border-radius: 100px;
  transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__link--cta {
  background: var(--accent); color: var(--accent-contrast);
  padding-inline: 22px;
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 40%, transparent); }
.nav__chev {
  width: 8px; height: 8px;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s var(--ease-out);
}
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(-135deg) translateY(-2px); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  transition: border-color .25s, background-color .25s, transform .25s var(--ease-out);
}
.icon-btn:hover { border-color: var(--text-muted); transform: rotate(12deg); }
:root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }

.burger { display: none; flex-direction: column; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════ MEGA-MENÜ (Bildnavigation) ════════════════ */
.mega {
  position: fixed; left: 0; right: 0; top: var(--header-h);
  z-index: 999;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  visibility: hidden; opacity: 0;
  transform: translateY(-12px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility 0s .35s, top .4s var(--ease-out);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.header.is-scrolled .mega { top: var(--header-h-small); max-height: calc(100vh - var(--header-h-small)); }
.mega.is-open {
  visibility: visible; opacity: 1; transform: translateY(0);
  transition-delay: 0s;
}
.mega__inner { max-width: 1540px; margin-inline: auto; padding: clamp(28px, 3.5vw, 52px) var(--gutter) clamp(30px, 3.5vw, 56px); }

.mega__tiles {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.tile { display: block; }
.tile__media {
  display: block; position: relative; overflow: hidden;
  border-radius: 10px; aspect-ratio: 4 / 3;
  background: var(--bg-deep);
}
.tile__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.tile:hover .tile__media img { transform: scale(1.07); }
.tile__media::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 10px;
  transition: box-shadow .3s;
}
.tile:hover .tile__media::after { box-shadow: inset 0 0 0 2px var(--accent); }
.tile__label {
  display: block; margin-top: 10px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: color .25s;
}
.tile:hover .tile__label { color: var(--accent); }

.mega__cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding-top: clamp(24px, 2.5vw, 36px);
  border-top: 1px solid var(--line);
}
.mega__col h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.02rem; margin-bottom: 12px; color: var(--wood);
}
.mega__col h3 + ul + h3 { margin-top: 22px; }
.mega__col li a {
  display: inline-block; padding-block: 4px;
  color: var(--text-muted); font-size: .94rem;
  transition: color .2s, transform .25s var(--ease-out);
}
.mega__col li a:hover { color: var(--text); transform: translateX(5px); }

/* ════════════════ MOBILE NAV ════════════════ */
.mobilenav {
  position: fixed; inset: 0; z-index: 900;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  visibility: hidden; opacity: 0;
  transition: opacity .4s var(--ease-out), visibility 0s .4s;
}
.mobilenav.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.mobilenav ul { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.mobilenav a {
  font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem); font-weight: 400;
  display: inline-block; padding: 8px 20px;
  opacity: 0; transform: translateY(24px);
  transition: color .25s;
}
.mobilenav.is-open a { opacity: 1; transform: none; }
.mobilenav a:hover { color: var(--accent); }
.mobilenav__meta { margin-top: 40px; text-align: center; color: var(--text-muted); font-size: .95rem; }

/* ════════════════ HERO ════════════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 2.4s var(--ease-soft);
}
.hero__media video.is-front { opacity: 1; }
/* Ruhiges Holz-Video ist selbst dunkel — Scrim nur noch sanft für Lesbarkeit */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, transparent 30%),
    linear-gradient(100deg, rgba(10, 9, 8, .6) 4%, rgba(10, 9, 8, .18) 55%, transparent 100%);
}
:root[data-theme="light"] .hero__scrim {
  background:
    linear-gradient(to top, var(--bg) 0%, transparent 30%),
    linear-gradient(100deg, rgba(15, 12, 9, .58) 4%, rgba(15, 12, 9, .16) 55%, transparent 100%);
}
.hero__dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero__content {
  position: relative; z-index: 2;
  max-width: 1540px; width: 100%;
  margin-inline: auto; padding-inline: var(--gutter);
  padding-top: var(--header-h);
  color: #f5f1ea;
}
.hero__eyebrow {
  font-size: .88rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(245, 241, 234, .75);
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 8.8vw, 7.4rem);
  line-height: 1.04;
  letter-spacing: -.005em;
  margin-bottom: clamp(20px, 2.6vw, 34px);
  display: flex; flex-wrap: wrap; column-gap: .28em;
}
.hero__word { display: inline-block; overflow: hidden; }
.hero__word .char { display: inline-block; }
/* Akzentwort: Farbkontrast im Holzton */
.hero__word--accent { color: var(--wood); }
:root[data-theme="dark"] .hero__word--accent { color: #d9ab77; }
.hero__sub {
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  color: rgba(245, 241, 234, .85);
  max-width: 560px;
  margin-bottom: clamp(28px, 3.4vw, 44px);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 34px;
  border-radius: 100px;
  font-weight: 600; font-size: 1rem;
  transition: transform .3s var(--ease-out), box-shadow .3s, background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn--primary { background: var(--brand-red); color: #fff; }
.btn--primary:hover { box-shadow: 0 14px 36px rgba(227, 0, 10, .38); }
.btn--ghost {
  border: 1.5px solid rgba(245, 241, 234, .45); color: #f5f1ea;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: #f5f1ea; background: rgba(245, 241, 234, .1); }
.btn--light { background: #f5f1ea; color: #1b1815; }
.btn--light:hover { box-shadow: 0 14px 36px rgba(0, 0, 0, .3); }
.btn__note {
  font-size: .78rem; font-weight: 500; opacity: .7;
  border-left: 1px solid currentColor; padding-left: 10px; margin-left: 2px;
}

.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(245, 241, 234, .7); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
}
.hero__scroll-line {
  width: 1.5px; height: 52px;
  background: linear-gradient(to bottom, transparent, currentColor);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--brand-red);
  animation: scrollpulse 2.2s var(--ease-soft) infinite;
}
@keyframes scrollpulse { 60% { top: 100%; } 100% { top: 100%; } }

/* ════════════════ SECTION-KOPFE ════════════════ */
.section__eyebrow {
  font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  margin-bottom: 18px;
}
.section__eyebrow--light { color: #ffb3b7; }
.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.1;
  letter-spacing: 0;
}
.section__title--light { color: #f5f1ea; }
.section__head { margin-bottom: clamp(44px, 6vw, 80px); }
.section__intro { max-width: 620px; margin-top: 22px; color: var(--text-muted); font-size: 1.08rem; }

/* Zeilen-Reveal (per JS in .line gewrappt) */
.split-lines .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.split-lines .line > span { display: inline-block; }

/* ════════════════ STATEMENT ════════════════ */
.statement { padding-bottom: clamp(70px, 9vw, 120px); }
.statement__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.3;
  letter-spacing: -.01em;
  max-width: 1060px;
}
.statement__facts {
  margin-top: clamp(52px, 7vw, 90px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: clamp(32px, 4vw, 52px);
}
.fact__num {
  display: block;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: -.02em;
  color: var(--wood);
  line-height: 1.1;
}
.fact__label { color: var(--text-muted); font-size: .98rem; }

/* ════════════════ PRODUKTE ════════════════ */
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pcard {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s;
}
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
/* Alle Karten einheitlich: gleiches Seitenverhältnis, gleiche Höhe */
.pcard__media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
}
.pcard__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__body { padding: 20px 20px 24px; position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 128px; }
.pcard__body h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.18rem;
  padding-right: 28px;
}
.pcard__body p { color: var(--text-muted); font-size: .88rem; max-width: 40ch; }
.pcard__arrow {
  position: absolute; right: 18px; top: 20px;
  font-size: 1.2rem; color: var(--accent);
  transform: translateX(-8px); opacity: 0;
  transition: transform .35s var(--ease-out), opacity .3s;
}
.pcard:hover .pcard__arrow { transform: none; opacity: 1; }

/* ════════════════ HOVEBA-ICONS (Graustufen, animiert) ════════════════
   SVG-Markup kommt aus js/icons.js; hier Farben, Größen und Animationen.
   Trigger: Hover auf .tile (Mega-Menü) bzw. .pcard (Produktkarten). */
.hicon { display: block; }
.hicon svg { width: 100%; height: 100%; display: block; }
.hicon .tile { fill: url(#tileGrad); }
.hicon .tile-edge { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1.5; }
.hicon .w { stroke: #f4f4f4; } .hicon .l { stroke: #c9cccf; }
.hicon .m { stroke: #9aa0a6; } .hicon .d { stroke: #6a7076; }
.hicon .fw { fill: #f4f4f4; } .hicon .fl { fill: #c9cccf; }
.hicon .fm { fill: #9aa0a6; } .hicon .fd { fill: #6a7076; }
.hicon svg [class] { stroke-linecap: round; stroke-linejoin: round; }

/* Intro: die drei Logo-Icons (Fenster · Türen · Böden, wie auf der alten Website) */
.intro__icons { display: flex; gap: 20px; }
.intro__icons .hicon {
  width: clamp(52px, 8vw, 68px); height: auto; aspect-ratio: 1;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .45));
}

/* ── Story-Animationen der Logo-Symbole ──
   Vogel fliegt aus dem Fenster · Katze geht zur Tür hinaus · Ball rollt über den Boden.
   Endlos-Zyklen mit Ruhephasen; unterschiedliche Längen (7s/9s/6s) halten sie asynchron. */
.s-bird { animation: story-bird 7s ease-in-out infinite; }
.s-birdwing { transform-box: fill-box; transform-origin: 15% 85%; animation: story-wing 7s ease-in-out infinite; }
@keyframes story-bird {
  0%, 26% { transform: translate(0, 0); opacity: 1; }
  46%     { transform: translate(22px, -22px); opacity: 1; }
  54%     { transform: translate(34px, -34px); opacity: 0; }
  55%, 86% { transform: translate(0, 0); opacity: 0; }
  94%, 100% { transform: translate(0, 0); opacity: 1; }
}
@keyframes story-wing {
  0%, 26%, 56%, 100% { transform: rotate(0deg); }
  29%, 35%, 41%, 47% { transform: rotate(-42deg); }
  32%, 38%, 44%, 50% { transform: rotate(10deg); }
}
.s-cat { animation: story-cat 9s ease-in-out infinite; }
.s-cattail { transform-box: fill-box; transform-origin: 90% 90%; animation: story-tail 9s ease-in-out infinite; }
@keyframes story-cat {
  0%, 20%  { transform: translate(-14px, 0); opacity: 0; }
  25%      { transform: translate(-8px, 0); opacity: 1; }
  32%      { transform: translate(-3px, -1.4px); }
  39%      { transform: translate(3px, 0); }
  46%      { transform: translate(9px, -1.4px); }
  53%      { transform: translate(15px, 0); opacity: 1; }
  60%      { transform: translate(24px, 0); opacity: 0; }
  100%     { transform: translate(24px, 0); opacity: 0; }
}
@keyframes story-tail {
  0%, 20%, 60%, 100% { transform: rotate(0deg); }
  28%, 44% { transform: rotate(-14deg); }
  36%, 52% { transform: rotate(8deg); }
}
/* Dreirad rollt über die Dielen (folgt der leichten Diagonale), Räder drehen sich */
.s-trike { animation: story-trike 7s cubic-bezier(.42, 0, .58, 1) infinite; }
.s-wheel { transform-box: fill-box; transform-origin: 50% 50%; animation: story-wheelspin 7s cubic-bezier(.42, 0, .58, 1) infinite; }
@keyframes story-trike {
  0%, 8%  { transform: translateX(-38px); opacity: 0; }
  14%     { transform: translateX(-28px); opacity: 1; }
  56%     { transform: translateX(26px); opacity: 1; }
  64%     { transform: translateX(38px); opacity: 0; }
  100%    { transform: translateX(38px); opacity: 0; }
}
@keyframes story-wheelspin {
  0%, 8% { transform: rotate(0deg); }
  64%, 100% { transform: rotate(520deg); }
}

/* ── Icon-Animationen (identisch zu icons.html, Trigger angepasst) ── */
.a-sash { transform-origin: 44px 38px; transition: transform .8s cubic-bezier(.34, 1.3, .5, 1); }
:is(.tile, .pcard):hover .a-sash { transform: skewY(-9deg) scaleX(.55); }
.a-rays { opacity: 0; transition: opacity .5s .25s; }
:is(.tile, .pcard):hover .a-rays { opacity: 1; }
.a-door { transform-origin: 42px 60px; transition: transform .8s cubic-bezier(.34, 1.3, .5, 1); }
:is(.tile, .pcard):hover .a-door { transform: skewY(-8deg) scaleX(.62); }
.a-gap { opacity: 0; transition: opacity .45s .2s; }
:is(.tile, .pcard):hover .a-gap { opacity: 1; }
.a-slide { transition: transform .8s cubic-bezier(.45, 0, .2, 1); }
:is(.tile, .pcard):hover .a-slide { transform: translateX(20px); }
.a-p1, .a-p2, .a-p3 { transition: transform .55s cubic-bezier(.34, 1.3, .5, 1); }
.a-p2 { transition-delay: .1s; } .a-p3 { transition-delay: .2s; }
:is(.tile, .pcard):hover :is(.a-p1, .a-p2, .a-p3) { transform: translateX(-9px); }
.a-awn { transform-origin: 60px 42px; transform: scaleY(.15); transition: transform .8s cubic-bezier(.34, 1.2, .5, 1); }
:is(.tile, .pcard):hover .a-awn { transform: scaleY(1); }
.a-shine { transform: translateX(-46px); opacity: 0; }
:is(.tile, .pcard):hover .a-shine { animation: icon-shine 1.6s ease-in-out infinite; }
@keyframes icon-shine {
  15% { opacity: 1; }
  60% { transform: translateX(52px); opacity: 0; }
  100% { transform: translateX(52px); opacity: 0; }
}
.a-w1, .a-w2, .a-w3 { transform-origin: left center; transform: scaleX(0); transition: transform .5s cubic-bezier(.34, 1.3, .5, 1); }
.a-w2 { transition-delay: .12s; } .a-w3 { transition-delay: .24s; }
:is(.tile, .pcard):hover :is(.a-w1, .a-w2, .a-w3) { transform: scaleX(1); }
.a-rtl, .a-rtr { transition: transform .7s cubic-bezier(.45, 0, .2, 1); }
:is(.tile, .pcard):hover .a-rtl { transform: translateX(-13px); }
:is(.tile, .pcard):hover .a-rtr { transform: translateX(13px); }
.a-trowel { transition: transform .9s cubic-bezier(.45, 0, .2, 1); }
:is(.tile, .pcard):hover .a-trowel { transform: translate(26px, -20px) rotate(4deg); }
.a-smooth { opacity: 0; transition: opacity .7s .3s; }
:is(.tile, .pcard):hover .a-smooth { opacity: 1; }
.a-shl { transform-origin: 34px 60px; transition: transform .7s cubic-bezier(.34, 1.2, .5, 1); }
.a-shr { transform-origin: 86px 60px; transition: transform .7s cubic-bezier(.34, 1.2, .5, 1); }
:is(.tile, .pcard):hover .a-shl { transform: skewY(6deg) scaleX(1.55); }
:is(.tile, .pcard):hover .a-shr { transform: skewY(-6deg) scaleX(1.55); }
.a-glass { transform: translateX(-30px); opacity: 0; }
:is(.tile, .pcard):hover .a-glass { animation: icon-shine 1.8s ease-in-out infinite; }
.a-leaf { transform-origin: 78px 84px; }
:is(.tile, .pcard):hover .a-leaf { animation: icon-sway 1.6s ease-in-out infinite; }
@keyframes icon-sway { 50% { transform: rotate(9deg); } }
.a-handle { transform-origin: 52px 60px; }
:is(.tile, .pcard):hover .a-handle { animation: icon-press 1.5s cubic-bezier(.34, 1.3, .5, 1) infinite; }
@keyframes icon-press { 25% { transform: rotate(16deg); } 55% { transform: rotate(0deg); } }

/* ════════════════ SCHMUCKBALKEN (Trenner) ════════════════ */
.divider {
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 0; overflow: visible;
}
.divider__rule {
  flex: 1; height: 1px;
  background: linear-gradient(to var(--rule-dir, right), transparent, var(--line));
}
.divider__rule:first-child { --rule-dir: right; }
.divider__rule:last-child { --rule-dir: left; }
/* Dezente, monochrome Ornamentik im Holzton */
.divider__gem { display: flex; gap: 8px; align-items: center; }
.divider__gem i {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--wood);
  opacity: .55;
}
.divider__gem i:nth-child(2) {
  width: 7px; height: 7px; border-radius: 1px;
  transform: rotate(45deg);
  background: none;
  border: 1px solid var(--wood);
  opacity: .8;
}
.divider__bar {
  position: relative;
  width: clamp(120px, 18vw, 220px); height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--wood) 75%, transparent) 25%, color-mix(in srgb, var(--wood) 75%, transparent) 75%, transparent);
  overflow: visible;
  transform-origin: center;
}
/* Feiner Lichtlauf entlang der Linie */
.divider__bar::after {
  content: ""; position: absolute; top: -0.5px; left: 0;
  width: 34px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 244, 224, .8), transparent);
  opacity: 0;
  transform: translateX(-40px);
}
.divider.is-inview .divider__bar::after { animation: sheen 4.5s var(--ease-soft) 1s infinite; }
@keyframes sheen {
  0% { transform: translateX(-40px); opacity: 0; }
  12% { opacity: 1; }
  38% { transform: translateX(220px); opacity: 0; }
  100% { transform: translateX(220px); opacity: 0; }
}

/* ════════════════ MATERIALWELT ════════════════ */
.materials {
  margin-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--line);
  padding-top: clamp(30px, 4vw, 46px);
}
.materials__title {
  font-family: var(--font-display); font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.materials__list { display: flex; flex-wrap: wrap; gap: clamp(20px, 3.4vw, 46px); }
.material { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.material__chip {
  display: block; width: clamp(64px, 7vw, 88px); height: clamp(64px, 7vw, 88px);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  transition: transform .4s var(--ease-out), border-color .3s;
}
.material__chip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.material:hover .material__chip { transform: translateY(-5px); border-color: var(--wood); }
.material:hover .material__chip img { transform: scale(1.15); }
.material__name { font-size: .86rem; color: var(--text-muted); letter-spacing: .04em; }

/* ════════════════ AUSSTELLUNG (ruhiges Galerie-Panel) ════════════════ */
.ausstellung { background: var(--bg-deep); transition: background-color .5s var(--ease-soft); }
.section__head--row {
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}
.ausstellung__text {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 46ch;
}
.ausstellung__film {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.ausstellung__film video {
  width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block;
}
.ausstellung__film figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 22px 24px 16px;
  font-size: .85rem; letter-spacing: .04em;
  color: rgba(245, 241, 234, .85);
  background: linear-gradient(to top, rgba(10, 9, 8, .72), transparent);
}
.ausstellung__footer {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 26px;
  margin-top: clamp(26px, 3.4vw, 40px);
}
.ausstellung__badges {
  display: flex; flex-wrap: wrap; gap: 14px;
}
.badge-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 20px;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 3px;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.badge-card:hover { border-color: var(--wood); transform: translateY(-3px); }
.badge-card strong { font-size: .98rem; }
.badge-card span { font-size: .85rem; color: var(--text-muted); }

/* ════════════════ UNIKATE (3D-Slider) ════════════════ */
.slider3d {
  position: relative;
  padding-inline: var(--gutter);
}
.slider3d__stage {
  position: relative;
  height: calc(clamp(280px, 40vw, 560px) * 0.625 + 26px);
  perspective: 1500px;
  transform-style: preserve-3d;
}
.slider3d__card {
  position: absolute;
  left: 50%; top: 0;
  width: clamp(280px, 40vw, 560px);
  margin-left: calc(clamp(280px, 40vw, 560px) / -2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
  transition: transform .8s var(--ease-out), opacity .8s var(--ease-out), filter .8s;
  cursor: pointer;
  will-change: transform;
}
.slider3d__card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.slider3d__card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 22px 16px;
  font-family: var(--font-display); font-weight: 400; font-size: 1.1rem;
  color: #f5f1ea;
  background: linear-gradient(to top, rgba(10, 9, 8, .82), transparent);
}
.slider3d__card[aria-hidden="true"] { pointer-events: none; }
.slider3d__stage { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.slider3d__stage.is-dragging { cursor: grabbing; }
.slider3d__stage.is-dragging .slider3d__card { transition: none; }
.slider3d__card img { -webkit-user-drag: none; pointer-events: none; }
.slider3d__nav {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
  margin-top: clamp(26px, 3.4vw, 42px);
}
.slider3d__btn {
  position: absolute; top: 50%; z-index: 120;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .35);
  background: rgba(12, 11, 10, .55); color: #fff;
  backdrop-filter: blur(6px);
  font-size: 1.25rem;
  display: grid; place-items: center;
  transition: border-color .25s, background-color .25s, color .25s, transform .3s var(--ease-out);
}
/* Pfeile sitzen auf Hoehe der Buehne (Stage), nicht des ganzen Blocks */
.slider3d { --card-w: clamp(280px, 40vw, 560px); }
.slider3d__btn { top: calc(var(--card-w) * 0.3125 + 1px); transform: translateY(-50%); }
.slider3d__btn--prev { left: max(24px, calc(50% - clamp(280px, 40vw, 560px) / 2 - 210px)); }
.slider3d__btn--next { right: max(24px, calc(50% - clamp(280px, 40vw, 560px) / 2 - 210px)); }
.slider3d__btn:hover { border-color: var(--wood); color: var(--wood); background: rgba(12, 11, 10, .8); transform: translateY(-50%) scale(1.08); }
:root[data-theme="light"] .slider3d__btn { background: rgba(255, 255, 255, .7); color: var(--text); border-color: var(--line); }
:root[data-theme="light"] .slider3d__btn:hover { background: #fff; }
.slider3d__caption {
  min-width: 220px; text-align: center;
  font-family: var(--font-display); font-size: 1.08rem;
  color: var(--text-muted);
}

/* ════════════════ SERVICE ════════════════ */
.service { background: var(--bg-deep); transition: background-color .5s var(--ease-soft); }
.service__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.scard {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 34px;
  background: var(--bg);
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .4s;
}
.scard:hover { transform: translateY(-6px); border-color: var(--wood); box-shadow: var(--shadow); }
.scard__num {
  font-size: .8rem; letter-spacing: .14em; color: var(--wood); font-weight: 600;
  display: block; margin-bottom: 18px;
}
.scard h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin-bottom: 10px; }
.scard p { color: var(--text-muted); font-size: .95rem; }
.scard--downloads ul { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.scard--downloads a {
  color: var(--blue); font-weight: 500; font-size: .95rem;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.scard--downloads a:hover { border-bottom-color: var(--blue); }

/* ════════════════ UNTERNEHMEN ════════════════ */
.unternehmen__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.unternehmen__text p { margin-top: 20px; color: var(--text-muted); font-size: 1.05rem; max-width: 54ch; }
.unternehmen__text p strong { color: var(--text); }
.unternehmen__seals { display: flex; gap: 26px; margin-top: 36px; align-items: center; }
.unternehmen__seals img { height: 58px; width: auto; border-radius: 8px; background: #fff; padding: 6px; }
/* Bild-Duo: Beratung + Flotte */
.unternehmen__stack { display: flex; flex-direction: column; gap: 18px; }
.unternehmen__pic {
  overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
}
.unternehmen__pic img {
  width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.unternehmen__pic:hover img { transform: scale(1.04); }
.unternehmen__pic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 18px 12px;
  font-size: .82rem; letter-spacing: .04em;
  color: rgba(245, 241, 234, .85);
  background: linear-gradient(to top, rgba(10, 9, 8, .65), transparent);
}

/* ════════════════ AKTUELLES ════════════════ */
.news__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.ncard {
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s;
  cursor: pointer;
}
.ncard:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.ncard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ncard__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.ncard:hover .ncard__media img { transform: scale(1.05); }
.ncard__date {
  position: absolute; left: 14px; top: 14px;
  padding: 6px 14px; border-radius: 100px;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(12, 10, 8, .72); color: #e8c9a0;
  backdrop-filter: blur(6px);
}
.ncard__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ncard__body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }
.ncard__body p { color: var(--text-muted); font-size: .93rem; flex: 1; }
.ncard__more {
  color: var(--accent); font-weight: 600; font-size: .9rem;
  display: inline-flex; gap: 8px; align-items: center;
}
.ncard__more span { transition: transform .3s var(--ease-out); }
.ncard:hover .ncard__more span { transform: translateX(5px); }

/* ════════════════ KONTAKT ════════════════ */
.kontakt { background: var(--bg-deep); transition: background-color .5s var(--ease-soft); }
.kontakt__grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 90px);
}
.kontakt address { font-style: normal; margin-top: 26px; font-size: 1.08rem; color: var(--text-muted); }
.kontakt address strong { color: var(--text); }
.kontakt__links { margin-top: 30px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.kontakt__big {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text);
  transition: color .25s;
  display: inline-block;
}
.kontakt__big:hover { color: var(--accent); }
.kontakt__mail { color: var(--blue); font-size: 1.05rem; }
.kontakt__mail:hover { text-decoration: underline; }

.kontakt__zeiten h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin-bottom: 20px; }
.kontakt__zeiten table { width: 100%; border-collapse: collapse; }
.kontakt__zeiten th, .kontakt__zeiten td {
  text-align: left; padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.kontakt__zeiten th { font-weight: 600; white-space: nowrap; padding-right: 24px; }
.kontakt__zeiten td span { color: var(--text-muted); font-size: .88rem; }
.kontakt__note { margin-top: 18px; color: var(--text-muted); font-size: .9rem; }

/* Kontakt: Formular + Anfahrt */
.kontakt__grid--tools { margin-top: clamp(52px, 7vw, 90px); align-items: stretch; }
.kform, .kmap {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg);
  padding: clamp(24px, 3vw, 38px);
  display: flex; flex-direction: column;
}
.kform h3, .kmap h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.5rem;
  margin-bottom: 22px;
}
.kform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kform__field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; flex: 1; }
.kform__field span { font-size: .85rem; font-weight: 500; color: var(--text-muted); }
.kform__field input,
.kform__field select,
.kform__field textarea {
  font: inherit; color: var(--text);
  background: var(--bg-raise);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px;
  transition: border-color .25s, box-shadow .25s;
}
.kform__field textarea { resize: vertical; min-height: 120px; }
.kform__field input:focus,
.kform__field select:focus,
.kform__field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent);
}
.kform__field input:user-invalid,
.kform__field textarea:user-invalid { border-color: var(--accent); }
.kform__check {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .85rem; color: var(--text-muted);
  margin-bottom: 22px; cursor: pointer;
}
.kform__check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-blue); flex-shrink: 0; }
.kform__check a { color: var(--blue); text-decoration: underline; }
.kform__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: auto; }
.kform__hint { font-size: .88rem; color: var(--wood); }

.kmap__canvas {
  flex: 1; min-height: 320px;
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-raise);
  z-index: 0; /* Leaflet-Panes unter Header/Menü halten */
}
/* OSM-Kacheln im Dunkelmodus elegant invertieren */
:root[data-theme="dark"] .kmap__canvas .leaflet-tile-pane {
  filter: invert(1) hue-rotate(180deg) brightness(.88) contrast(.92) saturate(.5);
}
:root[data-theme="dark"] .kmap__canvas .leaflet-container,
.kmap__canvas .leaflet-container { background: var(--bg-raise); }
.kmap__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.btn--ghost-line {
  border: 1.5px solid var(--line); color: var(--text);
  padding: 13px 22px; font-size: .9rem;
}
.btn--ghost-line:hover { border-color: var(--wood); color: var(--wood); }
.kmap__note { margin-top: 14px; font-size: .8rem; color: var(--text-muted); }

/* ════════════════ FOOTER ════════════════ */
.footer { border-top: 1px solid var(--line); padding-block: clamp(50px, 7vw, 90px) 34px; }
.footer__top {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  margin-bottom: 50px;
}
.footer__brand p { margin-top: 14px; font-family: var(--font-display); color: var(--text-muted); }
.footer__nav { display: flex; gap: clamp(40px, 6vw, 90px); }
.footer__nav a { color: var(--text-muted); font-size: .95rem; display: inline-block; padding-block: 5px; transition: color .2s; }
.footer__nav a:hover { color: var(--text); }
.footer__legal { color: var(--text-muted); font-size: .85rem; border-top: 1px solid var(--line); padding-top: 26px; }

/* ════════════════ BARRIEREFREIHEIT ════════════════ */
.a11y { position: fixed; right: 22px; bottom: 22px; z-index: 2000; }
.a11y__toggle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand-blue); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .3s var(--ease-out), background-color .3s;
}
.a11y__toggle:hover { transform: scale(1.08); }
.a11y__toggle[aria-expanded="true"] { background: var(--brand-red); }
.a11y__panel {
  position: absolute; right: 0; bottom: 70px;
  width: min(320px, calc(100vw - 44px));
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  visibility: hidden; opacity: 0; transform: translateY(10px) scale(.97);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s .3s;
}
.a11y__panel.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.a11y__panel h2 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; margin-bottom: 18px; }
.a11y__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.a11y__row + .a11y__row { border-top: 1px solid var(--line); }
.a11y__label { font-size: .95rem; font-weight: 500; }
.a11y__group { display: flex; gap: 6px; }
.a11y__group button {
  min-width: 42px; height: 38px; padding-inline: 8px;
  border: 1px solid var(--line); border-radius: 8px;
  font-weight: 600; font-size: .9rem;
  transition: background-color .2s, border-color .2s, color .2s;
}
.a11y__group button sup { font-size: .65em; }
.a11y__group button.is-active { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.a11y__switch {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 16px; font-size: .88rem; font-weight: 500;
  transition: background-color .2s, border-color .2s, color .2s;
}
.a11y__switch[aria-pressed="true"] { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.a11y__hint { margin-top: 14px; font-size: .78rem; color: var(--text-muted); }

/* Vorlese-Hervorhebung */
.tts-active { outline: 3px solid var(--brand-blue) !important; outline-offset: 4px; border-radius: 4px; }

/* Lupe */
.lens {
  position: fixed; z-index: 4000;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 3px solid var(--brand-blue);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .2);
  overflow: hidden;
  pointer-events: none;
  display: none;
  background: var(--bg);
}
.lens.is-on { display: block; }
.lens__inner { position: absolute; inset: 0; }
.lens__inner iframe {
  border: 0;
  transform-origin: 0 0;
  pointer-events: none;
}

/* ════════════════ RESPONSIVE ════════════════ */
/* Mittlere Breiten: Symbole nicht mehr neben, sondern unter das Logo (kosten dann keine
   Zeilenbreite); die große Logo-Grafik überlappt die Leiste ohnehin nach unten */
@media (max-width: 1560px) {
  .header__brand { flex-direction: column; gap: 6px; }
  .header__symbols { margin-top: 0; }
  .header.is-scrolled .header__brand { flex-direction: row; gap: 12px; }
}
/* Kompakte Leiste: Menü enger, Umschalter schmaler — Logo bleibt groß, nichts überlappt */
@media (max-width: 1400px) {
  .nav__link { padding: 10px 10px; font-size: .92rem; }
  .nav__link--cta { padding-inline: 16px; }
  .header__inner { gap: 14px; }
}
@media (max-width: 1280px) {
  /* Bei schmaler Leiste die Logo-Symbole ausblenden, nie das Logo stauchen */
  .header__symbols { display: none; }
  .nav__link { padding: 10px 8px; font-size: .88rem; }
  .nav__link--cta { padding-inline: 14px; }
}
/* Unter 1300px passt die volle Menüzeile (mit Übersetzer und Google-Pille) nicht mehr
   neben das große Logo: Burger-Menü ab hier (statt erst bei 860px) */
@media (max-width: 1360px) {
  .nav { display: none; }
  .burger { display: flex; }
}

@media (max-width: 1100px) {
  .mega__tiles { grid-template-columns: repeat(4, 1fr); }
  .mega__cols { grid-template-columns: repeat(2, 1fr); }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .service__grid { grid-template-columns: repeat(2, 1fr); }
  .news__grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}

@media (max-width: 860px) {
  :root { --header-h: 92px; --header-h-small: 68px; }
  .header__symbols { display: none; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .pcard__body { min-height: 0; }
  .pcard__body p { display: none; }
  .statement__facts { grid-template-columns: 1fr; gap: 26px; }
  .unternehmen__grid, .kontakt__grid, .section__head--row { grid-template-columns: 1fr; }
  .section__head--row { align-items: start; }
  .ausstellung__film video { aspect-ratio: 16 / 10; }
  .ausstellung__footer .btn { width: 100%; justify-content: center; }
  .unternehmen__img { order: -1; }
  .unternehmen__img img { aspect-ratio: 16 / 10; }
  .service__grid { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; }
  .hero__title { font-size: clamp(2.9rem, 13.5vw, 4.6rem); }
  .br-desktop { display: none; }
  .a11y { right: 16px; bottom: 16px; }
  .slider3d { --card-w: min(78vw, 420px); }
  .slider3d__stage { height: calc(min(78vw, 420px) * 0.625 + 20px); }
  .slider3d__btn { width: 44px; height: 44px; }
  .slider3d__btn--prev { left: 8px; }
  .slider3d__btn--next { right: 8px; }
  /* max() statt min(): bei negativen Werten liefert min() den falschen (weiter negativen) Wert */
  .slider3d__card { width: min(78vw, 420px); margin-left: max(-39vw, -210px); }
  .kform__row { grid-template-columns: 1fr; gap: 0; }
  .kmap__canvas { min-height: 260px; }
}

@media (max-width: 520px) {
  .pgrid { grid-template-columns: 1fr; }
  .pcard__body p { display: block; }
}

@media (max-width: 520px) {
  .btn { padding: 15px 26px; font-size: .95rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .badge-card { width: 100%; }
}

/* ════════════════ REDUZIERTE BEWEGUNG ════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__scroll-line::after { animation: none; }
}


/* ════════════════ PRODUKTSEITEN (phero, tm, gallery, cta-band — von Staging portiert) ════════════════ */

.kform__check a, .kform__check span.is-off { color: var(--blue); text-decoration: underline; }


/* ════════════════════════════════════════════════════════════════
   UNTERSEITEN-LAYER
   Komponenten für alle Produkt-, Themen- und Rechtsseiten.
   Nutzt ausschließlich die vorhandenen Tokens (--bg, --accent, …).
   ════════════════════════════════════════════════════════════════ */

/* ─────────── Seiten-Hero (Bild oder Video, kompakter als Start-Hero) ─────────── */
.phero {
  position: relative; display: flex; align-items: flex-end;
  min-height: clamp(420px, 62vh, 640px);
  overflow: hidden;
}

.phero--slim { min-height: clamp(300px, 40vh, 420px); }

.phero__media { position: absolute; inset: 0; }

.phero__media img, .phero__media video {
  width: 100%; height: 100%; object-fit: cover;
}

.phero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, #0c0b0a 42%, transparent) 0%, color-mix(in srgb, #0c0b0a 18%, transparent) 45%, color-mix(in srgb, #0c0b0a 82%, transparent) 100%);
}

.phero__content {
  position: relative; z-index: 1; width: 100%;
  padding: clamp(110px, 16vh, 160px) 0 clamp(36px, 6vh, 64px);
  color: #f2ede6;
}

.phero__content .container { display: grid; gap: 14px; }

.phero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05; max-width: 16ch;
}

.phero__lead { max-width: 60ch; font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.65; color: color-mix(in srgb, #f2ede6 88%, transparent); }

.phero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 600;
  color: color-mix(in srgb, #f2ede6 80%, transparent);
}



/* Hero ohne Bild (Rechtsseiten, Kontakt) */
.phero--plain { min-height: 0; background: var(--bg-deep); }

.phero--plain .phero__content { color: var(--text); padding-top: clamp(140px, 18vh, 190px); }

.phero--plain .phero__lead { color: var(--text-muted); }

.phero--plain .phero__eyebrow { color: color-mix(in srgb, var(--text) 70%, transparent); }


/* ─────────── Breadcrumb ─────────── */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85rem; }

.crumbs a { color: inherit; text-decoration: none; opacity: .75; transition: opacity .2s; }

.crumbs a:hover { opacity: 1; }

.crumbs li { display: flex; align-items: center; gap: 6px; list-style: none; }

.crumbs li + li::before { content: "·"; opacity: .5; }

.crumbs [aria-current] { opacity: 1; font-weight: 600; }


/* ─────────── Geschwister-Navigation (Chips) ─────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }

.chips a, .chips span {
  display: inline-block; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text); text-decoration: none;
  font-size: .92rem; transition: border-color .25s, background .25s, transform .25s;
  background: var(--bg-raise);
}

.chips a:hover, .chips span:hover { border-color: var(--accent); transform: translateY(-2px); }

.chips a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }


/* ─────────── Text-Media-Zeilen (abwechselnd) ─────────── */
.tm { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }

.tm + .tm { margin-top: clamp(48px, 8vw, 96px); }

.tm--flip .tm__media { order: 2; }

.tm__media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

.tm__media img, .tm__media video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; }

.tm__media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 18px; font-size: .85rem; color: #f2ede6;
  background: linear-gradient(transparent, rgba(12, 11, 10, .72));
}

.tm__body h2, .tm__body h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; margin-bottom: 14px;
}

.tm__body p { line-height: 1.75; color: color-mix(in srgb, var(--text) 86%, transparent); }

.tm__body p + p { margin-top: 12px; }

.tm__kicker {
  display: block; text-transform: uppercase; letter-spacing: .2em;
  font-size: .74rem; font-weight: 600; color: var(--accent); margin-bottom: 10px;
}

.tm__body .btn { margin-top: 22px; }


/* Merkmal-Liste mit Logo-Punkt */
.hlist { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }

.hlist li { position: relative; padding-left: 24px; line-height: 1.6; color: color-mix(in srgb, var(--text) 88%, transparent); }

.hlist li::before {
  content: ""; position: absolute; left: 2px; top: .58em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
}


/* ─────────── Galerie ─────────── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }

.gallery--2 { grid-template-columns: repeat(2, 1fr); }

.gallery--4 { grid-template-columns: repeat(4, 1fr); }

.gallery figure {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-raise);
}

.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }

.gallery figure:hover img { transform: scale(1.045); }

.gallery figcaption { padding: 12px 16px; font-size: .88rem; color: color-mix(in srgb, var(--text) 78%, transparent); }

.gallery--swatch img { aspect-ratio: 1 / 1; }


/* ─────────── CTA-Band ─────────── */
.cta-band { position: relative; overflow: hidden; background: var(--bg-deep); }

.cta-band .container {
  display: grid; grid-template-columns: 1.2fr auto; gap: clamp(24px, 4vw, 56px);
  align-items: center; padding-top: clamp(48px, 8vw, 88px); padding-bottom: clamp(48px, 8vw, 88px);
}

.cta-band h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.12;
}

.cta-band p { margin-top: 12px; max-width: 56ch; line-height: 1.7; color: color-mix(in srgb, var(--text) 80%, transparent); }

.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 900px) {

  .tm, .tm--flip { grid-template-columns: 1fr; }

  .tm--flip .tm__media { order: 0; }

  .gallery, .gallery--4 { grid-template-columns: repeat(2, 1fr); }

  .cta-band .container { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {

  .gallery, .gallery--2, .gallery--4 { grid-template-columns: 1fr; }

  .phero__content { padding-top: 130px; }
}


/* ════════════════ VORÜBERGEHEND DEAKTIVIERTE MENÜPUNKTE ════════════════ */
/* Unterseiten sind noch nicht freigegeben — Einträge bleiben sichtbar, aber ohne Link */
/* Präsentationsmodus: deaktivierte Einträge sehen aktiv aus (Hover bleibt), führen aber nirgendwohin */
.is-off { cursor: pointer; }

.mega__col li span.is-off { display: inline-block; padding-block: 4px; color: var(--text-muted); font-size: .94rem; transition: color .2s, transform .25s var(--ease-out); }

.mega__col li span.is-off:hover { color: var(--text); transform: translateX(5px); }


/* ════════════════ VERLAUF + HOLZKANTE (aus dem Katalog) ════════════════
   Der Katalog-Hintergrund: Anthrazit hell oben links nach fast Schwarz unten rechts.
   Liegt fest hinter der ganzen Seite; Hero und Seiten-Hero laufen weich hinein. */
body { position: relative; }
body::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom right, #2c2a27 0%, #1c1a18 45%, #0f0e0d 100%);
}
:root[data-theme="light"] body::before {
  background: linear-gradient(to bottom right, #fbf9f5 0%, #f3efe8 45%, #e6e0d6 100%);
}
:root[data-theme="dark"] body { background: transparent; }
:root[data-theme="light"] body { background: transparent; }
/* Sektionen ohne eigene Fläche: der Verlauf läuft ununterbrochen durch */
:is(.ausstellung, .service, .kontakt, .cta-band, .phero--plain) { background: transparent; }
.hero__media, .phero__media {
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 76%, transparent 100%);
}
.hero__scrim { opacity: .9; }

/* Holzkante: das Register des Katalogs als Balken am RECHTEN Rand (neben der Scrollleiste),
   erscheint nach dem Hero und zeigt das aktuelle Kapitel als stehende Schrift */
.kante {
  position: fixed; right: 0; top: 0; bottom: 0; z-index: 90;
  width: 34px; pointer-events: none;
  background: url("../assets/img/kante-holz.jpg") center / cover;
  box-shadow: -3px 0 18px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateX(100%);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
.kante::after { /* feine Lichtkante wie im Druck */
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 1px;
  background: rgba(255, 236, 210, .28);
}
.kante.is-on { opacity: 1; transform: none; }
.kante__label {
  position: absolute; right: 100%; top: 50%;
  margin-right: 12px;
  writing-mode: vertical-rl; transform: translateY(-50%);
  font-size: .66rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap;
  transition: opacity .35s;
}
.kante__label.is-swap { opacity: 0; }
:root[data-theme="light"] .kante { box-shadow: -3px 0 18px rgba(0, 0, 0, .18); }
/* Bedienhilfe-Knopf rueckt vor die Kante */
.a11y { right: 56px; }
@media (max-width: 1100px) { .kante { width: 16px; } .kante__label { display: none; } .a11y { right: 34px; } }

/* Scrollleiste in den Farben der Holzkante (Chrome/Edge/Safari + Firefox) */
html { scrollbar-width: auto; scrollbar-color: #8a5f38 #14120f; }
html::-webkit-scrollbar { width: 14px; }
html::-webkit-scrollbar-track { background: #14120f; border-left: 1px solid rgba(255, 236, 210, .08); }
html::-webkit-scrollbar-thumb {
  background: url("../assets/img/kante-holz.jpg") center / cover, #8a5f38;
  border: 2px solid #14120f; border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 210, .22);
}
html::-webkit-scrollbar-thumb:hover { box-shadow: inset 0 0 0 1px rgba(255, 236, 210, .5); }
:root[data-theme="light"] { scrollbar-color: #a4774b #e9e4dc; }
:root[data-theme="light"] html::-webkit-scrollbar-track, :root[data-theme="light"]::-webkit-scrollbar-track { background: #e9e4dc; }
:root[data-theme="light"]::-webkit-scrollbar-thumb { border-color: #e9e4dc; }

/* ════════════════ SEITEN-HERO: WIND (dezent) ════════════════
   Eine Kopie des Hero-Bildes liegt nur über den Pflanzen-/Stoffzonen (weiche Ellipsen-Maske)
   und wird durch einen SVG-Verschiebungsfilter leicht bewegt. Ohne Zone: ruhiges Atmen. */
.phero__wind {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; will-change: filter;
}
.phero__media--drift img { animation: phero-drift 38s ease-in-out infinite alternate; transform-origin: 50% 60%; }
@keyframes phero-drift { from { transform: scale(1); } to { transform: scale(1.06); } }
/* Lichtstreif: ein weicher Sonnenstreifen wandert langsam über Tür- und Innenraum-Motive */
.phero__media--licht::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 70%; z-index: 1;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 238, 210, .04) 28%, rgba(255, 238, 210, .14) 44%, rgba(255, 246, 228, .22) 50%, rgba(255, 238, 210, .14) 56%, rgba(255, 238, 210, .04) 72%, transparent 100%);
  filter: blur(22px);
  mix-blend-mode: screen; pointer-events: none;
  animation: phero-licht 22s ease-in-out infinite;
}
@keyframes phero-licht { 0% { transform: translateX(0); } 50% { transform: translateX(240%); } 100% { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .phero__wind { display: none; }
  .phero__media--drift img { animation: none; }
  .phero__media--licht::before { display: none; }
}


/* ════════════════ KARRIERE ════════════════ */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.benefit {
  padding: 26px 24px; border: 1px solid var(--line); border-radius: 18px;
  background: color-mix(in srgb, var(--bg-raise) 55%, transparent);
  transition: border-color .3s, transform .3s;
}
.benefit:hover { border-color: var(--wood); transform: translateY(-3px); }
.benefit__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--wood) 45%, transparent);
  color: var(--wood); margin-bottom: 16px;
}
.benefit__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; margin-bottom: 8px; }
.benefit p { color: var(--text-muted); font-size: .92rem; line-height: 1.55; }

.jobs { display: grid; gap: 22px; margin-top: 44px; }
.job {
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: color-mix(in srgb, var(--bg-raise) 55%, transparent);
  scroll-margin-top: 120px;
}
.job__head { padding: 30px 34px 22px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.job__kicker { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wood); font-weight: 600; }
.job__head h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.job__head h3 small { font-size: .55em; color: var(--text-muted); font-family: var(--font-body); }
.job__body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; padding: 26px 34px; }
.job__body h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
.job__body .hlist { margin-top: 12px; }
.job__note { margin-top: 16px; font-size: .9rem; color: var(--text-muted); line-height: 1.6; }
.job__chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.job__chips li { padding: 7px 13px; border: 1px solid var(--line); border-radius: 100px; font-size: .86rem; color: color-mix(in srgb, var(--text) 88%, transparent); }
.job__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 34px 26px; border-top: 1px solid var(--line); }
.job__meta { font-size: .85rem; color: var(--text-muted); letter-spacing: .04em; }

.apply { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; margin-top: 44px; align-items: start; }
.apply__aside { display: grid; gap: 22px; }
.apply__box { padding: 28px 30px; border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--bg-raise) 55%, transparent); }
.apply__box h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin-bottom: 14px; }
.apply__box p { color: var(--text-muted); font-size: .95rem; line-height: 1.6; }
.apply__contact { display: flex; flex-direction: column; gap: 4px; margin: 14px 0; }
.apply__contact a { color: var(--text); font-weight: 600; font-size: 1.05rem; }
.apply__contact a:hover { color: var(--wood); }
.apply__hours, .apply__addr { font-size: .9rem !important; margin-top: 10px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 16px; }
.steps li { position: relative; padding-left: 46px; counter-increment: step; display: grid; gap: 3px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--wood);
}
.steps strong { font-weight: 600; }
.steps span { color: var(--text-muted); font-size: .92rem; line-height: 1.55; }

.upload {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 26px 20px; border: 1.5px dashed color-mix(in srgb, var(--wood) 55%, transparent); border-radius: 16px;
  color: var(--text-muted); cursor: pointer; transition: border-color .25s, background-color .25s;
}
.upload:hover, .upload:focus-visible, .upload.is-over { border-color: var(--wood); background: color-mix(in srgb, var(--wood) 8%, transparent); }
.upload svg { color: var(--wood); }
.upload strong { color: var(--text); font-weight: 500; }
.upload small { font-size: .82rem; }
.upload__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.upload__list li {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 12px; font-size: .9rem;
}
.upload__list li .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload__list li .size { color: var(--text-muted); font-size: .82rem; }
.upload__list li button { color: var(--text-muted); font-size: 1.2rem; line-height: 1; padding: 0 4px; }
.upload__list li button:hover { color: var(--accent); }
.upload__list li.is-error { border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.kform__hint.is-ok { color: #7fbf8a; }
.kform__hint.is-err { color: var(--accent); }

@media (max-width: 1000px) { .benefits { grid-template-columns: repeat(2, 1fr); } .apply { grid-template-columns: 1fr; } .job__body { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } .job__head, .job__body, .job__foot { padding-left: 22px; padding-right: 22px; } }

/* Karriere: Karten deutlicher vom Verlauf abheben */
.benefit, .jobs .job, .apply .kform, .apply__box {
  background: color-mix(in srgb, var(--bg-raise) 72%, #33302b 28%);
  border-color: rgba(255, 255, 255, .13);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.jobs .job { overflow: visible; }
.job__head, .job__foot { border-color: rgba(255, 255, 255, .1); }
.apply .kform__field input, .apply .kform__field select, .apply .kform__field textarea { background: rgba(0, 0, 0, .28); border-color: rgba(255, 255, 255, .14); }
:root[data-theme="light"] .benefit, :root[data-theme="light"] .jobs .job, :root[data-theme="light"] .apply .kform, :root[data-theme="light"] .apply__box {
  background: #fff; border-color: var(--line); box-shadow: 0 14px 36px rgba(0, 0, 0, .08);
}
:root[data-theme="light"] .apply .kform__field input, :root[data-theme="light"] .apply .kform__field select, :root[data-theme="light"] .apply .kform__field textarea { background: #faf8f4; border-color: var(--line); }

/* Karriere: Videos + Anzeigen */
.videos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
@media (min-width: 1201px) { .vtile__play { width: 50px; height: 50px; transform: translate(-50%, -62%); } .vtile:hover .vtile__play { transform: translate(-50%, -62%) scale(1.06); } }
@media (max-width: 1200px) { .videos { grid-template-columns: repeat(3, 1fr); } }
.vtile {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .12); background: #000; padding: 0; text-align: left;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .34); transition: transform .35s var(--ease-out), border-color .3s;
}
.vtile:hover, .vtile:focus-visible { transform: translateY(-4px); border-color: var(--wood); }
.vtile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out); opacity: .92; }
.vtile:hover img { transform: scale(1.05); }
.vtile__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(12, 11, 10, .62); border: 1px solid rgba(255, 255, 255, .5); color: #fff; backdrop-filter: blur(4px);
  transition: background-color .3s, transform .3s;
}
.vtile:hover .vtile__play { background: var(--accent); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.06); }
.vtile__name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  background: linear-gradient(to top, rgba(12, 11, 10, .85), transparent); color: #fff; display: grid; gap: 1px; pointer-events: none;
}
.vtile__name b { font-size: .92rem; font-weight: 600; letter-spacing: .04em; }
.vtile__name small { font-size: .72rem; color: rgba(255, 255, 255, .78); letter-spacing: .06em; text-transform: uppercase; }
.vtile iframe, .vtile video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }
.videos__note { margin-top: 18px; font-size: .85rem; color: var(--text-muted); }
:root[data-theme="light"] .vtile { border-color: var(--line); box-shadow: 0 14px 36px rgba(0, 0, 0, .12); }
.job__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.adbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); width: 100%; }
.adbox::backdrop { background: rgba(8, 7, 6, .82); backdrop-filter: blur(6px); }
.adbox__inner { background: var(--bg-raise); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; overflow: hidden; }
.adbox img { display: block; width: 100%; max-height: 78vh; object-fit: contain; background: #fff; }
.adbox__bar { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 18px; }
@media (max-width: 900px) { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .videos { grid-template-columns: 1fr; } }


/* ════════════════ UNIKAT-SHOWROOM ════════════════ */
.plates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.plate { border: 1px solid rgba(255, 255, 255, .13); border-radius: 20px; overflow: hidden; background: color-mix(in srgb, var(--bg-raise) 72%, #33302b 28%); box-shadow: 0 18px 46px rgba(0, 0, 0, .34); transition: border-color .3s, transform .3s; }
.plate:hover { border-color: var(--wood); transform: translateY(-3px); }
.plate__card { display: block; width: 100%; padding: 0; text-align: left; color: inherit; }
.plate__card img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #fff; display: block; padding: 8px; box-sizing: border-box; }
.plate__body { display: grid; gap: 4px; padding: 18px 20px 20px; }
.plate__body b { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.plate__body span { color: var(--text-muted); font-size: .9rem; }
.plate__body em { font-style: normal; color: var(--wood); font-weight: 600; font-size: .95rem; margin-top: 4px; }
.plate.is-open { grid-column: 1 / -1; border-color: var(--wood); }
.plate.is-open .plate__card { display: grid; grid-template-columns: 260px 1fr; align-items: center; }
.plate.is-open .plate__card img { aspect-ratio: auto; height: 180px; }
.plate__detail { padding: 6px 20px 22px; border-top: 1px solid var(--line); }
.plate__hint { font-size: .85rem; color: var(--text-muted); margin: 14px 0 12px; }
.sr-table { width: 100%; border-collapse: collapse; }
.sr-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: .95rem; }
.sr-table td:first-child { width: 96px; }
.sr-table img { width: 84px; height: 56px; object-fit: cover; border-radius: 8px; display: block; }
.sr-table b { display: block; font-weight: 600; }
.sr-table td span { color: var(--text-muted); font-size: .85rem; }
.sr-price { font-family: var(--font-display); font-size: 1.25rem; color: var(--wood); white-space: nowrap; }
.sr-table td:last-child { text-align: right; white-space: nowrap; }
.sr-pdf { color: var(--text-muted); text-decoration: underline; margin-right: 14px; font-size: .9rem; }
.sr-pdf:hover { color: var(--text); }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.sr-sub { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-top: clamp(44px, 6vw, 72px); margin-bottom: 20px; }
.gestelle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gestell { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg-raise) 72%, #33302b 28%); }
.gestell img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.gestell figcaption { padding: 10px 14px 12px; display: grid; gap: 2px; }
.gestell b { font-size: .95rem; }
.gestell span { font-size: .82rem; color: var(--text-muted); }
.sr-list { display: grid; gap: 22px; margin-top: 44px; }
.sr-item { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid rgba(255, 255, 255, .13); border-radius: 22px; overflow: hidden; background: color-mix(in srgb, var(--bg-raise) 72%, #33302b 28%); box-shadow: 0 18px 46px rgba(0, 0, 0, .34); }
.sr-item__media { display: grid; grid-template-columns: 1fr; }
.sr-item__media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.sr-item__media img + img { display: none; }
.sr-item__media--two { grid-template-columns: 1fr 1fr; gap: 0; }
.sr-item__media--two img + img { display: block; }
.sr-item__media--two img { min-height: 320px; max-height: 560px; }
.sr-item__body { padding: 30px 34px; display: flex; flex-direction: column; gap: 12px; }
.sr-item__body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }
.sr-item__body p { color: var(--text-muted); line-height: 1.6; }
.sr-item__price { font-family: var(--font-display); font-size: 2rem; color: var(--wood); display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.sr-item__price small { font-family: var(--font-body); font-size: .8rem; color: var(--text-muted); }
.sr-item__actions { display: flex; gap: 12px; flex-wrap: wrap; }
:root[data-theme="light"] .plate, :root[data-theme="light"] .gestell, :root[data-theme="light"] .sr-item { background: #fff; border-color: var(--line); box-shadow: 0 14px 36px rgba(0, 0, 0, .08); }
@media (max-width: 1000px) { .plates { grid-template-columns: repeat(2, 1fr); } .gestelle { grid-template-columns: repeat(3, 1fr); } .sr-item { grid-template-columns: 1fr; } .plate.is-open .plate__card { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .plates, .gestelle { grid-template-columns: 1fr; } .sr-table td:first-child { display: none; } .sr-table td:last-child { white-space: normal; } }


/* ════════════════ FILM-BLÖCKE (Rubrik-Filme) ════════════════ */
.film { position: relative; margin-top: 44px; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film--portrait { aspect-ratio: 9 / 16; max-width: 420px; margin-left: auto; margin-right: auto; }
.film__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(12, 11, 10, .62); border: 1px solid rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(4px); transition: background-color .3s, transform .3s; }
.film:hover .film__play { background: var(--accent); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.06); }
.film.is-playing .film__play { display: none; }
.filmbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1200px); width: 100%; }
.filmbox::backdrop { background: rgba(8, 7, 6, .9); backdrop-filter: blur(6px); }
.filmbox__inner { position: relative; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, .12); }
.filmbox video { width: 100%; aspect-ratio: 16 / 9; display: block; }
.filmbox__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgba(12, 11, 10, .7); color: #fff; font-size: 1.6rem; line-height: 1; border: 1px solid rgba(255, 255, 255, .35); }
:root[data-theme="light"] .film { border-color: var(--line); box-shadow: 0 18px 48px rgba(0, 0, 0, .15); }

.ausstellung__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }

/* ════════════════ UNIKATE: Querscrollrad unter dem Slider ════════════════ */
.swheel {
  --wx: 0px;
  position: relative; width: min(440px, 72vw); height: 30px; border-radius: 15px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 2px, transparent 2px 14px) 0 0 / auto 100%,
    linear-gradient(180deg, #1a1816 0%, #3a3531 45%, #2a2725 55%, #100f0e 100%);
  background-position: var(--wx) 0, 0 0;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, .12), inset 0 -3px 6px rgba(0, 0, 0, .6), 0 10px 24px rgba(0, 0, 0, .45);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  transition: box-shadow .3s;
}
.swheel.is-dragging { cursor: grabbing; }
.swheel:hover, .swheel:focus-visible { box-shadow: inset 0 2px 4px rgba(255, 255, 255, .18), inset 0 -3px 6px rgba(0, 0, 0, .6), 0 10px 24px rgba(0, 0, 0, .45), 0 0 0 1px var(--wood); outline: none; }
.swheel__ridges { position: absolute; inset: 0; border-radius: inherit; }
.swheel__mark { position: absolute; left: 50%; top: -6px; width: 2px; height: 42px; margin-left: -1px; background: var(--wood); border-radius: 1px; opacity: .9; box-shadow: 0 0 6px rgba(0, 0, 0, .5); }
.swheel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(0,0,0,.55), transparent 22%, transparent 78%, rgba(0,0,0,.55)); pointer-events: none; }
:root[data-theme="light"] .swheel { background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 2px, transparent 2px 14px) 0 0 / auto 100%, linear-gradient(180deg, #d9d4cc 0%, #f4f1ec 45%, #e6e1d9 55%, #bdb6ac 100%); background-position: var(--wx) 0, 0 0; box-shadow: inset 0 2px 4px rgba(255, 255, 255, .8), inset 0 -3px 6px rgba(0, 0, 0, .18), 0 10px 24px rgba(0, 0, 0, .12); }


/* ════════════════ GOOGLE-REZENSIONEN ════════════════ */
.reviews__grid { display: grid; grid-template-columns: minmax(280px, .9fr) 1.6fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.reviews__summary .section__title { margin-bottom: 26px; }
.gbadge {
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 2px; align-items: center;
  padding: 18px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-raise);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}
.gbadge__g { grid-row: 1 / 3; }
.gbadge__score { display: flex; align-items: center; gap: 12px; }
.gbadge__score b { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; line-height: 1; }
.gbadge__meta { font-size: .9rem; color: var(--text-muted); }
.stars { --fill: 100%; position: relative; display: inline-block; width: 110px; height: 20px; }
.stars::before, .stars::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.6l2.9 6.1 6.7.8-4.9 4.6 1.3 6.6L12 17.4l-6 3.3 1.3-6.6L2.4 9.5l6.7-.8z' fill='%23c9b7a3' opacity='.35'/></svg>") left / 22px 20px repeat-x;
}
.stars::after {
  width: var(--fill);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.6l2.9 6.1 6.7.8-4.9 4.6 1.3 6.6L12 17.4l-6 3.3 1.3-6.6L2.4 9.5l6.7-.8z' fill='%23f4b400'/></svg>");
}
.stars--sm { width: 88px; height: 16px; }
.stars--sm::before, .stars--sm::after { background-size: 17.6px 16px; }
.reviews__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.reviews__rail { position: relative; min-width: 0; }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 82vw); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 6px 18px;
  scrollbar-width: none; outline: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.rcard {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px;
  padding: 24px 24px 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-raise);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28); min-height: 250px;
  transition: border-color .3s, transform .35s var(--ease-out);
}
.rcard:hover { border-color: var(--wood); transform: translateY(-4px); }
.rcard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rcard__quote { font-size: .98rem; line-height: 1.65; color: var(--text); flex: 1; }
.rcard__quote a { color: var(--wood); text-decoration: none; white-space: nowrap; }
.rcard__quote a:hover { text-decoration: underline; }
.rcard__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.rcard__avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  font-weight: 600; font-size: .9rem; color: #1b1917; background: linear-gradient(135deg, #e0c19c, #b8895a);
}
.rcard__name { font-weight: 600; font-size: .95rem; }
.rcard__when { display: block; font-size: .8rem; color: var(--text-muted); }
.rcard__gmark { width: 18px; height: 18px; opacity: .85; }
.reviews__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.reviews__btn { position: static; transform: none; width: 48px; height: 48px; }
.reviews__btn:hover { transform: scale(1.08); }
.reviews__btn[disabled] { opacity: .35; pointer-events: none; }
:root[data-theme="light"] .gbadge, :root[data-theme="light"] .rcard { box-shadow: 0 14px 36px rgba(0, 0, 0, .1); }
@media (max-width: 1000px) { .reviews__grid { grid-template-columns: 1fr; } }

/* Google-Bewertung als Kopfzeilen-Symbol */
.gpill {
  display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px 0 11px;
  border-radius: 22px; border: 1px solid var(--line); color: var(--text); text-decoration: none;
  font-size: .95rem; line-height: 1; white-space: nowrap;
  transition: border-color .25s, background-color .25s, transform .25s var(--ease-out);
}
.gpill:hover { border-color: var(--wood); transform: translateY(-2px); }
.gpill__num { font-weight: 600; }
.gpill__star { color: #f4b400; font-size: 1.05rem; margin-top: -2px; }
@media (max-width: 600px) { .gpill { padding: 0 10px; gap: 5px; height: 40px; font-size: .88rem; } .gpill__star { display: none; } }


/* ════════════════ ÜBERSETZER (Google Translate, erst nach Einwilligung) ════════════════ */
.lang { position: relative; }
.lang__btn[aria-expanded="true"] { border-color: var(--wood); color: var(--wood); transform: none; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 1200; width: 300px;
  padding: 16px 16px 14px; border-radius: 18px; border: 1px solid var(--line);
  background: var(--bg-raise); box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.lang__head { font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
.lang__head span { display: block; font-weight: 400; font-size: .8rem; color: var(--text-muted); }
.lang__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lang__list button {
  width: 100%; text-align: left; padding: 8px 10px; border-radius: 10px; font-size: .9rem;
  border: 1px solid transparent; color: var(--text); transition: border-color .2s, background-color .2s;
}
.lang__list button:hover { border-color: var(--wood); }
.lang__list button.is-active { background: var(--wood); color: #1b1917; font-weight: 600; }
.lang__consent { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.lang__consent p { font-size: .82rem; color: var(--text-muted); margin-bottom: 10px; line-height: 1.5; }
.lang__consent .btn { width: 100%; justify-content: center; padding-block: 11px; }
.lang__reset { margin-top: 12px; width: 100%; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); font-size: .88rem; color: var(--text); }
.lang__reset:hover { border-color: var(--wood); }
.mobilenav__lang { margin-top: 26px; padding: 0 22px; }
.mobilenav__langhead { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.mobilenav .lang__list--mobile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; }
.mobilenav .lang__list--mobile li { margin: 0; padding: 0; opacity: 1; transform: none; }
.mobilenav .lang__list--mobile button { border: 1px solid var(--line); border-radius: 10px; font-size: .82rem; padding: 9px 6px; text-align: center; font-family: inherit; }
.mobilenav .lang__list--mobile button.is-active { background: var(--wood); color: #1b1917; }
.mobilenav .lang__consent { margin-top: 14px; }
@media (max-width: 600px) { .lang { display: none; } }
/* Google-Leiste und Werkzeuge unsichtbar halten, Seite nicht nach unten schieben */
body { top: 0 !important; }
.goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .skiptranslate:not(#google_translate_element), .goog-tooltip, .goog-text-highlight { display: none !important; box-shadow: none !important; }
#google_translate_element { position: absolute; left: -9999px; top: 0; }
font[style*="vertical-align"] { vertical-align: inherit !important; }


/* ════════════════ STATEMENT 2.0: Steckbrief-Band + Muster-Kacheln ════════════════ */
.statement .section__eyebrow { margin-bottom: 18px; }
.statement__text { max-width: 980px; }
.statement__facts {
  margin-top: clamp(44px, 6vw, 72px);
  grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: 22px; padding: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0));
  overflow: hidden;
}
.fact { position: relative; padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.fact + .fact::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(180deg, transparent, var(--line) 30%, var(--line) 70%, transparent); }
.fact__ico { width: 34px; height: 34px; color: var(--wood); opacity: .9; margin-bottom: 6px; }
.fact__ico svg { width: 100%; height: 100%; }
.fact__num { font-size: clamp(2.6rem, 4.6vw, 3.9rem); background: linear-gradient(120deg, #e6c69b, var(--wood) 60%, #a9784a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact__label { font-size: .95rem; line-height: 1.5; }
.materials { border-top: 0; padding-top: 0; margin-top: clamp(44px, 6vw, 72px); }
.materials__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.materials__head .section__eyebrow { margin-bottom: 10px; }
.materials__title { font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--text); margin-bottom: 0; max-width: 620px; }
.materials__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.material { align-items: stretch; gap: 0; }
.material__chip {
  width: auto; height: auto; aspect-ratio: 4 / 3; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .3);
}
.material__chip img { transform: none; }
.material:hover .material__chip { transform: translateY(-6px); border-color: var(--wood); }
.material:hover .material__chip img { transform: scale(1.08); }
.material__name { margin-top: 12px; font-family: var(--font-display); font-size: 1.05rem; color: var(--text); letter-spacing: 0; display: flex; flex-direction: column; gap: 2px; }
.material__name small { font-family: var(--font-body); font-size: .78rem; color: var(--text-muted); letter-spacing: .02em; }
:root[data-theme="light"] .statement__facts { background: linear-gradient(180deg, rgba(0, 0, 0, .025), rgba(0, 0, 0, 0)); }
:root[data-theme="light"] .material__chip { box-shadow: 0 12px 28px rgba(0, 0, 0, .12); }
@media (max-width: 1000px) { .materials__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .statement__facts { grid-template-columns: 1fr; }
  .fact + .fact::before { left: 8%; right: 8%; top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent); }
}
@media (max-width: 560px) { .materials__list { grid-template-columns: repeat(2, 1fr); gap: 12px; } .material__name { font-size: .95rem; } .material:last-child { grid-column: span 2; } .material:last-child .material__chip { aspect-ratio: 2 / 1; } }


/* Katalog-Icons unter dem Logo (Desktop), statisch, ohne Animation; beim Scrollen ausgeblendet */
.header__brand { flex-direction: column; align-items: flex-start; gap: 10px; }
.header__symbols--kat { display: flex; gap: 8px; margin: 0 0 0 4px; opacity: 1; transition: opacity .3s var(--ease-soft); }
.header__symbols--kat img { width: 36px; height: 36px; display: block; filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .35)); }
.header.is-scrolled .header__symbols--kat { opacity: 0; pointer-events: none; height: 0; overflow: hidden; margin: 0; }
.header.is-scrolled .header__brand { flex-direction: row; gap: 0; }
@media (max-width: 1360px) { .header__symbols--kat { display: none; } }
/* Sechste Materialkachel "und viele weitere" */
.materials__list { grid-template-columns: repeat(6, 1fr); }
.material__more {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; text-decoration: none; color: var(--text);
  font-family: var(--font-display); font-size: 1.05rem; line-height: 1.25;
  background: linear-gradient(160deg, rgba(200, 155, 109, .18), rgba(200, 155, 109, .04)); border-color: rgba(200, 155, 109, .35);
}
.material__plus { font-size: 2.4rem; line-height: 1; color: var(--wood); font-weight: 300; }
.material--more:hover .material__more { border-color: var(--wood); background: linear-gradient(160deg, rgba(200, 155, 109, .3), rgba(200, 155, 109, .08)); }
@media (max-width: 1000px) { .materials__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .materials__list { grid-template-columns: repeat(2, 1fr); } .material:last-child { grid-column: auto; } .material:last-child .material__chip { aspect-ratio: 4 / 3; } }

/* Mobilmenue scrollbar: Inhalt (Menue + Sprachen + Adresse) ist hoeher als kleine Bildschirme;
   Zentrierung nur, wenn Platz ist, sonst von oben unter der Kopfzeile scrollen */
.mobilenav { display: block; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: calc((var(--header-h) - 34px) * 2 + 44px) 0 40px; }
/* Burger/Schliessen-Kreuz nicht kippen (Hover-Drehung der Icon-Knoepfe gilt hier nicht) */
.burger:hover { transform: none; }
.mobilenav__inner { min-height: calc(100% - 0px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
/* Katalog-Icons buendig mit der Logobreite: Raster ueber die volle Breite der Marke */
.header__brand { position: relative; }
.header__symbols--kat { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; }
.header__symbols--kat img { width: 100%; height: auto; aspect-ratio: 1; }
.header.is-scrolled .header__symbols--kat { height: auto; }
@media (max-width: 1360px) { .header__symbols--kat { display: none; } }

/* Schmale Handys: Kopfzeile verdichten, damit Pille, Hell/Dunkel und Burger nicht ueber den Rand laufen */
@media (max-width: 420px) {
  .header__inner { gap: 8px; }
  .header__actions { gap: 6px; }
  .header__actions .icon-btn { width: 40px; height: 40px; }
  .gpill { height: 40px; padding: 0 9px 0 8px; gap: 4px; font-size: .86rem; }
}
@media (max-width: 345px) { .gpill { display: none; } }
/* Hero-Headline nach der Wort-Animation als ein Satz (fuer den Uebersetzer) */
.hero__title.is-done { display: block; white-space: normal; }
.hero__title.is-done .hero__word { display: inline; overflow: visible; }

/* Hero-Text unter die Katalog-Icons ruecken (Logo + Icon-Reihe ragen ueber die Leiste hinaus) */
@media (min-width: 1301px) { .hero { align-items: flex-start; } .hero__content { padding-top: calc(var(--header-h) + 146px); } }


/* Katalog-Icons: verlinkt, im Dunkelmodus heller und kraeftiger, Leuchten bei Hover */
.header__symbols--kat .kat-link { display: block; border-radius: 6px; transition: transform .25s var(--ease-out); }
.header__symbols--kat img { transition: filter .3s, transform .25s var(--ease-out); }
:root[data-theme="dark"] .header__symbols--kat img { filter: brightness(1.55) contrast(1.15) drop-shadow(0 3px 10px rgba(0, 0, 0, .45)); }
.header__symbols--kat .kat-link:hover img, .header__symbols--kat .kat-link:focus-visible img {
  transform: translateY(-2px);
  filter: brightness(1.9) contrast(1.15) drop-shadow(0 0 6px rgba(255, 214, 160, .85)) drop-shadow(0 0 16px rgba(255, 190, 120, .55));
}
.header.is-scrolled .header__symbols--kat { pointer-events: none; }

/* ════════════════ NAV-VARIANTE EBENHOLZ (html[data-nav="ebony"]) ════════════════
   Pianolack-Bar mit Ebenholz-Maserung, Logo + Menuepunkte + Knoepfe als eingelassene Inlays */
html[data-nav="ebony"] .header { border-bottom: 0; background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html[data-nav="ebony"] .header__inner {
  position: relative; max-width: 1540px; height: 88px; margin: 14px auto 0; padding: 0 18px 0 16px;
  border-radius: 20px; gap: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .04) 38%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .35) 100%),
    url("../assets/img/ebony.jpg") center / auto 100% repeat-x, #0b0908;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -2px 0 rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(0, 0, 0, .35);
  transition: height .35s var(--ease-out), margin .35s var(--ease-out);
}
html[data-nav="ebony"] .header__inner::before { /* Glanzkante oben, wie Klavierlack */
  content: ""; position: absolute; inset: 1px 10px auto 10px; height: 42%; border-radius: 18px 18px 40% 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, 0)); pointer-events: none;
}
html[data-nav="ebony"] .header__inner::after { /* Messing-Kante */
  content: ""; position: absolute; inset: 3px; border-radius: 17px; border: 1px solid rgba(200, 155, 109, .28); pointer-events: none;
}
html[data-nav="ebony"] .header.is-scrolled .header__inner { height: 68px; margin-top: 8px; }
/* Logo als Inlay: sitzt IN der Leiste, nicht mehr darueber hinaus */
html[data-nav="ebony"] .header__brand { flex-direction: row; align-items: center; align-self: center; margin-top: 0; gap: 12px; }
html[data-nav="ebony"] .header__logo { padding: 4px; border-radius: 10px; background: linear-gradient(180deg, #050404, #121010); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .9), inset 0 -1px 0 rgba(255, 255, 255, .06), 0 1px 0 rgba(255, 255, 255, .06); border: 1px solid rgba(200, 155, 109, .35); }
html[data-nav="ebony"] .header__logo img { height: 56px; filter: none; border-radius: 6px; display: block; }
html[data-nav="ebony"] .header.is-scrolled .header__logo img { height: 44px; }
html[data-nav="ebony"] .header__logo:hover img { transform: none; }
/* Katalog-Icons: als kleine Inlay-Kacheln rechts neben dem Logo */
html[data-nav="ebony"] .header__symbols--kat {
  position: static; display: flex; gap: 6px; opacity: 1 !important; height: auto !important; overflow: visible !important; pointer-events: auto !important;
}
html[data-nav="ebony"] .header__symbols--kat .kat-link { padding: 3px; border-radius: 8px; background: linear-gradient(180deg, #050404, #141211); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .85), inset 0 -1px 0 rgba(255, 255, 255, .05); border: 1px solid rgba(200, 155, 109, .25); }
html[data-nav="ebony"] .header__symbols--kat img { width: 30px; height: 30px; }
html[data-nav="ebony"] .header.is-scrolled .header__symbols--kat img { width: 24px; height: 24px; }
/* Menuepunkte als eingelassene Inlays mit Messingrand */
html[data-nav="ebony"] .nav__list { gap: 6px; }
html[data-nav="ebony"] .nav__link {
  padding: 9px 15px; border-radius: 12px; font-size: .93rem; letter-spacing: .01em; color: #e9dcc8;
  background: linear-gradient(180deg, #070606, #151312);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .85), inset 0 -1px 0 rgba(255, 255, 255, .06), 0 1px 0 rgba(255, 255, 255, .05);
  border: 1px solid rgba(200, 155, 109, .22);
  transition: color .25s, border-color .25s, box-shadow .25s;
}
html[data-nav="ebony"] .nav__link::after { display: none; }
html[data-nav="ebony"] .nav__link:hover, html[data-nav="ebony"] .nav__link[aria-expanded="true"] { color: #f4c58f; border-color: rgba(200, 155, 109, .6); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .85), inset 0 0 14px rgba(200, 155, 109, .18), 0 0 12px rgba(200, 155, 109, .18); }
html[data-nav="ebony"] .nav__link--cta { background: linear-gradient(180deg, #ff4b52, #c80f18); color: #fff; border-color: rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 4px rgba(0, 0, 0, .35), 0 6px 16px rgba(220, 20, 30, .35); }
html[data-nav="ebony"] .nav__link--cta:hover { color: #fff; transform: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 18px rgba(255, 60, 70, .55); }
/* Knoepfe rechts ebenfalls eingelassen */
html[data-nav="ebony"] .icon-btn, html[data-nav="ebony"] .gpill {
  background: linear-gradient(180deg, #070606, #151312); border-color: rgba(200, 155, 109, .25); color: #e9dcc8;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .85), inset 0 -1px 0 rgba(255, 255, 255, .06);
}
html[data-nav="ebony"] .icon-btn:hover { border-color: rgba(200, 155, 109, .6); color: #f4c58f; transform: none; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .85), 0 0 12px rgba(200, 155, 109, .2); }
html[data-nav="ebony"] .gpill:hover { transform: none; border-color: rgba(200, 155, 109, .6); }
/* Hero-Abstand: Logo ragt nicht mehr ueber die Leiste, Text kann hoeher beginnen */
@media (min-width: 1301px) { html[data-nav="ebony"] .hero { align-items: center; } html[data-nav="ebony"] .hero__content { padding-top: calc(var(--header-h) + 20px); } }
html[data-nav="ebony"] .mobilenav { padding-top: 120px; }
@media (max-width: 1360px) { html[data-nav="ebony"] .header__symbols--kat { display: none; } }
@media (max-width: 600px) { html[data-nav="ebony"] .header__inner { height: 68px; margin: 8px 8px 0; padding: 0 10px; border-radius: 16px; } html[data-nav="ebony"] .header__logo img { height: 44px; } }

/* Grosses HOVEBA-Logo im Hero ueber dem Text (Standard-Leiste Ebenholz traegt nur das kleine Inlay-Logo) */
.hero__logo { display: block; width: auto; height: clamp(120px, 15vw, 220px); margin-bottom: clamp(22px, 3vw, 40px); filter: drop-shadow(0 12px 34px rgba(0, 0, 0, .45)); }
@media (max-width: 600px) { .hero__logo { height: 110px; margin-bottom: 20px; } }
/* Ebenholz-Bar: Maserung deutlicher (weniger Abdunkelung ueber der Textur) */
html[data-nav="ebony"] .header__inner {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .03) 40%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .22) 100%),
    url("../assets/img/ebony.jpg") center / auto 100% repeat-x, #0b0908;
}


/* ════════════════ TÜREN-UNTERMENÜ unter dem Katalog-Icon ════════════════ */
.kat-drop { position: relative; display: block; }
.kat-drop__menu {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%) translateY(-6px);
  min-width: 150px; padding: 6px; border-radius: 12px; z-index: 1300;
  background: linear-gradient(180deg, #100e0d, #070606); border: 1px solid rgba(200, 155, 109, .35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease-out), visibility 0s .25s;
}
.kat-drop__menu::before { content: ""; position: absolute; left: 50%; top: -6px; width: 10px; height: 10px; margin-left: -5px; transform: rotate(45deg); background: #100e0d; border-left: 1px solid rgba(200, 155, 109, .35); border-top: 1px solid rgba(200, 155, 109, .35); }
.kat-drop:hover .kat-drop__menu, .kat-drop:focus-within .kat-drop__menu, .kat-drop.is-open .kat-drop__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.kat-drop__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: #e9dcc8; font-size: .9rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.kat-drop__menu a i { font-style: normal; font-size: .72rem; color: var(--wood); opacity: .9; width: 12px; }
.kat-drop__menu a:hover { background: rgba(200, 155, 109, .14); color: #f4c58f; }
/* im Ebenholz-Header: Menue etwas naeher an der Kachel */
html[data-nav="ebony"] .kat-drop__menu { top: calc(100% + 8px); }

/* ════════════════ KARRIERE: TEAM-KINO ════════════════ */
.kino { margin-top: 44px; }
.kino__frame {
  padding: 12px; border-radius: 26px; position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .03) 40%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .25) 100%),
    url("../assets/img/ebony.jpg") center / auto 100% repeat-x, #0b0908;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -2px 0 rgba(0, 0, 0, .7);
}
.kino__frame::after { content: ""; position: absolute; inset: 4px; border-radius: 22px; border: 1px solid rgba(200, 155, 109, .3); pointer-events: none; }
.kino__screen { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 6px 18px rgba(0, 0, 0, .8); }
.kino__screen video, .kino__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.kino__poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; color: #fff; }
.kino__poster img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .82; transition: transform .8s var(--ease-out), opacity .4s; }
.kino__poster:hover img { transform: scale(1.03); opacity: .95; }
.kino__poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55) 100%); }
.kino__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(12, 11, 10, .55); border: 1px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px);
  box-shadow: 0 0 0 10px rgba(200, 155, 109, .12), 0 20px 50px rgba(0, 0, 0, .5); transition: background-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.kino__poster:hover .kino__play { background: var(--accent); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 14px rgba(230, 30, 40, .16), 0 20px 50px rgba(0, 0, 0, .5); }
.kino__hint { position: absolute; left: 50%; top: calc(50% + 68px); transform: translateX(-50%); z-index: 2; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.kino.is-playing .kino__poster { display: none; }
.kino__next { position: absolute; left: 16px; right: 16px; bottom: 64px; z-index: 3; padding: 18px 22px; border-radius: 16px; background: rgba(8, 7, 6, .86); border: 1px solid rgba(200, 155, 109, .3); backdrop-filter: blur(6px); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.kino__next[hidden] { display: none; }
.kino__next p { font-family: var(--font-display); font-size: 1.3rem; }
.kino__next p span { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-left: 10px; border-radius: 50%; border: 1px solid var(--wood); color: var(--wood); font-family: var(--font-body); font-size: .95rem; }
.kino__next div { display: flex; gap: 10px; }
.kino__bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 16px 10px 4px; }
.kino__who { display: flex; align-items: baseline; gap: 12px; }
.kino__who b { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: #f5f1ea; }
.kino__who span { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 241, 234, .6); }
.kino__ctrl { display: flex; align-items: center; gap: 8px; }
.kino__btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #e9dcc8;
  background: linear-gradient(180deg, #070606, #151312); border: 1px solid rgba(200, 155, 109, .28);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .85), inset 0 -1px 0 rgba(255, 255, 255, .06); transition: color .25s, border-color .25s, box-shadow .25s;
}
.kino__btn:hover { color: #f4c58f; border-color: rgba(200, 155, 109, .6); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .85), 0 0 12px rgba(200, 155, 109, .22); }
.kino__idx { min-width: 58px; text-align: center; font-size: .85rem; color: rgba(245, 241, 234, .6); letter-spacing: .08em; }
.videos--strip { margin-top: 22px; gap: 12px; }
.videos--strip .vtile { border-radius: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.videos--strip .vtile__play { width: 46px; height: 46px; }
.videos--strip .vtile__play svg { width: 16px; height: 16px; }
.videos--strip .vtile.is-active { border-color: var(--wood); box-shadow: 0 0 0 2px rgba(200, 155, 109, .5), 0 12px 30px rgba(0, 0, 0, .35); }
.videos--strip .vtile.is-active::before { content: "Läuft"; position: absolute; right: 10px; top: 10px; z-index: 2; padding: 4px 9px; border-radius: 100px; background: var(--accent); color: #fff; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.videos--strip .vtile.is-active .vtile__play { display: none; }
.kino__screen:fullscreen { border-radius: 0; }
@media (max-width: 760px) { .kino__frame { padding: 8px; border-radius: 18px; } .kino__screen { border-radius: 12px; } .kino__play { width: 72px; height: 72px; } .kino__hint { display: none; } .kino__who b { font-size: 1.3rem; } .videos--strip { grid-template-columns: repeat(2, 1fr); } }


/* ════════════════ MEGAMENÜ UNIKATE ════════════════ */
.mega__tiles--6 { grid-template-columns: repeat(6, 1fr); }
.mega__cols--unikate { grid-template-columns: 1.1fr 1.1fr 1.3fr; }
.mega__col--cta p { font-size: .92rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.mega__col--cta .btn { margin-bottom: 12px; }
.mega__link { display: block; font-size: .92rem; color: var(--text); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mega__link:hover { color: var(--wood); }
@media (max-width: 1400px) { .mega__tiles--6 { grid-template-columns: repeat(3, 1fr); } }

/* Megamenü Service/Karriere */
.mega__tiles--4 { grid-template-columns: repeat(4, 1fr); }
.mega__jobs li a { display: block; padding: 8px 0; }
.mega__jobs li a b { display: block; font-weight: 600; }
.mega__jobs li a span { display: block; font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
@media (max-width: 1400px) { .mega__tiles--4 { grid-template-columns: repeat(4, 1fr); } }

/* Ebenholz-Leiste: engere Menuepunkte unter 1500 px (vier Megamenue-Pfeile brauchen Platz) */
@media (max-width: 1500px) { html[data-nav="ebony"] .nav__list { gap: 4px; } html[data-nav="ebony"] .nav__link { padding: 9px 11px; font-size: .9rem; } html[data-nav="ebony"] .header__inner { gap: 12px; } }


/* ════════════════ RECHTSSEITEN (Impressum, Datenschutz) ════════════════ */
.legal__body { max-width: 820px; }
.legal__body h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin: clamp(34px, 4vw, 52px) 0 14px; color: var(--text); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; }
.legal__body p strong { color: var(--text); }
.legal__body a { color: var(--wood); text-decoration: none; }
.legal__body a:hover { text-decoration: underline; }
.legal__card { padding: 22px 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-raise); margin-bottom: 22px; }
.legal__card p { margin-bottom: 10px; color: var(--text); }
.legal__card p:last-child { margin-bottom: 0; }
.legal__facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.legal__facts > div { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal__facts dt { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); padding-top: 3px; }
.legal__facts dd { color: var(--text); line-height: 1.6; }
.legal__agency { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 24px 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-raise); }
.legal__agency p { margin: 0; color: var(--text); line-height: 1.7; }
.legal__agencylogo { display: block; flex: 0 0 auto; padding: 8px 4px; }
.legal__agencylogo img { display: block; height: 64px; width: auto; }
.legal__agencylogo img.only-light { display: none; }
:root[data-theme="light"] .legal__agencylogo img.only-light { display: block; }
:root[data-theme="light"] .legal__agencylogo img.only-dark { display: none; }
@media (max-width: 640px) { .legal__facts > div { grid-template-columns: 1fr; gap: 4px; } }


/* ════════════════ HAUSTÜREN: KONFIGURATOREN ════════════════ */
.konfig__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.kcard {
  display: grid; grid-template-columns: 42% 1fr; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-raise); box-shadow: 0 26px 60px rgba(0, 0, 0, .35);
  transition: transform .4s var(--ease-out), border-color .3s;
}
.kcard:hover { transform: translateY(-4px); border-color: var(--wood); }
.kcard__media { position: relative; margin: 0; min-height: 100%; }
.kcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 420px; transition: transform .8s var(--ease-out); }
.kcard:hover .kcard__media img { transform: scale(1.04); }
.kcard__tag { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 100px; background: rgba(12, 11, 10, .62); color: #fff; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; backdrop-filter: blur(4px); }
.kcard__body { padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.kcard__body h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.8rem); }
.kcard__body p { color: var(--text-muted); font-size: .95rem; line-height: 1.65; }
.kcard__chips { list-style: none; margin: 2px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kcard__chips li { padding: 5px 10px; border-radius: 100px; border: 1px solid var(--line); font-size: .76rem; letter-spacing: .04em; color: var(--text); }
.kcard__btn { align-self: flex-start; gap: 8px; margin-top: auto; }
.kcard__note { font-size: .78rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.konfig__steps { list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.konfig__steps li { position: relative; padding: 18px 18px 18px 64px; border-radius: 16px; border: 1px solid var(--line); font-size: .88rem; line-height: 1.55; color: var(--text-muted); }
.konfig__steps li span { position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.05rem; color: #1b1917; background: linear-gradient(135deg, #e0c19c, #b8895a); }
.konfig__steps li b { display: block; color: var(--text); margin-bottom: 3px; }
:root[data-theme="light"] .kcard { box-shadow: 0 18px 44px rgba(0, 0, 0, .12); }
@media (max-width: 1100px) { .konfig__grid { grid-template-columns: 1fr; } .konfig__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kcard { grid-template-columns: 1fr; } .kcard__media img { min-height: 260px; aspect-ratio: 4 / 3; } .konfig__steps { grid-template-columns: 1fr; } }


/* ════════════════ KARRIERE: FAMILIE ════════════════ */
.family { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin: 0 0 clamp(36px, 5vw, 64px); }
.family__photo { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); border: 1px solid var(--line); }
.family__photo img { display: block; width: 100%; height: auto; }
.family__text h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.15; margin: 10px 0 16px; }
.family__text > p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.7; max-width: 56ch; }
.family__facts { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.family__facts li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid var(--wood); }
.family__facts b { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.family__facts span { font-size: .84rem; color: var(--text-muted); }
:root[data-theme="light"] .family__photo { box-shadow: 0 20px 50px rgba(0, 0, 0, .14); }
@media (max-width: 860px) { .family { grid-template-columns: 1fr; } .family__photo { max-width: 420px; margin: 0 auto; } }


/* Unternehmen: Familienfoto + Bildreihe */
.unternehmen__pic--family { max-width: 470px; margin-left: auto; }
.unternehmen__pic--family img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 100%; }
.unternehmen__pic--family figcaption { position: static; padding: 10px 4px 0; background: none; color: var(--text-muted); font-size: .82rem; }
.unternehmen__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.unternehmen__row .unternehmen__pic img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 600px) { .unternehmen__row { grid-template-columns: 1fr; } }


/* SCROLLRAD EBENHOLZ: Rad wie die Navigationsleiste, Rillen als Kerben, Messing-Inlays und Zeiger */
.swheel {
  height: 34px; border-radius: 17px;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .62) 0 1.5px, rgba(255, 255, 255, .12) 1.5px 2.5px, transparent 2.5px 14px) 0 0 / auto 100%,
    linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 38%, rgba(0, 0, 0, .05) 52%, rgba(0, 0, 0, .45) 100%),
    url("../assets/img/ebony.jpg") center / auto 100% repeat-x, #0b0908;
  background-position: var(--wx) 0, 0 0, 0 0, 0 0;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -2px 0 rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(0, 0, 0, .35);
}
.swheel::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; bottom: 5px; border-top: 1px solid rgba(200, 155, 109, .55); border-bottom: 1px solid rgba(200, 155, 109, .55); pointer-events: none; }
.swheel::after { background: linear-gradient(90deg, rgba(0, 0, 0, .7), transparent 20%, transparent 80%, rgba(0, 0, 0, .7)); }
.swheel:hover, .swheel:focus-visible { box-shadow: 0 16px 34px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -2px 0 rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(0, 0, 0, .35), 0 0 0 1px rgba(200, 155, 109, .55), 0 0 18px rgba(200, 155, 109, .25); }
.swheel__mark { top: -8px; width: 3px; height: 50px; margin-left: -1.5px; border-radius: 2px; opacity: 1;
  background: linear-gradient(180deg, #f3ddb9 0%, #c89b6d 45%, #8d6b46 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 0 10px rgba(200, 155, 109, .45); }
.swheel__mark::before { content: ""; position: absolute; top: -4px; left: 50%; width: 9px; height: 9px; transform: translateX(-50%) rotate(45deg); border-radius: 1.5px;
  background: linear-gradient(135deg, #f3ddb9, #a67c52); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .5); }
.swheel__mark::after { content: ""; position: absolute; bottom: -4px; left: 50%; width: 9px; height: 9px; transform: translateX(-50%) rotate(45deg); border-radius: 1.5px;
  background: linear-gradient(135deg, #f3ddb9, #a67c52); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .5); }

/* SCROLLRAD EBENHOLZ, Feinschliff: Klavierlack-Glanz, klarere Kerben, Messingkappen statt Ausblendung */
.swheel {
  -webkit-mask-image: none; mask-image: none;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .75) 0 1.5px, rgba(255, 255, 255, .22) 1.5px 2.5px, transparent 2.5px 13px) 0 0 / auto 100%,
    linear-gradient(180deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, .10) 30%, rgba(255, 255, 255, .02) 46%, rgba(0, 0, 0, .10) 54%, rgba(0, 0, 0, .55) 100%),
    url("../assets/img/ebony.jpg") center / auto 100% repeat-x, #0b0908;
  background-position: var(--wx) 0, 0 0, 0 0, 0 0;
  border: 1px solid rgba(255, 255, 255, .12);
}
.swheel::before { top: 4px; bottom: 4px; border-top-color: rgba(220, 178, 130, .7); border-bottom-color: rgba(220, 178, 130, .7); }
.swheel::after {
  background:
    linear-gradient(90deg, #0b0908 0, #0b0908 12px, rgba(11, 9, 8, 0) 34px, rgba(11, 9, 8, 0) calc(100% - 34px), #0b0908 calc(100% - 12px), #0b0908 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 25%, transparent 75%, rgba(0, 0, 0, .35));
}
.swheel__cap { position: absolute; top: 0; bottom: 0; width: 14px; border-radius: 17px; pointer-events: none; z-index: 2;
  background: linear-gradient(180deg, #f3ddb9 0%, #c89b6d 40%, #8d6b46 75%, #5b4530 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .55); }
.swheel__cap--l { left: 0; border-radius: 17px 4px 4px 17px; }
.swheel__cap--r { right: 0; border-radius: 4px 17px 17px 4px; }

/* Aktuelles: Karten-Links */
a.ncard__more { text-decoration: none; }
a.ncard__more:hover, a.ncard__more:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.ncard__media img { cursor: default; }

/* STATEMENT: ruhiger (weniger plakativ, kleinere Zahlen) */
.statement__text { font-size: clamp(1.2rem, 1.9vw, 1.7rem) !important; line-height: 1.55 !important; max-width: 720px !important; font-weight: 400; letter-spacing: 0; }
.statement__text em, .statement__text .accent, .statement__text strong { color: var(--wood) !important; font-style: normal; font-weight: 400; }
.statement .section__eyebrow { color: var(--wood); }
.statement__facts { margin-top: clamp(28px, 4vw, 44px); background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.fact { padding: clamp(18px, 2.4vw, 26px) clamp(16px, 2.4vw, 28px); gap: 6px; }
.fact__ico { width: 22px; height: 22px; opacity: .75; margin-bottom: 2px; }
.fact__num { font-size: clamp(1.45rem, 2.2vw, 1.9rem) !important; background: none !important; -webkit-background-clip: initial; background-clip: initial; color: var(--wood) !important; letter-spacing: .01em; }
.fact__label { font-size: .88rem; color: var(--text-muted); }

/* STATEMENT: zweispaltig, 2/3 Text + 1/3 Zahlen, naeher an den Hero */
.statement.section { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }
.statement .container { display: grid; grid-template-columns: 2fr 1fr; grid-template-areas: "eyebrow facts" "text facts"; grid-template-rows: auto 1fr; column-gap: clamp(32px, 5vw, 80px); align-items: start; align-content: start; }
.statement .section__eyebrow { grid-area: eyebrow; }
.statement__text { grid-area: text; max-width: none !important; margin: 0 !important; align-self: start; }
.statement .section__eyebrow { margin-bottom: 14px !important; }
.statement__facts { grid-area: facts; grid-template-columns: 1fr; margin-top: 0 !important; border-top: 0; border-left: 1px solid var(--line); padding-left: clamp(18px, 2.5vw, 36px); align-self: start; }
.statement__facts .fact { padding: 10px 0 14px; gap: 4px; }
.statement__facts .fact + .fact::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--line) 0, var(--line) 70%, transparent); }
@media (max-width: 900px) {
  .statement .container { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "text" "facts"; }
  .statement__facts { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; margin-top: 28px !important; }
}

/* ── MOBIL: kein waagerechter Überlauf (Burger rutschte auf Smartphones nach rechts raus) ──
   Der 3D-Slider und ein zu langes <select> machten das Dokument breiter als das Display.
   Auf echten Handys weitet sich dann der Layout-Viewport, der fixe Header wird breiter
   als der Bildschirm und der Burger liegt außerhalb. */
html { overflow-x: clip; }
.slider3d { overflow-x: clip; }
.kform__row > * { min-width: 0; }
.kform__field input, .kform__field select, .kform__field textarea { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
/* Karte am Handy: Zoom-Knöpfe nach unten links, damit das Adress-Fenster sie nicht verdeckt */
@media (max-width: 600px) {
  .kmap__canvas .leaflet-top.leaflet-left { top: auto; bottom: 26px; }
  .kmap__canvas .leaflet-top.leaflet-left .leaflet-control { margin-top: 0; margin-bottom: 0; }
}
/* Burger: die drei Linien mittig im runden Knopf (Flex-Spalte hatte kein justify-content) */
.burger { justify-content: center; align-items: center; }

/* ── GLÜCKSRAD (Prototyp, Seite gluecksrad.html) ── */
.wheelsec { padding-top: 10px; }
.wheel__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.wheel__stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.wheel__ring { position: relative; width: min(100%, 560px); aspect-ratio: 1; border-radius: 50%; padding: 4.5%;
  background: url("../assets/img/ebony.jpg") center / cover, #14100d;
  box-shadow: inset 0 0 0 2px rgba(200, 155, 109, .55), inset 0 0 0 8px rgba(0, 0, 0, .55), 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(200, 155, 109, .25); }
.wheel__ring::before { content: ""; position: absolute; inset: 2%; border-radius: 50%; border: 1px solid rgba(232, 201, 146, .6); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .45), inset 0 0 0 4px rgba(232, 201, 146, .35); pointer-events: none; }
.wheel__ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .12), transparent 55%); pointer-events: none; }
.wheel__svg { width: 100%; height: 100%; display: block; border-radius: 50%; }
.wheel__val { font-family: var(--font-display); font-weight: 400; font-size: 25px; fill: #f6efe4; letter-spacing: .01em; paint-order: stroke; stroke: rgba(0, 0, 0, .4); stroke-width: 3px; }
.wheel__val--num { font-size: 40px; letter-spacing: -.01em; }
.wheel__lbl2 { font-family: var(--font-body); font-weight: 500; font-size: 11.5px; fill: rgba(246, 239, 228, .82); letter-spacing: .05em; paint-order: stroke; stroke: rgba(0, 0, 0, .35); stroke-width: 2px; }
.wheel__hub { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; cursor: pointer;
  border: 2px solid #e8c992; background: radial-gradient(circle at 35% 30%, #f3d9a6, #b98a4e 55%, #7b5a2c 100%);
  color: #2a1c0f; font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.4rem); letter-spacing: .04em;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .55), inset 0 2px 4px rgba(255, 255, 255, .5); transition: transform .2s, filter .2s; }
.wheel__hub::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgba(58, 42, 22, .55); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); pointer-events: none; }
.wheel__hub:hover { transform: translate(-50%, -50%) scale(1.04); filter: brightness(1.06); }
.wheel__hub:disabled { cursor: default; filter: saturate(.6); }
.wheel__pointer { position: absolute; z-index: 3; left: 50%; top: -18px; transform: translateX(-50%); width: 52px; height: 74px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .65)); }
.wheel__hint { margin-top: 18px; font-size: .85rem; color: var(--text-muted); text-align: center; max-width: 46ch; }
.wheel__side { display: grid; gap: 22px; }
.wheel__form, .wheel__result { padding: 30px 32px; border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--bg-raise) 70%, transparent); box-shadow: 0 18px 44px rgba(0, 0, 0, .22); }
.wheel__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin-bottom: 10px; }
.wheel__text { color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.wheel__field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.wheel__field span { font-size: .85rem; font-weight: 500; color: var(--text-muted); }
.wheel__field input { font: inherit; color: var(--text); background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; width: 100%; min-width: 0; }
.wheel__field input:focus { outline: none; border-color: var(--wood); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wood) 25%, transparent); }
.wheel__check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.5; color: var(--text-muted); margin-bottom: 10px; }
.wheel__check input { margin-top: 4px; accent-color: var(--wood); }
.wheel__check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.wheel__check--soft { opacity: .85; }
.wheel__error { color: #ff8a80; font-size: .9rem; margin: 6px 0 4px; }
.wheel__go { margin-top: 8px; width: 100%; justify-content: center; }
.wheel__eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--wood); font-weight: 600; margin-bottom: 8px; }
.wheel__prize { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; margin-bottom: 8px; }
.wheel__code { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; margin: 6px 0 14px; border: 1px dashed var(--wood); border-radius: 14px; background: rgba(0, 0, 0, .25); }
.wheel__code span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.wheel__code b { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .12em; color: #e8c992; }
.wheel__small { font-size: .82rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 16px; }
.wheel__prizes { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding: 0 6px; font-size: .9rem; color: var(--text-muted); }
.wheel__prizes li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.wheel__prizes b { color: var(--text); font-weight: 600; margin-right: 6px; }
.wheel__terms { padding-top: 0; }
.wheel__draft { display: inline-block; margin-left: 10px; font-family: var(--font-body); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wood); border: 1px solid var(--wood); border-radius: 999px; padding: 4px 10px; vertical-align: middle; }
.wheel__termgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; color: var(--text-muted); line-height: 1.6; font-size: .92rem; }
.wheel__termgrid b { color: var(--text); font-weight: 600; }
:root[data-theme="light"] .wheel__form, :root[data-theme="light"] .wheel__result { background: #fff; box-shadow: 0 18px 44px rgba(0, 0, 0, .1); }
:root[data-theme="light"] .wheel__code { background: rgba(0, 0, 0, .04); }
:root[data-theme="light"] .wheel__code b { color: #8a6238; }
@media (max-width: 960px) { .wheel__grid { grid-template-columns: 1fr; } .wheel__termgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .wheel__ring { padding: 4%; } .wheel__val { font-family: var(--font-display); font-weight: 400; font-size: 25px; fill: #f6efe4; letter-spacing: .01em; paint-order: stroke; stroke: rgba(0, 0, 0, .4); stroke-width: 3px; }
.wheel__val--num { font-size: 40px; letter-spacing: -.01em; } .wheel__lbl2 { font-family: var(--font-body); font-weight: 500; font-size: 11.5px; fill: rgba(246, 239, 228, .82); letter-spacing: .05em; paint-order: stroke; stroke: rgba(0, 0, 0, .35); stroke-width: 2px; } .wheel__form, .wheel__result { padding: 22px 20px; } .wheel__prizes, .wheel__termgrid { grid-template-columns: 1fr; } .wheel__pointer { width: 40px; height: 58px; top: -14px; } }

/* ── MATERIALWELT v3: Bild-Laufband mit allen Materialien ── */
.materials { min-width: 0; grid-column: 1 / -1; }
.materials__head { margin-bottom: 18px; }
.matband { position: relative; contain: inline-size; width: 100%; padding: 6px 0 4px; }
.matband__track { overflow: hidden; }
.matband__clip { overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.matband__track { display: flex; width: max-content; animation: matband 110s linear infinite; will-change: transform; }
.matband:hover .matband__track { animation-play-state: paused; }
.matband__seq { display: flex; gap: 14px; padding-right: 14px; }
.mat { flex: 0 0 auto; width: clamp(150px, 13vw, 196px); margin: 0; }
.mat img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 10px 26px rgba(0, 0, 0, .35); transition: transform .4s var(--ease-out), border-color .3s; }
.mat:hover img { transform: translateY(-4px); border-color: var(--wood); }
.mat figcaption { margin-top: 9px; font-family: var(--font-display); font-size: .98rem; color: var(--text); line-height: 1.15; display: flex; flex-direction: column; gap: 2px; }
.mat figcaption small { font-family: var(--font-body); font-size: .72rem; color: var(--text-muted); letter-spacing: .02em; }
@keyframes matband { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .matband__track { animation: none; width: auto; overflow-x: auto; } .matband { mask-image: none; -webkit-mask-image: none; } }
@media (max-width: 760px) { .mat { width: 138px; } .matband__track { animation-duration: 90s; } }
:root[data-theme="light"] .mat img { border-color: rgba(0, 0, 0, .08); box-shadow: 0 10px 26px rgba(0, 0, 0, .12); }

/* ── UNTERNEHMEN: Team-Laufband (22 Fotos aus HOVEBA BILDER/Fav, retuschiert, Gesichter unveraendert) ── */
.unternehmen__grid { row-gap: 26px; }
.teamband { grid-column: 1 / -1; margin-top: 0; contain: inline-size; width: 100%; min-width: 0; }
.teamband__eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--wood); font-weight: 600; margin-bottom: 14px; }
.teamband__clip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.teamband__track { display: flex; width: max-content; animation: teamband 150s linear infinite; will-change: transform; }
.teamband:hover .teamband__track { animation-play-state: paused; }
.teamband__seq { display: flex; gap: 12px; padding-right: 12px; }
.tm-pic { flex: 0 0 auto; width: clamp(128px, 11vw, 168px); margin: 0; }
.tm-pic img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; display: block; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 10px 26px rgba(0, 0, 0, .35); transition: transform .4s var(--ease-out), border-color .3s; }
.tm-pic:hover img { transform: translateY(-4px); border-color: var(--wood); }
@keyframes teamband { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .teamband__track { animation: none; width: auto; overflow-x: auto; } .teamband__clip { mask-image: none; -webkit-mask-image: none; } }
@media (max-width: 760px) { .tm-pic { width: 120px; } .teamband__track { animation-duration: 120s; } }
:root[data-theme="light"] .tm-pic img { border-color: rgba(0, 0, 0, .08); box-shadow: 0 10px 26px rgba(0, 0, 0, .12); }

/* ── KONTAKT: Luftbild Firmengelände (mit Solaranlage, 09/2026) ── */
.kontakt__luftbild { position: relative; margin: clamp(44px, 6vw, 76px) 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(0, 0, 0, .35); }
.kontakt__luftbild img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 58%; }
.kontakt__luftbild figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 16px; padding: 44px 22px 16px;
  font-size: .82rem; letter-spacing: .02em; color: #f4f0ea; background: linear-gradient(to top, rgba(10, 9, 8, .72), rgba(10, 9, 8, 0)); pointer-events: none; }
.kontakt__grid--tools { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 760px) { .kontakt__luftbild img { aspect-ratio: 16 / 10; object-position: 38% 58%; } .kontakt__luftbild figcaption { flex-direction: column; gap: 2px; padding: 36px 16px 12px; } }
:root[data-theme="light"] .kontakt__luftbild { box-shadow: 0 18px 44px rgba(0, 0, 0, .12); }

/* ── WARTUNGSSEITE (wartung.html, nach Entwurf Carmen 09/2026) ── */
.wartung__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.wartung__grid .section__head { margin-bottom: 0; }
.benefits--3 { grid-template-columns: repeat(3, 1fr); margin-top: 34px; }
.wartung__aside { display: grid; gap: 18px; position: sticky; top: 120px; }
.wbox { padding: 26px 28px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--bg-raise) 55%, transparent); }
.wbox h3 { display: flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wood); font-weight: 600; margin-bottom: 12px; }
.wbox .hlist { margin-top: 6px; }
.wbox--tipp { border-color: color-mix(in srgb, var(--wood) 45%, transparent); }
.wbox--tipp p { color: color-mix(in srgb, var(--text) 86%, transparent); line-height: 1.65; }
.wbox__ico { display: inline-flex; width: 22px; height: 22px; color: var(--wood); }
.wbox__ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wartung__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.wartung__btns .btn { margin-top: 0; }
.scard__more { display: inline-block; margin-top: 16px; font-size: .9rem; font-weight: 600; color: var(--wood); border-bottom: 1px solid transparent; transition: border-color .25s; }
.scard__more:hover { border-bottom-color: var(--wood); }
@media (max-width: 1100px) { .benefits--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) { .wartung__grid { grid-template-columns: 1fr; } .wartung__aside { position: static; } }
@media (max-width: 560px) { .benefits--3 { grid-template-columns: 1fr; } }

/* ══════════ CARMEN 14.09.2026: Social, Icons statisch, Zeiten, Mietpark/Downloads, Produktwelt ══════════ */
.social-btn { text-decoration: none; }
.social-btn:hover { transform: none; color: var(--wood); border-color: var(--wood); }
@media (max-width: 1500px) { .social-btn { width: 38px; height: 38px; } .social-btn svg { width: 17px; height: 17px; } .header__actions { gap: 6px; } .gpill .gpill__num { display: none; } .gpill { padding: 0 10px 0 9px; } }
/* 15.09.2026: Instagram/Facebook auch in der Burger-Ansicht (Tablet + Smartphone) oben in der Kopfzeile zeigen */
@media (max-width: 420px) { .social-btn { width: 36px; height: 36px; } .social-btn svg { width: 16px; height: 16px; } }
@media (max-width: 345px) { .social-btn { display: none; } }
@media (max-width: 560px) { .psub__head { flex-direction: column; align-items: flex-start; gap: 4px; } }
.mobilenav__social { display: flex; justify-content: center; gap: 22px; margin-top: 14px; }
.mobilenav__social a { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--text); text-decoration: none; }
.mobilenav__social svg { width: 20px; height: 20px; }
.header__symbols--kat .kat-link--static { cursor: default; }
.header__symbols--kat .kat-link--static:hover img { transform: none; filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .35)); }
:root[data-theme="dark"] .header__symbols--kat .kat-link--static:hover img { filter: brightness(1.55) contrast(1.15) drop-shadow(0 3px 10px rgba(0, 0, 0, .45)); }
.ausstellung__badges--3 .badge-card { flex: 1 1 240px; }
.ausstellung__badges--3 .badge-card strong { text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: var(--wood); }
.ausstellung__badges--3 .badge-card span { line-height: 1.55; color: var(--text); }
.ausstellung__badges--3 .badge-card a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.kontakt__zeiten td span a { color: inherit; }
.unternehmen__social { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.unternehmen__social-head { width: 100%; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.soc { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; transition: border-color .3s, transform .3s var(--ease-out); }
.soc:hover { border-color: var(--wood); transform: translateY(-2px); }
.soc svg { width: 22px; height: 22px; color: var(--wood); flex: 0 0 auto; }
.soc span { display: flex; flex-direction: column; line-height: 1.2; }
.soc strong { font-size: .92rem; }
.soc em { font-style: normal; font-size: .78rem; color: var(--text-muted); }
/* Mietpark + Downloads (wartung.html) */
.section__lead { max-width: 60ch; color: var(--text-muted); margin-top: 14px; }
.mietpark__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.mcard { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-raise); }
.mcard img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mcard figcaption { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; }
.mcard strong { font-family: var(--font-display); font-weight: 400; font-size: 1.08rem; }
.mcard span { font-size: .86rem; color: var(--text-muted); }
#mietpark .wartung__btns { margin-top: 28px; }
.dl-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dl-list a { display: flex; flex-direction: column; gap: 3px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); color: var(--text); text-decoration: none; transition: border-color .3s, transform .3s var(--ease-out); }
.dl-list a:hover { border-color: var(--wood); transform: translateY(-3px); }
.dl-list strong { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; }
.dl-list span { font-size: .86rem; color: var(--text-muted); }
@media (max-width: 1000px) { .mietpark__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mietpark__grid, .dl-list { grid-template-columns: 1fr; } }
/* Produktwelt: 6 Hauptbereiche, Unterraster, Bereichsbloecke */
.pmain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pmain__tile { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); overflow: hidden; cursor: pointer; text-align: left; color: var(--text); font: inherit; transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s; }
.pmain__tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pmain__tile.is-active { border-color: var(--wood); box-shadow: 0 0 0 1px var(--wood), var(--shadow); }
.pmain__media { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.pmain__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.pmain__tile:hover .pmain__media img { transform: scale(1.05); }
.pmain__body { display: flex; align-items: center; gap: 12px; padding: 16px 18px 18px; }
.pmain__title { font-family: var(--font-display); font-size: 1.22rem; flex: 1 1 auto; }
.pmain__count { font-size: .78rem; color: var(--text-muted); white-space: nowrap; }
.pmain__chev { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--wood); transition: transform .3s var(--ease-out), border-color .3s; }
.pmain__tile.is-active .pmain__chev { transform: rotate(180deg); border-color: var(--wood); }
.psub { position: relative; margin-top: 18px; border: 1px solid var(--wood); border-radius: var(--radius); background: var(--bg-raise); padding: 22px 22px 24px; }
.psub__close { position: absolute; right: 16px; top: 16px; background: none; border: 1px solid var(--line); color: var(--text-muted); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .78rem; cursor: pointer; }
.psub__close:hover { border-color: var(--wood); color: var(--text); }
.psub__head { display: flex; align-items: baseline; gap: 16px; margin: 0 110px 14px 0; }
.psub__head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }
.psub__all { font-size: .84rem; color: var(--wood); text-decoration: none; border-bottom: 1px solid transparent; }
.psub__all:hover { border-bottom-color: var(--wood); }
.psub__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.psub__item { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); color: var(--text); text-decoration: none; transition: transform .3s var(--ease-out), border-color .3s; }
.psub__item:hover { transform: translateY(-4px); border-color: var(--wood); }
.psub__item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.psub__item span { display: block; padding: 9px 11px 11px; font-size: .86rem; font-weight: 600; }
.pareas { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: clamp(28px, 4vw, 48px); }
.parea { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(22px, 4vw, 56px); align-items: center; border-top: 1px solid var(--line); padding-top: clamp(28px, 4vw, 48px); }
.parea:nth-child(even) .parea__media { order: 2; }
.parea__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.parea__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.parea__body h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 6px 0 12px; }
.parea__body > p:not(.section__eyebrow) { color: var(--text-muted); max-width: 56ch; }
.parea__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.parea__list a { display: inline-block; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; color: var(--text); text-decoration: none; transition: border-color .3s, background .3s; }
.parea__list a:hover { border-color: var(--wood); background: rgba(200, 155, 109, .12); }
@media (max-width: 1000px) { .pmain { grid-template-columns: repeat(2, 1fr); } .parea { grid-template-columns: 1fr; } .parea:nth-child(even) .parea__media { order: 0; } }
@media (max-width: 560px) { .pmain { grid-template-columns: 1fr; } .psub__grid { grid-template-columns: repeat(2, 1fr); } .psub__head { margin-right: 0; padding-right: 96px; } }
/* Siegel (TUEV, Schreiner Bayern) in der Fusszeile statt bei Unternehmen (14.09.2026) */
.footer__seals { display: flex; align-items: center; gap: 18px; align-self: flex-start; }
.footer__seals img { height: 58px; width: auto; border-radius: 8px; background: #fff; padding: 6px; }
@media (max-width: 760px) { .footer__seals { width: 100%; } .footer__seals img { height: 52px; } }

/* ══════════ MEGA PRODUKTE 6 BEREICHE (14.09.2026): Bild-Kacheln als Schalter, Unterkategorien per Klick ══════════ */
.mega__hint { margin: 0 0 14px; font-size: .86rem; color: var(--text-muted); }
.mega__tiles--areas { margin-bottom: 0; }
.tile--area { width: 100%; padding: 0; border: 0; background: none; text-align: left; color: var(--text); font: inherit; cursor: pointer; }
.tile--area .tile__label { display: flex; align-items: center; justify-content: space-between; gap: 8px; white-space: nowrap; font-size: .88rem; letter-spacing: 0; }
@media (max-width: 1500px) { .tile--area .tile__label { font-size: .8rem; } }
.tile__chev { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); color: var(--wood); flex: 0 0 auto; transition: transform .3s var(--ease-out), border-color .3s; }
.tile--area.is-active .tile__chev { transform: rotate(180deg); border-color: var(--wood); }
.tile--area.is-active .tile__media::after { box-shadow: inset 0 0 0 2px var(--wood); }
.tile--area.is-active .tile__label { color: var(--wood); }
.mega__sub { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.mega__subhead { display: flex; align-items: baseline; gap: 18px; margin-bottom: 14px; }
.mega__subhead h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.mega__subhead a { font-size: .84rem; color: var(--wood); text-decoration: none; border-bottom: 1px solid transparent; }
.mega__subhead a:hover { border-bottom-color: var(--wood); }
.mega__subgrid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.mega__subitem { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-deep); color: var(--text); text-decoration: none; transition: transform .3s var(--ease-out), border-color .3s; }
.mega__subitem:hover { transform: translateY(-3px); border-color: var(--wood); }
.mega__subitem img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mega__subitem span { display: block; padding: 8px 10px 10px; font-size: .84rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 1400px) { .mega__subgrid { grid-template-columns: repeat(4, 1fr); } }

/* ══════════ AUSSTELLUNG: kompletter Film mit Play-Button statt Vorschau-Loop (15.09.2026) ══════════ */
.ausstellung__film.film { margin-top: 0; height: auto; aspect-ratio: 16 / 9; }
.ausstellung__film.film video { position: static; width: 100%; height: 100%; object-fit: cover; }
.ausstellung__film.film::after { content: none; }
.ausstellung__filmnote { display: flex; justify-content: space-between; gap: 16px; margin: 12px 4px 0; font-size: .82rem; letter-spacing: .02em; color: var(--text-muted); }
@media (max-width: 640px) { .ausstellung__filmnote { flex-direction: column; gap: 2px; } }
/* Galerie mit Name + Kurztext (Insektenschutz, 15.09.2026) */
.gallery--desc figcaption b { display: block; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.gallery--desc figcaption { line-height: 1.4; }
/* Galerie mit Freistellern auf Weiss (Haustuer-Modelle, 15.09.2026) */
.gallery--light figure { background: #fff; border-color: rgba(0, 0, 0, .08); }
.gallery--light img { aspect-ratio: 3 / 4; object-fit: contain; padding: 10px 10px 0; background: #fff; }
.gallery--light figcaption { background: #fff; color: #2a2724; }

/* ══════════ ABSTAENDE KOMPAKTER (Armin 15.09.2026): Sektionen, Ueberschriften, Text-Bild-Bloecke ══════════ */
.section { padding-block: clamp(48px, 6vw, 84px); }
.section__head { margin-bottom: clamp(26px, 3.5vw, 44px); }
.tm + .tm { margin-top: clamp(32px, 4.5vw, 56px); }
.cta-band .container { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.benefits { margin-top: 32px; }
.pareas { margin-top: clamp(32px, 4vw, 52px); gap: clamp(24px, 3vw, 40px); }
.parea { padding-top: clamp(24px, 3vw, 40px); }

/* ══════════ 360-RUNDGANG (Startseite, 15.09.2026): Tour 16:9 dominant, Film daneben klein ══════════ */
.ausstellung__media { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.tour { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0b0a09; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); outline: none; }
.tour:focus-visible { box-shadow: 0 0 0 2px var(--wood), 0 24px 60px rgba(0, 0, 0, .4); }
.tour__pano { position: absolute; inset: 0; }
.tour__pano .pnlm-container { background: #0b0a09; font-family: inherit; }
.tour__pano .pnlm-load-box, .tour__pano .pnlm-about-msg, .tour__pano .pnlm-load-button { display: none !important; }
.tour__start { position: absolute; inset: 0; z-index: 5; padding: 0; border: 0; background: #000; cursor: pointer; display: grid; place-items: center; }
.tour__start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: blur(2px); transform: scale(1.04); }
.tour__start span { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: rgba(12, 11, 10, .72); border: 1px solid rgba(255, 255, 255, .55); color: #fff; font-weight: 600; backdrop-filter: blur(4px); transition: background-color .3s, transform .3s; }
.tour__start:hover span { background: var(--accent); border-color: var(--accent); transform: scale(1.04); }
.tour.is-active .tour__start { display: none; }
.tour__cap { position: absolute; left: 16px; top: 16px; z-index: 6; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; background: rgba(12, 11, 10, .72); border: 1px solid rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(8px); pointer-events: none; }
.tour__cap small { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wood); }
.tour__cap strong { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; }
.tour__ctrl { position: absolute; right: 16px; top: 16px; z-index: 6; display: flex; gap: 8px; }
.tour__ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(12, 11, 10, .72); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px); transition: background-color .25s, transform .25s; }
.tour__ctrl button:hover { background: var(--accent); transform: scale(1.06); }
.tour__ctrl button[aria-pressed="true"] { border-color: var(--wood); color: var(--wood); }
.tour__scenes { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 6; display: flex; gap: 8px; overflow-x: auto; padding: 6px; border-radius: 14px; background: rgba(12, 11, 10, .6); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); scrollbar-width: thin; }
.tour__scene { position: relative; flex: 0 0 auto; width: 118px; aspect-ratio: 2 / 1; border-radius: 9px; overflow: hidden; border: 2px solid transparent; background: #000; padding: 0; cursor: pointer; transition: border-color .3s, transform .3s; }
.tour__scene img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .7; transition: opacity .3s; }
.tour__scene span { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 6px 4px; font-size: .64rem; font-weight: 600; line-height: 1.2; color: #fff; text-align: left; background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour__scene:hover { transform: translateY(-2px); }
.tour__scene:hover img, .tour__scene[aria-current="true"] img { opacity: 1; }
.tour__scene[aria-current="true"] { border-color: var(--wood); }
.tour .pnlm-hotspot-base { cursor: pointer; }
/* Film klein neben dem Rundgang, per Klick auf volle Breite */
.ausstellung__film--mini { margin-top: 0; aspect-ratio: 16 / 9; }
.ausstellung__film--mini .film__play { width: 56px; height: 56px; }
.ausstellung__film--mini .film__play svg { width: 22px; height: 22px; }
.film__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .78rem; color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent); pointer-events: none; }
.film__shrink { position: absolute; right: 12px; top: 12px; z-index: 3; display: none; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(12, 11, 10, .7); color: #fff; font: inherit; font-size: .8rem; cursor: pointer; }
.ausstellung__media.is-video .ausstellung__film--mini { grid-column: 1 / -1; }
.ausstellung__media.is-video .film__label { display: none; }
.ausstellung__media.is-video .film__shrink { display: inline-block; }
.ausstellung__film.is-playing .film__label { display: none; }
@media (max-width: 900px) { .ausstellung__media { grid-template-columns: 1fr; } .ausstellung__film--mini { max-width: 420px; } .ausstellung__media.is-video .ausstellung__film--mini { max-width: none; } .tour__cap strong { font-size: .95rem; } .tour__scene { width: 96px; } .tour__ctrl button { width: 36px; height: 36px; } }
@media (max-width: 560px) { .tour__cap { left: 8px; top: 8px; padding: 6px 9px; gap: 0; } .tour__cap small { font-size: .56rem; } .tour__cap strong { font-size: .82rem; } .tour__ctrl { right: 8px; top: 8px; gap: 5px; } .tour__ctrl button { width: 30px; height: 30px; } .tour__ctrl button svg { width: 14px; height: 14px; } .tour__scenes { left: 6px; right: 6px; bottom: 6px; padding: 4px; gap: 5px; } .tour__scene { width: 68px; border-width: 1.5px; } .tour__scene span { font-size: .52rem; padding: 8px 4px 3px; } }

/* ════════════════ FUSSZEILE: OEFFNUNGSZEITEN (15.09.2026) ════════════════ */
.footer__hours { max-width: 350px; font-size: .88rem; color: var(--text-muted); }
.footer__hours-title { font-family: var(--font-display); color: var(--text); font-size: 1rem; margin: 0 0 10px; }
.footer__hours dl { margin: 0; display: grid; gap: 7px; }
.footer__hours dl > div { display: grid; grid-template-columns: 104px 1fr; gap: 10px; align-items: start; }
.footer__hours dt { color: var(--text); font-weight: 600; }
.footer__hours dd { margin: 0; }
.footer__hours dd span { display: block; font-size: .8rem; line-height: 1.45; margin-top: 2px; text-wrap: pretty; }
.footer__hours a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.footer__hours a:hover { color: var(--wood); }
@media (max-width: 760px) { .footer__hours { max-width: none; width: 100%; } .footer__hours dl > div { grid-template-columns: 112px 1fr; } }

/* 360-Rundgang: Copyright-Hinweis als kleines dunkles Badge unten rechts unter der Stationsleiste + Vollbild mit allen Bedienelementen (15.09.2026) */
.tour__scenes { bottom: 32px; }
.tour__credit { position: absolute; right: 12px; bottom: 6px; z-index: 6; font-size: 10.5px; letter-spacing: .02em; line-height: 1; color: rgba(255, 255, 255, .8); background: rgba(12, 11, 10, .62); border: 1px solid rgba(255, 255, 255, .12); padding: 5px 9px; border-radius: 999px; backdrop-filter: blur(6px); text-decoration: none; white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; transition: color .25s, border-color .25s; }
.tour__credit:hover { color: #f4c58f; border-color: rgba(200, 155, 109, .6); }
.tour:not(.is-active) .tour__credit { display: none; }
.tour:fullscreen { aspect-ratio: auto; width: 100%; height: 100%; border-radius: 0; border: 0; }
@media (max-width: 900px) { .tour__scenes { bottom: 28px; } .tour__credit { bottom: 5px; font-size: 9.5px; padding: 4px 8px; } }
@media (max-width: 560px) { .tour__scenes { bottom: 24px; } .tour__credit { right: 6px; bottom: 4px; font-size: 8px; padding: 3px 7px; max-width: calc(100% - 12px); } }

/* Drueckergarnituren 17.09.2026: freigestellte Modelle quadratisch auf Weiss */
.gallery--light.gallery--square img { aspect-ratio: 1 / 1; padding: 14px; }
