/* User-supplied Pendel Hero. All visual selectors are rooted here;
   only the original homepage host receives the integration overrides below. */
.pm-pendel-hero,
.pm-pendel-hero *,
.pm-pendel-hero::before,
.pm-pendel-hero::after,
.pm-pendel-hero *::before,
.pm-pendel-hero *::after { box-sizing: border-box; }

.pm-pendel-hero a { color: inherit; text-decoration: none; }

.pm-pendel-hero {
  --bg-a: #ff9900;
  --bg-q: #ff9900;
  --answer: #fff9ef;
  --question: #3d2100;
  --chrome: #1c1310;
  --chrome-ink: #fff9ef;
  --tile: #1c1310;
  --cord: color-mix(in srgb, var(--tile) 55%, #000);
  --shrink: 1;
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: none;
  height: 100svh;
  min-height: 460px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  opacity: 1;
  transform: none;
  background: var(--bg-a);
  color: var(--chrome);
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: normal;
  text-transform: none;
  word-break: normal;
  overflow-wrap: normal;
  -webkit-font-smoothing: antialiased;
}

.pm-pendel-hero .hero-hit:focus-visible,
.pm-pendel-hero .hero-link:focus-visible {
  outline: 2px solid var(--chrome);
  outline-offset: 3px;
}

.pm-pendel-hero .hero-wipe {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg-q);
  will-change: clip-path;
}
.pm-pendel-hero:not(.is-on) .hero-wipe,
.pm-pendel-hero.is-still .hero-wipe { display: none; }

.pm-pendel-hero .hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(120% 80%, #ffffff24, #fff0 55%, #0000001a 100%);
  will-change: transform;
}
.pm-pendel-hero .hero-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.pm-pendel-hero .hero-lines { position: absolute; inset: 0; z-index: 2; }
.pm-pendel-hero .hero-line {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0 6% 12vh;
  text-align: center;
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 900;
  font-size: calc(clamp(44px, 9.6vw, 168px) * var(--shrink));
  line-height: .9;
  letter-spacing: -.035em;
  word-break: normal;
  overflow-wrap: normal;
  will-change: clip-path;
}
.pm-pendel-hero.hero-upper .hero-line { text-transform: uppercase; }
/* Retain the source min-content measurement, including the long Website word. */
.pm-pendel-hero .hero-line > span { display: block; max-width: 11ch; min-width: min-content; }
.pm-pendel-hero .hero-q { color: var(--question); }
.pm-pendel-hero .hero-a { color: var(--answer); }
.pm-pendel-hero:not(.is-on) .hero-a { visibility: hidden; }
.pm-pendel-hero.is-still .hero-q { display: none; }
.pm-pendel-hero.is-still .hero-a { visibility: visible; }
.pm-pendel-hero.is-still .hero-cord,
.pm-pendel-hero.is-still .hero-gl,
.pm-pendel-hero.is-still .hero-shadow,
.pm-pendel-hero.is-still .hero-grab { display: none; }
/* Persistent hidden source-equivalent measuring lines avoid changing visible text
   during resize, which would wake the site's unrelated MutationObservers. */
.pm-pendel-hero .pm-pendel-measure {
  visibility: hidden !important;
  pointer-events: none;
  will-change: auto;
  clip-path: none !important;
  transition: none !important;
}
.pm-pendel-hero .hero-hit { position: absolute; inset: 22% 8% 34%; z-index: 3; }

.pm-pendel-hero .hero-cord {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.pm-pendel-hero .hero-cord line { stroke: var(--cord); stroke-width: 2.4px; stroke-linecap: round; }
.pm-pendel-hero .hero-cord circle { fill: var(--cord); }
.pm-pendel-hero .hero-gl {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.pm-pendel-hero .hero-grab {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  width: 1px;
  height: 1px;
  border-radius: 30%;
  cursor: grab !important;
  touch-action: none;
}
.pm-pendel-hero .hero-grab:active { cursor: grabbing !important; }
.pm-pendel-hero .hero-shadow {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 1px;
  height: 1px;
  border-radius: 30%;
  background: color-mix(in srgb, var(--tile) 36%, transparent);
  filter: blur(22px);
  pointer-events: none;
  will-change: transform;
}

.pm-pendel-hero .hero-foot {
  position: absolute;
  inset: auto 0 0;
  z-index: 6;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0 20px clamp(22px, 5vh, 46px);
  margin: 0;
  text-align: center;
}
.pm-pendel-hero .hero-tagline {
  color: var(--chrome);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pm-pendel-hero .hero-link {
  color: var(--chrome);
  opacity: .75;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
}
.pm-pendel-hero.is-ready,
.pm-pendel-hero.is-ready .hero-wipe { transition: background-color .45s; }
.pm-pendel-hero.is-ready :is(.hero-q, .hero-a) { transition: color .45s; }
@media (prefers-reduced-motion: reduce) {
  .pm-pendel-hero,
  .pm-pendel-hero * { transition: none !important; }
}
.pm-pendel-hero .hero-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (max-width: 700px) {
  .pm-pendel-hero .hero-line {
    font-size: calc(clamp(38px, 12vw, 72px) * var(--shrink));
    padding-bottom: 20vh;
  }
  .pm-pendel-hero .hero-line > span { max-width: 8ch; }
  .pm-pendel-hero .hero-tagline { font-size: 11px; letter-spacing: .1em; text-wrap: balance; }
}
/* At very narrow widths the measuring span still uses min-content. The root's
   overflow:hidden and source shrink loop keep its pixels inside the viewport. */
@media (max-width: 360px) {
  .pm-pendel-hero .hero-tagline { max-width: 100%; }
}

/* Integration only: retain original React-owned child nodes and their order.
   Never target the fixed navigation, nav-logo, or the lower Spline section. */
.hero.pm-pendel-host {
  display: block !important;
  position: relative;
  width: 100%;
  max-width: none;
  height: 100svh;
  min-height: 460px;
  margin: 0;
  padding: 0;
  border: 0;
  background: #ff9900;
  overflow: hidden;
  grid-template-columns: none;
  grid-template-rows: none;
}
.hero.pm-pendel-host > :not(.pm-pendel-hero) { display: none !important; }
.hero.pm-pendel-host > .pm-pendel-hero { display: block !important; width: 100%; }
.hero.pm-pendel-host::before,
.hero.pm-pendel-host::after { display: none !important; content: none !important; }

/* Initial paint: keep old copy, orbit cards and white logo tile hidden while
   Next finishes hydration. No React-owned elements need to be removed. */
.hero:has(> .hero-logo-col):not(.pm-pendel-host) {
  display: block !important;
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 460px;
  margin: 0;
  padding: 0;
  border: 0;
  background: #ff9900;
  overflow: hidden;
}
.hero:has(> .hero-logo-col):not(.pm-pendel-host) > * { display: none !important; }
.hero:has(> .hero-logo-col):not(.pm-pendel-host)::before {
  content: "Neue Marke?";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 6% 12vh;
  color: #3d2100;
  text-align: center;
  text-transform: uppercase;
  font: 900 clamp(44px, 9.6vw, 168px)/.9 "Archivo", system-ui, sans-serif;
  letter-spacing: -.035em;
}
@media (max-width: 700px) {
  .hero:has(> .hero-logo-col):not(.pm-pendel-host)::before {
    font-size: clamp(38px, 12vw, 72px);
    padding-bottom: 20vh;
  }
}
