:root {
  --ink: #1f241f;
  --ink-soft: #5d665d;
  --paper: #f7faf6;
  --paper-alt: #edf3ea;
  --surface: rgba(255,255,255,.78);
  --green: #2f8f22;
  --green-dark: #23681a;
  --green-deep: #174713;
  --green-soft: #dcead9;
  --wood: #9a6a42;
  --wood-dark: #704725;
  --wood-light: #dcb07d;
  --line: rgba(25, 45, 22, .12);
  --shadow: 0 24px 70px rgba(23, 71, 19, .12);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(47,143,34,.08), transparent 32%),
    linear-gradient(180deg, #fbfdf9, #f2f7ef 46%, #f7faf6 100%);
  line-height: 1.6;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("images/holzspaene-bg-optimized.webp") center top / cover no-repeat;
  opacity: .085;
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: multiply;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.section-pad { padding: 108px 0; }
.section-pad-sm { padding: 68px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 250, 246, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: white;
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 14px 30px rgba(47,143,34,.16);
  flex: 0 0 auto;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand strong { display: block; line-height: 1.05; letter-spacing: -.02em; }
.brand small { display: block; color: var(--ink-soft); font-size: .78rem; margin-top: 2px; }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu a { padding: 10px 12px; border-radius: 999px; color: var(--ink-soft); font-weight: 700; font-size: .93rem; }
.nav-menu a:hover, .nav-menu a.active { background: rgba(47,143,34,.10); color: var(--green-deep); }
.nav-menu .nav-cta { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: white; padding-inline: 16px; box-shadow: 0 12px 24px rgba(47,143,34,.20); }
.nav-menu .nav-cta:hover { background: linear-gradient(135deg, var(--green-dark), var(--green-deep)); color: white; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--green-deep); border-radius: 14px; padding: 12px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: white; margin: 5px 0; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 16%, rgba(220,176,125,.22), transparent 26%),
    radial-gradient(circle at 12% 20%, rgba(47,143,34,.16), transparent 28%),
    linear-gradient(135deg, #fbfdf9 0%, #eef5eb 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(0deg, var(--paper), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 14px; color: var(--green-dark); text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .78rem; }
.craft-claim {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(47,143,34,.11);
  border: 1px solid rgba(47,143,34,.16);
  color: var(--green-deep);
  font-family: Georgia, serif;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
h1, h2, h3 { line-height: 1.05; margin: 0; letter-spacing: -.04em; }
h1 { font-size: clamp(3.1rem, 6.7vw, 6.5rem); max-width: 900px; }
h2 { font-size: clamp(2.1rem, 4vw, 4rem); }
h3 { font-size: 1.35rem; }
.lead { font-size: clamp(1.08rem, 2vw, 1.32rem); color: var(--ink-soft); max-width: 690px; margin: 24px 0 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; border: 1px solid transparent; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: white; box-shadow: 0 15px 35px rgba(35,104,26,.22); }
.button.primary:hover { background: linear-gradient(135deg, var(--green-dark), var(--green-deep)); }
.button.ghost { background: rgba(255,255,255,.65); border-color: var(--line); color: var(--ink); }
.button.ghost.dark { background: transparent; border-color: rgba(255,255,255,.28); color: white; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.trust-row span { padding: 9px 13px; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-weight: 700; }

.hero-visual { position: relative; }
.showcase-card {
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 34px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.showcase-image {
  position: relative;
  min-height: 580px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(31,36,31,.12);
}
.showcase-image img,
.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-note {
  margin-top: 16px;
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(237,243,234,.94));
  border: 1px solid var(--line);
}
.showcase-note p { margin: 8px 0 0; color: var(--ink-soft); }

.intro {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.42);
  backdrop-filter: blur(8px);
}
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: start; }
.intro p:last-child { margin: 0; color: var(--ink-soft); font-size: 1.15rem; }
.section-heading { max-width: 840px; margin-bottom: 44px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading p:last-child { color: var(--ink-soft); font-size: 1.12rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 45px rgba(31,36,31,.06);
  min-height: 250px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(31,36,31,.10); }
.service-card.featured {
  background: linear-gradient(145deg, var(--green-deep), var(--green-dark));
  color: var(--paper);
}
.service-card.featured p { color: rgba(247,250,246,.84); }
.service-card p { color: var(--ink-soft); margin-bottom: 0; }
.icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  background: rgba(47,143,34,.12);
  color: var(--green-dark);
  font-weight: 900;
}
.featured .icon { background: rgba(255,255,255,.14); color: var(--paper); }

.split-section { position: relative; overflow: hidden; }
.split-section.warm { background: linear-gradient(180deg, rgba(220,234,217,.54), rgba(255,255,255,.62)); }
.muted {
  background:
    linear-gradient(145deg, rgba(23,71,19,.94), rgba(34,97,28,.94)),
    url("images/holzspaene-bg-optimized.webp") center / cover no-repeat;
  color: white;
}
.muted .eyebrow { color: var(--wood-light); }
.muted p { color: rgba(247,250,246,.78); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-grid.reversed .image-panel { order: 2; }
.split-copy p { color: var(--ink-soft); font-size: 1.08rem; }
.muted .split-copy p { color: rgba(247,250,246,.78); }
.image-panel {
  min-height: 560px;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #d9e4d7;
}
.image-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(0,0,0,.48), transparent);
  pointer-events: none;
}
.dark-panel::after { background: linear-gradient(0deg, rgba(0,0,0,.56), transparent); }
.panel-label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  z-index: 1;
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--ink);
}
.partner-box {
  margin-top: 30px;
  padding: 22px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(10px);
}
.partner-box strong { display: block; margin-bottom: 12px; }
.partner-links { display: flex; flex-wrap: wrap; gap: 10px; }
.partner-links a, .inline-link {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(47,143,34,.10);
  color: var(--green-dark);
  font-weight: 800;
}
.inline-link { margin-top: 14px; }

.renovation-layout { position: relative; }
.renovation-card {
  background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(237,243,234,.82));
  border: 1px solid var(--line);
  border-radius: 42px;
  padding: clamp(28px, 5vw, 64px);
  box-shadow: 0 24px 80px rgba(31,36,31,.07);
  backdrop-filter: blur(10px);
}
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.process-step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
}
.process-step span {
  display: inline-flex;
  font-weight: 950;
  color: var(--green-dark);
  margin-bottom: 22px;
}
.process-step p { margin-bottom: 0; color: var(--ink-soft); }
.closing-line {
  margin: 32px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--green-dark);
}

.contact-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(220,176,125,.16), transparent 28%),
    radial-gradient(circle at 88% 24%, rgba(47,143,34,.10), transparent 26%),
    linear-gradient(135deg, #f8fbf6, #ecf4e9);
}
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
.contact-copy { max-width: 760px; }
.contact-copy p { color: var(--ink-soft); font-size: 1.1rem; }
.contact-cards { display: grid; gap: 12px; margin-top: 8px; }
.contact-cards.wide { grid-template-columns: repeat(2, 1fr); }
.contact-card {
  display: block;
  padding: 22px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(31,36,31,.05);
  backdrop-filter: blur(8px);
}
.contact-card span {
  display: block;
  color: var(--green-dark);
  font-weight: 800;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.contact-card strong { display: block; margin-top: 8px; font-size: 1.08rem; }
.contact-card:hover { border-color: rgba(47,143,34,.24); transform: translateY(-2px); transition: transform .2s ease, border-color .2s ease; }

.site-footer { background: #10270d; color: var(--paper); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 32px; padding-bottom: 34px; }
.footer-grid p { color: rgba(247,250,246,.70); max-width: 390px; }
.footer-grid a:not(.brand) { display: block; color: rgba(247,250,246,.76); margin-top: 9px; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(247,250,246,.12); color: rgba(247,250,246,.62); }

.subpage { background: linear-gradient(135deg, #f8fbf6, #ecf4e9); }
.legal-page { max-width: 920px; }
.legal-page h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); margin-bottom: 28px; }
.legal-card {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(22px, 4vw, 34px);
  margin: 18px 0;
  box-shadow: 0 18px 50px rgba(31,36,31,.06);
  backdrop-filter: blur(10px);
}
.legal-card h2 { font-size: clamp(1.35rem, 3vw, 2.1rem); margin-bottom: 14px; }
.legal-card h3 { font-size: 1.1rem; margin-top: 22px; letter-spacing: -.02em; }
.legal-card a { color: var(--green-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    padding: 16px;
    background: rgba(247,250,246,.97);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 14px; }
  .hero-grid, .intro-grid, .split-grid { grid-template-columns: 1fr; }
  .split-grid.reversed .image-panel { order: initial; }
  .service-grid, .process-grid, .contact-cards.wide { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; }
  .showcase-image, .image-panel { min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section-pad { padding: 72px 0; }
  .section-pad-sm { padding: 48px 0; }
  .nav { height: 76px; }
  .brand small { display: none; }
  .hero-actions, .trust-row, .footer-bottom { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .service-grid, .process-grid, .footer-grid, .contact-cards.wide { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .showcase-card { padding: 14px; }
  .showcase-image, .image-panel { min-height: 340px; }
  .panel-label { left: 18px; right: 18px; bottom: 18px; }
}

/* Korrekturen: kein Overlay-Glitch im Hero, Partnerseite und Scroll-Aufbau */

.partner-page h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  max-width: 980px;
  margin-bottom: 24px;
}
.partner-lead {
  max-width: 820px;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
  margin: 0 0 44px;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.partner-card {
  display: grid;
  grid-template-columns: 156px 1fr;
  gap: 22px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 18px 50px rgba(31,36,31,.06);
  backdrop-filter: blur(10px);
}
.partner-card h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  margin-bottom: 10px;
}
.partner-card p {
  margin: 0;
  color: var(--ink-soft);
}
.partner-card a {
  display: inline-flex;
  margin-top: 16px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(47,143,34,.10);
  color: var(--green-dark);
  font-weight: 850;
}
.partner-card a:hover {
  background: rgba(47,143,34,.18);
}
.partner-logo {
  min-height: 122px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  border-radius: 22px;
  color: white;
  font-weight: 950;
  letter-spacing: -.04em;
  line-height: .95;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 14px 30px rgba(23,71,19,.12);
}
.mark-putz { background: linear-gradient(135deg, #173f11, #2f8f22); font-size: 2.05rem; }
.mark-niederhofer { background: linear-gradient(135deg, #10270d, #357b2f); font-size: 1.45rem; }
.mark-waldland { background: linear-gradient(135deg, #26451f, #9a6a42); font-size: 1.75rem; }
.mark-koehnlein { background: linear-gradient(135deg, #704725, #2f8f22); font-size: 1.65rem; }
.mark-schreckenbauer { background: linear-gradient(135deg, #243f1e, #6f8c35); font-size: 1.2rem; }
.mark-gealan { background: linear-gradient(135deg, #2f8f22, #174713); font-size: 1.75rem; }
.mark-rehau { background: linear-gradient(135deg, #3f4a3f, #2f8f22); font-size: 1.85rem; }

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .85s ease, transform .85s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .button:hover,
  .contact-card:hover,
  .service-card:hover {
    transform: none;
  }
}

@media (max-width: 980px) {
  .partner-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .partner-card { grid-template-columns: 1fr; }
  .partner-logo { min-height: 96px; }
}

/* Finale Fehlerkorrekturen: stabile Navigation, saubere Bildunterschrift und Mobile-Menü */
html { scroll-padding-top: 96px; }

.nav {
  min-height: 86px;
  height: auto;
  padding-block: 10px;
}
.brand {
  min-width: 0;
  flex: 0 1 305px;
}
.brand > span:last-child {
  min-width: 0;
}
.brand strong,
.brand small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-menu {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
  gap: 5px;
}
.nav-menu a {
  white-space: nowrap;
  padding: 9px 9px;
  font-size: .88rem;
  line-height: 1.15;
}
.nav-menu .nav-cta {
  flex: 0 0 auto;
  padding-inline: 14px;
  white-space: nowrap;
}

.showcase-caption {
  margin: 16px 4px 0;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(23,71,19,.95), rgba(47,143,34,.92));
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(1.45rem, 2.7vw, 2.55rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  box-shadow: 0 16px 34px rgba(23,71,19,.14);
}
.showcase-note {
  margin-top: 12px;
}

@media (max-width: 1180px) {
  .nav-toggle { display: block; flex: 0 0 auto; }
  .nav { height: 82px; padding-block: 0; }
  .brand { flex: 1 1 auto; }
  .nav-menu {
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    max-height: calc(100vh - 110px);
    overflow: auto;
    padding: 16px;
    background: rgba(247,250,246,.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    z-index: 100;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a {
    display: block;
    width: 100%;
    padding: 13px 15px;
    font-size: 1rem;
    white-space: normal;
  }
  .nav-menu .nav-cta {
    text-align: center;
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  .hero-grid { gap: 36px; }
  .showcase-caption { font-size: clamp(1.35rem, 4vw, 2.1rem); }
}

@media (max-width: 640px) {
  .brand-mark { width: 48px; height: 48px; }
  .brand strong { font-size: .98rem; }
  .nav-menu { top: 76px; }
  .showcase-caption { margin-top: 12px; padding: 14px 16px; border-radius: 18px; }
}


/* Unternehmensbild und Social Media */
.intro-grid-media {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
}
.intro-copy p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.intro-copy p + p { margin-top: 14px; }
.company-feature {
  margin: 0;
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(31,36,31,.08);
  backdrop-filter: blur(10px);
}
.company-feature img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.company-feature figcaption {
  padding: 16px 18px 18px;
  color: var(--ink-soft);
  font-size: .98rem;
}
.reveal-image {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal-image.is-visible {
  opacity: 1;
  transform: none;
}
.footer-grid-4 {
  grid-template-columns: 1.25fr .85fr .85fr .85fr;
}
.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(247,250,246,.92);
}
.social-links a:hover {
  background: rgba(255,255,255,.16);
  color: white;
}

@media (max-width: 1180px) {
  .footer-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .intro-grid-media { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .footer-grid-4 { grid-template-columns: 1fr; }
}


/* Layout-Fix: Unternehmensbereich darf nicht ins Bild laufen */
.intro-grid-media {
  gap: clamp(34px, 6vw, 86px);
  grid-template-columns: minmax(0, .88fr) minmax(320px, 1.12fr);
}
.intro-grid-media > * {
  min-width: 0;
}
.intro-copy {
  max-width: 540px;
  padding-right: clamp(8px, 2vw, 28px);
  position: relative;
  z-index: 2;
}
.intro-copy h2 {
  overflow-wrap: normal;
  hyphens: none;
}
.company-feature {
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 1;
  justify-self: stretch;
}
@media (max-width: 980px) {
  .intro-grid-media {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .intro-copy {
    max-width: 760px;
    padding-right: 0;
  }
}

/* Endgültige Layout-Korrektur: Unternehmensbereich ohne Überlappung */
.intro-grid-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(56px, 7vw, 104px);
  align-items: center;
}
.intro-copy {
  max-width: 620px;
  padding-right: 0;
  z-index: auto;
}
.intro-copy h2 {
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  line-height: 1.08;
  overflow-wrap: break-word;
  hyphens: auto;
}
.company-feature {
  min-width: 0;
  justify-self: stretch;
  z-index: auto;
}
.company-feature img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
@media (max-width: 1180px) {
  .intro-grid-media {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .intro-copy {
    max-width: 820px;
  }
  .company-feature {
    max-width: 860px;
  }
}
@media (max-width: 640px) {
  .intro-copy h2 {
    font-size: clamp(1.85rem, 8vw, 2.55rem);
  }
}

/* Finaler Fix: Unternehmensbereich bewusst einspaltig, damit Text niemals über das Bild laufen kann */
#unternehmen .intro-grid-media {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 34px !important;
  align-items: start;
}
#unternehmen .intro-copy {
  max-width: 880px !important;
  width: 100%;
  padding-right: 0 !important;
  position: static !important;
  z-index: auto !important;
}
#unternehmen .company-feature {
  width: 100%;
  max-width: 980px;
  margin: 0 !important;
  position: static !important;
  z-index: auto !important;
  justify-self: start;
  clear: both;
}
#unternehmen .company-feature img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

/* Stabilisierung 2026-07-04: Unternehmensbereich ohne Überlappung, robuste Navigation */
.company-section {
  overflow: visible;
}
.company-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
}
.company-copy {
  max-width: 920px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.company-copy p {
  max-width: 860px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.company-copy p:last-child {
  margin-bottom: 0;
}
.company-photo {
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 0;
  clear: both;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: 0 22px 58px rgba(31,36,31,.10);
}
.company-photo img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: cover;
}
.company-photo figcaption {
  padding: 16px 20px 18px;
  color: var(--ink-soft);
  font-size: .98rem;
  background: rgba(255,255,255,.9);
}

.site-header { isolation: isolate; }
.nav { width: min(calc(100% - 32px), var(--max)); }
.nav-menu a { max-width: max-content; }
.nav-menu .nav-cta { max-width: none; }
.footer-grid-4 { align-items: start; }

@media (max-width: 1280px) {
  .nav-toggle { display: block; flex: 0 0 auto; }
  .nav { height: 82px; padding-block: 0; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .nav-menu {
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 16px;
    background: rgba(247,250,246,.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    z-index: 1000;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a,
  .nav-menu .nav-cta {
    display: block;
    width: 100%;
    max-width: none;
    padding: 13px 15px;
    font-size: 1rem;
    white-space: normal;
    text-align: left;
  }
  .nav-menu .nav-cta { text-align: center; }
}

@media (min-width: 1281px) {
  .nav-toggle { display: none !important; }
  .nav-menu { display: flex !important; }
}

@media (max-width: 640px) {
  .company-stack { gap: 22px; }
  .company-photo { border-radius: 22px; }
  .company-photo figcaption { padding: 14px 16px 16px; }
}

/* Mobile Lesbarkeit: lange Überschriften dürfen nicht abgeschnitten werden */
h1, h2, h3, .lead, p {
  overflow-wrap: break-word;
}
@media (max-width: 640px) {
  h1 {
    font-size: clamp(2.35rem, 11vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.05em;
    hyphens: auto;
  }
  .lead {
    font-size: 1.05rem;
    line-height: 1.55;
  }
  .hero-copy {
    min-width: 0;
  }
}

section[id], main[id], .partner-page {
  scroll-margin-top: 110px;
}
@media (max-width: 640px) {
  section[id], main[id], .partner-page { scroll-margin-top: 92px; }
}


/* Performance- und Layout-Fix 2026-07-04
   - Holzspäne nicht mehr fixed, damit Scrollen flüssiger läuft
   - Reveal-Effekt leichter
   - Unternehmensbild wieder neben dem Text, aber bewusst klein und stabil */
body::before {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  height: 100% !important;
  min-height: 100% !important;
  background-size: 1200px auto !important;
  background-repeat: repeat-y !important;
  opacity: .045 !important;
  mix-blend-mode: normal !important;
}

.reveal {
  transform: none !important;
  transition: opacity .42s ease !important;
  transition-delay: 0ms !important;
}

.site-header,
.showcase-card,
.intro,
.service-card,
.partner-box,
.renovation-card,
.contact-card,
.legal-card,
.company-photo,
.partner-card {
  backdrop-filter: none !important;
}

#unternehmen .company-stack {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px) !important;
  gap: clamp(28px, 5vw, 64px) !important;
  align-items: center !important;
}
#unternehmen .company-copy {
  max-width: 720px !important;
  min-width: 0 !important;
}
#unternehmen .company-copy p {
  max-width: 680px !important;
}
#unternehmen .company-photo {
  width: 100% !important;
  max-width: 380px !important;
  justify-self: end !important;
  border-radius: 24px !important;
}
#unternehmen .company-photo img {
  aspect-ratio: 4 / 3 !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}
#unternehmen .company-photo figcaption {
  padding: 12px 14px 14px !important;
  font-size: .9rem !important;
}

@media (max-width: 900px) {
  #unternehmen .company-stack {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  #unternehmen .company-photo {
    justify-self: start !important;
    max-width: 420px !important;
  }
}

@media (max-width: 640px) {
  body::before { display: none !important; }
  #unternehmen .company-photo { max-width: 100% !important; }
}

/* Finaler Prüf-Fix: Mobile Navigation bewusst vollflächig und deckend */
@media (max-width: 1280px) {
  .nav-menu {
    background: #f7faf6 !important;
    border: 1px solid rgba(25,45,22,.14) !important;
    box-shadow: 0 22px 60px rgba(23,71,19,.18) !important;
  }
}

/* Rückgängig gemacht: Holzspäne wieder fixed über die komplette Breite + stärkerer Scroll-Aufbau */
body::before {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  background: url("images/holzspaene-bg-optimized.webp") center top / cover no-repeat !important;
  opacity: .085 !important;
  pointer-events: none !important;
  z-index: -1 !important;
  mix-blend-mode: multiply !important;
  display: block !important;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) !important;
  transition: opacity .85s ease, transform .85s ease !important;
  transition-delay: var(--reveal-delay, 0ms) !important;
}
.reveal.is-visible {
  opacity: 1;
  transform: none !important;
}

@media (max-width: 640px) {
  body::before { display: block !important; }
}

/* Team-Unterseite und datenschutzfreundliche Kartenintegration */
.company-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-map-layout {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: stretch;
}
.contact-details-grid {
  grid-template-columns: 1fr !important;
  align-content: start;
  margin-top: 0;
}
.map-card {
  min-width: 0;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255,255,255,.78);
  box-shadow: 0 22px 58px rgba(31,36,31,.09);
}
.map-consent,
.map-frame-slot {
  width: 100%;
  height: 100%;
  min-height: 520px;
}
.map-consent {
  position: relative;
  background:
    radial-gradient(circle at 78% 18%, rgba(47,143,34,.15), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(220,234,217,.86));
}
.map-placeholder {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(26px, 5vw, 54px);
}
.map-placeholder h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 14px;
}
.map-placeholder p {
  max-width: 610px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.map-pin {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 22px;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(35,104,26,.22);
}
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.map-load-button { cursor: pointer; font: inherit; }
.map-privacy-note {
  display: block;
  max-width: 660px;
  margin-top: 18px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.map-privacy-note a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-frame-slot { display: none; }
.map-consent.is-loaded .map-placeholder { display: none; }
.map-consent.is-loaded .map-frame-slot { display: block; }
.map-frame-slot iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.team-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(47,143,34,.13), transparent 28%),
    linear-gradient(135deg, #fbfdf9, #eef5eb);
}
.team-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: clamp(32px, 6vw, 74px);
  align-items: center;
}
.team-hero-copy h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  margin-bottom: 24px;
}
.team-lead {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  margin-bottom: 30px;
}
.team-hero-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.team-hero-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.team-hero-photo figcaption {
  padding: 15px 18px 18px;
  color: var(--ink-soft);
}
.team-section { background: rgba(255,255,255,.34); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.team-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 50px rgba(31,36,31,.06);
}
.team-avatar {
  width: 104px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 26px;
  color: white;
  background: linear-gradient(145deg, #5f6c5f, var(--green-dark));
  font-size: 1.55rem;
  font-weight: 950;
  letter-spacing: -.04em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.team-avatar-ws { background: linear-gradient(145deg, var(--green), var(--green-deep)); }
.team-role {
  margin: 0 0 8px;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 850;
}
.team-card h3 { margin-bottom: 11px; font-size: 1.55rem; }
.team-card p:last-child { margin: 0; color: var(--ink-soft); }
.team-placeholder { border-style: dashed; }
.team-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(47,143,34,.08);
  border: 1px solid rgba(47,143,34,.14);
  color: var(--ink-soft);
}
.team-note strong { color: var(--green-deep); }

@media (max-width: 980px) {
  .contact-map-layout,
  .team-hero-grid { grid-template-columns: 1fr; }
  .team-hero-photo { max-width: 720px; }
  .map-card,
  .map-consent,
  .map-frame-slot,
  .map-placeholder,
  .map-frame-slot iframe { min-height: 460px; }
}
@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 82px minmax(0, 1fr); padding: 21px; }
  .team-avatar { width: 82px; border-radius: 22px; }
}
@media (max-width: 520px) {
  .map-card,
  .map-consent,
  .map-frame-slot,
  .map-placeholder,
  .map-frame-slot iframe { min-height: 430px; }
  .map-placeholder { padding: 24px 20px; }
  .map-actions { width: 100%; }
  .team-card { grid-template-columns: 1fr; }
  .team-avatar { width: 76px; }
}


/* Teamseite: eine große Führungskarte und zwei große Mitarbeiterbilder */
.team-leadership-card {
  width: min(100%, 920px);
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: minmax(300px, .95fr) minmax(0, 1.05fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 24px 65px rgba(31,36,31,.09);
}
.team-leadership-image {
  min-height: 330px;
  background: var(--green-soft);
}
.team-leadership-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-leadership-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 52px);
}
.team-leadership-copy h3 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  margin-bottom: 16px;
}
.team-leadership-copy p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.team-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1040px;
  margin-inline: auto;
}
.team-card-photo {
  display: block;
  padding: 0;
  overflow: hidden;
}
.team-photo-placeholder {
  min-height: 390px;
  display: grid;
  place-items: center;
  position: relative;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.18), transparent 18%),
    linear-gradient(145deg, #688064, var(--green-deep));
  color: white;
}
.team-photo-placeholder::before {
  content: "";
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.36);
  box-shadow: 0 130px 0 36px rgba(255,255,255,.14);
}
.team-photo-placeholder span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15,50,18,.76);
  font-weight: 850;
}
.team-card-photo .team-card-copy {
  padding: 26px 28px 30px;
}
.team-card-photo h3 {
  font-size: 1.85rem;
}

/* Auffälliger Team-Button auf der Startseite */
.company-actions {
  margin-top: 34px;
}
.team-cta {
  min-height: 62px;
  padding-inline: 28px;
  gap: 18px;
  font-size: 1.05rem;
  box-shadow: 0 18px 42px rgba(35,104,26,.30);
  border: 2px solid rgba(255,255,255,.65);
}
.team-cta span:last-child {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  font-size: 1.35rem;
  transition: transform .2s ease, background .2s ease;
}
.team-cta:hover span:last-child {
  transform: translateX(4px);
  background: rgba(255,255,255,.28);
}

@media (max-width: 860px) {
  .team-leadership-card { grid-template-columns: 1fr; }
  .team-leadership-image { min-height: 300px; }
  .team-grid-two { grid-template-columns: 1fr; max-width: 680px; }
}
@media (max-width: 520px) {
  .team-leadership-card { border-radius: 26px; }
  .team-leadership-image { min-height: 240px; }
  .team-photo-placeholder { min-height: 330px; }
  .team-cta { width: 100%; padding-inline: 20px; justify-content: space-between; }
}

/* Team-CTA und Team-Auswahl: stabiler Neuaufbau */
.company-actions {
  width: 100%;
  max-width: 680px;
  margin-top: 32px;
}
.team-cta-card {
  width: min(100%, 650px);
  max-width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 16px;
  padding: 13px 18px 13px 14px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  box-shadow: 0 20px 46px rgba(35,104,26,.28);
  overflow: hidden;
  isolation: isolate;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.team-cta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 56px rgba(35,104,26,.34);
  background: linear-gradient(135deg, #319a24, #123b0f);
}
.team-cta-card:focus-visible {
  outline: 3px solid rgba(47,143,34,.28);
  outline-offset: 4px;
}
.team-cta-icon,
.team-section-icon {
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.20);
}
.team-cta-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}
.team-cta-icon svg { width: 38px; height: 38px; }
.team-cta-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}
.team-cta-copy strong {
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  letter-spacing: -.018em;
  overflow-wrap: anywhere;
}
.team-cta-copy small {
  color: rgba(255,255,255,.78);
  font-size: .84rem;
  line-height: 1.35;
}
.team-cta-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  font-size: 1.55rem;
  line-height: 1;
  transition: transform .22s ease, background .22s ease;
}
.team-cta-card:hover .team-cta-arrow {
  transform: translateX(4px);
  background: rgba(255,255,255,.23);
}

.team-selection-heading {
  max-width: 900px;
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  text-align: left;
}
.team-selection-heading > div { min-width: 0; }
.team-selection-heading h2 { margin-bottom: 12px; }
.team-selection-heading p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.team-section-icon {
  width: 76px;
  height: 76px;
  border-radius: 23px;
  color: var(--green-deep);
  background: linear-gradient(145deg, rgba(47,143,34,.14), rgba(220,234,217,.84));
  border-color: rgba(47,143,34,.16);
  box-shadow: 0 15px 34px rgba(35,104,26,.12);
}
.team-section-icon svg { width: 48px; height: 48px; }

.team-feature-card {
  width: min(100%, 920px);
  margin: 0 auto 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 24px 68px rgba(31,36,31,.10);
}
.team-feature-media {
  width: 100%;
  background: var(--green-soft);
}
.team-feature-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  object-position: center;
}
.team-feature-content {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}
.team-feature-content h3 {
  margin-bottom: 15px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}
.team-feature-content p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.team-role {
  margin: 0 0 11px;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 850;
}

.team-staff-grid {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.team-staff-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 48px rgba(31,36,31,.07);
}
.team-staff-placeholder {
  min-height: 410px;
  position: relative;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.95);
  background:
    radial-gradient(circle at 50% 32%, rgba(255,255,255,.12), transparent 28%),
    linear-gradient(145deg, #6f896a, var(--green-deep));
}
.team-staff-placeholder svg {
  width: min(48%, 190px);
  height: auto;
}
.team-staff-placeholder span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(15,50,18,.76);
  color: #fff;
  font-weight: 850;
}
.team-staff-content { padding: 26px 28px 30px; }
.team-staff-content h3 {
  margin-bottom: 11px;
  font-size: 1.85rem;
}
.team-staff-content p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .team-staff-grid { grid-template-columns: 1fr; max-width: 620px; }
  .team-selection-heading { grid-template-columns: 62px minmax(0, 1fr); gap: 16px; }
  .team-section-icon { width: 62px; height: 62px; border-radius: 19px; }
  .team-section-icon svg { width: 39px; height: 39px; }
}
@media (max-width: 520px) {
  .team-cta-card {
    grid-template-columns: 50px minmax(0, 1fr) 36px;
    gap: 12px;
    min-height: 76px;
    padding: 12px 14px 12px 12px;
    border-radius: 22px;
  }
  .team-cta-icon { width: 50px; height: 50px; border-radius: 16px; }
  .team-cta-icon svg { width: 32px; height: 32px; }
  .team-cta-arrow { width: 36px; height: 36px; font-size: 1.35rem; }
  .team-cta-copy small { display: none; }
  .team-selection-heading {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .team-section-icon { margin-inline: auto; }
  .team-feature-card { border-radius: 25px; }
  .team-feature-media img { aspect-ratio: 4 / 3; }
  .team-feature-content { padding: 26px 20px 30px; }
  .team-staff-placeholder { min-height: 330px; }
  .team-staff-card { border-radius: 24px; }
  .team-staff-content { padding: 22px 22px 26px; }
}

/* Mitarbeiterportraits: Andi & Alex */
.team-staff-media {
  position: relative;
  overflow: hidden;
  background: var(--green-soft);
  aspect-ratio: 4 / 5;
}
.team-staff-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(0deg, rgba(15,50,18,.16), transparent);
  pointer-events: none;
}
.team-staff-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .45s ease;
}
.team-staff-card:hover .team-staff-media img {
  transform: scale(1.018);
}
.team-staff-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.team-staff-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47,143,34,.22);
  box-shadow: 0 24px 58px rgba(31,36,31,.11);
}
@media (max-width: 720px) {
  .team-staff-media { aspect-ratio: 3 / 4; }
}
@media (prefers-reduced-motion: reduce) {
  .team-staff-card,
  .team-staff-media img { transition: none; }
  .team-staff-card:hover,
  .team-staff-card:hover .team-staff-media img { transform: none; }
}

/* Partnerlogos und Premium-Footer */
.partner-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(47,143,34,.15), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(237,243,234,.9));
  border-bottom: 1px solid var(--line);
}
.partner-hero-inner { max-width: 960px; }
.partner-hero h1 {
  max-width: 900px;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  margin-bottom: 22px;
}
.partner-showcase { padding-top: 70px; }
.brand-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.brand-partner-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 48px rgba(31,36,31,.075);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.brand-partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47,143,34,.28);
  box-shadow: 0 26px 62px rgba(31,36,31,.12);
}
.brand-partner-card[open] {
  border-color: rgba(47,143,34,.34);
  box-shadow: 0 26px 62px rgba(31,36,31,.13);
}
.brand-partner-card summary {
  display: block;
  padding: 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.brand-partner-card summary::-webkit-details-marker { display: none; }
.brand-logo-frame {
  min-height: 152px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(31,36,31,.08);
  border-radius: 20px;
  background: #fff;
}
.brand-logo-frame img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: contain;
}
.brand-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--green-dark);
  font-weight: 850;
}
.brand-more > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(47,143,34,.11);
  font-size: 1.25rem;
  transition: transform .22s ease, background .22s ease;
}
.brand-partner-card[open] .brand-more > span {
  transform: rotate(45deg);
  background: rgba(47,143,34,.18);
}
.brand-partner-detail {
  padding: 0 22px 24px;
  border-top: 1px solid var(--line);
}
.brand-partner-detail h2 {
  margin-top: 20px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}
.brand-partner-detail p {
  color: var(--ink-soft);
  margin: 12px 0 0;
}
.brand-partner-detail a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green-dark);
  font-weight: 850;
}
.brand-trademark-note {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: .9rem;
  text-align: center;
}

.premium-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(47,143,34,.26), transparent 34%),
    linear-gradient(145deg, #0b2109, #143c10 62%, #0b2109);
}
.footer-texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(8,29,7,.78), rgba(8,29,7,.86)),
    url("images/holzspaene-bg-optimized.webp") center / cover no-repeat;
  opacity: .72;
}
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-kicker {
  margin: 0 0 7px;
  color: var(--wood-light);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.footer-cta h2 {
  color: white;
  font-size: clamp(1.8rem, 3.4vw, 3.15rem);
  max-width: 720px;
}
.footer-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-call,
.footer-mail {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}
.footer-call {
  background: #fff;
  color: var(--green-deep);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.footer-mail {
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  background: rgba(255,255,255,.07);
}
.footer-call:hover,
.footer-mail:hover { transform: translateY(-2px); }
.footer-main-grid {
  display: grid;
  grid-template-columns: minmax(260px,1.35fr) .72fr 1fr 1fr;
  gap: clamp(28px, 4vw, 62px);
  padding: 54px 0 42px;
}
.footer-about p {
  max-width: 430px;
  color: rgba(247,250,246,.72);
}
.premium-footer .footer-brand small { color: rgba(247,250,246,.66); }
.footer-column > strong,
.footer-hours > strong {
  display: block;
  margin-bottom: 15px;
  color: #fff;
  font-size: .98rem;
}
.footer-column > a,
.footer-column > span,
.footer-column > p,
.footer-legal-links a {
  color: rgba(247,250,246,.72);
}
.footer-column > a,
.footer-column > span {
  display: block;
  margin-top: 9px;
}
.footer-column a:hover { color: white; }
.footer-contact a:first-of-type { line-height: 1.55; }
.footer-hours p {
  margin: 0 0 13px;
}
.footer-hours p span,
.footer-hours p b { display: block; }
.footer-hours p span { color: rgba(247,250,246,.62); }
.footer-hours p b { color: #fff; font-size: 1.03rem; }
.footer-appointment { font-size: .9rem; line-height: 1.5; }
.footer-legal-title { margin-top: 24px; }
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(247,250,246,.9);
  border: 1px solid rgba(255,255,255,.09);
}
.footer-socials a:hover {
  background: rgba(255,255,255,.15);
  color: white;
}
.footer-socials svg { width: 20px; height: 20px; }
.premium-footer .footer-bottom {
  width: 100%;
  padding: 24px 0 28px;
  border-top: 1px solid rgba(255,255,255,.13);
}
.footer-made { color: rgba(247,250,246,.48); }

@media (max-width: 1040px) {
  .brand-partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-hours { grid-column: 2 / 4; display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
  .footer-hours .footer-legal-title { margin-top: 0; }
}
@media (max-width: 760px) {
  .brand-partner-grid { grid-template-columns: 1fr; }
  .partner-showcase { padding-top: 50px; }
  .footer-cta { align-items: flex-start; flex-direction: column; }
  .footer-cta-actions { width: 100%; justify-content: flex-start; }
  .footer-main-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .footer-hours { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .brand-logo-frame { min-height: 130px; }
  .brand-logo-frame img { height: 94px; }
  .footer-cta-actions,
  .footer-call,
  .footer-mail { width: 100%; }
  .footer-main-grid { grid-template-columns: 1fr; padding-top: 42px; }
  .footer-hours { display: block; }
  .footer-hours .footer-legal-title { margin-top: 24px; }
  .premium-footer .footer-bottom { align-items: flex-start; }
  .footer-made { display: none; }
}

/* Performance-Optimierung und stärker hervorgehobener Meisterbetrieb */
body {
  isolation: isolate;
  overflow-x: clip;
}

/* Eine feste, viewportgroße Ebene bleibt erhalten, jedoch ohne teures Blend-Rendering. */
body::before {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  background: url("images/holzspaene-bg-optimized.webp") center / cover no-repeat !important;
  opacity: .075 !important;
  mix-blend-mode: normal !important;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
}

/* Transparente Blur-Flächen verursachten beim Scrollen unnötige Neuberechnungen. */
.site-header {
  background: rgba(247,250,246,.97) !important;
  backdrop-filter: none !important;
}
.showcase-card,
.intro,
.service-card,
.partner-box,
.renovation-card,
.contact-card,
.legal-card,
.company-photo,
.partner-card,
.brand-partner-card,
.team-feature-card,
.team-staff-card,
.map-card,
.panel-label {
  backdrop-filter: none !important;
}
.panel-label { background: rgba(255,255,255,.95) !important; }

/* Scroll-Aufbau bleibt deutlich sichtbar, nutzt aber nur compositorfreundliche Eigenschaften. */
.reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0) !important;
  transition: opacity .78s cubic-bezier(.22,.7,.25,1), transform .78s cubic-bezier(.22,.7,.25,1) !important;
  transition-delay: var(--reveal-delay, 0ms) !important;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) !important;
}

/* Das Meister-Siegel ist bewusst größer als die übrigen Vertrauensmerkmale. */
.trust-row {
  display: grid;
  gap: 12px;
  align-items: start;
  max-width: 610px;
}
.master-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  padding: 13px 18px 13px 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 16px 32px rgba(23,71,19,.22);
}
.master-badge-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #f1d39b, #c79445);
  color: #173d13;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.master-badge-icon svg { width: 31px; height: 31px; }
.master-badge-copy { display: grid; gap: 2px; min-width: 0; }
.master-badge-copy strong {
  font-size: 1.12rem;
  line-height: 1.1;
  letter-spacing: -.015em;
}
.master-badge-copy small {
  color: rgba(255,255,255,.78);
  font-size: .83rem;
  line-height: 1.25;
}
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chips span {
  padding: 9px 13px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 700;
}

@media (max-width: 640px) {
  .master-badge { width: 100%; }
  .master-badge-icon { width: 44px; height: 44px; flex-basis: 44px; }
  .trust-chips { display: grid; grid-template-columns: 1fr; }
  .trust-chips span { text-align: center; }
}

/* Reset gegen die frühere generische .trust-row span-Regel. */
.trust-row .master-badge-icon {
  padding: 0;
  border: 0;
  color: #173d13;
  font-weight: 400;
}
.trust-row .master-badge-copy {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-weight: 400;
}

/* ========================================================================== */
/* Cinematic Hero-Video – finale, isolierte Umsetzung                         */
/* ========================================================================== */
.hero.hero-video-section {
  position: relative;
  isolation: isolate;
  min-height: max(720px, calc(100svh - 86px));
  padding: clamp(86px, 10vh, 132px) 0 clamp(96px, 12vh, 150px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0c2410;
  color: #fff;
}
.hero.hero-video-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  height: 110px;
  background: linear-gradient(0deg, var(--paper), transparent);
  pointer-events: none;
}
.hero-media,
.hero-video-filter,
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-media {
  z-index: -4;
  overflow: hidden;
  background: #0c2410 url("images/handwerk-hero-poster.webp") center 52% / cover no-repeat;
}
.hero-background-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 52%;
  opacity: 1;
  transform: scale(1.015);
  filter: saturate(.9) contrast(1.04) brightness(.82);
  transition: opacity 1.15s ease, transform 10s ease-out;
}
.hero-intro-pending .hero-background-video {
  opacity: 0;
  transform: scale(1.065);
}
.hero-video-ready .hero-background-video {
  opacity: 1;
  transform: scale(1.015);
}
.hero-video-filter {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(6,24,8,.91) 0%, rgba(8,31,10,.77) 37%, rgba(16,57,18,.38) 68%, rgba(12,32,13,.58) 100%),
    linear-gradient(180deg, rgba(15,55,18,.20), rgba(4,18,6,.58));
  mix-blend-mode: multiply;
}
.hero-vignette {
  z-index: -2;
  background:
    radial-gradient(ellipse at 55% 47%, transparent 30%, rgba(4,13,5,.18) 68%, rgba(1,8,2,.66) 110%),
    linear-gradient(180deg, rgba(3,13,4,.42) 0%, transparent 25%, transparent 70%, rgba(3,13,4,.64) 100%);
}
.hero-video-grid {
  position: relative;
  z-index: 4;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .55fr);
  gap: clamp(38px, 7vw, 110px);
  align-items: end;
}
.hero-video-copy {
  max-width: 850px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(5,25,8,.72), rgba(11,45,14,.36));
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.hero-video-section .eyebrow {
  color: #d8efcf;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.hero-video-section h1 {
  max-width: 830px;
  color: #fff;
  font-size: clamp(2.25rem, 3.7vw, 4.35rem);
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 5px 28px rgba(0,0,0,.38);
}
.hero-video-section .lead {
  max-width: 720px;
  color: rgba(255,255,255,.86);
  text-shadow: 0 2px 14px rgba(0,0,0,.32);
}
.hero-light-button {
  color: #fff;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.28);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(6px);
}
.hero-light-button:hover {
  color: #fff;
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.42);
}
.hero-trust-row {
  align-items: center;
}
.hero-video-section .master-badge {
  color: #fff;
  background: linear-gradient(135deg, rgba(35,104,26,.96), rgba(18,71,20,.94));
  border-color: rgba(235,194,116,.58);
  box-shadow: 0 16px 38px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.08);
}
.hero-video-section .master-badge-icon {
  color: #f2cf88;
  background: rgba(255,255,255,.09);
}
.hero-video-section .master-badge-copy small {
  color: rgba(255,255,255,.77);
}
.hero-video-section .trust-chips span {
  color: rgba(255,255,255,.88);
  background: rgba(7,27,9,.55);
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(5px);
}
.hero-video-aside {
  display: grid;
  gap: 22px;
  align-self: end;
  padding-bottom: 10px;
}
.hero-craft-statement {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.5vw, 4.9rem);
  font-weight: 700;
  line-height: .91;
  letter-spacing: -.055em;
  text-align: right;
  text-shadow: 0 8px 32px rgba(0,0,0,.42);
}
.hero-exhibition-card {
  padding: 24px 25px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(145deg, rgba(10,38,12,.78), rgba(255,255,255,.09));
  box-shadow: 0 24px 58px rgba(0,0,0,.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-exhibition-card strong {
  display: block;
  font-size: 1.12rem;
}
.hero-exhibition-card p {
  margin: 8px 0 16px;
  color: rgba(255,255,255,.76);
}
.hero-exhibition-card a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #e6f4df;
  font-weight: 850;
}
.hero-exhibition-card a:hover { color: #fff; }

.hero-brand-intro {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 12;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  color: #fff;
  background: radial-gradient(circle at center, rgba(34,108,27,.80), rgba(5,23,7,.96));
  transition: opacity .75s ease, visibility .75s ease;
  pointer-events: none;
}
.hero-intro-pending .hero-brand-intro {
  display: flex;
  opacity: 1;
  visibility: visible;
}
.hero-video-ready .hero-brand-intro {
  opacity: 0;
  visibility: hidden;
}
.hero-brand-intro-logo {
  width: clamp(82px, 9vw, 126px);
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.92);
  box-shadow: 0 22px 60px rgba(0,0,0,.34);
  animation: heroLogoPulse 1.3s ease-in-out infinite alternate;
}
.hero-brand-intro-logo img { width: 100%; height: 100%; object-fit: cover; }
.hero-brand-intro strong {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: .04em;
}
.hero-intro-pending .hero-video-grid,
.hero-intro-pending .hero-scroll-cue {
  opacity: 0;
  transform: translateY(22px);
}
.hero-video-grid,
.hero-scroll-cue {
  opacity: 1;
  transform: none;
  transition: opacity .9s ease, transform .9s ease;
}
.hero-content-ready .hero-video-grid,
.hero-content-ready .hero-scroll-cue {
  opacity: 1;
  transform: none;
}
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.hero-scroll-cue i {
  width: 1px;
  height: 28px;
  display: block;
  background: linear-gradient(180deg, rgba(255,255,255,.85), transparent);
  animation: heroScrollCue 1.8s ease-in-out infinite;
}
.hero-foreground-shavings {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}
.hero-foreground-shavings span {
  position: absolute;
  width: 110px;
  height: 26px;
  border: 3px solid rgba(225,181,117,.24);
  border-left-color: transparent;
  border-radius: 50%;
  filter: drop-shadow(0 7px 13px rgba(0,0,0,.18));
  animation: heroShavingDrift 13s ease-in-out infinite alternate;
}
.hero-foreground-shavings span:nth-child(1) { top: 16%; left: 5%; transform: rotate(18deg) scale(.72); animation-delay: -3s; }
.hero-foreground-shavings span:nth-child(2) { top: 28%; right: 7%; transform: rotate(-24deg) scale(.95); animation-delay: -8s; }
.hero-foreground-shavings span:nth-child(3) { bottom: 17%; left: 38%; transform: rotate(46deg) scale(.56); animation-delay: -5s; }
.hero-foreground-shavings span:nth-child(4) { bottom: 12%; right: 22%; transform: rotate(-12deg) scale(.68); animation-delay: -10s; }

@keyframes heroLogoPulse {
  from { transform: scale(.98); }
  to { transform: scale(1.035); }
}
@keyframes heroScrollCue {
  0%, 100% { opacity: .35; transform: scaleY(.65); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}
@keyframes heroShavingDrift {
  from { translate: -8px -5px; opacity: .25; }
  to { translate: 13px 9px; opacity: .48; }
}

@media (max-width: 980px) {
  .hero.hero-video-section {
    min-height: max(760px, calc(100svh - 82px));
    padding: 78px 0 112px;
  }
  .hero-video-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
  }
  .hero-video-copy { max-width: 780px; }
  .hero-video-aside {
    grid-template-columns: minmax(0, .8fr) minmax(280px, 1.2fr);
    align-items: end;
    padding-bottom: 0;
  }
  .hero-craft-statement {
    text-align: left;
    font-size: clamp(2rem, 7vw, 4rem);
  }
  .hero-video-filter {
    background:
      linear-gradient(90deg, rgba(5,24,7,.88), rgba(8,38,11,.64)),
      linear-gradient(180deg, rgba(4,19,6,.18), rgba(3,16,5,.65));
  }
}

@media (max-width: 640px) {
  .hero.hero-video-section {
    min-height: max(780px, calc(100svh - 76px));
    padding: 58px 0 104px;
  }
  .hero-video-copy {
    padding: 24px 20px;
    border-radius: 26px;
    backdrop-filter: none;
    background: linear-gradient(145deg, rgba(4,24,7,.80), rgba(14,52,16,.53));
  }
  .hero-video-section h1 {
    font-size: clamp(1.9rem, 8.2vw, 2.75rem);
    line-height: 1.1;
    overflow-wrap: anywhere;
  }
  .hero-video-section .lead { font-size: 1.03rem; }
  .hero-video-aside { grid-template-columns: 1fr; }
  .hero-craft-statement { display: none; }
  .hero-exhibition-card {
    padding: 20px;
    border-radius: 22px;
    backdrop-filter: none;
  }
  .hero-scroll-cue { bottom: 20px; }
  .hero-foreground-shavings span:nth-child(n+3) { display: none; }
  .hero-video-filter {
    background:
      linear-gradient(90deg, rgba(4,22,6,.86), rgba(7,32,9,.62)),
      linear-gradient(180deg, rgba(3,17,5,.18), rgba(2,13,4,.70));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-background-video { transform: none !important; transition: opacity .3s ease !important; }
  .hero-brand-intro-logo,
  .hero-scroll-cue i,
  .hero-foreground-shavings span { animation: none !important; }
  .hero-foreground-shavings { display: none; }
}

/* Hero-Performance: Farblook ist im Video vorgerendert, keine teuren Live-Blur-Layer. */
.hero-background-video { filter: none; }
.hero-video-filter { mix-blend-mode: normal; }
.hero-video-copy,
.hero-exhibition-card,
.hero-light-button,
.hero-video-section .trust-chips span {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Präzise Zentrierung der Hero-Inhalte und des Scroll-Hinweises. */
.hero-video-section .hero-video-grid {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}
.hero-intro-pending .hero-scroll-cue {
  transform: translate(-50%, 22px);
}
.hero-content-ready .hero-scroll-cue,
.hero-scroll-cue {
  transform: translateX(-50%);
}

/* Hero-Feinschliff: Inhalte höher, mobiler Videoausschnitt und echte Hobelspäne. */
@media (min-width: 981px) {
  .hero-video-section .hero-video-grid {
    top: -48px;
  }
}

/* Fotografische Hobelspäne liegen vor dem Video, aber hinter den Inhalten. */
.hero-foreground-shavings span {
  width: clamp(76px, 9vw, 148px);
  height: auto;
  aspect-ratio: 1;
  border: 0;
  border-radius: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.20));
  will-change: transform, opacity;
  animation-name: heroRealShavingFloat;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.hero-foreground-shavings span:nth-child(1) {
  top: 10%; left: -14%;
  background-image: url("images/shaving-small.webp");
  animation-duration: 25s; animation-delay: -7s;
}
.hero-foreground-shavings span:nth-child(2) {
  top: 22%; left: -18%;
  background-image: url("images/shaving-large.webp");
  animation-duration: 34s; animation-delay: -23s;
}
.hero-foreground-shavings span:nth-child(3) {
  top: 67%; left: -16%;
  background-image: url("images/shaving-curl.webp");
  animation-duration: 29s; animation-delay: -14s;
}
.hero-foreground-shavings span:nth-child(4) {
  top: 77%; left: -20%;
  background-image: url("images/shaving-ring.webp");
  animation-duration: 38s; animation-delay: -30s;
}
.hero-foreground-shavings span:nth-child(5) {
  top: 39%; left: -15%;
  width: clamp(62px, 7vw, 112px);
  background-image: url("images/shaving-small.webp");
  animation-duration: 31s; animation-delay: -2s;
}
.hero-foreground-shavings span:nth-child(6) {
  top: 54%; left: -19%;
  width: clamp(80px, 8vw, 132px);
  background-image: url("images/shaving-large.webp");
  animation-duration: 41s; animation-delay: -18s;
}
.hero-foreground-shavings span:nth-child(7) {
  top: 5%; left: -16%;
  width: clamp(56px, 6vw, 98px);
  background-image: url("images/shaving-curl.webp");
  animation-duration: 36s; animation-delay: -33s;
}

@keyframes heroRealShavingFloat {
  0% {
    opacity: 0;
    transform: translate3d(-3vw, 18px, 0) rotate(-22deg) scale(.72);
  }
  9% { opacity: .16; }
  48% {
    opacity: .30;
    transform: translate3d(58vw, -18px, 0) rotate(72deg) scale(.92);
  }
  91% { opacity: .14; }
  100% {
    opacity: 0;
    transform: translate3d(125vw, 14px, 0) rotate(158deg) scale(.76);
  }
}

@media (max-width: 980px) and (min-width: 641px) {
  .hero-video-section .hero-video-grid { top: -20px; }
}

@media (max-width: 640px) {
  .hero.hero-video-section {
    min-height: max(920px, calc(100svh - 76px));
    padding-top: clamp(142px, 21vh, 190px);
  }
  .hero-media {
    background-image: url("images/handwerk-hero-mobile-poster.webp");
    background-position: center center;
  }
  .hero-background-video {
    object-position: center center;
    transform: scale(1.005);
  }
  .hero-intro-pending .hero-background-video { transform: scale(1.035); }
  .hero-video-ready .hero-background-video { transform: scale(1.005); }
  .hero-video-copy {
    background: linear-gradient(145deg, rgba(4,24,7,.67), rgba(14,52,16,.34));
    border-color: rgba(255,255,255,.18);
  }
  .hero-exhibition-card {
    background: linear-gradient(145deg, rgba(10,38,12,.64), rgba(255,255,255,.08));
  }
  .hero-video-filter {
    background:
      linear-gradient(90deg, rgba(4,22,6,.54), rgba(7,32,9,.35)),
      linear-gradient(180deg, rgba(3,17,5,.08), rgba(2,13,4,.48));
  }
  .hero-vignette {
    background:
      radial-gradient(ellipse at 50% 42%, transparent 38%, rgba(2,12,3,.12) 76%, rgba(1,8,2,.42) 112%),
      linear-gradient(180deg, rgba(3,13,4,.16) 0%, transparent 28%, transparent 72%, rgba(3,13,4,.46) 100%);
  }
  .hero-foreground-shavings span:nth-child(n+5) { display: none; }
  .hero-foreground-shavings span {
    width: clamp(58px, 22vw, 92px);
    filter: drop-shadow(0 7px 10px rgba(0,0,0,.16));
  }
  .hero-foreground-shavings span:nth-child(1) { top: 9%; }
  .hero-foreground-shavings span:nth-child(2) { top: 31%; }
  .hero-foreground-shavings span:nth-child(3) { top: 64%; display: block; }
  .hero-foreground-shavings span:nth-child(4) { top: 80%; display: block; }
}

@media (max-height: 760px) and (min-width: 981px) {
  .hero-video-section .hero-video-grid { top: -24px; }
}

/* Erste Bildschirmansicht: Der Hero füllt bewusst die komplette Viewporthöhe.
   Da die Navigation darüber im Dokumentfluss steht, bleiben Scroll-Hinweis und
   Übergang beim Seitenstart unterhalb der sichtbaren Kante. */
.hero.hero-video-section {
  min-height: max(720px, 100vh);
  min-height: max(720px, 100svh);
  min-height: max(720px, 100dvh);
}

/* "Entdecken" wird erst aktiviert, nachdem tatsächlich gescrollt wurde. */
.hero-scroll-cue {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
}
html.hero-scroll-started:not(.hero-intro-pending) .hero-scroll-cue {
  opacity: 1 !important;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

@media (max-width: 980px) {
  .hero.hero-video-section {
    min-height: max(760px, 100vh);
    min-height: max(760px, 100svh);
    min-height: max(760px, 100dvh);
  }
}

@media (max-width: 640px) {
  .hero.hero-video-section {
    min-height: max(920px, 100vh);
    min-height: max(920px, 100svh);
    min-height: max(920px, 100dvh);
  }
}
