/* =========================================================================
   HOLZBAU Plan+Werk — VERSION 3 (Entwurf 12/2026)
   Gestaltungsebene über hpw.css. Idee: Das Logo ist eine Zinkung — drei graue
   Leisten von links, drei grüne von rechts, ineinandergreifend („Plan + Werk").
   Daraus: Zinken-Band als Signatur, Mini-Zinken vor jeder Überschrift,
   eckige Formen (keine runden Boxen), Open Sans schmal & kräftig für Headlines,
   ein grünes Band für die Kennzahlen.
   ========================================================================= */

@property --zx { syntax: "<length-percentage>"; inherits: true; initial-value: 0px; }

:root {
  --v3-ink: #221E20;          /* Headlines — CI-Grau abgedunkelt */
  --v3-an: #3F363B;           /* CI-Grau (Logo) */
  --v3-an-900: #241F22;       /* dunkle Flächen */
  --v3-gr: #6EA826;           /* CI-Grün (Logo) — Flächen, Akzente auf Dunkel */
  --v3-gr-deep: #527E1D;      /* Grün für Text auf Weiß (AA) */
  --v3-gr-soft: #BAD794;
  --v3-paper: #F2F4EE;        /* helle Sektionen, leicht grünlich statt Grau */
  --v3-line: #DCDFD6;
  --v3-text: #4A4548;

  /* Typo-Skala größer & kräftiger */
  --fs-hero: clamp(3rem, min(6.4vw, 10vh), 6.2rem);   /* auch an der Höhe ausgerichtet → Zinken-Band im ersten Bild */
  --fs-h1:   clamp(2.6rem, 5.8vw, 5rem);
  --fs-h2:   clamp(2.05rem, 4vw, 3.45rem);
  --fs-h3:   clamp(1.25rem, 1.9vw, 1.6rem);
  --head-stretch: 80%;

  /* eckig wie das Logo */
  --radius: 0px; --radius-md: 0px; --radius-lg: 0px; --radius-xl: 0px; --radius-sm: 0px;
  --shadow: none;
  --shadow-lg: 0 24px 60px -30px rgba(20, 17, 18, .45);
  --light: var(--v3-paper);
  --c-light: var(--v3-paper);
  --line: var(--v3-line);
  --header-h: 84px;
  --ease-out: cubic-bezier(.16, .84, .24, 1);
}

/* ---------- Grundtypografie ---------- */
body { color: #2B2729; }
h1, h2, h3, h4 {
  font-stretch: var(--head-stretch); font-weight: 760; line-height: 1.02;
  letter-spacing: -.012em; color: var(--v3-ink);
}
h3, h4 { font-stretch: 87.5%; font-weight: 700; line-height: 1.15; letter-spacing: -.005em; }
.head { margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem); }
.head h2 { font-size: var(--fs-h2); margin-bottom: .6rem; }
.head--split { align-items: flex-end; }
.head__aside { color: var(--c-muted); font-size: .98rem; max-width: 30ch; margin: 0; }
.lead { color: var(--v3-text); font-size: clamp(1.1rem, 1.45vw, 1.28rem); line-height: 1.6; }

.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--light { background: var(--v3-paper); }
.section--dark { background: var(--v3-an-900); color: rgba(255,255,255,.8); }
.section--dark h2, .section--dark h3 { color: #fff; }

/* ---------- Eyebrow mit Mini-Zinken ---------- */
.eyebrow {
  font-stretch: 87.5%; font-weight: 700; font-size: .78rem; letter-spacing: .14em;
  color: var(--v3-gr-deep); gap: .8rem; margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: ""; width: 24px; height: 12px; flex: none;
  background:
    repeating-linear-gradient(to bottom, var(--v3-gr) 0 2px, transparent 2px 4px) right top / 58% 12px no-repeat,
    repeating-linear-gradient(to bottom, transparent 0 2px, var(--eb-an, var(--v3-an)) 2px 4px) left top / 56% 12px no-repeat;
  transition: background-size .9s var(--ease-out) .15s;
}
.reveal:not(.in) .eyebrow::before, .eyebrow.reveal:not(.in)::before { background-size: 0% 12px, 0% 12px; }
.eyebrow--light, .section--dark .eyebrow, .page-hero .eyebrow { color: var(--v3-gr-soft); --eb-an: rgba(255,255,255,.55); }
.page-hero .eyebrow::before, .map-preview__label .eyebrow::before { height: 12px; }
.head--center .eyebrow { justify-content: center; }

/* ---------- Buttons: eckig, Leiste fährt beim Hover ein ---------- */
.btn {
  border-radius: 0; font-stretch: 87.5%; font-weight: 700; font-size: 1rem; letter-spacing: .005em;
  padding: 1rem 1.55rem; position: relative; overflow: hidden; isolation: isolate;
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-sweep, var(--v3-ink));
  transform: translateX(-101%); transition: transform .45s cubic-bezier(.7, 0, .2, 1);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn--primary, .nav__cta a.btn--primary { background: var(--v3-gr); color: var(--v3-ink); }
.btn--primary:hover, .nav__cta a.btn--primary:hover { background: var(--v3-gr); color: #fff; transform: none; }
.btn--ghost { border: 2px solid currentColor; color: var(--v3-ink); background: transparent; --btn-sweep: var(--v3-ink); }
.btn--ghost:hover { color: #fff; background: transparent; border-color: var(--v3-ink); }
.hero .btn--ghost, .section--dark .btn--ghost, .page-hero .btn--ghost { color: #fff; --btn-sweep: #fff; }
.hero .btn--ghost:hover, .section--dark .btn--ghost:hover, .page-hero .btn--ghost:hover { color: var(--v3-ink); background: transparent; border-color: #fff; }
.section--dark .btn--primary:hover, .hero .btn--primary:hover { --btn-sweep: #fff; color: var(--v3-ink); }

.link-more {
  font-stretch: 87.5%; font-weight: 700; font-size: 1rem; color: var(--v3-ink);
  border-bottom: 2px solid var(--v3-gr); padding-bottom: 3px;
}
.link-more:hover { color: var(--v3-gr-deep); }
.link-more--light { color: #fff; }
.link-more--light:hover { color: var(--v3-gr-soft); }
.v3-kicker { font-stretch: 87.5%; font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--v3-gr-deep); }

/* =========================================================================
   ZINKEN-BAND — Signatur aus dem Logo
   ========================================================================= */
.zinken {
  --zh: clamp(6px, .72vw, 11px);     /* Höhe einer Leiste */
  --zmid: 50%;                        /* Mitte der Verzahnung */
  --zov: clamp(28px, 4.5vw, 72px);    /* Überlappung */
  --z-gr: var(--v3-gr); --z-an: var(--v3-an);
  display: grid; grid-template-rows: repeat(6, var(--zh)); overflow: hidden;
}
.zinken i { display: block; height: 100%; transition: transform 1.15s var(--ease-out) calc(var(--i) * 75ms + .1s); }
.zinken .z-an { background: var(--z-an); justify-self: start; width: calc(var(--zmid) + var(--zov) / 2 + var(--zx)); }
.zinken .z-gr { background: var(--z-gr); justify-self: end; width: calc(100% - var(--zmid) + var(--zov) / 2 + var(--zx)); }
.zinken:not(.is-in) .z-an { transform: translateX(-101%); }
.zinken:not(.is-in) .z-gr { transform: translateX(101%); }
.zinken--hero { --zmid: 58%; }
.zinken--cta { --zmid: 42%; }
.zinken--page { --zmid: 62%; --zh: clamp(5px, .55vw, 8px); }
.zinken--mini { --zh: 3px; --zov: 10px; --zmid: 50%; width: 46px; --z-an: rgba(255,255,255,.5); margin-bottom: .9rem; }
.zinken--mini i { transition-duration: .6s; }
@media (prefers-reduced-motion: reduce) {
  .zinken i { transition: none; }
  .zinken:not(.is-in) .z-an, .zinken:not(.is-in) .z-gr { transform: none; }
}

/* =========================================================================
   HEADER & MENÜ-PANELS (Hover/Fokus, Anmutung wie duna.com)
   ========================================================================= */
.site-header { background: rgba(255,255,255,.97); backdrop-filter: none; border-bottom: 1px solid var(--v3-line); transition: box-shadow .3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(20,17,18,.5); }
.site-header__inner { min-height: var(--header-h); }
.brand img { height: 44px; width: auto; }
.nav { gap: .15rem; }
.nav__item { position: relative; }
.nav a.nav__link {
  display: block; padding: .6rem .8rem; font-stretch: 90%; font-weight: 650; font-size: 1rem; color: var(--v3-ink);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a.nav__link::after { left: .8rem; bottom: .3rem; height: 3px; background: var(--v3-gr); }
.nav a.nav__link:hover::after { width: 0; }
.nav a.nav__link[aria-current="page"]::after { width: calc(100% - 1.6rem); }
.nav__item:hover > .nav__link, .nav__item:focus-within > .nav__link, .nav__item.is-open > .nav__link { background: var(--v3-paper); }

.nav-panel {
  position: absolute; top: 100%; left: 50%; padding-top: 14px; z-index: 1100;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.nav__item:hover > .nav-panel, .nav__item:focus-within > .nav-panel, .nav__item.is-open > .nav-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
  transition: opacity .2s var(--ease) .08s, transform .3s var(--ease-out) .08s, visibility 0s;
}
.nav__item.is-closed > .nav-panel { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
.nav-panel__inner {
  display: grid; grid-template-columns: minmax(260px, 1fr) 210px; gap: .9rem;
  width: max-content; max-width: min(640px, 92vw); padding: 1.1rem;
  background: rgba(32, 28, 30, .94); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  color: #fff; box-shadow: var(--shadow-lg);
}
.nav-panel__inner:not(:has(.nav-panel__aside)) { grid-template-columns: minmax(280px, 1fr); }
.nav-panel__label { font-stretch: 87.5%; font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--v3-gr-soft); margin: .3rem .7rem .55rem; }
.nav-panel__links { display: flex; flex-direction: column; }
.nav a.nav-panel__link {
  display: flex; flex-direction: column; gap: .12rem; padding: .62rem .7rem; color: #fff; white-space: nowrap;
  transition: background .18s var(--ease);
}
.nav a.nav-panel__link::after, .nav a.nav-panel__aside::after { content: none; }
.nav-panel__link b { font-stretch: 90%; font-weight: 650; font-size: 1rem; line-height: 1.2; transition: color .18s var(--ease); }
.nav-panel__link span { font-size: .8rem; line-height: 1.35; color: rgba(255,255,255,.6); white-space: normal; }
.nav a.nav-panel__link:hover, .nav a.nav-panel__link:focus-visible { background: rgba(255,255,255,.07); }
.nav-panel__link:hover b { color: var(--v3-gr-soft); }
.nav a.nav-panel__aside {
  display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem; padding: 1rem 1rem 1.05rem;
  background: rgba(255,255,255,.06); color: #fff; transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-panel__aside b { font-stretch: 85%; font-weight: 750; font-size: 1.15rem; line-height: 1.1; }
.nav-panel__aside > span { font-size: .8rem; line-height: 1.4; color: rgba(255,255,255,.65); }
.nav a.nav-panel__aside:hover { background: var(--v3-gr); color: var(--v3-ink); }
.nav a.nav-panel__aside:hover > span { color: rgba(34,30,32,.8); }
.nav a.nav-panel__aside:hover .zinken { --z-an: var(--v3-ink); --z-gr: #fff; }
.nav__cta { margin-left: .9rem; }
.nav__cta .btn { padding: .85rem 1.25rem; }

@media (max-width: 1080px) { .nav a.nav__link { padding-inline: .55rem; font-size: .95rem; } }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: .5rem var(--gutter) 2rem; border-bottom: 1px solid var(--v3-line);
    transform: translateY(-120%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav-panel { display: none; }
  .nav a.nav__link { padding: 1rem 0; border-bottom: 1px solid var(--v3-line); font-size: 1.35rem; font-stretch: 82%; font-weight: 750; }
  .nav a.nav__link::after { display: none; }
  .nav__item:hover > .nav__link { background: transparent; }
  .nav__cta { margin: 1.2rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

/* =========================================================================
   HERO (Start)
   ========================================================================= */
.hero { background: var(--v3-an-900); }
.hero__media::after { background: linear-gradient(90deg, rgba(30,26,28,.96) 0%, rgba(30,26,28,.9) 32%, rgba(30,26,28,.55) 54%, rgba(30,26,28,.1) 74%, rgba(30,26,28,0) 88%); }
.hero__inner { min-height: clamp(520px, calc(100svh - var(--header-h) - 66px), 880px); padding-block: clamp(2.5rem, 7vh, 6rem); }
.hero__content { max-width: 780px; }
.hero h1 { font-size: var(--fs-hero); font-stretch: 77%; font-weight: 790; line-height: .94; letter-spacing: -.018em; margin-bottom: 1.3rem; }
.hero h1 em { color: var(--v3-gr); }
.hero__sub { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.82); max-width: 50ch; margin-bottom: 1.8rem; }
.hero__actions { gap: .8rem; }
.hero__scroll { display: none; }

/* =========================================================================
   STARTSEITE
   ========================================================================= */
/* Büro: Aussage + Kennzahlen-Band */
.v3-intro { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.v3-intro__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: end; }
.v3-statement { font-size: clamp(2.3rem, 4.7vw, 4.1rem); line-height: .99; }
.v3-intro__text .lead { margin-bottom: 1.5rem; }

.v3-facts { background: var(--v3-gr); color: var(--v3-ink); }
.v3-facts__list { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v3-fact { padding: clamp(1.8rem, 3.6vw, 3rem) clamp(1rem, 2.2vw, 2rem); border-left: 1px solid rgba(34,30,32,.22); display: flex; flex-direction: column; gap: .65rem; transition-delay: calc(var(--d, 0) * 90ms); }
.v3-fact:first-child { border-left: 0; padding-left: 0; }
.v3-fact__big { font-stretch: 76%; font-weight: 800; line-height: .95; letter-spacing: -.012em; color: var(--v3-ink); }
.v3-fact__big--xl { font-size: clamp(3.6rem, 6.4vw, 5.8rem); }
.v3-fact__big--l  { font-size: clamp(1.7rem, 2.5vw, 2.25rem); }
.v3-fact__big--m  { font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.05; }
.v3-fact__label { font-size: .98rem; line-height: 1.45; color: rgba(34,30,32,.86); max-width: 30ch; }
@media (max-width: 900px) {
  .v3-intro__grid { grid-template-columns: 1fr; }
  .v3-facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .v3-fact:nth-child(n+3) { border-top: 1px solid rgba(34,30,32,.22); }
}
@media (max-width: 520px) {
  .v3-facts__list { grid-template-columns: 1fr; }
  .v3-fact { border-left: 0; padding-left: 0; }
  .v3-fact + .v3-fact { border-top: 1px solid rgba(34,30,32,.22); }
}

/* Für wen wir planen — Wechsel-Liste + Bildbühne */
.v3-switch { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: stretch; }
.v3-switch__list { border-top: 1px solid var(--v3-line); align-self: start; }
.v3-switch__item { position: relative; border-bottom: 1px solid var(--v3-line); }
.v3-switch__btn {
  width: 100%; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 1rem;
  padding: 1.05rem 0; background: none; border: 0; text-align: left; color: var(--v3-ink);
}
.v3-switch__icon { width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border: 1px solid var(--v3-line); color: var(--v3-gr-deep); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.v3-switch__icon svg { width: 22px; height: 22px; }
.v3-switch__title { font-stretch: 82%; font-weight: 760; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.08; color: #8A8387; transition: color .25s var(--ease); }
.v3-switch__btn:hover .v3-switch__title, .is-active .v3-switch__title { color: var(--v3-ink); }
.is-active .v3-switch__icon { background: var(--v3-gr); border-color: var(--v3-gr); color: var(--v3-ink); }
.v3-switch__bar { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--v3-gr); }
.v3-switch.is-auto .is-active .v3-switch__bar { animation: v3-progress var(--dur, 6500ms) linear forwards; }
.v3-switch.is-paused .is-active .v3-switch__bar { animation-play-state: paused; }
.v3-switch:not(.is-auto) .is-active .v3-switch__bar { width: 100%; }
@keyframes v3-progress { from { width: 0; } to { width: 100%; } }
.v3-switch__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.v3-switch__body > div { overflow: hidden; padding-left: calc(44px + 1rem); }
.is-active .v3-switch__body { grid-template-rows: 1fr; }
.v3-switch__body p { color: var(--v3-text); margin: 0 0 1rem; max-width: 46ch; }
.v3-switch__body .link-more { margin-bottom: 1.4rem; }
.v3-switch__stage { position: relative; min-height: clamp(360px, 38vw, 560px); overflow: hidden; background: var(--v3-an-900); }
.v3-switch__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 7s linear; }
.v3-switch__stage img.is-active { opacity: 1; transform: scale(1); }
.v3-switch__tag { position: absolute; left: 0; bottom: 0; z-index: 1; background: var(--v3-gr); color: var(--v3-ink); padding: .75rem 1.15rem; font-stretch: 85%; font-weight: 750; font-size: 1.05rem; }
@media (max-width: 860px) {
  .v3-switch { grid-template-columns: 1fr; }
  .v3-switch__stage { order: -1; min-height: 240px; }
}

/* Referenzen: Aufmacher + Karte */
.v3-refs { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem; }
.v3-ref-feature { position: relative; display: block; min-height: clamp(340px, 40vw, 540px); overflow: hidden; background: var(--v3-an-900); color: #fff; }
.v3-ref-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.v3-ref-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,18,0) 45%, rgba(20,17,18,.82) 100%); }
.v3-ref-feature__meta { position: absolute; left: 0; right: 5rem; bottom: 0; z-index: 1; padding: 1.7rem 1.9rem; display: flex; flex-direction: column; gap: .35rem; }
.v3-ref-feature__meta .v3-kicker { color: var(--v3-gr-soft); }
.v3-ref-feature__meta b { font-stretch: 80%; font-weight: 770; font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1; }
.v3-ref-feature__meta > span:last-child { color: rgba(255,255,255,.75); font-size: .95rem; }
.v3-ref-feature__go { position: absolute; right: 1.5rem; bottom: 1.6rem; z-index: 1; width: 54px; height: 54px; display: grid; place-items: center; background: var(--v3-gr); color: var(--v3-ink); font-size: 1.35rem; font-weight: 700; transition: transform .3s var(--ease); }
.v3-ref-feature:hover img { transform: scale(1.04); }
.v3-ref-feature:hover .v3-ref-feature__go { transform: translateX(5px); }
.v3-ref-map { position: relative; display: block; overflow: hidden; background: #e8ebe3; min-height: 320px; }
.v3-ref-map__map { position: absolute; inset: 0; pointer-events: none; }
.v3-ref-map .leaflet-container { background: #e8ebe3; }
.v3-ref-map__label { position: absolute; left: 1.3rem; top: 1.3rem; z-index: 500; display: flex; flex-direction: column; background: #fff; padding: .9rem 1.15rem 1rem; }
.v3-ref-map__label b { font-stretch: 76%; font-weight: 800; font-size: 3.2rem; line-height: .9; color: var(--v3-ink); }
.v3-ref-map__label span { font-size: .9rem; color: var(--v3-text); margin-top: .3rem; }
.v3-ref-map__btn { position: absolute; right: 1.2rem; bottom: 1.2rem; z-index: 500; }
.v3-ref-map:hover .v3-ref-map__btn::before { transform: none; }
.v3-ref-map:hover .v3-ref-map__btn { color: #fff; }
@media (max-width: 860px) { .v3-refs { grid-template-columns: 1fr; } .v3-ref-map { min-height: 300px; } }

/* Karten-Kacheln (TopPlusOpen, BKG): ruhiger, aber nicht grau */
.leaflet-tile-pane { filter: saturate(.42) contrast(.96) brightness(1.03); }
.hb-pin, .hb-cluster { filter: none; }

/* Projekte in der Nähe */
.near-head { margin: 3rem 0 1.2rem; }
.near-cards { gap: 1.25rem; }
.near-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.near-card:hover { transform: none; box-shadow: none; }
.near-card__img { height: 220px; background: var(--v3-paper); }
.near-card__body { padding: 1rem 0 0; }
.near-card__line { display: none; }
.near-card__cat { font-stretch: 87.5%; font-weight: 700; letter-spacing: .14em; }
.near-card__name { font-stretch: 84%; font-weight: 750; font-size: 1.35rem; color: var(--v3-ink); transition: color .2s var(--ease); }
.near-card:hover .near-card__name { color: var(--v3-gr-deep); }

/* Aktuelles */
.v3-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.v3-news__card { position: relative; display: flex; flex-direction: column; gap: .6rem; background: #fff; padding: 1.1rem 1.1rem 1.5rem; }
.v3-news__card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--v3-gr); transition: width .5s var(--ease-out); }
.v3-news__card:hover::before { width: 100%; }
.v3-news__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; margin-bottom: .5rem; }
.v3-news__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease-out); }
.v3-news__card:hover .v3-news__img img { transform: scale(1.04); }
.v3-news__title { font-stretch: 85%; font-weight: 750; font-size: 1.22rem; line-height: 1.15; color: var(--v3-ink); transition: color .2s var(--ease); }
.v3-news__card:hover .v3-news__title { color: var(--v3-gr-deep); }
.v3-news__text { font-size: .92rem; line-height: 1.55; color: var(--v3-text); }
@media (max-width: 900px) { .v3-news, .near-cards { grid-template-columns: 1fr; } }

/* Leistungen: Bildkacheln */
.v3-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.v3-tile { position: relative; display: block; aspect-ratio: 3 / 4.1; overflow: hidden; background: #111; color: #fff; transition-delay: calc(var(--d, 0) * 90ms); }
.v3-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1s var(--ease-out), opacity .4s var(--ease); }
.v3-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,18,.1) 0%, rgba(20,17,18,0) 30%, rgba(20,17,18,.9) 100%); }
.v3-tile::before { content: ""; position: absolute; left: 0; bottom: 0; z-index: 2; height: 5px; width: 0; background: var(--v3-gr); transition: width .55s var(--ease-out); }
.v3-tile__num { position: absolute; top: 0; left: 0; z-index: 1; font-stretch: 76%; font-weight: 800; font-size: 1.05rem; color: var(--v3-gr); background: rgba(20,17,18,.78); padding: .45rem .7rem; }
.v3-tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.3rem 1.2rem 1.5rem; display: flex; flex-direction: column; gap: .45rem; }
.v3-tile__body b { font-stretch: 80%; font-weight: 770; font-size: clamp(1.35rem, 1.9vw, 1.8rem); line-height: 1.02; }
.v3-tile__body span { font-size: .9rem; line-height: 1.4; color: rgba(255,255,255,.78); max-height: 0; opacity: 0; transition: max-height .5s var(--ease), opacity .4s var(--ease); }
.v3-tile:hover img { transform: scale(1.06); opacity: .65; }
.v3-tile:hover::before { width: 100%; }
.v3-tile:hover .v3-tile__body span, .v3-tile:focus-visible .v3-tile__body span { max-height: 5em; opacity: 1; }
@media (hover: none) { .v3-tile__body span { max-height: none; opacity: 1; } }
@media (max-width: 960px) { .v3-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .v3-tiles { grid-template-columns: 1fr; } .v3-tile { aspect-ratio: 16 / 10; } }

/* Zwei Wege */
.wege-teaser { gap: 1rem; }
.wege-teaser__karte { border-radius: 0; border: 1px solid var(--v3-line); padding: clamp(1.4rem, 2.6vw, 2.1rem); gap: 1.1rem; background: #fff; }
.wege-teaser__karte:hover { transform: none; box-shadow: none; border-color: var(--v3-gr); }
.wege-teaser__karte--2 { border: 2px solid var(--v3-gr); }
.v3-wege__title { font-stretch: 82%; font-weight: 760; font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.05; color: var(--v3-ink); }
.v3-wege__more { margin-top: auto; font-stretch: 87.5%; font-weight: 700; color: var(--v3-gr-deep); }
.v3-wege__more span { display: inline-block; transition: transform .25s var(--ease); }
.wege-teaser__karte:hover .v3-wege__more span { transform: translateX(4px); }
.wt1 span, .wt2__stack span, .wp-box, .wp2__stack span { border-radius: 0; }

/* Stimmen */
.quote { border-radius: 0; box-shadow: none; border: 0; border-top: 3px solid var(--v3-gr); }

/* Netzwerk */
.v3-netz { background: var(--v3-paper); }
.v3-netz__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.v3-netz h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.v3-netz .verbaende { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--v3-line); border: 1px solid var(--v3-line); }
.v3-netz .verbaende > a, .v3-netz .verbaende > span { display: grid; place-items: center; background: #fff; padding: 1.6rem 1.4rem; min-height: 128px; }
.v3-netz .verbaende img { max-height: 58px; max-width: 78%; }
@media (max-width: 860px) { .v3-netz__grid { grid-template-columns: 1fr; } }

/* Kontakt */
.zinken--cta { background: var(--v3-paper); }
.v3-cta { background: var(--v3-an-900); }
.v3-cta__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.v3-cta h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: .98; }
.v3-cta__text { color: rgba(255,255,255,.75); max-width: 52ch; margin-top: 1.3rem; }
.v3-cta__contact { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; border-left: 1px solid rgba(255,255,255,.16); padding-left: clamp(1.5rem, 3vw, 2.6rem); }
.v3-cta__tel { font-stretch: 76%; font-weight: 800; font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1; color: var(--v3-gr); }
.v3-cta__tel:hover { color: #fff; }
.v3-cta__mail { font-size: 1.15rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); }
.v3-cta__mail:hover { border-color: var(--v3-gr); }
.v3-cta__addr { color: rgba(255,255,255,.6); font-size: .92rem; margin: .5rem 0 1.4rem; }
@media (max-width: 860px) { .v3-cta__grid { grid-template-columns: 1fr; } .v3-cta__contact { border-left: 0; padding-left: 0; } }

/* =========================================================================
   SEITENKÖPFE (Unterseiten) & FOOTER
   ========================================================================= */
.page-hero { background: var(--v3-an-900); padding-block: clamp(4rem, 10vw, 7.5rem) clamp(3rem, 7vw, 5rem); }
.page-hero::before { content: none; }
.page-hero h1 { font-size: var(--fs-h1); font-stretch: 77%; font-weight: 790; line-height: .96; letter-spacing: -.016em; max-width: 17ch; }
.page-hero p { color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 54ch; }
.page-hero--photo::after { background: linear-gradient(90deg, rgba(30,26,28,.95) 0%, rgba(30,26,28,.82) 40%, rgba(30,26,28,.35) 75%, rgba(30,26,28,.15) 100%) !important; }

.site-footer { background: #1B1719; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-top img { height: 44px; }
.footer-nav { font-stretch: 90%; font-weight: 650; font-size: .98rem; }

/* Kontakt-Reiter eckig */
.contact-dock__toggle, .contact-dock__panel, .contact-dock__link { border-radius: 0 !important; }

/* Reveal: etwas weicher, mit Staffelung */
.reveal { transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }

/* =========================================================================
   TEAM (Übersicht)
   ========================================================================= */
.member { border-radius: 0; box-shadow: none; }
.member:hover { transform: none; box-shadow: none; }
.member h3 { font-stretch: 84%; font-weight: 760; font-size: clamp(1.3rem, 1.8vw, 1.55rem); }
.member__role { font-stretch: 87.5%; font-weight: 700; color: var(--v3-gr-deep); }
.member__img img { filter: none; }
.team--gf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.team--gf .member { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 0; background: var(--v3-paper); }
.team--gf .member__img { aspect-ratio: auto; height: 100%; min-height: 320px; display: block; }
.team--gf .member__body { padding: clamp(1.4rem, 2.5vw, 2rem); }
.team--gf .member h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; margin: .5rem 0 .9rem; }
.team--gf .member__actions .btn { flex: 0 0 auto; font-size: .95rem; padding: .85rem 1.2rem; font-weight: 700; }
.member--recruit { border-radius: 0; }
@media (max-width: 900px) { .team--gf { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .team--gf .member { grid-template-columns: 1fr; } .team--gf .member__img { min-height: 0; aspect-ratio: 1 / 1; } }
.team-group__title { font-stretch: 82%; font-weight: 760; }

/* =========================================================================
   PROFILSEITE Geschäftsführung (nach pirminjung.de)
   ========================================================================= */
.pf3-head { background: #fff; padding-top: clamp(2rem, 4vw, 3rem); overflow: hidden; }
.pf3-head__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.pf3-head__text { padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.pf3-crumbs { font-size: .85rem; color: var(--c-muted); margin-bottom: clamp(2rem, 5vw, 4rem); }
.pf3-crumbs a { color: var(--v3-ink); border-bottom: 1px solid var(--v3-gr); }
.pf3-name { font-size: clamp(3.2rem, 7.4vw, 6.6rem); font-stretch: 75%; font-weight: 800; line-height: .9; letter-spacing: -.02em; }
.pf3-role { font-stretch: 80%; font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.1; color: var(--v3-an); margin: .7rem 0 2rem; }
.pf3-quick { display: flex; flex-wrap: wrap; gap: .75rem; }
.pf3-photo { margin: 0; align-self: end; }
.pf3-photo img { width: 100%; max-width: 560px; aspect-ratio: 1 / 1; object-fit: cover; display: block; margin-left: auto; }
.pf3-body { padding-top: clamp(3rem, 6vw, 5rem); }
.pf3-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.pf3-block + .pf3-block { margin-top: 1.9rem; }
.pf3-block h2, .pf3-stations h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-stretch: 80%; font-weight: 770; margin-bottom: .55rem; }
.pf3-block ul { margin: 0; padding: 0; list-style: none; }
.pf3-block li, .pf3-block p { color: var(--v3-text); line-height: 1.55; margin: 0; }
.pf3-block li + li { margin-top: .2rem; }
.pf3-stations ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--v3-line); }
.pf3-stations li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--v3-line); align-items: baseline; }
.pf3-year { font-stretch: 78%; font-weight: 800; font-size: 1.15rem; color: var(--v3-gr-deep); font-variant-numeric: tabular-nums; }
.pf3-station { color: #2B2729; line-height: 1.5; }
.pf3-contact { background: var(--v3-an-900); color: #fff; padding-block: clamp(3rem, 7vw, 5.5rem); }
.pf3-contact__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.pf3-contact h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 4rem); font-stretch: 77%; font-weight: 790; line-height: .98; }
.pf3-contact__card { display: flex; gap: 1.4rem; align-items: center; }
.pf3-qr { width: 132px; height: 132px; background: #fff; padding: 6px; flex: none; }
.pf3-qr svg { width: 100%; height: 100%; display: block; }
.pf3-contact__links { display: flex; flex-direction: column; gap: .35rem; }
.pf3-contact__links a { color: #fff; font-size: 1.05rem; }
.pf3-contact__links a:hover { color: var(--v3-gr-soft); }
.pf3-contact__dl { margin-top: .4rem; font-stretch: 87.5%; font-weight: 700; border-bottom: 2px solid var(--v3-gr); align-self: flex-start; }
.pf3-contact__hint { font-size: .82rem; color: rgba(255,255,255,.6); }
.pf3-more { background: #fff; }
.pf3-more__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; }
.pf3-more__card { display: grid; grid-template-columns: 200px minmax(0, 1fr); background: var(--v3-paper); }
.pf3-more__img img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.pf3-more__txt { padding: 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .3rem; justify-content: center; }
.pf3-more__txt b { font-stretch: 80%; font-weight: 770; font-size: 1.8rem; line-height: 1; color: var(--v3-ink); }
.pf3-more__txt > span:not(.link-more) { color: var(--v3-text); margin-bottom: .8rem; }
.pf3-more__txt .link-more { align-self: flex-start; }
.pf3-more__team { display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem; padding: 1.6rem; background: var(--v3-an-900); color: #fff; transition: background .3s var(--ease); }
.pf3-more__team b { font-stretch: 80%; font-weight: 770; font-size: 1.6rem; line-height: 1.05; }
.pf3-more__team > span { color: rgba(255,255,255,.7); }
.pf3-more__team:hover { background: var(--v3-gr); color: var(--v3-ink); }
.pf3-more__team:hover > span { color: rgba(34,30,32,.8); }
.pf3-more__team:hover .zinken { --z-an: var(--v3-ink); --z-gr: #fff; }
@media (max-width: 900px) {
  .pf3-head__grid, .pf3-body__grid, .pf3-contact__grid, .pf3-more__grid { grid-template-columns: 1fr; }
  .pf3-photo img { margin-left: 0; max-width: 420px; }
  .pf3-head__text { padding-bottom: 0; }
  .pf3-photo { padding-bottom: 0; }
}
@media (max-width: 520px) {
  .pf3-stations li { grid-template-columns: 1fr; gap: .15rem; }
  .pf3-more__card { grid-template-columns: 110px minmax(0, 1fr); }
  .pf3-contact__card { flex-direction: column; align-items: flex-start; }
}

/* Hero mobil: Text läuft über die ganze Breite → Video gleichmäßig abdunkeln */
@media (max-width: 760px) {
  .hero__media::after { background: linear-gradient(180deg, rgba(30,26,28,.72) 0%, rgba(30,26,28,.86) 55%, rgba(30,26,28,.94) 100%); }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 3.6rem); }
  .page-hero--photo::after { background: rgba(30,26,28,.82) !important; }
}
