/* Full-bleed B2B photography; overrides stay inside the four heroes. */
body.b2b-page { padding-top: 0; }
.b2b-page .b2b-hero {
  --hero-position: 50% 48%;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
  min-height: 86svh;
  padding: 148px var(--content-gutter) 88px;
  background: none;
  color: var(--paper);
  border-radius: 0;
}
.b2b-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* Same neutral image gradients as the final heroes in refinement.css. */
  background: linear-gradient(90deg, rgba(15,19,16,.58) 0%, rgba(15,19,16,.34) 40%, transparent 80%),
    linear-gradient(0deg, rgba(15,19,16,.28), transparent 35%);
}
.b2b-hero > .b2b-hero-copy { width: 100%; max-width: 850px; min-width: 0; padding: 0; align-self: center; }
.b2b-page .b2b-hero h1 {
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 1.06;
  letter-spacing: -.055em;
  color: var(--paper);
  margin: 16px 0 20px;
  overflow: visible;
  height: auto;
  max-height: none;
}
.b2b-page .b2b-hero h1 > span,
.b2b-page .b2b-hero .eyebrow { color: var(--paper); }
.b2b-hero .intro-bottom { display: block; margin: 0; }
.b2b-hero .intro-bottom > p { max-width: 480px; font-size: 16px; line-height: 1.7; }
.b2b-hero .hero-actions { display: flex; flex-wrap: wrap; margin-top: 24px; gap: 12px; }
.b2b-hero .hero-actions .button { flex: 0 0 auto; min-width: 0; white-space: nowrap; }
.b2b-hero .hero-actions .button > span { flex-shrink: 0; }
.b2b-hero .hero-actions .button:not(.hero-professional) {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px #ffffff80;
}
.b2b-hero .hero-actions .button:not(.hero-professional):hover,
.b2b-hero .hero-actions .button:not(.hero-professional):focus-visible {
  background: #ffffff24;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--paper);
}
.b2b-hero .location-address { margin: 16px 0 0; }
.b2b-hero .breadcrumbs ol { margin-bottom: 24px; }
.b2b-page .b2b-hero > .home-picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0;
  border-radius: 0;
  opacity: 1;
  translate: none;
}
/* Keep the background full-bleed during shared reveal/parallax effects. */
.b2b-page .b2b-hero .home-picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position);
  transform: none;
  scale: 1;
}
.b2b-page.b2b-location .b2b-hero h1 { font-size: clamp(32px, 4.8vw, 72px); }
.b2b-hero .b2b-hero-note { margin-top: 20px; font-size: 11px; line-height: 1.6; }
.b2b-page .b2b-hero--friesenheim { --hero-position: 50% 58%; }
.b2b-page .b2b-hero--freiburg { --hero-position: 50% 42%; }
.b2b-page .b2b-hero--tour { --hero-position: 62% 58%; }
@media (max-width: 900px) {
  .b2b-page .b2b-hero { padding: 140px var(--content-gutter) 80px; }
  .b2b-page .b2b-hero h1 { font-size: clamp(48px, 7.5vw, 68px); }
  .b2b-page.b2b-location .b2b-hero h1 { font-size: clamp(30px, 5.5vw, 48px); }
}
@media (max-width: 700px) {
  .b2b-page .b2b-hero { min-height: 82svh; padding: 120px var(--content-gutter) 64px; --hero-position: 58% 50%; }
  .b2b-hero::before {
    background: linear-gradient(90deg, #1015108c, #10151029),
      linear-gradient(0deg, #10151045, transparent 35%);
  }
  .b2b-page .b2b-hero h1 { font-size: clamp(36px, 10vw, 64px); margin: 14px 0 18px; }
  .b2b-page.b2b-location .b2b-hero h1 { font-size: clamp(25px, 7.2vw, 46px); }
  .b2b-hero .intro-bottom > p { font-size: 14px; }
  .b2b-hero .breadcrumbs ol { margin-bottom: 20px; }
  .b2b-hero .hero-actions { margin-top: 20px; gap: 10px; }
  .b2b-hero .hero-actions .button { padding: 15px 16px; font-size: 12px; gap: 14px; }
  .b2b-hero .location-address { font-size: 12px; }
  .b2b-page .b2b-hero--friesenheim { --hero-position: 43% 58%; }
  .b2b-page .b2b-hero--freiburg { --hero-position: 62% 45%; }
  .b2b-page .b2b-hero--tour { --hero-position: 72% 56%; }
}
@media (max-width: 360px) {
  .b2b-hero .hero-actions .button { padding: 15px 12px; font-size: 11px; gap: 9px; }
}
