/* ==========================================================================
   Fuchs Kran · Premium-Schicht (wird als letzte CSS-Datei geladen)
   Verfeinert das bestehende Design: gleiche Schrift (Archivo, normale
   Breite), gleiche Farben. Kompaktere Abstände, Kino-Hero, Bildkacheln,
   Technik-Modul und Galerie.
   ========================================================================== */

:root {
  --section-y: clamp(3rem, 2rem + 3vw, 5rem);
  --space-head: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem);
  --radius-card: 10px;
  --radius-img: 8px;
  --shadow-soft: 0 1px 2px rgba(21, 21, 23, 0.06), 0 12px 32px -18px rgba(21, 21, 23, 0.35);
  --ease-cine: cubic-bezier(0.16, 1, 0.3, 1);
}

h1, h2 { font-weight: 720; letter-spacing: -0.032em; }
.section-head { gap: 0.75rem; }
.section-head .eyebrow { margin-bottom: -0.25rem; }

/* --------------------------------------------------------------------------
   Hero: Panorama, maskierte Schrift, Fakten-Leiste
   -------------------------------------------------------------------------- */
.hero--cine {
  min-height: clamp(36rem, 50vw, 54rem);
  padding-top: clamp(3rem, 2rem + 4vw, 6rem);
  padding-bottom: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  overflow: hidden;
}
.hero--cine > .container { align-self: center; }
.hero--cine .hero__bg { overflow: hidden; }
.hero--cine .hero__bg picture { display: block; width: 100%; height: 100%; }
.hero--cine .hero__bg img {
  width: 100%;
  height: 108%;
  object-fit: cover;
  object-position: 50% 62%;
  will-change: transform;
}
.hero--cine .hero__bg::after {
  background:
    linear-gradient(90deg, rgba(14, 14, 16, 0.86) 0%, rgba(14, 14, 16, 0.62) 38%, rgba(14, 14, 16, 0.12) 70%, rgba(14, 14, 16, 0.05) 100%),
    linear-gradient(0deg, rgba(14, 14, 16, 0.5) 0%, rgba(14, 14, 16, 0) 30%);
}
.hero--cine .hero__copy { max-width: 44rem; gap: 1.1rem; padding-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.hero--cine h1 {
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 760;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__line > span { display: inline-block; }
.hero--cine .lead { font-size: var(--fs-18); max-width: 33em; color: rgba(255, 255, 255, 0.84); }
.hero--cine .hero__actions { margin-top: 0.4rem; }
.hero--cine .btn .icon--arrow { width: 1.05rem; height: 1.05rem; }

/* Fakten-Leiste am unteren Rand */
.hero__bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(14, 14, 16, 0.18);
  -webkit-backdrop-filter: blur(5px) saturate(120%);
  backdrop-filter: blur(5px) saturate(120%);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.hero__bar-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 64em) { .hero__bar-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hero__fact {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 1.25rem 1.1rem 0;
  color: var(--white);
  text-decoration: none;
  position: relative;
}
.hero__fact + .hero__fact { padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, 0.12); }
@media (max-width: 63.99em) {
  .hero__fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__fact:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
}
.hero__fact::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 500ms var(--ease-cine);
}
.hero__fact + .hero__fact::before { left: 1.25rem; }
.hero__fact:hover::before { width: 2.5rem; }
.hero__fact-k { font-size: var(--fs-12); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.hero__fact-v { font-size: var(--fs-16); font-weight: 650; }
.hero__fact--call .hero__fact-k { color: #ff6b75; }
.hero__occ { margin-top: 0.25rem; }

@media (max-width: 47.99em) {
  /* Handy: Foto als Band oben, Text darunter auf dunklem Grund */
  .hero--cine { min-height: 0; padding-top: min(58vw, 15rem); background: #0e0e10; }
  .hero--cine .hero__bg { bottom: auto; height: calc(min(58vw, 15rem) + 5rem); }
  .hero--cine .hero__bg img { height: 100%; object-position: 72% 60%; }
  .hero--cine .hero__bg::after {
    background: linear-gradient(0deg, #0e0e10 0%, rgba(14, 14, 16, 0.55) 35%, rgba(14, 14, 16, 0) 70%);
  }
  .hero--cine .hero__copy { padding-bottom: 2rem; }
  .hero__fact { padding-block: 0.8rem; }
  .hero__fact-v { font-size: var(--fs-14); }
}

/* --------------------------------------------------------------------------
   Occasionen-Streifen: kompakter
   -------------------------------------------------------------------------- */
.occ-teaser { padding-block: clamp(2.5rem, 1.8rem + 2vw, 3.75rem); }
.occ-teaser .occ-head { margin-bottom: 1.25rem; }
.occ-mini__img { aspect-ratio: 16 / 10; }
.occ-mini__body { padding: 0.9rem 1rem 1rem; }
@media (min-width: 64em) { .occ-teaser .occ-minis { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 62rem; } }

/* --------------------------------------------------------------------------
   Leistungen: Bildkacheln im Raster (eine grosse, vier kleine)
   -------------------------------------------------------------------------- */
#leistungen .section-head { max-width: 40rem; }
.svc-grid {
  display: grid;
  gap: clamp(0.75rem, 0.5rem + 0.8vw, 1.25rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 64em) {
  .svc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(12rem, 8rem + 5vw, 15rem);
  }
  .svc-card--lg { grid-column: span 2; grid-row: span 2; }
}
.svc-card--lg { grid-column: span 2; }
.svc-card > a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 13rem;
  overflow: hidden;
  border-radius: var(--radius-card);
  color: var(--white);
  text-decoration: none;
  isolation: isolate;
  background: var(--ink);
}
.svc-card--lg > a { min-height: 20rem; }
.svc-card__img { position: absolute; inset: 0; z-index: -2; }
.svc-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1100ms var(--ease-cine), filter 600ms var(--ease-cine);
}
.svc-card > a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14, 14, 16, 0) 30%, rgba(14, 14, 16, 0.82) 100%);
  transition: background 600ms var(--ease-cine);
}
.svc-card__body {
  display: grid;
  gap: 0.3rem;
  padding: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
  padding-right: 4rem;
}
.svc-card__no { font-family: var(--font-mono); font-size: var(--fs-12); color: rgba(255, 255, 255, 0.7); }
.svc-card__title { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.svc-card--lg .svc-card__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -0.03em; }
.svc-card__text {
  font-size: var(--fs-14);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
  max-width: 30em;
}
.svc-card--lg .svc-card__text { font-size: var(--fs-16); }
.svc-card__go {
  position: absolute;
  right: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
  bottom: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 400ms var(--ease-cine), border-color 400ms var(--ease-cine), transform 500ms var(--ease-cine);
}
.svc-card__go .icon { width: 1rem; height: 1rem; }
@media (hover: hover) {
  .svc-card > a:hover .svc-card__img img { transform: scale(1.08); }
  .svc-card > a:hover::before { background: linear-gradient(180deg, rgba(14, 14, 16, 0.1) 10%, rgba(14, 14, 16, 0.88) 100%); }
  .svc-card > a:hover .svc-card__go { background: var(--red); border-color: var(--red); transform: translateX(3px); }
}
.svc-card > a:focus-visible { outline-offset: 4px; }
@media (min-width: 64em) {
  /* Kleine Kacheln: Text gleitet beim Darüberfahren herein */
  .svc-card:not(.svc-card--lg) .svc-card__text {
    max-height: 0;
    opacity: 0;
    transform: translateY(6px);
    transition: max-height 600ms var(--ease-cine), opacity 400ms var(--ease-cine), transform 600ms var(--ease-cine);
  }
  .svc-card:not(.svc-card--lg) > a:hover .svc-card__text,
  .svc-card:not(.svc-card--lg) > a:focus-visible .svc-card__text { max-height: 4.5em; opacity: 1; transform: none; }
}
@media (max-width: 39.99em) {
  .svc-card:not(.svc-card--lg) > a { min-height: 11rem; }
  .svc-card:not(.svc-card--lg) .svc-card__text { display: none; }
  .svc-card:not(.svc-card--lg) .svc-card__body { padding: 0.85rem; padding-right: 0.85rem; }
  .svc-card:not(.svc-card--lg) .svc-card__go { display: none; }
}

/* Industriekrane beim Familienbetrieb */
.partner-band {
  display: grid;
  gap: 0.35rem 1.5rem;
  align-items: center;
  margin-top: clamp(0.75rem, 0.5rem + 0.8vw, 1.25rem);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-card);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: background var(--t-base) var(--ease-out);
}
@media (min-width: 48em) { .partner-band { grid-template-columns: auto minmax(0, 1fr) auto; } }
.partner-band:hover { background: var(--silver-soft); }
.partner-band__label { font-size: var(--fs-12); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); }
.partner-band__text { font-size: var(--fs-16); color: var(--graphite); }
.partner-band__text strong { color: var(--ink); }

/* Für wen: kompakte Zeile */
.audience {
  display: grid;
  gap: 1rem 2rem;
  margin-top: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
  padding-top: 1.25rem;
  border-top: var(--rule);
}
@media (min-width: 40em) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .audience { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.audience li { font-size: var(--fs-14); color: var(--graphite); line-height: 1.5; }
.audience strong { display: block; font-size: var(--fs-16); color: var(--ink); margin-bottom: 0.15rem; }

/* --------------------------------------------------------------------------
   Technik im Detail: Greifer mit Erklärpunkten und Tiefe
   -------------------------------------------------------------------------- */
.tech { overflow: hidden; }
.tech__grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
@media (min-width: 64em) { .tech__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.tech__copy { display: grid; gap: 1.5rem; }
.tech__feats { display: grid; border-top: var(--rule); }
.tech__feat {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.9rem;
  width: 100%;
  padding: 0.9rem 0;
  border-bottom: var(--rule);
  text-align: left;
  color: var(--graphite);
  transition: color var(--t-base) var(--ease-out);
}
.tech__feat strong { display: block; color: var(--ink); font-size: var(--fs-16); margin-bottom: 0.1rem; }
.tech__feat > span:last-child > span { font-size: var(--fs-14); }
.tech__feat-no {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid var(--silver);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 700;
  color: var(--ink);
  transition: background 300ms var(--ease-out), border-color 300ms var(--ease-out), color 300ms var(--ease-out);
}
.tech__feat[aria-pressed="true"] .tech__feat-no,
.tech__feat:hover .tech__feat-no { background: var(--red); border-color: var(--red); color: var(--white); }
.tech__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }

.tech__stage {
  position: relative;
  perspective: 1200px;
  overflow: hidden;
  border-radius: 18px;
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem) clamp(1rem, 0.5rem + 2vw, 2.5rem);
  background:
    radial-gradient(55% 60% at 50% 42%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(160deg, #26262a 0%, #141416 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 60px -40px rgba(14, 14, 16, 0.8);
}
.tech__stage::before {
  content: "Kiebler Heukran-Greifer";
  position: absolute;
  left: 1.25rem;
  top: 1rem;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}
.tech__stage::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 7%;
  height: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  filter: blur(8px);
  pointer-events: none;
}
.tech__tilt {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 700ms var(--ease-cine);
  will-change: transform;
}
.tech__tilt img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.45)); }
.tech__spot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin: -1.05rem 0 0 -1.05rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(21, 21, 23, 0.12), 0 8px 18px -8px rgba(21, 21, 23, 0.5);
  transform: translateZ(40px);
  transition: background 300ms var(--ease-out), color 300ms var(--ease-out), transform 500ms var(--ease-cine), opacity 400ms var(--ease-out);
}
@media (prefers-reduced-motion: no-preference) {
  .js .tech:not(.is-inview) .tech__spot { opacity: 0; transform: translateZ(40px) scale(0.3); }
  .tech__spot:nth-of-type(2) { transition-delay: 0s, 0s, 120ms, 120ms; }
  .tech__spot:nth-of-type(3) { transition-delay: 0s, 0s, 240ms, 240ms; }
}
.tech__spot::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--red);
  opacity: 0;
}
.tech__spot.is-active { background: var(--red); color: var(--white); transform: translateZ(40px) scale(1.12); }
@media (prefers-reduced-motion: no-preference) {
  .tech__spot::before { animation: spot-pulse 2.4s var(--ease-out) infinite; }
  .tech__spot:nth-of-type(2)::before { animation-delay: 0.8s; }
  .tech__spot:nth-of-type(3)::before { animation-delay: 1.6s; }
}
@keyframes spot-pulse {
  0% { opacity: 0.7; transform: scale(0.85); }
  70%, 100% { opacity: 0; transform: scale(1.5); }
}

/* --------------------------------------------------------------------------
   Galerie: seitlich scrollbar, ziehbar
   -------------------------------------------------------------------------- */
.gallery { overflow: hidden; }
.gallery__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem);
}
.gallery__nav { display: flex; align-items: center; gap: 0.5rem; }
.gallery__nav .link-arrow { margin-left: 0.75rem; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid var(--silver);
  background: var(--white);
  color: var(--ink);
  transition: background var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
}
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.icon-btn .icon { width: 1.1rem; height: 1.1rem; }
.gallery__track,
.gallery__track[role="list"] {
  display: flex;
  gap: clamp(0.75rem, 0.5rem + 0.8vw, 1.25rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--g-start, var(--gutter));
  padding-inline: var(--g-start, var(--gutter));
  position: relative;
  z-index: 1;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  cursor: grab;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__track.is-dragging a { pointer-events: none; }
.gallery__item { flex: 0 0 clamp(16rem, 72vw, 26rem); scroll-snap-align: start; }
.gallery__item a { display: grid; gap: 0.75rem; color: var(--ink); text-decoration: none; }
.gallery__img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-img);
  background: var(--silver-soft);
}
.gallery__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1100ms var(--ease-cine);
  -webkit-user-drag: none;
  user-select: none;
}
.gallery__item a:hover .gallery__img img { transform: scale(1.1); }
.gallery__cap { display: grid; gap: 0.15rem; }
.gallery__title { font-size: var(--fs-16); font-weight: 650; }

/* --------------------------------------------------------------------------
   Ablauf, Warum, Standorte, nächster Schritt: kompakter
   -------------------------------------------------------------------------- */
.process .section-head { margin-bottom: clamp(1rem, 0.6rem + 1vw, 1.75rem); }
.company__grid { align-items: center; }
.company__plate .plate__img { border-radius: var(--radius-card); aspect-ratio: 16 / 10; }
.company .section-head { margin-bottom: 1.25rem; }
.reasons { margin-bottom: 1.25rem; }
@media (min-width: 64em) {
  .company__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); }
  .company__plate { max-width: none; }
}

.locations .section-head { margin-bottom: 1.5rem; }
@media (min-width: 64em) {
  .locations__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr); gap: 1rem; align-items: stretch; }
  .locations__grid { display: contents !important; }
  .location + .location { border-left: 0 !important; padding-left: 1.25rem !important; }
  .map-block { display: grid; grid-template-rows: auto 1fr; gap: 0.5rem; }
  .map-block .map { aspect-ratio: auto; min-height: 15rem; height: 100%; }
}
.location.tile { padding: 1.1rem 1.25rem; border-radius: var(--radius-card); gap: 0.35rem; }
.location__phone { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-block: 0.15rem; }
.location address { font-size: var(--fs-16); }

.doors .section-head { margin-bottom: 1.5rem; }
.door.tile { padding: clamp(1.25rem, 1rem + 1vw, 2rem); border-radius: var(--radius-card); }
.door__box { display: none; }
.doors__grid { gap: 1rem; }
.door__title { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); }

/* --------------------------------------------------------------------------
   Allgemein: weichere, einheitliche Kanten und Bewegungen
   -------------------------------------------------------------------------- */
.tile { border-radius: var(--radius-card); }
.btn { transition: background-color var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out), transform 300ms var(--ease-cine), box-shadow 300ms var(--ease-cine); }
.btn:not(.btn--outline):hover { box-shadow: 0 10px 22px -12px rgba(217, 15, 31, 0.7); }

@media (prefers-reduced-motion: reduce) {
  .svc-card__img img,
  .gallery__img img,
  .tech__tilt { transition: none; }
}

/* --------------------------------------------------------------------------
   Unterseiten-Kopf: ruhiger, Foto grösser
   -------------------------------------------------------------------------- */
.page-hero__copy > .icon-badge--lg { display: none; }
.page-hero h1 { font-weight: 720; letter-spacing: -0.035em; }
.page-hero__plate .plate__img,
.sub-hero .page-hero__plate .plate__img { border-radius: var(--radius-card); box-shadow: var(--shadow-soft); }
@media (min-width: 64em) {
  .sub-hero.page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); }
  .sub-hero .page-hero__plate { max-width: 28rem; }
}

/* --------------------------------------------------------------------------
   Datenblatt (Landwirtschaft): Reiter + kompakte Tabelle
   -------------------------------------------------------------------------- */
.spec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 1.5rem;
}
.spec__head .section-head { max-width: 40rem; }
.spec__tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--paper);
}
.spec__tabs button {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: var(--fs-14);
  font-weight: 650;
  color: var(--graphite);
  transition: background var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.spec__tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(21, 21, 23, 0.12), 0 4px 12px -6px rgba(21, 21, 23, 0.25); }
.js .spec__panel[hidden] { display: none; }
.spec__panel + .spec__panel { margin-top: 1.5rem; }
.js .spec__panel + .spec__panel { margin-top: 0; }
.spec__scroll {
  overflow-x: auto;
  border-radius: var(--radius-card);
  box-shadow: 0 0 0 1px var(--silver-soft);
  background: var(--white);
}
.spec__scroll:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.spec__table { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: var(--fs-14); font-variant-numeric: tabular-nums; }
.spec__table th,
.spec__table td { padding: 0.75rem 0.9rem; text-align: center; white-space: nowrap; }
.spec__table thead tr:first-child th { background: var(--ink); color: var(--white); font-weight: 650; font-size: var(--fs-14); }
.spec__table thead tr:first-child th:first-child { text-align: left; }
.spec__table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  font-weight: 650;
  background: var(--white);
  box-shadow: inset 3px 0 0 var(--red);
}
.spec__table tbody tr:nth-child(even) th,
.spec__table tbody tr:nth-child(even) td { background: #fafafb; }
.spec__table tbody tr + tr th,
.spec__table tbody tr + tr td { border-top: 1px solid var(--silver-soft); }
.spec__table tbody tr:hover td,
.spec__table tbody tr:hover th { background: var(--red-tint); }
.spec__groups td { padding: 0.45rem 0.6rem; font-size: var(--fs-12); font-weight: 600; color: var(--steel); background: var(--paper); white-space: normal; line-height: 1.3; }
.spec__groups td:empty { background: var(--white); }
.spec__len { color: var(--graphite); }
.spec__na { color: var(--silver); }
.spec__note { margin-top: 0.6rem; font-size: var(--fs-14); color: var(--steel); }
.spec__foot { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; font-size: var(--fs-14); color: var(--steel); }

/* --------------------------------------------------------------------------
   Handy: Galerie ohne Pfeile (wischen), Rechtstexte ohne Überlauf
   -------------------------------------------------------------------------- */
@media (max-width: 47.99em) {
  .gallery__head { flex-direction: column; align-items: flex-start; }
  .occ-teaser .occ-head { flex-wrap: wrap; align-items: flex-start; }
  .occ-teaser .occ-head .link-arrow { white-space: normal; }
  .gallery__nav .icon-btn { display: none; }
  .gallery__nav .link-arrow { margin-left: 0; }
  .legal__body { grid-template-columns: minmax(0, 1fr); max-width: 100%; }
  .legal__body .btn { white-space: normal; height: auto; min-height: 2.75rem; padding-block: 0.5rem; text-align: left; }
  .legal__body p,
  .legal__body h2 { overflow-wrap: anywhere; }
  .page-hero h1 { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
}

/* --------------------------------------------------------------------------
   Hero: Angebots-Leiste (was Fuchs macht, auf einen Blick)
   -------------------------------------------------------------------------- */
.hero__offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  padding: 0;
}
@media (min-width: 64em) { .hero__offers { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.hero__offer {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.85rem;
  row-gap: 0.1rem;
  align-items: center;
  height: 100%;
  padding: 1.1rem 1rem 1.2rem 0;
  color: var(--white);
  text-decoration: none;
}
.hero__offers > li + li .hero__offer { padding-left: 1rem; }
.hero__offers > li + li { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.hero__offer::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 500ms var(--ease-cine);
}
.hero__offers > li + li .hero__offer::before { left: 1rem; }
.hero__offer:hover::before,
.hero__offer:focus-visible::before { width: 2.5rem; }
.hero__offer-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background 250ms var(--ease-cine), transform 250ms var(--ease-cine);
}
.hero__offer-icon .icon { width: 1.4rem; height: 1.4rem; }
.hero__offer:hover .hero__offer-icon { background: var(--red); transform: translateY(-2px); }
.hero__offer-k { display: inline-flex; align-items: center; gap: 0.3rem; font-size: var(--fs-18); font-weight: 720; letter-spacing: -0.01em; line-height: 1.2; }
.hero__offer-k .icon { width: 0.9rem; height: 0.9rem; opacity: 0.8; }
.hero__offer-v { font-size: var(--fs-14); line-height: 1.35; color: rgba(255, 255, 255, 0.7); }
.hero__offer--service .hero__offer-icon { background: var(--red); }
.hero__offer--service .hero__offer-v { color: #ff9aa2; }
@media (max-width: 63.99em) {
  .hero__offers > li:nth-child(odd) { border-left: 0; }
  .hero__offers > li:nth-child(odd) .hero__offer { padding-left: 0; }
  .hero__offers > li:nth-child(odd) .hero__offer::before { left: 0; }
  .hero__offers > li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .hero__offers > li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 47.99em) {
  .hero__offer { padding-block: 0.85rem; column-gap: 0.65rem; }
  .hero__offer-icon { width: 2.2rem; height: 2.2rem; }
  .hero__offer-k { font-size: var(--fs-16); }
  .hero__offer-v { font-size: var(--fs-12); }
}

/* --------------------------------------------------------------------------
   Team: hohe Porträts, beim Antippen gleitet das Foto bei der Arbeit herein
   -------------------------------------------------------------------------- */
.crew {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-grid) var(--space-stack);
  list-style: none;
  padding: 0;
}
@media (min-width: 64em) {
  .crew { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-grid); align-items: start; }
  .crew__item:nth-child(even) { margin-top: 3rem; }
}
.crew__item { display: grid; gap: var(--s-4); align-content: start; }

.crew-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--silver-soft);
  cursor: pointer;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
.crew-card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.crew-card__face { position: absolute; inset: 0; display: block; }
.crew-card__face img { width: 100%; height: 100%; object-fit: cover; }
.crew-card__face--portrait { transition: transform 900ms var(--ease-cine), filter 900ms var(--ease-cine); }
.crew-card__face--work {
  z-index: 1;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 750ms var(--ease-cine);
}
/* rote Kante, die mit dem Bildwechsel nach oben fährt */
.crew-card__face--work::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 3px;
  background: var(--red);
}
.crew-card[aria-pressed="true"] .crew-card__face--work { clip-path: inset(0 0 0 0); }
.crew-card[aria-pressed="true"] .crew-card__face--portrait { transform: scale(1.06); filter: grayscale(1); }
@media (hover: hover) and (pointer: fine) {
  .crew-card:hover .crew-card__face--portrait { transform: scale(1.03); }
  .crew-card[aria-pressed="false"]:hover .crew-card__face--work { clip-path: inset(94% 0 0 0); }
}

/* Hinweis-Schild unten links */
.crew-card__flip {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(14, 14, 16, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: var(--fs-12);
  font-weight: 650;
  transition: background 250ms var(--ease-out);
}
.crew-card__flip .icon { width: 0.95rem; height: 0.95rem; }
.crew-card:hover .crew-card__flip,
.crew-card[aria-pressed="true"] .crew-card__flip { background: var(--red); }

/* Karte mit Initialen, solange kein Foto da ist */
.crew-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.6rem;
  background:
    radial-gradient(120% 80% at 50% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #ececf0 0%, #d9d9de 100%);
  color: var(--steel);
}
.crew-ph__initials {
  font-size: clamp(2.6rem, 1.6rem + 3vw, 4.25rem);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  opacity: 0.18;
}
.crew-ph__note { font-size: var(--fs-12); font-weight: 600; letter-spacing: 0.02em; }
.crew-ph--work {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #2a2a2d 0%, #121214 100%);
  color: rgba(255, 255, 255, 0.72);
}
.crew-ph--work .icon { width: 2rem; height: 2rem; color: var(--red); }
.crew-card__face img + .crew-ph { display: none; }

/* Name und Kontakt */
.crew__meta { display: grid; gap: 0.2rem; padding-left: 0.1rem; }
.crew__no { font-family: var(--font-mono); font-size: var(--fs-12); font-weight: 700; color: var(--red); }
.crew__name { font-size: var(--fs-20); line-height: 1.2; letter-spacing: -0.015em; }
.crew__name::after { display: none; }
.crew__role { font-size: var(--fs-16); color: var(--graphite); }
.crew__mail {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.crew__mail .icon { flex: none; width: 1rem; height: 1rem; color: var(--red); }
.crew__mail:hover { color: var(--red); text-decoration: underline; }
@media (max-width: 39.99em) {
  .crew__name { font-size: var(--fs-18); }
  .crew__role { font-size: var(--fs-14); }
  .crew__mail { font-size: var(--fs-12); }
  .crew-card__flip { left: 0.5rem; bottom: 0.5rem; padding: 0.3rem 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .crew-card__face--portrait, .crew-card__face--work { transition: none; }
}

/* Navigation: Anzahl offener Stellen */
.nav__count {
  display: inline-grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.15rem;
  padding: 0 0.3rem;
  border-radius: var(--radius-sm);
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: 0.1em;
}

/* --------------------------------------------------------------------------
   Referenzen: Kundenlogos (aus dem Backoffice) in ihren Originalfarben
   auf weissem Grund (viele Logos haben dunkle Schrift), linksbündig
   -------------------------------------------------------------------------- */
.refs { background: var(--white); border-block: var(--rule); }
.refs__title {
  margin-bottom: clamp(2rem, 1.25rem + 2.5vw, 3.25rem);
  font-size: var(--fs-14);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
}
.refs__title::after { display: none; }
/* Zwei Logos pro Reihe, ab Tablet drei, ab Desktop vier */
.refs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 3vw, 3.5rem) clamp(1.5rem, 1rem + 3vw, 4.5rem);
  align-items: center;
  list-style: none;
  padding: 0;
}
@media (min-width: 48em) { .refs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64em) { .refs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.refs__item { min-width: 0; }
.refs__item > span,
.refs__item > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: clamp(4.5rem, 3rem + 4vw, 7rem);
}
/* Mit Webseite: das ganze Logo ist der Link */
.refs__item > a { text-decoration: none; border-radius: 4px; transition: opacity 0.2s ease, transform 0.2s ease; }
.refs__item > a:hover { opacity: 0.75; }
.refs__item > a:active { transform: scale(0.97); }
.refs__item > a:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.refs__item img {
  width: auto;
  height: auto;
  max-width: min(100%, 14rem);
  max-height: 100%;
  object-fit: contain;
}


/* --------------------------------------------------------------------------
   Unterseiten-Kopf mit Foto, im Stil der Startseite
   -------------------------------------------------------------------------- */
.page-hero--cine {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  min-height: clamp(26rem, 40vw, 36rem);
  padding-top: var(--space-stack);
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  background: #0e0e10;
  color: var(--white);
}
.page-hero--cine > .container { display: flex; flex-direction: column; width: 100%; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; margin: 0; overflow: hidden; }
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 60% 45%);
}
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 14, 16, 0.88) 0%, rgba(14, 14, 16, 0.66) 40%, rgba(14, 14, 16, 0.2) 72%, rgba(14, 14, 16, 0.08) 100%),
    linear-gradient(0deg, rgba(14, 14, 16, 0.7) 0%, rgba(14, 14, 16, 0) 40%),
    linear-gradient(180deg, rgba(14, 14, 16, 0.45) 0%, rgba(14, 14, 16, 0) 22%);
}

/* Brotkrumen hell */
.page-hero--cine .breadcrumb ol { color: rgba(255, 255, 255, 0.62); }
.page-hero--cine .breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.page-hero--cine .breadcrumb a:hover { color: var(--white); text-decoration-color: var(--red); }
.page-hero--cine .breadcrumb li + li::before { color: rgba(255, 255, 255, 0.35); }

/* Text unten links */
.page-hero--cine .page-hero__grid,
.page-hero--cine .page-hero__grid--solo {
  grid-template-columns: minmax(0, 1fr);
  margin-top: auto;
  padding-top: clamp(3rem, 2rem + 4vw, 6rem);
  border-top: 0;
}
.page-hero--cine .page-hero__copy { max-width: 46rem; gap: 1.1rem; }
.page-hero--cine .eyebrow { color: var(--white); }
.page-hero--cine h1 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 1.3rem + 4.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 760;
  color: var(--white);
}
.page-hero--cine h1::after { display: none; }
.page-hero--cine .lead { max-width: 34em; font-size: var(--fs-18); color: rgba(255, 255, 255, 0.84); }
.page-hero--cine .sub-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-stack) var(--space-grid);
  margin-top: 0.4rem;
}
.page-hero--cine .link-arrow,
.page-hero--cine .link-arrow .icon { color: var(--white); }
.page-hero--cine .page-index a { color: var(--white); }
.page-hero--cine .page-index .icon { color: #ff6b75; }

/* Anlagen: Hinweis zu den technischen Daten */
.page-hero--cine .rapport-row { border-color: rgba(255, 255, 255, 0.2); max-width: 30rem; }
.page-hero--cine .rapport-row__cell { border-color: rgba(255, 255, 255, 0.2); }
.page-hero--cine .rapport-row .field-label { color: #ff6b75; }
.page-hero--cine .rapport-row--stack .rapport-row__value { color: rgba(255, 255, 255, 0.8); }

/* Kontakt: Schnellkontakt direkt unter dem Kopf */
.quick-band { padding-top: var(--space-grid); }
.quick-band .quick-contact { margin-top: 0; }

/* sanfter Auftritt beim Laden */
@media (prefers-reduced-motion: no-preference) {
  .page-hero__bg img { animation: page-hero-zoom 1.6s var(--ease-cine) both; }
  .page-hero--cine .page-hero__copy > *,
  .page-hero--cine .rapport-row { animation: page-hero-rise 900ms var(--ease-cine) both; }
  .page-hero--cine .page-hero__copy > :nth-child(2) { animation-delay: 80ms; }
  .page-hero--cine .page-hero__copy > :nth-child(3) { animation-delay: 160ms; }
  .page-hero--cine .page-hero__copy > :nth-child(n + 4),
  .page-hero--cine .rapport-row { animation-delay: 240ms; }
}
@keyframes page-hero-zoom { from { transform: scale(1.08); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes page-hero-rise { from { transform: translateY(16px); opacity: 0; } }

/* Handy: Foto als Band oben, Text darunter auf dunklem Grund */
@media (max-width: 47.99em) {
  .page-hero--cine { min-height: 0; padding-top: min(52vw, 13rem); }
  .page-hero__bg { bottom: auto; height: calc(min(52vw, 13rem) + 6rem); background: #0e0e10; }
  .page-hero__bg::after {
    background: linear-gradient(0deg, #0e0e10 0%, #0e0e10 6%, rgba(14, 14, 16, 0.55) 40%, rgba(14, 14, 16, 0.1) 75%, rgba(14, 14, 16, 0.35) 100%);
  }
  .page-hero--cine .breadcrumb { position: absolute; top: var(--space-stack); left: var(--gutter); right: var(--gutter); }
  .page-hero--cine .page-hero__grid { padding-top: var(--space-stack); }
  .page-hero--cine h1 { font-size: clamp(2.1rem, 1.4rem + 4vw, 2.75rem); }
  .page-hero--cine .lead { font-size: var(--fs-16); }
}

/* Kopfbild nur rechts (z. B. Teamfoto auf Über uns): Personen stehen neben dem Text, nicht dahinter */
@media (min-width: 64em) {
  .page-hero--right .page-hero__bg img {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    object-position: 50% 30%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  }
  .page-hero--right .page-hero__copy { max-width: min(46rem, 50%); }
  .page-hero--right .page-hero__bg::after {
    background:
      linear-gradient(90deg, rgba(14, 14, 16, 0.5) 0%, rgba(14, 14, 16, 0.25) 45%, rgba(14, 14, 16, 0) 70%),
      linear-gradient(0deg, rgba(14, 14, 16, 0.6) 0%, rgba(14, 14, 16, 0) 35%);
  }
}

/* Auf der Baustelle (Dienstleistungen #montage): Fotostrecke einer Montage */
.montage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(8.5rem, 34vw, 12rem);
  grid-auto-flow: dense;
  gap: clamp(0.5rem, 0.3rem + 0.6vw, 0.875rem);
  list-style: none;
  padding: 0;
}
.montage__item { position: relative; min-width: 0; }
.montage__item--big { grid-column: span 2; grid-row: span 2; }
.montage__item--wide { grid-column: span 2; }
.montage__item--tall { grid-row: span 2; }
.montage figure {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #0e0e10;
}
.montage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.montage figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14, 14, 16, 0.78) 0%, rgba(14, 14, 16, 0.35) 28%, rgba(14, 14, 16, 0) 55%);
  pointer-events: none;
}
.montage figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 0.15rem;
  padding: clamp(0.6rem, 0.4rem + 0.8vw, 1.1rem);
  color: #fff;
}
.montage__step {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.montage__step::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 2px;
  margin-right: 0.45rem;
  vertical-align: middle;
  background: var(--red);
}
.montage__cap { font-size: var(--fs-16); line-height: 1.35; text-wrap: balance; }
.montage__item:hover img { transform: scale(1.05); }
@media (max-width: 47.99em) {
  .montage__item:not(.montage__item--big):not(.montage__item--wide) .montage__cap { display: none; }
}
@media (min-width: 48em) {
  .montage { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(9.5rem, 15vw, 15rem); }
}
@media (prefers-reduced-motion: reduce) {
  .montage img { transition: none; }
  .montage__item:hover img { transform: none; }
}

/* Fusszeile: Hinweis auf die Agentur, etwas zurückhaltender als die Rechtslinks */
.footer-bottom ul { flex-wrap: wrap; row-gap: var(--s-2); }
.footer-bottom .footer-credit { color: var(--steel); }
.footer-bottom .footer-credit:hover { color: var(--red); }

/* Team ohne Foto: ruhige Karte mit Initialen, ohne Bildwechsel */
.crew-card--static { cursor: default; }
.refs[hidden] { display: none; }

/* ==========================================================================
   Cookie-Banner und Karten-Platzhalter (Google Maps erst nach Zustimmung)
   ========================================================================== */
.consent {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(var(--gutter) + env(safe-area-inset-bottom));
  z-index: calc(var(--z-actionbar) + 1);
  display: grid;
  gap: var(--s-3);
  max-width: 28rem;
  padding: var(--s-5);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: 0 0 0 1px #e1e1e6, 0 18px 40px -18px rgba(0, 0, 0, 0.35);
  animation: consent-in var(--t-slow) var(--ease-out) both;
}
.consent__title { font-weight: 700; font-size: var(--fs-16); }
.consent__text { font-size: var(--fs-14); line-height: 1.5; color: var(--graphite); }
.consent__text a { color: var(--ink); font-weight: 600; }
.consent__text a:hover { color: var(--red); }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-1); }
.consent__actions .btn { flex: 1 1 8rem; }
@keyframes consent-in { from { opacity: 0; transform: translateY(1rem); } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
/* Mobile: Aktionsleiste ausblenden, solange der Banner offen ist */
.has-consent-banner .action-bar { visibility: hidden; }

.footer-consent { padding: 0; font: inherit; color: var(--ink); text-decoration: none; cursor: pointer; }
.footer-consent:hover { color: var(--red); }

.map-consent {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--s-2);
  padding: var(--s-6);
  text-align: center;
  background: var(--paper);
}
.map-consent__icon { width: 2rem; height: 2rem; color: var(--red); }
.map-consent__title { font-weight: 700; color: var(--ink); }
.map-consent__text { max-width: 26rem; font-size: var(--fs-14); color: var(--graphite); }
.map-consent__text a { color: var(--ink); font-weight: 600; }
.map-consent .btn { margin-top: var(--s-2); }
/* sieht aus wie die übrigen Links im Datenschutztext */
.legal__consent { padding: 0; font: inherit; color: var(--red); text-decoration: underline; text-underline-offset: 0.22em; cursor: pointer; }
.legal__consent:hover { color: var(--red-deep); }
/* iframe füllt genau den Kartenrahmen, sonst sitzt die Stecknadel ausserhalb */
.map-block .map iframe { min-height: 0; height: 100%; }

/* Team in zwei Gruppen: Geschäftsleitung oben, Mitarbeiter darunter */
.crew-group {
  margin: 0 0 var(--space-stack);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.crew + .crew-group { margin-top: var(--space-head); padding-top: var(--space-grid); border-top: var(--rule); }

/* Team-Login ins Backoffice: zurückhaltend neben «Offerte anfragen» */
.header-login { --btn-bg: transparent; --btn-fg: var(--graphite); --btn-border: transparent; gap: var(--s-2); padding-inline: var(--s-3); font-weight: 600; }
.header-login:hover { --btn-bg: var(--paper); --btn-fg: var(--red); --btn-border: transparent; }
.header-login .icon { width: 1rem; height: 1rem; }
/* Mittlere Breiten: nur das Schloss, damit «Offerte anfragen» Platz hat */
@media (max-width: 79.99em) {
  .header-login { padding-inline: var(--s-2); }
  .header-login__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-login .icon { width: 1.2rem; height: 1.2rem; }
}
