@font-face {
  font-family: "Museo";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("https://cdn.klixa.net/fonts/Museo300-Regular-webfont.woff")
    format("woff");
}

@font-face {
  font-family: "Museo";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://cdn.klixa.net/fonts/Museo500-Regular-webfont.woff")
    format("woff");
}

@font-face {
  font-family: "Museo Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://cdn.klixa.net/fonts/MuseoSans_700-webfont.woff")
    format("woff");
}

:root {
  --accent: #bad739;
  --accent-50: rgba(186, 215, 57, 0.5);
  --accent-dark: #9bb82e;
  --accent-rgb: 186, 215, 57;
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #f8f8f8;
  --gray-100: #8e8e8ec1;
  --gray-200: #e0e0e0;
  /* Contrast-tuned neutrals (AA-friendly on white backgrounds). */
  --gray-400: #6f6f6f;
  --gray-500: #5e5e5e;
  --gray-700: #333333;
  --font-display: "Museo Sans", "Museo", "Nunito", sans-serif;
  --font-body: "Museo Sans", "Museo", "Nunito", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

a,
button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

[data-view] {
  display: none;
}

body.company-it [data-view="it"],
body.company-auto [data-view="auto"],
body.company-bz [data-view="bz"] {
  display: block;
}

.nav-links .nav-it,
.nav-links .nav-auto,
.nav-links .nav-bz,
.nav-cta .nav-it,
.nav-cta .nav-auto,
.nav-cta .nav-bz,
.kontakt-btns .nav-it,
.kontakt-btns .nav-auto,
.kontakt-btns .nav-bz {
  display: none;
}

body.company-it .nav-links .nav-it,
body.company-auto .nav-links .nav-auto,
body.company-bz .nav-links .nav-bz {
  display: list-item;
}

body.company-it .nav-cta .nav-it,
body.company-auto .nav-cta .nav-auto,
body.company-bz .nav-cta .nav-bz,
body.company-it .kontakt-btns .nav-it,
body.company-auto .kontakt-btns .nav-auto,
body.company-bz .kontakt-btns .nav-bz {
  display: inline-flex;
}

#group-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 5vw;
  background:
    radial-gradient(
      ellipse 70% 55% at 12% 85%,
      rgba(var(--accent-rgb), 0.1) 0%,
      transparent 62%
    ),
    radial-gradient(
      ellipse 45% 38% at 78% 22%,
      rgba(var(--accent-rgb), 0.06) 0%,
      transparent 58%
    ),
    #0a0a0a;
  color: #ffffff;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#group-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#group-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Canvas: sits at the very back */
#group-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

/* Veil: gradient overlay that keeps the upper content area readable */
.group-bg-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(186, 215, 57, 0.12) 0%,
    /* Barely there at the very top */ rgba(186, 215, 57, 0.06) 40%,
    /* Fading out smoothly */ rgba(186, 215, 57, 0.02) 70%,
    /* Almost invisible */ transparent 100%
  );
}

/* Content sits above both canvas and veil.
   flex-shrink:0 prevents the flex parent from compressing content on small screens –
   the overlay's overflow-y:auto handles scrolling instead. */
.group-overlay-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  flex-shrink: 0;
}

.group-logo-wrap {
  margin-bottom: 36px;
}

.g-logo {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-family: var(--font-display);
}

.g-logo-klixa-mark {
  width: clamp(140px, 18vw, 220px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 24px rgba(var(--accent-rgb), 0.16));
}

.g-logo-group {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 300;
}

.group-tagline {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.group-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.group-card {
  padding: 28px;
  border-radius: 18px;
  color: #ffffff;
  text-align: left;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.gc-icon {
  font-size: 28px;
  margin-bottom: 22px;
}

.gc-desc {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.gc-arrow {
  color: #ffffff;
  font-weight: 700;
}

#company-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 160;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 5vw;
  color: #ffffff;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  transform: translateY(-100%);
  transition: transform 0.25s ease;
}

#company-bar.visible {
  transform: translateY(0);
}

.cbar-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
}

.cbar-link,
.cbar-back {
  color: rgba(255, 255, 255, 0.64);
}

.cbar-link.active,
.cbar-link:hover,
.cbar-back:hover {
  color: #ffffff;
}

.cbar-back {
  margin-left: auto;
}

/* z-index: 260 = oberhalb des Product-Overlays (240), damit Nav-Mega
   auch auf Produktseiten aufklappen kann. */
#mainNav {
  position: sticky;
  top: var(--cbar-h, 0px);
  transition: top 0.25s ease;
  z-index: 260;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 5vw;
  background: rgba(10, 10, 10, 0.95);
  color: #ffffff;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
}

.nav-cta {
  display: flex;
  gap: 10px;
}

.btn-primary,
.btn-secondary,
.btn-nav-primary,
.btn-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary,
.btn-nav-primary {
  background: var(--accent);
  color: var(--black);
}

.btn-secondary,
.btn-support {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: #ffffff;
  transition:
    transform 0.22s ease,
    opacity 0.18s ease;
  transform-origin: 11px 1px;
}

body.mobile-open .nav-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.mobile-open .nav-hamburger span:nth-child(2) {
  opacity: 0;
}

body.mobile-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.reveal {
  opacity: 0.01;
  /* Not 0 */
  transform: translate3d(0, 16px, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition:
    opacity 620ms ease,
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
  z-index: 1;
  /* Bring it to the front */
  visibility: visible !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

s .hero {
  position: relative;
  min-height: 86vh;
  padding: 160px 5vw 100px;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(var(--accent-rgb), 0.2),
      transparent 30%
    ),
    linear-gradient(180deg, #101010, #050505);
  color: #ffffff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      circle at 92% 26%,
      rgba(var(--accent-rgb), 0.38),
      transparent 52%
    ),
    radial-gradient(
      circle at 86% 78%,
      rgba(255, 255, 255, 0.1),
      transparent 56%
    ),
    conic-gradient(
      from 210deg at 82% 45%,
      rgba(255, 255, 255, 0.08),
      transparent 42%,
      rgba(255, 255, 255, 0.06)
    ),
    linear-gradient(115deg, rgba(255, 255, 255, 0.05), transparent 38%);
  filter: blur(0.2px);
  opacity: 0.95;
  /* Keep the left text area clean; push the energy to the right. */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.04) 34%,
    rgba(0, 0, 0, 0.95) 62%,
    rgba(0, 0, 0, 1) 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.04) 34%,
    rgba(0, 0, 0, 0.95) 62%,
    rgba(0, 0, 0, 1) 100%
  );
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  right: -16vw;
  top: -10vw;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 38%,
    rgba(var(--accent-rgb), 0.16) 44%,
    rgba(var(--accent-rgb), 0) 62%,
    rgba(255, 255, 255, 0.06) 66%,
    rgba(255, 255, 255, 0) 74%
  );
  filter: blur(0.8px);
  opacity: 0.34;
  -webkit-mask-image: radial-gradient(
    circle at 40% 50%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 48%,
    transparent 72%
  );
  mask-image: radial-gradient(
    circle at 40% 50%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 48%,
    transparent 72%
  );
  animation: heroPulse 22s ease-in-out infinite;
}

.hero-bg-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-accent {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 35%,
    rgba(var(--accent-rgb), 0.24),
    transparent 26%
  );
}

.hero-mesh {
  position: absolute;
  right: -14vw;
  bottom: -22vh;
  width: 92vw;
  height: 70vh;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.56;
  transform: rotate(-8deg);
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 26px rgba(var(--accent-rgb), 0.32))
    drop-shadow(0 0 72px rgba(var(--accent-rgb), 0.14));
  -webkit-mask-image: radial-gradient(
    circle at 22% 35%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 42%,
    rgba(0, 0, 0, 0.25) 60%,
    transparent 76%
  );
  mask-image: radial-gradient(
    circle at 22% 35%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 42%,
    rgba(0, 0, 0, 0.25) 60%,
    transparent 76%
  );
  animation: heroMeshFloat 18s ease-in-out infinite alternate;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%201200%20600%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%271%27%20stroke-opacity%3D%27.58%27%3E%3Cpath%20d%3D%27M-40%20430%20C%20160%20340%20280%20510%20460%20420%20S%20760%20310%20960%20370%20S%201120%20520%201260%20440%27/%3E%3Cpath%20d%3D%27M-60%20480%20C%20140%20400%20290%20540%20480%20470%20S%20810%20370%20990%20410%20S%201130%20560%201260%20490%27/%3E%3Cpath%20d%3D%27M-60%20530%20C%20130%20480%20290%20590%20490%20540%20S%20840%20430%201030%20460%20S%201150%20590%201260%20540%27/%3E%3Cpath%20d%3D%27M-30%20380%20C%20190%20290%20300%20460%20480%20370%20S%20780%20260%20960%20320%20S%201100%20470%201260%20390%27/%3E%3C/g%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%271%27%20stroke-opacity%3D%27.28%27%3E%3Cpath%20d%3D%27M140%20280%20C%20190%20350%20250%20430%20290%20530%27/%3E%3Cpath%20d%3D%27M260%20255%20C%20310%20330%20370%20430%20410%20555%27/%3E%3Cpath%20d%3D%27M390%20240%20C%20440%20320%20510%20420%20560%20570%27/%3E%3Cpath%20d%3D%27M530%20230%20C%20580%20310%20660%20410%20720%20575%27/%3E%3Cpath%20d%3D%27M690%20235%20C%20740%20310%20820%20400%20890%20560%27/%3E%3Cpath%20d%3D%27M860%20255%20C%20910%20325%20990%20410%201070%20530%27/%3E%3Cpath%20d%3D%27M1000%20290%20C%201050%20350%201120%20430%201170%20500%27/%3E%3C/g%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%271%27%20stroke-opacity%3D%27.16%27%3E%3Cpath%20d%3D%27M-20%20410%20L%201200%20320%27/%3E%3Cpath%20d%3D%27M-20%20470%20L%201200%20380%27/%3E%3Cpath%20d%3D%27M-20%20520%20L%201200%20440%27/%3E%3C/g%3E%3C/svg%3E");
}

@keyframes heroMeshFloat {
  from {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }

  to {
    transform: translate3d(-14px, 10px, 0) rotate(-7deg);
  }
}

.hero-content,
.hero-stats {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  padding: 8px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(42px, 9vw, 98px);
  line-height: 0.95;
  letter-spacing: -2px;
}

.hero-highlight {
  color: var(--accent);
  text-shadow:
    0 0 22px rgba(var(--accent-rgb), 0.32),
    0 0 44px rgba(var(--accent-rgb), 0.14);
}

.hero-sub {
  max-width: 620px;
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  right: 5vw;
  bottom: 60px;
  display: flex;
  gap: 42px;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
}

.hero-stat-label {
  margin-top: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.64);
}

@keyframes heroDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-10px, 8px, 0);
  }
}

@keyframes heroPulse {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.78;
  }

  50% {
    transform: translate3d(-8px, 10px, 0) scale(1.02);
    opacity: 0.92;
  }

  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.78;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero-mesh {
    animation: none;
  }
}

main,
section {
  -webkit-perspective: 1000;
  perspective: 1000;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

section {
  padding: 100px 5vw;
}

.section-label {
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.section-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
}

.section-sub {
  max-width: 620px;
  margin: 0 0 56px;
  line-height: 1.7;
  color: var(--gray-500);
}

#methode,
#kunden,
#tools {
  background: var(--gray-50);
}

.methode-grid,
.why-grid,
.standorte-grid,
.hub-grid {
  display: grid;
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}

.methode-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.methode-card,
.why-card,
.standort-card,
.hub-card {
  background: #ffffff;
}

.methode-card {
  padding: 44px 36px;
}

.methode-num {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  color: var(--gray-100);
}

.methode-title,
.paket-name,
.why-title,
.standort-title,
.hub-card-name,
.tool-name,
.testimonial-name {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--black);
}

.methode-title {
  margin-bottom: 10px;
  font-size: 21px;
}

.methode-text,
.why-text,
.standort-addr,
.hub-card-sub,
.tool-desc,
.testimonial-text,
.testimonial-company,
.paket-desc {
  line-height: 1.7;
  color: var(--gray-500);
}

.pakete-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.paket-card {
  position: relative;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  text-align: left;
  box-shadow: 0 16px 36px rgba(10, 10, 10, 0.04);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.paket-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(10, 10, 10, 0.08);
  border-color: rgba(var(--accent-rgb), 0.36);
}

.paket-card.featured {
  border-color: rgba(var(--accent-rgb), 0.42);
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.12) 0%,
    #ffffff 36%,
    #fbfbfb 100%
  );
}

.paket-card.featured:hover {
  border-color: rgba(var(--accent-rgb), 0.58);
}

.paket-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
}

.paket-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.paket-icon svg {
  width: 26px;
  height: 26px;
}

.paket-card.featured .paket-icon {
  background: rgba(10, 10, 10, 0.08);
  color: var(--black);
}

.paket-name {
  margin-bottom: 10px;
  font-size: 22px;
}

.paket-desc {
  font-size: 14px;
}

.paket-features {
  list-style: none;
  margin: 14px 0 18px;
  padding: 0;
}

.paket-feature {
  padding: 10px 0;
  border-top: 1px solid var(--gray-100);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.paket-link,
.standort-phone {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 700;
}

#warum,
#jobs,
footer {
  background: var(--black);
  color: #ffffff;
}

#warum .section-sub,
#jobs .section-sub,
.jobs-note,
.footer-desc {
  color: rgba(255, 255, 255, 0.66);
}

.why-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Fixed 3-column grid for the IT view (6 cards → always 3+3, no orphaned last row) */
.why-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.why-card {
  position: relative;
  padding: 44px 36px 40px;
  background: var(--black);
  overflow: hidden;
  transition: background 0.25s;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* Accent top-border reveal on hover */
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.why-card:hover::before {
  transform: scaleX(1);
}

/* Large faded number as background decoration */
.why-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
  transition: color 0.25s;
}

.why-card:hover .why-num {
  color: rgba(var(--accent-rgb), 0.08);
}

.why-card:hover .why-icon {
  border-color: rgba(var(--accent-rgb), 0.75);
  background: rgba(var(--accent-rgb), 0.1);
}

.why-card:hover .why-icon svg {
  transform: scale(1.1);
}

.why-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  border-radius: 14px;
  color: var(--accent);
  transition:
    border-color 0.25s,
    background 0.25s;
}

.why-icon svg {
  width: 24px;
  height: 24px;
  transition: transform 0.25s;
}

#warum .why-title {
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 10px;
}

#warum .why-text {
  color: rgba(255, 255, 255, 0.6);
}

/* ================================================================
 * TESTIMONIAL CAROUSEL
 * ================================================================ */

.testimonials-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.testimonials-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8px 0 14px;
}

.testimonials-track {
  display: flex;
  gap: 18px;
  width: 100%;
  transform: translateX(0);
  transition: transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc((100% - 36px) / 3);
  width: auto;
  padding: 30px;
  border-radius: 30px;

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f9faf5 100%
  );

  border: 1px solid rgba(10, 10, 10, 0.07);

  box-shadow:
    0 22px 54px rgba(10, 10, 10, 0.06),
    0 0 0 1px rgba(var(--accent-rgb), 0.06) inset;

  transition:
    opacity 350ms ease,
    transform 350ms ease,
    filter 350ms ease,
    box-shadow 350ms ease;
}

.testimonial-card.is-active {
  box-shadow:
    0 26px 64px rgba(10, 10, 10, 0.1),
    0 0 0 1px rgba(var(--accent-rgb), 0.1) inset;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 0.8;
  color: rgba(var(--accent-rgb), 0.44);
}

.testimonial-text {
  margin-top: 18px;
}

.testimonial-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;

  border-radius: 18px;

  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent-dark);

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 900;
}


/* Pfeile */

.testimonial-nav {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  border: 1px solid rgba(10, 10, 10, 0.1);
  background: #ffffff;

  color: var(--black);
  font-size: 20px;

  box-shadow: 0 10px 28px rgba(10, 10, 10, 0.08);

  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.testimonial-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
  transform: scale(1.06);
  box-shadow: 0 14px 32px rgba(10, 10, 10, 0.12);
}

.testimonial-nav:active {
  transform: scale(0.96);
}

.testimonial-nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}


/* Punkte */

.testimonials-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.testimonial-dot {
  width: 7px;
  height: 7px;
  padding: 0;

  border-radius: 50%;
  background: var(--gray-200);

  transition:
    width 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.testimonial-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--accent);
}


/* Tablet / Mobile */

@media (max-width: 900px) {
  .testimonials-carousel {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
  }

  .testimonial-card {
    flex-basis: 100%;
    padding: 28px;
  }

  .testimonial-nav {
    width: 42px;
    height: 42px;
  }
}


@media (max-width: 640px) {
  .testimonials-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 5px;
  }

  .testimonials-stage {
    padding: 6px 0 12px;
  }

  .testimonial-card {
    flex-basis: 100%;
    padding: 24px;
    border-radius: 24px;
  }

  .testimonial-nav {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .testimonial-quote {
    font-size: 48px;
  }
}


/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
  .testimonials-track,
  .testimonial-card,
  .testimonial-nav,
  .testimonial-dot {
    transition: none !important;
  }
}

.standorte-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
  margin-top: 36px;
}

.standorte-showcase-single {
  grid-template-columns: 1fr;
}

.standorte-side-grid {
  display: grid;
  gap: 22px;
}

.standort-feature {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(180deg, #111214 0%, #191b21 100%);
  color: #ffffff;
  box-shadow: 0 28px 64px rgba(10, 10, 10, 0.16);
}

.standort-feature::before {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--accent-rgb), 0.24),
    transparent 68%
  );
  pointer-events: none;
}

.standort-orbit {
  position: absolute;
  right: 26px;
  top: 24px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 18px rgba(255, 255, 255, 0.03),
    0 0 0 38px rgba(var(--accent-rgb), 0.06);
}

.standort-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.standort-feature h3 {
  margin: 22px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
}

.standort-feature p {
  margin: 0 0 22px;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.standort-meta {
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.6;
}

.standort-phone {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--gray-200);
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 calc(100% / 6);
  min-height: 80px;
  padding: 20px 16px;
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.partner-logo img {
  max-width: 90px;
  max-height: 28px;
  object-fit: contain;
}

.partner-name {
  font-size: 12px;
  color: var(--gray-700);
}

.jobs-banner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.jobs-banner h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 26px;
}

.jobs-banner p {
  margin: 0;
  max-width: 440px;
  color: rgba(255, 255, 255, 0.72);
}

.jobs-note {
  margin-top: 20px;
  padding: 14px 22px;
  border-left: 3px solid var(--accent);
  background: rgba(var(--accent-rgb), 0.06);
  font-size: 12px;
  font-style: italic;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  text-decoration: none;
}

.tool-card-modern {
  position: relative;
  min-height: 242px;
  padding: 22px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #12141a 0%, #07080b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.tool-card-modern:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 30px 54px rgba(0, 0, 0, 0.22);
}

.tool-card-modern::before {
  content: "";
  position: absolute;
  inset: auto -18% -28% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(var(--accent-rgb), 0.34) 0%,
    rgba(var(--accent-rgb), 0) 66%
  );
  pointer-events: none;
}

.tool-card-modern::after {
  content: "";
  position: absolute;
  inset: 16px 16px auto auto;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(12deg);
  pointer-events: none;
}

.tool-card-visual {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.tool-card-orb {
  position: absolute;
  inset: 14px 8px 6px 12px;
  border-radius: 28px;
  background: linear-gradient(
    145deg,
    rgba(var(--accent-rgb), 0.92),
    rgba(var(--accent-rgb), 0.34)
  );
  transform: rotate(-8deg) skewY(-8deg);
  box-shadow: 0 18px 28px rgba(var(--accent-rgb), 0.18);
}

.tool-card-chip {
  position: absolute;
  top: 16px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  transform: rotate(14deg);
}

.tool-card-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.tool-card-icon svg {
  width: 40px;
  height: 40px;
}

.tool-card-content {
  position: relative;
  z-index: 1;
}

.tool-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.tool-card-modern .tool-name {
  color: #ffffff;
  font-size: 24px;
}

.tool-card-modern .tool-desc {
  color: rgba(255, 255, 255, 0.72);
}

#partner.partner-dark {
  background: #070707;
  color: #ffffff;
}

#partner.partner-dark .section-label,
#partner.partner-dark .section-title,
#partner.partner-dark .section-sub {
  color: #ffffff;
}

#partner.partner-dark .section-sub {
  color: rgba(255, 255, 255, 0.55);
}

#partner.partner-dark .partner-marquee {
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

#partner.partner-dark .partner-logo {
  background: rgba(243, 0, 0, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

#partner.partner-dark .partner-logo img {
  filter: brightness(0) invert(1);
  max-width: 150px;
  max-height: 58px;
}

#partner.partner-dark .partner-name {
  color: rgba(255, 255, 255, 0.84);
}

.hub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.hub-pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  background: transparent;
}

.hub-pill.active {
  background: var(--black);
  color: #ffffff;
  border-color: var(--black);
}

/* 4 columns on desktop → 12 IT products = clean 3 rows, no orphans */
.hub-grid {
  grid-template-columns: repeat(4, 1fr);
}

.hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 44px 36px 40px;
  text-align: left;
  overflow: hidden;
  transition: background 0.25s;
}

.hub-card:hover {
  background: rgba(0, 0, 0, 0.02);
}

/* Accent top-border sweep — same mechanic as .why-card */
.hub-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.hub-card:hover::before {
  transform: scaleX(1);
}

/* Faded number — light-mode version of .why-num */
.hub-card-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 0, 0, 0.04);
  pointer-events: none;
  user-select: none;
  transition: color 0.25s;
  display: none; /* hidden by default, only shown on hover */
}

.hub-card:hover .hub-card-num {
  color: rgba(var(--accent-rgb), 0.07);
}

/* Product icon — mirrors .why-icon in light mode */
.hub-card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: 14px;
  color: var(--accent);
  transition:
    border-color 0.25s,
    background 0.25s;
}

.hub-card-icon svg {
  width: 24px;
  height: 24px;
  transition: transform 0.25s;
}

.hub-card:hover .hub-card-icon {
  border-color: rgba(var(--accent-rgb), 0.65);
  background: rgba(var(--accent-rgb), 0.07);
}

.hub-card:hover .hub-card-icon svg {
  transform: scale(1.1);
}

.hub-card-tag {
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}

.hub-card-name {
  font-size: 18px;
  margin-bottom: 8px;
}

.hub-card-arrow {
  margin-top: auto;
  padding-top: 16px;
  color: var(--gray-400);
  transition:
    color 0.25s,
    transform 0.25s;
}

.hub-card:hover .hub-card-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

.hub-panel {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.hub-panel.open {
  display: flex;
}

.hub-panel-inner {
  width: min(620px, 100vw);
  padding: 56px 48px 80px;
  background: #ffffff;
  overflow-y: auto;
  position: relative;
}

.hub-panel-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
}

.panel-tag,
.panel-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.panel-tag {
  margin-bottom: 8px;
  color: var(--accent);
}

.panel-title {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.08;
}

.panel-sub {
  margin-bottom: 28px;
  line-height: 1.7;
  color: var(--gray-500);
}

.panel-section {
  margin-bottom: 28px;
}

.panel-section-title {
  margin-bottom: 12px;
}

.panel-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.panel-features li {
  padding: 10px 14px;
  background: var(--gray-100);
  border-radius: 8px;
}

.panel-highlight {
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--black);
  color: #ffffff;
}

.panel-highlight strong {
  color: var(--accent);
}

.kontakt-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  align-items: start;
}

.kontakt-info h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.1;
}

.kontakt-info h2 span {
  color: var(--accent);
}

#kontakt-desc {
  margin: 0 0 28px;
  line-height: 1.7;
  color: var(--gray-500);
}

.kontakt-phone,
.kontakt-mail {
  display: block;
  width: max-content;
  text-decoration: none;
}

.kontakt-phone {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
}

.kontakt-mail {
  margin-bottom: 28px;
  color: var(--gray-500);
}

.kontakt-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.kontakt-secondary {
  color: var(--gray-700);
  border-color: var(--gray-200);
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
}

.form-field input,
.form-field textarea {
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.kontakt-submit {
  width: 100%;
}

footer {
  padding: 56px 5vw 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  color: var(--accent);
}

.footer-group-note {
  margin-top: 24px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-group-note a,
.footer-col a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
}

.footer-col h4 {
  margin: 0 0 18px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.66);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.footer-meta-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 1100px) {
  .hero-stats {
    position: static;
    margin-top: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .group-cards,
  .methode-grid,
  .kontakt-wrap,
  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  body.mobile-open .nav-links {
    position: fixed;
    top: 92px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 5vw 32px;
    background: rgba(10, 10, 10, 0.98);
  }

  body.mobile-open .nav-cta {
    left: 5vw;
    display: flex;
    flex-wrap: wrap;
  }

  body.on-group #mainNav {
    display: none;
  }

  .partner-logo {
    flex: 0 0 50%;
  }

  .panel-features {
    grid-template-columns: 1fr;
  }

  .why-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #company-bar {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 140px;
  }

  section {
    padding: 72px 5vw;
  }

  .hub-panel-inner {
    padding: 48px 24px 56px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .partner-logo {
    flex: 0 0 100%;
  }

  .why-grid--3 {
    grid-template-columns: 1fr;
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }

  .pakete-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .paket-card {
    padding: 20px;
  }

  /* Partner grid: 2 columns on mobile */
  .partner-grid,
  .partner-grid--4,
  .partner-grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-grid-item {
    min-height: 100px;
    padding: 24px 16px;
  }

  .partner-grid-item img {
    max-width: 100px;
    max-height: 38px;
  }
}

body.on-group {
  --nav-offset: 0px;
  overflow: hidden;
}

body.on-group > main,
body.on-group > footer {
  display: none;
}

body.on-group #mainNav {
  display: none;
}

body.company-it,
body.company-auto,
body.company-bz {
  --nav-offset: 32px;
}

body.on-group #company-bar {
  display: none !important;
}

body.company-it #company-bar,
body.company-auto #company-bar,
body.company-bz #company-bar {
  display: flex;
}

#company-bar {
  position: sticky;
  top: 0;
  z-index: 170;
  height: 32px;
  padding: 0 4vw;
  align-items: center;
  gap: 10px;
  background: rgba(10, 10, 10, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

#company-bar.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cbar-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
}

.cbar-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.cbar-link,
.cbar-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.cbar-link:hover,
.cbar-link.active,
.cbar-back:hover {
  color: #ffffff;
}

.cbar-logo {
  display: block;
  height: 16px;
  width: auto;
  object-fit: contain;
}

.cbar-back {
  margin-left: auto;
}

#mainNav {
  position: sticky;
  top: var(--nav-offset);
  z-index: 260;
  /* muss über .product-page (240) liegen */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 18px 4vw;
  background: rgba(10, 10, 10, 0.96);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.nav-logo-mark {
  display: block;
  height: 34px;
  width: auto;
  object-fit: contain;
}

.nav-logo-mark--group {
  display: none;
}

body.on-group .nav-logo-mark--group {
  display: block;
}

body.on-group .nav-logo-mark--default {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link-trigger,
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 64px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  background: none;
  border: 0;
}

.nav-link-trigger:hover,
.nav-links > li > a:hover,
.nav-links > li.nav-active > a {
  color: #ffffff;
}

.nav-chevron {
  font-size: 9px;
  opacity: 0.5;
  transition: transform 0.2s ease;
}

.has-mega:hover .nav-chevron {
  transform: rotate(180deg);
}

.has-mega.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-mega {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--nav-offset) + 72px);
  padding: 24px 4vw 30px;
  background: rgba(17, 17, 20, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  z-index: 155;
  pointer-events: auto;
}

@keyframes navMegaIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
  /* Bridge area should not look like a gap. */
  background: rgba(17, 17, 20, 0.98);
}

/* Hover-open is handled by JS toggling `.is-open` to avoid "stuck open" after clicks. */
.has-mega.is-open .nav-mega,
.has-mega:focus-within .nav-mega {
  display: block;
  animation: navMegaIn 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.mega-inner {
  display: grid;
  gap: 12px;
  max-width: 1120px;
  margin: 15px auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-inner-auto,
.mega-inner-bz {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-inner--ueber-uns {
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 30px 20px;
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 4px;
}

.mega-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  text-align: left;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.mega-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(var(--accent-rgb), 0.35);
}

.mega-name {
  font-weight: 800;
}

.mega-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: #ffffff;
}

body.company-it .nav-links .nav-it,
body.company-auto .nav-links .nav-auto,
body.company-bz .nav-links .nav-bz {
  display: list-item;
}

body.company-it .nav-cta .nav-it,
body.company-auto .nav-cta .nav-auto,
body.company-bz .nav-cta .nav-bz {
  display: inline-flex;
}

.nav-it,
.nav-auto,
.nav-bz {
  display: none;
}

.group-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.group-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-align: left;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 28px;
}

.group-card:hover {
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-4px);
}

.gc-logo {
  display: block;
  max-width: 180px;
  max-height: 40px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
}

.gc-sub {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}

.gc-name {
  margin: 8px 0 10px;
  font-size: 26px;
  font-weight: 800;
}

.gc-desc {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.64);
}

.gc-arrow {
  margin-top: auto;
  color: #ffffff;
  font-weight: 700;
}

.group-support-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.group-support-row-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.group-support-btn {
  font-size: 15px;
  padding: 14px 32px;
  cursor: pointer;
  background: var(--accent);
  color: var(--black);
  border-color: transparent;
}

.group-support-btn:hover {
  opacity: 0.88;
}

.footer-logo-img {
  width: auto;
  height: 30px;
  max-width: 190px;
}

.product-page {
  display: none;
  position: fixed;
  inset: var(--product-top-offset, 64px) 0 0 0;
  z-index: 240;
  background: #000000;
  overflow-y: auto;
}

.product-page.open {
  display: block;
}

body.product-open > main,
body.product-open > footer {
  display: none;
}

/* Nav-Mega bleibt auf Produktseiten aufklappbar.
   Früher wurde es hier mit display:none ausgeblendet als Workaround
   für den z-index-Konflikt (nav 150 < overlay 240). Behoben durch
   Anheben von #mainNav auf z-index: 260. */
.pp-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 4vw;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}

.pp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-400);
}

.pp-breadcrumb a {
  color: var(--gray-400);
  text-decoration: none;
}

.pp-breadcrumb a:hover {
  color: var(--black);
}

.pp-breadcrumb-sep {
  font-size: 10px;
  opacity: 0.45;
}

.pp-breadcrumb-current {
  color: var(--black);
}

.pp-close {
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--gray-500);
  background: none;
}

.pp-close:hover {
  color: var(--black);
  background: var(--gray-100);
}

.pp-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 4vw 52px;
  background: var(--black);
}

.pp-hero-blob {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--accent-rgb), 0.24) 0%,
    transparent 65%
  );
  filter: blur(60px);
}

.pp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.pp-tag {
  display: inline-flex;
  padding: 4px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.pp-title {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: #ffffff;
}

.pp-subtitle {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
  font-size: 18px;
}

.pp-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pp-body {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 4vw 100px;
}

.pp-section {
  margin-bottom: 56px;
}

.pp-section-title {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-400);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pp-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pp-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  color: var(--gray-700);
  line-height: 1.5;
}

.pp-features li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}

.pp-cta-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px 4vw;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

.pp-cta-text strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.pp-cta-text span {
  color: var(--gray-500);
}

.pp-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(var(--nav-offset) + 72px);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 4vw 32px;
    background: rgba(10, 10, 10, 0.98);
    overflow-y: auto;
    z-index: 159;
  }

  .mobile-open .nav-links > li > a,
  .mobile-open .nav-links .nav-link-trigger {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 0;
    height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .mobile-open .nav-mega {
    display: none !important;
  }

  .group-cards,
  .methode-grid,
  .kontakt-wrap,
  .form-row {
    grid-template-columns: 1fr;
  }

  .pp-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #group-bg-canvas,
  .group-bg-veil {
    display: none;
  }

  #group-overlay {
    justify-content: flex-start;
    padding: 32px 5vw 40px;
  }

  .group-logo-wrap {
    margin-bottom: 24px;
  }

  .group-card {
    padding: 18px;
  }

  .gc-name {
    font-size: 20px;
    margin: 6px 0 8px;
  }

  .gc-desc {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .gc-logo {
    max-width: 140px;
    margin-bottom: 12px;
  }

  #company-bar {
    flex-wrap: wrap;
    gap: 8px;
    height: auto;
    padding: 10px 4vw;
  }

  .cbar-back {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.01em;
  }

  .nav-logo-mark {
    height: 30px;
  }

  .pp-topbar {
    flex-wrap: wrap;
    padding: 12px 4vw;
  }

  .pp-close {
    margin-left: 0;
  }

  .pp-hero {
    padding-top: 44px;
  }

  .pp-body {
    padding: 48px 4vw 72px;
  }
}

/* Updated unified page overrides */
#company-bar {
  position: sticky;
  top: 0;
  z-index: 320;
  padding: 8px 5vw;
  background: rgba(10, 10, 10, 0.74);
  backdrop-filter: blur(10px);
}

#mainNav {
  top: 64px;
}

.partner-dark {
  background: #070707;
  color: #fff;
}

.partner-dark .section-title,
.partner-dark .section-label,
.partner-dark .section-sub {
  color: #fff;
}

.partner-dark .section-sub {
  color: rgba(255, 255, 255, 0.55);
}

.partner-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.partner-marquee-track {
  display: flex;
  width: max-content;
  transform: translateX(-50%);
  animation: partnerMarquee 38s linear infinite;
  animation-delay: -19s; /* half of 38s — starts already mid-loop, not at the edge */
}

.partner-slide {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
}

.partner-logo {
  flex: 0 0 auto;
  min-width: 170px;
  min-height: 100px;
  padding: 20px 24px;
  border-radius: 22px;
  background: rgba(230, 4, 4, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-width: 150px;
  max-height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.partner-name {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  letter-spacing: 0.02em;
}

@keyframes partnerMarquee {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.team-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}

.team-company-pane {
  display: none;
}

.team-root {
  display: block;
}

.team-pane-it {
  display: block;
}

body.company-auto .team-pane-it,
body.company-bz .team-pane-it {
  display: none;
}

body.company-auto .team-pane-auto,
body.company-bz .team-pane-bz {
  display: block;
}

.team-pane-it,
.team-pane-auto,
.team-pane-bz,
.team-company-pane,
.team-grid,
.team-grid-leadership {
  justify-content: center;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.team-grid,
.team-grid-leadership {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  justify-items: center;
  justify-content: center;
  gap: 32px;
}

.team-section .section-title {
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.team-section .section-sub {
  margin-bottom: 0;
  max-width: 620px;
}

.team-view {
  padding-top: 110px;
  padding-bottom: 130px;
}

.team-section-intro {
  display: grid;
  gap: 22px;
  align-items: start;
  margin-bottom: 54px;
}

.team-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 26px;
  align-items: start;
}

.team-intro-copy {
  max-width: 820px;
}

.team-intro-note {
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.08),
    rgba(var(--accent-rgb), 0.03)
  );
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  box-shadow: 0 18px 40px rgba(10, 10, 10, 0.04);
  display: grid;
  gap: 8px;
  color: var(--gray-600);
}

.team-intro-note strong {
  color: var(--black);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.1;
}

.team-group {
  margin-top: 52px;
}

.team-group-head {
  max-width: none;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.team-grid + .team-group-head {
  margin-top: 80px;
}

.team-group-label,
.team-department-label,
.team-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.team-group-label,
.team-department-label {
  margin-bottom: 0;
}

#team .team-group-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gray-100);
  position: relative;
}

#team .team-group-head::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--accent);
}

#team .team-department-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 6px;
}

#team .team-group-head .team-dept-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--black);
  letter-spacing: -0.01em;
}

.team-group-head h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.06;
  color: var(--black);
}

.team-group-head p {
  margin: 0;
  max-width: 700px;
  color: var(--gray-500);
  line-height: 1.7;
}

.team-department-stack {
  display: grid;
  gap: 30px;
}

.team-department {
  display: grid;
  gap: 16px;
}

.team-department-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.team-department-head span {
  color: var(--gray-500);
  font-size: 13px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  align-items: stretch;
  justify-content: start;
  justify-items: stretch;
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-grid-leadership {
  grid-template-columns: repeat(auto-fit, minmax(260px, 285px));
}

@media (max-width: 640px) {
  .team-grid,
  .team-grid-leadership {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .team-grid > *,
  .team-grid-leadership > * {
    max-width: 320px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.team-person {
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(10, 10, 10, 0.07);
  box-shadow:
    0 20px 46px rgba(10, 10, 10, 0.06),
    0 0 0 1px rgba(var(--accent-rgb), 0.04) inset,
    0 12px 22px rgba(var(--accent-rgb), 0.04);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 285px;
}

.team-person:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.22);
  box-shadow:
    0 24px 56px rgba(10, 10, 10, 0.08),
    0 0 0 1px rgba(var(--accent-rgb), 0.12) inset,
    0 18px 30px rgba(var(--accent-rgb), 0.1);
}

.team-person-photo {
  position: relative;
  height: 200px;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-person-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 56%,
    rgba(var(--accent-rgb), 0.06) 100%
  );
  pointer-events: none;
}

.team-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: 0 16px 30px rgba(10, 10, 10, 0.12);
}

.team-person-body {
  padding: 18px 20px 22px;
  display: grid;
  gap: 10px;
}

.team-person-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--black);
}

.team-person-role {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--accent-dark);
}

.team-person-links {
  display: grid;
  gap: 6px;
  padding-top: 2px;
}

.team-person-link {
  color: rgba(18, 18, 18, 0.78);
  font-size: 13px;
  line-height: 1.4;
  word-break: break-word;
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 18, 18, 0.16);
  width: fit-content;
}

.team-person-link:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

.team-card {
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(10, 10, 10, 0.07);
  box-shadow:
    0 20px 46px rgba(10, 10, 10, 0.06),
    0 0 0 1px rgba(var(--accent-rgb), 0.04) inset,
    0 12px 22px rgba(var(--accent-rgb), 0.04);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 285px;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.28);
  box-shadow:
    0 24px 56px rgba(10, 10, 10, 0.08),
    0 0 0 1px rgba(var(--accent-rgb), 0.14) inset,
    0 18px 30px rgba(var(--accent-rgb), 0.1);
}

.team-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f7f1, #ececdf);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  --team-photo: 275px;
}

.team-grid .team-card-media {
  --team-photo: 250px;
}

.team-grid.team-grid-leadership .team-card-media {
  --team-photo: 275px;
}

.team-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 56%,
    rgba(var(--accent-rgb), 0.06) 100%
  );
  pointer-events: none;
}

.team-card img {
  width: var(--team-photo);
  height: var(--team-photo);
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow: 0 16px 30px rgba(10, 10, 10, 0.12);
}

.team-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.team-card-kicker {
  color: var(--accent-dark);
}

.team-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  color: var(--black);
}

.team-card-role {
  display: none;
}

.team-card-note {
  margin: 0;
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
  display: none;
}

.team-card-source {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  color: var(--black);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.team-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 4px;
}

.team-contact-link {
  color: var(--gray-800);
  font-size: 13px;
  line-height: 1.4;
  word-break: break-word;
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 18, 18, 0.16);
}

.team-contact-link:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

@media (max-width: 900px) {
  .standorte-showcase {
    grid-template-columns: 1fr;
  }

  .standort-feature {
    min-height: 0;
    padding: 24px;
  }

  .testimonial-card {
    width: min(340px, calc(100vw - 40px));
  }

  .team-intro-grid {
    grid-template-columns: 1fr;
  }

  .team-view {
    padding-top: 90px;
    padding-bottom: 110px;
  }
}

@media (max-width: 640px) {
  .standort-orbit {
    width: 64px;
    height: 64px;
    box-shadow:
      0 0 0 12px rgba(255, 255, 255, 0.03),
      0 0 0 26px rgba(var(--accent-rgb), 0.06);
  }

  .testimonial-card {
    width: calc(100vw - 32px);
    padding: 24px;
  }

  .team-card-body {
    padding: 18px;
  }

  .team-section-intro {
    margin-bottom: 42px;
  }
}

.tools-grid-promote {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.tool-card-image {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border-radius: 22px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tool-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

.tool-card-content {
  position: relative;
  z-index: 1;
}

.tool-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tool-card-image .tool-name {
  color: #fff;
  font-size: 24px;
}

.tool-card-image .tool-desc {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  #mainNav .mega-inner--ueber-uns .mega-col {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  #company-bar {
    padding: 7px 16px;
  }
}

#mainNav {
  min-height: 64px;
  padding: 14px 5vw;
}

#mainNav .nav-logo-mark {
  display: block;
  width: auto;
  height: 34px;
  object-fit: contain;
}

#mainNav .nav-links > li > a,
#mainNav .nav-link-trigger {
  height: 56px;
  padding: 0 13px;
  font-size: 12px;
  line-height: 1;
}

#mainNav .nav-mega {
  /* Use measured nav height to avoid tiny gaps when fonts/buttons change. */
  top: calc(var(--nav-offset) + var(--nav-h, 64px) - 1px);
  padding: 0 5vw 28px;
  border-top: 0;
  margin-top: 0;
}

#mainNav .nav-mega::before {
  display: none;
}

#mainNav .mega-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 15px auto;
}

#mainNav .mega-inner-auto,
#mainNav .mega-inner-bz {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#mainNav .mega-inner--ueber-uns .mega-col {
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100% !important;
  max-width: 100% !important;
}

#mainNav .mega-inner--ueber-uns .mega-col-title {
  grid-column: 1 / -1;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

#mainNav .mega-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  text-decoration: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

#mainNav .mega-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(var(--accent-rgb), 0.28);
  transform: translateY(-1px);
}

#mainNav .mega-item-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
}

#mainNav .mega-item:hover .mega-item-icon {
  background: rgba(var(--accent-rgb), 0.16);
  color: var(--accent);
}

#mainNav .mega-item-icon svg {
  width: 100%;
  height: 100%;
}

#mainNav .mega-item-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

#mainNav .mega-item-desc {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.76);
}

#mainNav .mega-featured .mega-item-name {
  color: var(--accent);
}

#mainNav .mega-cta-panel {
  padding: 20px;
  border-radius: 16px;
  background: rgba(var(--accent-rgb), 0.07);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
}

#mainNav .mega-cta-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 8px;
}

#mainNav .mega-cta-desc {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 14px;
}

#mainNav .mega-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--black);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

#mainNav .mega-cta-btn:hover {
  background: var(--accent-dark);
}

#partner.partner-dark {
  background: #070707;
  color: #ffffff;
}

#partner.partner-dark .section-label,
#partner.partner-dark .section-title,
#partner.partner-dark .section-sub {
  color: #ffffff;
}

#partner.partner-dark .section-sub {
  color: rgba(255, 255, 255, 0.58);
}

#partner.partner-dark .partner-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

#partner.partner-dark .partner-marquee-track {
  display: flex;
  width: max-content;
  animation: partnerMarquee 38s linear infinite;
}

#partner.partner-dark .partner-slide {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
}

#partner.partner-dark .partner-logo {
  flex: 0 0 auto;
  min-width: 170px;
  min-height: 100px;
  padding: 20px 24px;
  border-radius: 22px;
  background: var(--black);
  border: 3px solid var(--accent-50);
  display: flex;
  align-items: center;
  justify-content: center;
}

#partner.partner-dark .partner-logo img {
  max-width: 150px;
  max-height: 58px;
  object-fit: contain;
  filter: none !important;
}

#partner.partner-dark .partner-name {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.spotlight {
  position: relative;
  overflow: hidden;
  padding: 100px 5vw;
}

.spotlight-dark {
  background: #05060f;
  color: #ffffff;
}

.spotlight-light {
  background: #f6f7fb;
  color: var(--black);
}

.spotlight-blob {
  position: absolute;
  width: 700px;
  height: 600px;
  top: -110px;
  left: -180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--accent-rgb), 0.18) 0%,
    transparent 65%
  );
  filter: blur(60px);
  pointer-events: none;
}

.spotlight-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
  gap: 64px;
  align-items: center;
}

.spotlight-inner-rev {
  direction: rtl;
}

.spotlight-inner-rev > * {
  direction: ltr;
}

.spotlight-title {
  margin: 12px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.spotlight-dark .spotlight-desc {
  color: rgba(255, 255, 255, 0.56);
}

.spotlight-light .spotlight-desc {
  color: var(--gray-500);
}

.spotlight-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spotlight-features li {
  display: flex;
  gap: 14px;
  align-items: center;
}

.sf-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  padding: 8px;
}

.sf-icon svg {
  width: 100%;
  height: 100%;
}

.feature-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.spotlight-features strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.spotlight-dark .spotlight-features span {
  color: rgba(255, 255, 255, 0.76);
}

.spotlight-light .spotlight-features span {
  color: var(--gray-500);
}

.spotlight-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.spotlight-note {
  font-size: 12px;
}

.spotlight-dark .spotlight-note {
  color: rgba(255, 255, 255, 0.7);
}

.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--black);
  color: #ffffff;
  border: none;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-primary-dark:hover {
  background: #111111;
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-ghost-dark:hover {
  background: var(--black);
  color: #ffffff;
}

.fiber-diagram {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 40px 20px 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.fiber-node-dc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--black);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  border-radius: 16px;
  padding: 16px 28px;
}

.fiber-node-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.fiber-node-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fiber-lines {
  display: flex;
  gap: 24px;
  width: 100%;
  justify-content: center;
  position: relative;
  height: 60px;
}

.fiber-line {
  flex: 1;
  max-width: 100px;
  height: 60px;
  position: relative;
  background: linear-gradient(
    to bottom,
    rgba(var(--accent-rgb), 0.4) 0%,
    rgba(68, 170, 255, 0.4) 100%
  );
  width: 3px;
  border-radius: 2px;
  margin: 0 auto;
}

.fiber-pulse {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: fiberFlow 1.8s ease-in-out infinite;
}

@keyframes fiberFlow {
  0% {
    top: 0%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

.fiber-clients {
  display: flex;
  gap: 16px;
  width: 100%;
  justify-content: center;
}

.fiber-client {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 20px;
  min-width: 92px;
}

.fc-icon {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.65);
}

.fiber-client span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.fiber-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 10px;
  text-align: center;
  line-height: 1.3;
}

.fiber-badge small {
  display: block;
  font-size: 10px;
  font-weight: 600;
}

.hosting-card-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 280px;
}

.hcs-card {
  position: absolute;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.hcs-card-1 {
  width: 260px;
  height: 160px;
  left: 0;
  top: 0;
  transform: rotate(-4deg);
}

.hcs-card-2 {
  width: 220px;
  height: 130px;
  right: 0;
  top: 66px;
  transform: rotate(4deg);
}

.hcs-card-3 {
  width: 220px;
  height: 110px;
  left: 54px;
  bottom: 0;
  transform: rotate(-2deg);
}

.hcs-header {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.hcs-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.hcs-domain {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #111111;
  line-height: 1.05;
}

.hcs-www,
.hcs-tld {
  color: var(--gray-400);
}

.hcs-status {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
}

.hcs-live {
  color: #00a86b;
}

.hcs-ssl {
  color: var(--gray-500);
}

.hcs-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  font-weight: 700;
  margin-bottom: 12px;
}

.hcs-uptime {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  color: #111111;
  margin-bottom: 12px;
}

.hcs-bar {
  width: 100%;
  height: 10px;
  background: var(--gray-100);
  border-radius: 999px;
  overflow: hidden;
}

.hcs-bar-fill {
  width: 92%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #68d3ff);
}

.hcs-backup-ok {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #111111;
  font-weight: 700;
}

/*Cloud spotlight CSS*/

.cloud-card-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 280px;
}

.ccs-card {
  position: absolute;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .12);
  border: 1px solid rgba(0, 0, 0, .06);
}

.ccs-card-1 {
  width: 260px;
  height: 190px;
  left: 0;
  top: 0;
  transform: rotate(-4deg);
}

.ccs-card-2 {
  width: 220px;
  height: 130px;
  right: 0;
  top: 90px;
  transform: rotate(4deg);
}

.ccs-card-3 {
  width: 220px;
  height: 100px;
  left: 54px;
  bottom: 0;
  transform: rotate(-2deg);
}

.ccs-header {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.ccs-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.ccs-rack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.ccs-rack-unit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--gray-100);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #111111;
}

.ccs-rack-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00a86b;
  box-shadow: 0 0 6px rgba(0, 168, 107, .6);
  flex-shrink: 0;
}

.ccs-status {
  display: flex;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
}

.ccs-live {
  color: #00a86b;
}

.ccs-ssl {
  color: var(--gray-500);
}

.ccs-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  font-weight: 700;
  margin-bottom: 12px;
}

.ccs-uptime {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  color: #111111;
  margin-bottom: 12px;
}

.ccs-bar {
  width: 100%;
  height: 10px;
  background: var(--gray-100);
  border-radius: 999px;
  overflow: hidden;
}

.ccs-bar-fill {
  width: 92%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #68d3ff);
}

.ccs-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: #111111;
  font-weight: 800;
}



@media (max-width: 900px) {
  #mainNav {
    top: 64px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  @keyframes navMobileIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes navMobileOut {
    from {
      opacity: 1;
      transform: translateY(0);
    }

    to {
      opacity: 0;
      transform: translateY(-8px);
    }
  }

  body.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-bottom, 92px);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 4vw 32px;
    background: rgba(10, 10, 10, 0.98);
    overflow-y: auto;
    z-index: 159;
    animation: navMobileIn 240ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  body.mobile-closing .nav-links {
    animation: navMobileOut 190ms ease both;
  }

  body.mobile-open .nav-links > li > a,
  body.mobile-open .nav-links .nav-link-trigger {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 0;
    height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  body.mobile-open .nav-mega {
    display: none !important;
  }

  .spotlight-inner,
  .spotlight-inner-rev {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .fiber-diagram,
  .hosting-card-stack,
  .cloud-card-stack {
    max-width: 100%;
  }
}

.standorte-map {
  display: block;
  width: 100%;
  height: 400px;
  margin-top: 20px;
  border: 0;
  border-radius: 14px;
}

body.on-group {
  --company-bar-h: 0px;
  --product-top-offset: 64px;
}

body.company-it,
body.company-auto,
body.company-bz {
  --company-bar-h: 32px;
  --product-top-offset: 96px;
}

#company-bar {
  height: 32px;
  min-height: 32px;
  padding-top: 0;
  padding-bottom: 0;
  z-index: 260;
  background: linear-gradient(
    180deg,
    rgba(14, 14, 16, 0.88),
    rgba(7, 7, 9, 0.74)
  );
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.cbar-label,
.cbar-link,
.cbar-back {
  white-space: nowrap;
}

.cbar-back-short {
  display: none;
}

#mainNav {
  top: var(--cbar-h, 0px);  
  z-index: 250;
  transition: top 0.25s ease;
  background: linear-gradient(
    180deg,
    rgba(14, 14, 16, 0.92),
    rgba(6, 6, 8, 0.8)
  );
  backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(0, max-content) minmax(
      170px,
      1fr
    ) auto;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding-top: 12px;
  padding-bottom: 12px;
}

#mainNav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 70% 0%,
      rgba(var(--accent-rgb), 0.16),
      transparent 46%
    ),
    radial-gradient(
      circle at 22% 120%,
      rgba(255, 255, 255, 0.06),
      transparent 42%
    );
  opacity: 0.95;
}

#mainNav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--accent-rgb), 0.4) 50%,
    transparent 100%
  );
  opacity: 0.75;
}

#mainNav .nav-logo {
  flex-direction: row;
  align-items: center;
  justify-self: start;
}

#mainNav .nav-logo-mark {
  display: block;
  width: auto;
  height: 34px;
  object-fit: contain;
}

#mainNav .nav-sub-label {
  display: none;
}

#mainNav .nav-links {
  justify-self: center;
  align-items: center;
}

#mainNav .nav-cta {
  justify-self: end;
  align-items: center;
}

#mainNav .nav-hamburger {
  grid-column: 4;
  justify-self: end;
}

#mainNav .nav-links > li > a,
#mainNav .nav-link-trigger {
  height: 44px;
  padding: 0 11px;
}

#mainNav .nav-cta .btn-support,
#mainNav .nav-cta .btn-nav-primary,
#mainNav .nav-cta .nav-btn-tools {
  height: 44px;
  padding: 0 16px;
}

#mainNav .nav-btn-tools {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.product-page {
  inset: var(--product-top-offset, 64px) 0 0 0;
  z-index: 240;
  background: #000000;
}

.pp-topbar {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
  min-height: 54px;
  padding: 12px 4vw;
  background: rgba(8, 8, 8, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pp-breadcrumb {
  justify-self: start;
  color: rgba(255, 255, 255, 0.58);
}

.pp-breadcrumb a {
  color: rgba(255, 255, 255, 0.74);
}

.pp-breadcrumb a:hover {
  color: #ffffff;
}

.pp-breadcrumb-current {
  color: #ffffff;
}

.pp-close {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.pp-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pp-hero {
  padding: 48px 4vw 22px;
  background: transparent;
}

.pp-hero-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: center;
  border-radius: 32px;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.99),
    rgba(16, 16, 16, 0.97)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(var(--accent-rgb), 0.04);
  overflow: hidden;
}

.pp-hero-copy {
  max-width: 720px;
}

.pp-tag,
.pp-title,
.pp-subtitle {
  position: relative;
  z-index: 1;
}

.pp-tag {
  box-shadow: 0 10px 24px rgba(var(--accent-rgb), 0.16);
}

.pp-title {
  text-wrap: balance;
  color: #ffffff;
}

.pp-subtitle {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.74);
}

.pp-hero-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.pp-body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.pp-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 4vw 80px;
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.pp-rail {
  position: sticky;
  top: calc(var(--company-bar-h, 0px) + 112px);
  display: grid;
  gap: 14px;
  align-content: start;
  margin-left: -2vw;
  padding-left: 2vw;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pp-rail-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.6;
  font-size: 14px;
  max-width: 22ch;
}

.pp-back-solutions {
  min-height: 76px;
  padding: 16px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f3 100%);
  color: #111111;
  box-shadow:
    0 18px 44px rgba(var(--accent-rgb), 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  font-weight: 800;
  letter-spacing: 0.01em;
  justify-content: flex-start;
  text-align: left;
}

.pp-back-solutions:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 46px rgba(var(--accent-rgb), 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset;
}

.pp-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.pp-ai-card {
  padding: 24px;
  border-radius: 24px;
  color: var(--gray-700);
  background: linear-gradient(180deg, #ffffff 0%, #faf9f4 100%);
  border: 1px solid rgba(186, 215, 57, 0.1);
  box-shadow:
    0 16px 36px rgba(10, 10, 10, 0.08),
    0 0 30px rgba(186, 215, 57, 0.07);
}

.pp-ai-summary {
  max-width: 860px;
  margin: 0;
  line-height: 1.72;
}

.pp-section {
  grid-column: 1 / -1;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbf8 100%);
  border: 1px solid rgba(186, 215, 57, 0.1);
  box-shadow:
    0 18px 40px rgba(10, 10, 10, 0.08),
    0 0 28px rgba(186, 215, 57, 0.06);
  backdrop-filter: blur(10px);
}

.pp-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(186, 215, 57, 0.16);
}

.pp-section-title {
  margin-bottom: 0;
  color: var(--accent);
  border-bottom: none;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.pp-section-count {
  font-size: 13px;
  color: var(--gray-500);
}

.pp-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.pp-feature-card {
  min-height: 88px;
  padding: 18px 18px 18px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fafaf8 100%);
  border: 1px solid rgba(186, 215, 57, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    0 0 16px rgba(186, 215, 57, 0.06);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.pp-feature-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.12);
}

.pp-feature-text {
  color: var(--gray-800);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pp-feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.24);
  box-shadow:
    0 12px 26px rgba(10, 10, 10, 0.08),
    0 0 18px rgba(var(--accent-rgb), 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.pp-detail-grid,
.pp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pp-detail-card,
.pp-price-card {
  min-width: 0;
  padding: 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(var(--accent-rgb), 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 12px 24px rgba(10, 10, 10, 0.06);
}

.pp-detail-card h4,
.pp-price-card h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.2;
  color: var(--gray-900);
}

.pp-detail-card p,
.pp-price-card p,
.pp-copy-block p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.62;
}

.pp-detail-card ul,
.pp-price-card ul,
.pp-copy-block ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.pp-detail-card li,
.pp-price-card li,
.pp-copy-block li {
  position: relative;
  padding-left: 18px;
  color: var(--gray-700);
  line-height: 1.45;
}

.pp-detail-card li::before,
.pp-price-card li::before,
.pp-copy-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.pp-price-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
}

.pp-price-card.featured {
  border-color: rgba(var(--accent-rgb), 0.34);
  box-shadow:
    0 18px 36px rgba(var(--accent-rgb), 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.pp-price-badge {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--gray-900);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin-top: 2px;
}

.pp-price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
}

.pp-period {
  color: var(--gray-500);
  font-size: 13px;
}

.pp-copy-block {
  display: grid;
  gap: 12px;
  max-width: 850px;
}

.pp-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.pp-detail-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(var(--accent-rgb), 0.14);
  background: #ffffff;
}

.pp-detail-table th,
.pp-detail-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(10, 10, 10, 0.07);
}

.pp-detail-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-600);
  background: rgba(var(--accent-rgb), 0.08);
}

.pp-detail-table td {
  color: var(--gray-800);
  line-height: 1.5;
}

.pp-detail-table tr:last-child td {
  border-bottom: 0;
}

.pp-section p {
  color: var(--gray-700);
}

.pp-features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pp-cta-strip {
  padding: 28px 4vw 34px;
  border-top: none;
  border-radius: 24px;
  background: #101010;
  color: #ffffff;
  box-shadow: 0 18px 50px rgba(10, 10, 10, 0.18);
}

.pp-cta-text strong {
  color: #ffffff;
}

.pp-cta-text span {
  color: rgba(255, 255, 255, 0.66);
}

.pp-cta-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.pp-hero-visual {
  position: relative;
  min-height: 280px;
}

.pp-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pp-visual-layer {
  position: absolute;
  border-radius: 26px;
}

.pp-visual-layer-back {
  inset: 24px 18px 42px 44px;
  background: linear-gradient(
    145deg,
    rgba(var(--accent-rgb), 0.18),
    rgba(255, 255, 255, 0.04)
  );
  transform: rotate(-8deg);
}

.pp-visual-layer-mid {
  inset: 54px 38px 28px 24px;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 10, 0.86),
    rgba(8, 8, 10, 0.72)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  transform: rotate(4deg);
}

.pp-visual-layer-front {
  inset: 70px 70px 48px 52px;
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.26),
    rgba(var(--accent-rgb), 0.1)
  );
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  transform: rotate(-2deg);
}

.pp-visual-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.pp-visual-icon svg {
  width: 84px;
  height: 84px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.18));
}

.pp-visual-fiber .pp-visual-icon,
.pp-visual-cloud .pp-visual-icon,
.pp-visual-shield .pp-visual-icon {
  color: var(--accent);
}

.pp-visual-phone .pp-visual-icon,
.pp-visual-wrench .pp-visual-icon,
.pp-visual-server .pp-visual-icon {
  color: #ffffff;
}

.pp-visual-spark .pp-visual-layer-front {
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.34),
    rgba(var(--accent-rgb), 0.12)
  );
}

.pp-visual-gear .pp-visual-layer-front,
.pp-visual-network .pp-visual-layer-front,
.pp-visual-chart .pp-visual-layer-front {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
}

/* =========================================================================
   KLIXA CONNECT: TARIF-GRID (Volle Breite & Responsive)
   ========================================================================= */

/* Überschreibt das Standard-3er-Grid und dehnt 2 Karten auf je 50% aus */
.pp-tarife-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  width: 100% !important;
}

/* =========================================================================
   NUCLEAR OPTION: GRID & TABLE OVERRIDES
   ========================================================================= */

/* GRID FIX */
.pp-detail-grid.pp-tarife-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  /* Zwingt 50/50 Layout */
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* MODAL TABLE FIX */
.pp-custom-modal .pp-table-container {
  width: 100% !important;
  display: block !important;
  margin: 20px auto !important;
  overflow-x: auto !important;
}

.pp-custom-modal table.pp-dark-table {
  width: 100% !important;
  display: table !important;
  /* Wichtig für Tabellenverhalten */
  table-layout: fixed !important;
  /* Zwingt gleichmässige Spalten */
  margin: 0 auto !important;
  border-collapse: collapse !important;
}

/* Spaltenbreiten erzwingen */
.pp-custom-modal table.pp-dark-table th,
.pp-custom-modal table.pp-dark-table td {
  width: 33.33% !important;
  /* Alle 3 Spalten gleich breit */
  text-align: center !important;
}

.pp-custom-modal table.pp-dark-table th:first-child,
.pp-custom-modal table.pp-dark-table td:first-child {
  text-align: left !important;
  /* Erste Spalte linksbündig */
}

/* Interaktive Karten-Effekte */

/* Erzwingt, dass die Karte oberste Priorität bei Klicks hat */
.pp-detail-card-interactive {
  cursor: pointer !important;
  position: relative !important;
  z-index: 9999 !important;
  /* Zwingt die Karte über alle anderen Ebenen */
  pointer-events: auto !important;
}

/* Verhindert, dass interne Elemente (Icons, Text) den Klick "schlucken" */
.pp-detail-card-interactive *,
.pp-detail-card-interactive span {
  pointer-events: none;
}

.pp-detail-card-interactive {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
}

.pp-detail-card-interactive:hover {
  transform: translateY(-3px);
  border-color: var(--accent) !important;
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.1);
}

.pp-card-badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}

.pp-card-footer-link {
  margin-top: auto;
  /* Schiebt den Link immer ganz nach unten, egal wie lang der Text ist */
  padding-top: 15px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

.pp-card-footer-link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.pp-detail-card-interactive:hover .pp-card-footer-link span {
  transform: translateX(5px);
}

/* =========================================================================
   KLIXA CONNECT: ZUSAMMENGEFASSTES STYLESHEET
   ========================================================================= */

/* 1. GRID & INTERAKTIVE KARTEN */
.pp-tarife-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pp-detail-card-interactive {
  cursor: pointer !important;
  position: relative !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
}

.pp-detail-card-interactive *,
.pp-detail-card-interactive span {
  pointer-events: none;
}

.pp-detail-card-interactive:hover {
  transform: translateY(-3px);
  border-color: var(--accent) !important;
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.1);
}

.pp-card-badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}

.pp-card-footer-link {
  margin-top: auto;
  padding-top: 15px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

.pp-card-footer-link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.pp-detail-card-interactive:hover .pp-card-footer-link span {
  transform: translateX(5px);
}

/* 2. MODAL-OVERLAY & DIALOG */
.pp-custom-modal.modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.6) !important;
  z-index: 2147483647 !important;
  /* Das ist der absolute Maximum-Wert für Z-Index */
  display: none;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px;
}

body.modal-open #mainNav {
  z-index: 1 !important;
  /* Komplett nach hinten */
  pointer-events: none !important;
  /* Verhindert Klicks auf die Navbar, während Modal offen */
}

.pp-custom-modal.show {
  display: flex !important;
}

.pp-custom-modal .modal-dialog {
  width: 100% !important;
  max-width: 800px !important;
  margin: auto !important;
}

.pp-custom-modal .modal-content {
  background: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  color: #333333 !important;
  padding: 40px 35px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
  position: relative;
}

.pp-custom-modal .modal-main-title {
  font-size: 36px;
  font-weight: 400;
  color: #111111;
  margin-top: 10px;
  margin-bottom: 6px;
}

.pp-custom-modal .item-intro {
  font-style: italic;
  font-size: 14px;
  color: #666666;
  margin-bottom: 25px;
}

/* 3. TABELLEN-LAYOUT */
.pp-table-container {
  width: 100% !important;
  display: block !important;
  margin: 20px auto !important;
  overflow-x: auto !important;
}

table.pp-dark-table {
  width: 100% !important;
  display: table !important;
  table-layout: fixed !important;
  margin: 0 auto !important;
  border-collapse: collapse !important;
}

table.pp-dark-table thead th {
  background: #000000 !important;
  color: var(--accent) !important;
  padding: 12px 15px !important;
  font-weight: 600;
  font-size: 14px;
  border: none !important;
  text-align: center !important;
}

table.pp-dark-table tbody td {
  padding: 14px 15px !important;
  border-bottom: 1px solid #eeeeee !important;
  color: #444444 !important;
  text-align: center !important;
}

/* Spaltenbreiten & Ausrichtung */
table.pp-dark-table th,
table.pp-dark-table td {
  width: 33.33% !important;
}

table.pp-dark-table th:first-child,
table.pp-dark-table td:first-child {
  text-align: left !important;
}

/* Nur das nackte, graue Text-X */
.klixa-close-x {
  position: absolute !important;
  top: 15px !important;
  right: 20px !important;

  color: #888888 !important;
  /* Schönes, dezentes Grau */
  font-size: 32px !important;
  /* Perfekte Größe für das X */
  line-height: 1 !important;
  font-family: Arial, sans-serif !important;

  cursor: pointer !important;
  /* Zeigt beim Drüberfahren die Klick-Hand */
  z-index: 99999 !important;
  /* Bleibt immer ganz oben */
}

/* Wird beim Drüberfahren auf dem PC dezent dunkler */
.klixa-close-x:hover {
  color: #333333 !important;
}

/* Mobil-Sitzplatz */
@media (max-width: 767px) {
  .klixa-close-x {
    top: 12px !important;
    right: 15px !important;
    font-size: 28px !important;
  }

  .pp-detail-grid.pp-tarife-grid {
    grid-template-columns: 1fr !important;
  }

  .pp-tarife-grid {
    grid-template-columns: 1fr !important;
    /* Zwingt 1 Spalte */
    gap: 15px !important;
    /* Etwas weniger Abstand auf Mobil */
  }

  /* 2. TABELLE: Container scrollbar machen */
  .pp-table-container {
    width: 100% !important;
    overflow-x: auto !important;
    /* Erzeugt die Scrollbar */
    -webkit-overflow-scrolling: touch !important;
    /* Macht Scrollen auf iPhone flüssig */
    display: block !important;
  }

  /* 3. TABELLE: Layout auf 'auto' stellen */
  /* WICHTIG: 'fixed' würde die Tabelle quetschen. 
       'auto' lässt sie so breit sein wie sie muss, damit sie scrollbar wird. */
  table.pp-dark-table {
    table-layout: auto !important;
    min-width: 400px;
    /* Gibt der Tabelle eine Mindestbreite, damit sie scrollbar wird */
  }

  /* Zellen-Text nicht umbrechen, damit die Zeile schön bleibt */
  table.pp-dark-table th,
  table.pp-dark-table td {
    width: auto !important;
    /* Spaltenbreite automatisch anpassen */
    white-space: nowrap !important;
    /* Hält den Text in einer Zeile */
    padding: 10px 12px !important;
    min-width: 80px;
    /* Optional: Mindestbreite, damit es nicht zu eng wird */
  }
  .pp-custom-modal .pp-dark-table th,
  .pp-custom-modal .pp-dark-table td {
    white-space: normal !important; /* Erlaubt Textumbruch */
    word-wrap: break-word !important; /* Bricht lange Wörter zur Not um */
    padding: 8px 5px !important; /* Etwas weniger Padding für mehr Platz */
    font-size: 13px !important; /* Schrift minimal kleiner für mehr Platz */
    line-height: 1.2 !important; /* Besserer Zeilenabstand bei Umbruch */
  }

  /* Sorgt dafür, dass die Spalten sich den Platz dynamisch teilen */
  .pp-custom-modal .pp-dark-table {
    table-layout: auto !important;
  }
}

/* 6. Der Schließen-Button unten links (Sichtbar gemacht!) */
.pp-btn-modal-close {
  background: #000000 !important;
  /* Schwarzer Hintergrund */
  border: 1px solid #000000 !important;
  color: #ffffff !important;
  /* Weiße, gut lesbare Schrift */
  padding: 10px 24px !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pp-btn-modal-close:hover {
  background: var(--accent) !important;
  /* Wird grün beim Hovern */
  border-color: var(--accent) !important;
  color: #000000 !important;
  /* Schrift wird schwarz beim Hovern */
}

/* Listen-Stile */
.pp-modal-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #444444;
  list-style: none;
}

.pp-modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.pp-modal-note {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
  background: #f9f9f9;
  border-left: 3px solid var(--accent);
  padding: 14px;
}

/* Schliessen-Button unten rechts */
.pp-btn-modal-close {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #ffffff;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pp-btn-modal-close:hover {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.05);
  color: var(--accent);
}

/* Das Schliessen-X oben rechts im Modal */
.pp-custom-modal .close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 30px;
  height: 30px;
  background: transparent;
  cursor: pointer;
}

.pp-custom-modal .close-modal .lr,
.pp-custom-modal .close-modal .lr .rl {
  background-color: #555 !important;
  width: 1px;
  height: 25px;
}

.pp-custom-modal .close-modal:hover .lr,
.pp-custom-modal .close-modal:hover .lr .rl {
  background-color: var(--accent) !important;
}

@media (max-width: 900px) {
  body.on-group,
  body.company-it,
  body.company-auto,
  body.company-bz {
    --product-top-offset: 64px;
  }

  body.company-it,
  body.company-auto,
  body.company-bz {
    --company-bar-h: 36px;
    --product-top-offset: 100px;
  }

  body.on-group {
    --company-bar-h: 0px;
    --product-top-offset: 64px;
  }

  #company-bar {
    height: 36px;
    min-height: 36px;
    display: flex;
    justify-content: flex-end;
    gap: 0;
    align-items: center;
    padding-left: 12px;
    padding-right: 12px;
    overflow: hidden;
  }

  .cbar-label {
    display: none;
  }

  #company-bar .cbar-sep {
    display: none;
  }

  #company-bar .cbar-link {
    display: none;
  }

  #company-bar .cbar-link span {
    display: none;
  }

  #company-bar .cbar-logo {
    width: auto;
    height: 14px;
    max-width: 64px;
    object-fit: contain;
  }

  #company-bar .cbar-back {
    min-width: 0;
    margin-left: auto;
    justify-self: end;
    padding: 0 0 0 12px;
    font-size: 12px;
    position: relative;
    z-index: 1;
  }

  .cbar-back-full {
    display: none;
  }

  .cbar-back-short {
    display: inline;
  }

  #mainNav {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    z-index: 270;
  }

  #mainNav .nav-links,
  #mainNav .nav-cta {
    display: none;
  }

  #mainNav .nav-logo-mark {
    height: 30px;
  }

  #mainNav .nav-hamburger {
    grid-column: 3;
  }

  .product-page {
    inset: var(--product-top-offset, 64px) 0 0 0;
  }

  .pp-topbar {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 10px;
    min-height: 0;
  }

  .pp-close {
    width: 100%;
    min-height: 44px;
  }

  .pp-breadcrumb {
    justify-self: start;
    order: 2;
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .pp-hero-shell {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .pp-hero-visual {
    min-height: 220px;
  }

  .pp-visual {
    min-height: 220px;
  }

  .pp-close {
    justify-self: stretch;
  }

  .pp-layout {
    grid-template-columns: 1fr;
    padding-bottom: 60px;
  }

  .pp-rail {
    position: static;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    border-right: none;
  }

  .pp-back-solutions {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .pp-ai-card {
    padding-top: 20px;
  }

  .pp-features {
    grid-template-columns: 1fr;
  }

  .pp-feature-grid {
    grid-template-columns: 1fr;
  }

  .pp-detail-grid,
  .pp-pricing-grid {
    grid-template-columns: 1fr;
  }

  .pp-section-head {
    align-items: start;
    flex-direction: column;
  }
}

body.support-modal-open {
  overflow: hidden;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 4, 6, 0.72);
  backdrop-filter: blur(18px);
}

.support-modal.open {
  display: flex;
}

.support-modal-panel {
  position: relative;
  width: min(720px, 100%);
  padding: 34px 34px 30px;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(18, 18, 22, 0.98),
    rgba(7, 8, 11, 0.98)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  color: #ffffff;
}

.support-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.support-modal-step {
  display: grid;
  gap: 14px;
}

.support-modal-kicker {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-modal h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.06;
  letter-spacing: -1px;
}

.support-modal p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.65;
  max-width: 560px;
}

.support-modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.support-modal-actions-single {
  grid-template-columns: 1fr;
}

.support-modal-divider {
  height: 1px;
  margin: 8px 0 4px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02),
    rgba(var(--accent-rgb), 0.26),
    rgba(255, 255, 255, 0.02)
  );
}

.support-choice,
.support-modal-back {
  min-height: 68px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  gap: 12px;
  text-align: center;
}

.support-choice {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
}

.support-choice:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(var(--accent-rgb), 0.28);
}

.support-choice-ticket {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.support-choice-download {
  background: rgba(255, 255, 255, 0.08);
}

.support-choice-download:hover {
  background: rgba(255, 255, 255, 0.12);
}

.support-choice-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
}

.support-choice-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

@media (max-width: 900px) {
  .support-modal {
    padding: 16px;
  }

  .support-modal-panel {
    padding: 68px 18px 22px;
    border-radius: 22px;
  }

  .support-modal-close {
    top: 14px;
    right: 14px;
  }

  .support-modal-actions {
    grid-template-columns: 1fr;
  }

  .support-choice,
  .support-modal-back {
    min-height: 60px;
    border-radius: 18px;
  }
}

body.page-shell {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(var(--accent-rgb), 0.14),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(255, 255, 255, 0.06),
      transparent 28%
    ),
    #050505;
  color: #f5f5f5;
}

.page-topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(18px);
  background: rgba(10, 10, 10, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-topbar-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-brand img {
  width: auto;
  height: 38px;
  display: block;
}

.page-topnav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin: 0 auto;
}

.page-topnav a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
  white-space: nowrap;
}

.page-topnav a:hover,
.page-topnav a[aria-current="page"] {
  color: #ffffff;
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.12);
  transform: translateY(-1px);
}

.legal-hero,
.ticket-hero {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 28px;
}

.legal-hero-inner,
.ticket-hero-inner {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)
    ),
    linear-gradient(160deg, rgba(10, 10, 10, 0.94), rgba(18, 18, 18, 0.84));
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(var(--accent-rgb), 0.08) inset;
}

.legal-hero-inner::before,
.ticket-hero-inner::before {
  content: "";
  position: absolute;
  inset: auto -8% -30% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--accent-rgb), 0.18),
    transparent 66%
  );
  filter: blur(14px);
  pointer-events: none;
}

.legal-kicker,
.ticket-form-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.12);
}

.legal-hero h1,
.ticket-hero h1 {
  margin: 0;
  max-width: 800px;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.legal-hero p,
.ticket-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.76);
}

.legal-shell,
.ticket-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 96px;
}

.legal-shell-inner,
.ticket-shell-inner {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.legal-sidecard,
.ticket-sidecard {
  position: sticky;
  top: 108px;
  padding: 26px 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.18);
}

.legal-sidecard-label,
.ticket-sidecard-kicker {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--accent-rgb), 0.95);
}

.legal-sidecard-link {
  display: block;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-sidecard-link:last-child {
  border-bottom: 0;
}

.legal-sidecard-link:hover {
  color: #ffffff;
}

.legal-document,
.ticket-form-card {
  border-radius: 34px;
  background: #ffffff;
  color: #141414;
  padding: clamp(26px, 4vw, 42px);
  overflow: hidden;
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(var(--accent-rgb), 0.08) inset;
}

.legal-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-card-grid-single {
  grid-template-columns: 1fr;
  max-width: 780px;
}

.legal-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: linear-gradient(180deg, #ffffff, #f5f6f2);
}

.legal-card-kicker,
.legal-meta-item {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-card h2,
.ticket-form-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.02;
}

.legal-card p,
.legal-prose p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(18, 18, 18, 0.8);
}

.legal-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.legal-prose h2 {
  margin: 34px 0 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(18, 18, 18, 0.08);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
}

.legal-prose h3 {
  margin: 16px 0 8px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.legal-prose a,
.legal-card a,
.ticket-sidecard-note a {
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.28);
}

.ticket-hero-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.ticket-hero-chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.ticket-sidecard-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
  display: grid;
  gap: 12px;
  line-height: 1.6;
}

.ticket-sidecard-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.ticket-form-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.ticket-form-head p {
  margin: 0;
  color: rgba(18, 18, 18, 0.58);
}

.ticket-form-modern {
  display: grid;
  gap: 28px;
  width: 100%;
}

.ticket-form-modern,
.ticket-form-modern * {
  box-sizing: border-box;
}

.ticket-form-panel {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff, #f6f7f2);
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: 0 10px 28px rgba(18, 18, 18, 0.05);
}

.ticket-form-panel-head {
  display: grid;
  gap: 6px;
}

.ticket-form-panel-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
}

.ticket-form-panel-head p {
  margin: 0;
  color: rgba(18, 18, 18, 0.58);
  line-height: 1.6;
}

.ticket-form-grid {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.ticket-form-grid-1 {
  grid-template-columns: 1fr;
}

.ticket-form-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ticket-form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ticket-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ticket-field > span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(18, 18, 18, 0.72);
}

.ticket-field input,
.ticket-field select,
.ticket-field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(18, 18, 18, 0.1);
  border-radius: 18px;
  background: #f7f7f3;
  color: #121212;
  padding: 15px 16px;
  font: inherit;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.ticket-field textarea {
  min-height: 160px;
  resize: vertical;
}

.ticket-field input:focus,
.ticket-field select:focus,
.ticket-field textarea:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12);
  background: #ffffff;
}

.ticket-service-note {
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.1),
    rgba(var(--accent-rgb), 0.04)
  );
  color: rgba(18, 18, 18, 0.8);
  line-height: 1.7;
}

/* ---- Upload / Dropzone ---------------------------------------- */

/* Keyframes */
@keyframes dz-row-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dz-icon-bounce {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(-2px);
  }
}

@keyframes dz-mark-pop {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  65% {
    transform: scale(1.2);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Zone shell */
#myDropzone {
  width: 100%;
  min-height: 120px;
  /* visible even before JS initialises */
  border: 1.5px dashed rgba(18, 18, 18, 0.14);
  border-radius: 20px;
  background: #f7f7f3;
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

#myDropzone:hover {
  border-color: rgba(18, 18, 18, 0.28);
  background: #f2f2ee;
}

#myDropzone.dz-drag-hover {
  border-color: var(--accent);
  border-style: solid;
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12);
  background: #f7f7f3;
}

/* Drop message */
#myDropzone .dz-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 24px 22px;
  margin: 0;
  text-align: center;
  pointer-events: none;
  transition: padding 0.25s ease;
}

#myDropzone.dz-started .dz-message {
  display: flex;
  /* override dropzone.min.css display:none on .dropzone.dz-started .dz-message */
  padding: 14px 24px 12px;
}

#myDropzone.dz-started .dz-sub-text {
  display: none;
}

/* Icon ring */
#myDropzone .dz-upload-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px dashed rgba(18, 18, 18, 0.18);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    width 0.25s ease,
    height 0.25s ease;
}

#myDropzone.dz-started .dz-upload-icon {
  width: 36px;
  height: 36px;
}

#myDropzone:hover .dz-upload-icon {
  border-color: rgba(18, 18, 18, 0.35);
  border-style: solid;
  transform: translateY(-3px);
}

#myDropzone.dz-drag-hover .dz-upload-icon {
  border-color: var(--accent);
  border-style: solid;
  background: rgba(var(--accent-rgb), 0.08);
  animation: dz-icon-bounce 0.7s ease-in-out infinite alternate;
}

#myDropzone .dz-upload-icon svg {
  width: 22px;
  height: 22px;
  stroke: rgba(18, 18, 18, 0.42);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    stroke 0.2s ease,
    width 0.25s ease,
    height 0.25s ease;
}

#myDropzone.dz-started .dz-upload-icon svg {
  width: 16px;
  height: 16px;
}

#myDropzone:hover .dz-upload-icon svg {
  stroke: rgba(18, 18, 18, 0.68);
}

#myDropzone.dz-drag-hover .dz-upload-icon svg {
  stroke: var(--accent-dark);
}

#myDropzone .dz-main-text {
  font-size: 14px;
  font-weight: 600;
  color: rgba(18, 18, 18, 0.6);
  transition: font-size 0.25s ease;
}

#myDropzone.dz-started .dz-main-text {
  font-size: 12px;
}

#myDropzone .dz-sub-text {
  font-size: 12px;
  color: rgba(18, 18, 18, 0.36);
}

/* File preview rows */
#myDropzone .dz-preview {
  animation: dz-row-in 0.22s cubic-bezier(0.22, 0.68, 0, 1.2) both;
  border-top: 1px solid rgba(18, 18, 18, 0.07);
}

#myDropzone .dz-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  background: #fff;
  transition: background 0.15s;
}

#myDropzone .dz-file-row:hover {
  background: #fafaf8;
}

/* File icon pill */
#myDropzone .dz-file-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f0f0ec;
  border: 1px solid rgba(18, 18, 18, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

#myDropzone .dz-preview.dz-success .dz-file-icon {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.18);
}

#myDropzone .dz-preview.dz-error .dz-file-icon {
  background: rgba(220, 50, 50, 0.08);
  border-color: rgba(220, 50, 50, 0.14);
}

#myDropzone .dz-file-icon svg {
  width: 17px;
  height: 17px;
  stroke: rgba(18, 18, 18, 0.42);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}

#myDropzone .dz-preview.dz-success .dz-file-icon svg {
  stroke: var(--accent-dark);
}

#myDropzone .dz-preview.dz-error .dz-file-icon svg {
  stroke: rgba(200, 40, 40, 0.75);
}

/* File name + size + progress */
#myDropzone .dz-file-body {
  flex: 1 1 0;
  min-width: 0;
}

#myDropzone .dz-filename {
  font-size: 13px;
  font-weight: 600;
  color: rgba(18, 18, 18, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#myDropzone .dz-filesize {
  font-size: 11px;
  color: rgba(18, 18, 18, 0.38);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

#myDropzone .dz-progress {
  height: 2px;
  border-radius: 2px;
  background: rgba(18, 18, 18, 0.08);
  overflow: hidden;
  margin-top: 6px;
  transition: opacity 0.35s ease 0.2s;
}

#myDropzone .dz-preview.dz-success .dz-progress,
#myDropzone .dz-preview.dz-error .dz-progress {
  opacity: 0;
}

#myDropzone .dz-upload {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Success / error state marks */
#myDropzone .dz-state {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#myDropzone .dz-success-mark,
#myDropzone .dz-error-mark {
  display: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#myDropzone .dz-success-mark {
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent-dark);
}

#myDropzone .dz-error-mark {
  background: rgba(220, 50, 50, 0.1);
  color: rgba(200, 40, 40, 0.85);
}

#myDropzone .dz-success-mark svg,
#myDropzone .dz-error-mark svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  display: block;
}

#myDropzone .dz-preview.dz-success .dz-success-mark {
  display: flex;
  animation: dz-mark-pop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

#myDropzone .dz-preview.dz-error .dz-error-mark {
  display: flex;
  animation: dz-mark-pop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Remove button */
#myDropzone .dz-remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(18, 18, 18, 0.28);
  padding: 0;
  transition:
    background 0.15s ease,
    color 0.15s ease;
  text-decoration: none;
  font-size: 0;
}

#myDropzone .dz-remove:hover {
  background: rgba(220, 50, 50, 0.1);
  color: rgba(200, 40, 40, 0.85);
}

#myDropzone .dz-remove svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  flex-shrink: 0;
}

/* Error message below row */
#myDropzone .dz-error-message {
  display: none;
  padding: 5px 16px 9px;
  font-size: 12px;
  color: rgba(200, 40, 40, 0.82);
  background: rgba(220, 50, 50, 0.05);
}

#myDropzone .dz-preview.dz-error .dz-error-message {
  display: block;
}

/* .ticket-upload-note removed — hint text lives inside .dz-sub-text */

.ticket-service-section {
  margin-top: 32px;
  padding: 28px 32px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
}

.ticket-service-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
}

.ticket-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--gray-200);
}

.ticket-service-row-closed {
  opacity: 0.55;
}

.ticket-service-day {
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-700);
}

.ticket-service-time {
  font-size: 14px;
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
}

.ticket-service-closed {
  color: var(--gray-400);
  font-style: italic;
}

.ticket-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  width: 100%;
}

.ticket-captcha-wrap {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
}

.ticket-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  width: fit-content;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #111111;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(var(--accent-rgb), 0.22);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.ticket-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(var(--accent-rgb), 0.26);
  filter: saturate(1.04);
}

.ticket-field-small {
  max-width: 220px;
}

.page-footer {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 34px;
}

.page-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
}

.page-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.page-footer-links a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.campaign-hero {
  position: relative;
  padding: 160px 24px 46px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(191, 220, 50, 0.16),
      transparent 24%
    ),
    radial-gradient(
      circle at 14% 18%,
      rgba(255, 255, 255, 0.07),
      transparent 22%
    ),
    linear-gradient(180deg, #090909 0%, #040404 100%);
}

.campaign-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -28% 36%;
  height: 340px;
  border-radius: 999px;
  background:
    radial-gradient(
      circle at 30% 50%,
      rgba(191, 220, 50, 0.24),
      transparent 34%
    ),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  filter: blur(34px);
  opacity: 0.65;
}

.campaign-hero-discount::before {
  background:
    radial-gradient(
      circle at 30% 50%,
      rgba(191, 220, 50, 0.16),
      transparent 32%
    ),
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

.campaign-hero-event::before {
  background:
    radial-gradient(
      circle at 30% 50%,
      rgba(255, 203, 112, 0.2),
      transparent 32%
    ),
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

.campaign-hero-inner,
.campaign-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.campaign-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.campaign-hero h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.campaign-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.7;
}

.campaign-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.campaign-chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.campaign-shell {
  padding: 0 0 88px;
}

.campaign-shell-inner {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: -8px;
}

.campaign-sidecard,
.campaign-panel {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02)
    ),
    #0c0c0d;
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.campaign-sidecard {
  position: sticky;
  top: 104px;
  padding: 24px;
  color: #ffffff;
}

.campaign-sidecard-label,
.campaign-panel-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(191, 220, 50, 0.12);
  color: #d2eb56;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.campaign-sidecard-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.8;
}

.campaign-sidecard-note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.65;
}

.campaign-panel {
  padding: 28px;
}

.campaign-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.campaign-panel-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.campaign-panel-head p {
  max-width: 360px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.campaign-grid {
  display: grid;
  gap: 16px;
}

.campaign-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.campaign-field {
  display: grid;
  gap: 10px;
}

.campaign-field span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.campaign-field input {
  width: 100%;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font: inherit;
}

.campaign-field input:focus {
  outline: none;
  border-color: rgba(191, 220, 50, 0.5);
  box-shadow: 0 0 0 4px rgba(191, 220, 50, 0.12);
}

.campaign-form {
  display: grid;
  gap: 16px;
}

.campaign-response-stack {
  display: grid;
  gap: 10px;
}

.campaign-response {
  display: none;
  /* shown by Mailchimp JS on submit */
  min-height: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
}

.campaign-honeypot {
  position: absolute;
  left: -5000px;
}

.campaign-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.campaign-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.campaign-button:hover {
  transform: translateY(-1px);
}

.campaign-button-primary {
  border: 1px solid rgba(191, 220, 50, 0.6);
  background: #bfdc32;
  color: #121212;
  box-shadow: 0 18px 36px rgba(191, 220, 50, 0.16);
}

.campaign-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.campaign-empty-state {
  display: grid;
  gap: 18px;
  min-height: 320px;
  align-content: center;
}

.campaign-empty-state h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.campaign-empty-state p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.campaign-panel-event {
  overflow: hidden;
}

.campaign-event-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: center;
}

.campaign-event-copy {
  display: grid;
  gap: 16px;
}

.campaign-event-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.campaign-event-copy a {
  color: #d2eb56;
}

.campaign-event-media {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.campaign-event-media img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1080px) {
  .legal-shell-inner,
  .ticket-shell-inner {
    grid-template-columns: 1fr;
  }

  .legal-sidecard,
  .ticket-sidecard {
    position: relative;
    top: 0;
  }

  .ticket-form-head {
    align-items: start;
    flex-direction: column;
  }

  .ticket-form-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticket-field-small {
    max-width: none;
  }

  .campaign-shell-inner,
  .campaign-event-grid,
  .campaign-grid-two {
    grid-template-columns: 1fr;
  }

  .campaign-panel-head {
    display: grid;
  }

  .campaign-sidecard {
    position: relative;
    top: 0;
  }
}

@media (max-width: 760px) {
  .page-topbar-inner,
  .legal-hero,
  .ticket-hero,
  .campaign-hero,
  .legal-shell,
  .ticket-shell,
  .campaign-shell,
  .page-footer {
    width: min(100% - 28px, 1240px);
  }

  .page-topbar-inner {
    min-height: 74px;
    padding: 10px 0;
    flex-direction: column;
    justify-content: center;
  }

  .page-topnav {
    width: 100%;
    justify-content: flex-start;
  }

  .legal-card-grid,
  .ticket-form-grid-2,
  .ticket-form-grid-3 {
    grid-template-columns: 1fr;
  }

  .legal-document,
  .ticket-form-card,
  .legal-hero-inner,
  .ticket-hero-inner,
  .campaign-panel {
    border-radius: 26px;
    padding: 22px;
  }

  .campaign-hero-inner {
    width: 100%;
  }

  .ticket-form-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .ticket-submit-btn {
    width: 100%;
  }

  .ticket-form-actions {
    align-items: stretch;
  }

  .ticket-captcha-wrap {
    width: 100%;
  }
}

/* Hero rebuild overrides */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-offset, 0px));
  padding: 148px 5vw 72px;
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(var(--accent-rgb), 0.12),
      transparent 24%
    ),
    linear-gradient(180deg, #090909 0%, #040404 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: none;
}

.hero-bg-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.34;
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 1) 28%,
    rgba(0, 0, 0, 0.9)
  );
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.28) 0 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 80% 35%,
      rgba(255, 255, 255, 0.2) 0 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 55% 75%,
      rgba(255, 255, 255, 0.16) 0 1px,
      transparent 1px
    );
  background-size:
    160px 160px,
    220px 220px,
    190px 190px;
  pointer-events: none;
}

.hero-ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
}

.hero-ambient-a {
  top: 12%;
  right: 18%;
  width: 34vw;
  height: 22vw;
  background: rgba(var(--accent-rgb), 0.13);
  opacity: 0.85;
}

.hero-ambient-b {
  bottom: -8%;
  right: -6%;
  width: 28vw;
  height: 20vw;
  background: rgba(255, 255, 255, 0.07);
  opacity: 0.5;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.88fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  max-width: 1380px;
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-copy > [data-view] {
  display: none;
}

body.company-it .hero-copy > [data-view="it"],
body.company-auto .hero-copy > [data-view="auto"],
body.company-bz .hero-copy > [data-view="bz"] {
  display: block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero-highlight {
  color: var(--accent);
  text-shadow:
    0 0 22px rgba(var(--accent-rgb), 0.24),
    0 0 54px rgba(var(--accent-rgb), 0.14);
}

.hero-sub {
  max-width: 610px;
  margin: 0 0 28px;
  font-size: clamp(17px, 1.75vw, 20px);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.015)
    ),
    linear-gradient(180deg, rgba(8, 8, 8, 0.92), rgba(16, 16, 16, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 36px 80px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(var(--accent-rgb), 0.08);
}

.hero-stage-frame,
.hero-stage-panel,
.hero-stage-grid,
.hero-stage-beam,
.hero-stage-trace,
.hero-stage-pulse {
  position: absolute;
  pointer-events: none;
}

.hero-stage-frame {
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%),
    linear-gradient(
      125deg,
      rgba(var(--accent-rgb), 0.08),
      rgba(255, 255, 255, 0.02)
    );
}

.hero-stage-panel {
  border-radius: 28px;
  transform-origin: center;
}

.hero-stage-panel-back {
  inset: 9% 16% 24% 20%;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.012)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  transform: perspective(1200px) rotateY(-24deg) rotateX(10deg) rotateZ(-6deg);
  box-shadow: 0 0 100px rgba(var(--accent-rgb), 0.08);
}

.hero-stage-panel-mid {
  inset: 18% 10% 15% 32%;
  background: linear-gradient(
    155deg,
    rgba(var(--accent-rgb), 0.14),
    rgba(255, 255, 255, 0.025)
  );
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  transform: perspective(1200px) rotateY(-14deg) rotateX(8deg) rotateZ(7deg);
  backdrop-filter: blur(5px);
}

.hero-stage-panel-front {
  inset: 30% 14% 19% 40%;
  background: linear-gradient(
    165deg,
    rgba(10, 10, 10, 0.2),
    rgba(var(--accent-rgb), 0.2)
  );
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  transform: perspective(1200px) rotateY(-10deg) rotateX(8deg) rotateZ(-3deg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 22px 44px rgba(0, 0, 0, 0.22);
}

.hero-stage-grid {
  inset: 12% 8% 8% 22%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(
    140deg,
    transparent 0%,
    rgba(0, 0, 0, 0.92) 24%,
    rgba(0, 0, 0, 1) 100%
  );
  opacity: 0.22;
  transform: perspective(1200px) rotateY(-18deg) rotateX(16deg);
}

.hero-stage-beam {
  top: 12%;
  left: 36%;
  width: 44%;
  height: 72%;
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.18),
    rgba(var(--accent-rgb), 0)
  );
  clip-path: polygon(24% 0, 74% 0, 100% 100%, 0 100%);
  opacity: 0.55;
  filter: blur(8px);
}

.hero-stage-trace {
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  box-shadow: 0 0 34px rgba(var(--accent-rgb), 0.16);
}

.hero-stage-trace-a {
  left: 13%;
  right: 18%;
  bottom: 24%;
  height: 86px;
  transform: rotate(-8deg);
  opacity: 0.42;
}

.hero-stage-trace-b {
  left: 26%;
  right: 10%;
  bottom: 14%;
  height: 62px;
  transform: rotate(6deg);
  opacity: 0.32;
}

.hero-stage-pulse {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 8px rgba(var(--accent-rgb), 0.12),
    0 0 26px rgba(var(--accent-rgb), 0.48);
}

.hero-stage-pulse-a {
  top: 30%;
  left: 60%;
}

.hero-stage-pulse-b {
  bottom: 28%;
  right: 18%;
}

.hero-stage-label {
  position: absolute;
  z-index: 2;
  max-width: 260px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-stage-label-top {
  top: 36px;
  left: 36px;
}

.hero-stage-label-bottom {
  left: 36px;
  bottom: 34px;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.54);
}

.hero-stage > .hero-stage-label[data-view] {
  display: none;
}

body.company-it .hero-stage > .hero-stage-label[data-view="it"],
body.company-auto .hero-stage > .hero-stage-label[data-view="auto"],
body.company-bz .hero-stage > .hero-stage-label[data-view="bz"] {
  display: block;
}

.hero-stage > .hero-stats[data-view] {
  display: none;
}

body.company-it .hero-stage > .hero-stats[data-view="it"],
body.company-auto .hero-stage > .hero-stats[data-view="auto"],
body.company-bz .hero-stage > .hero-stats[data-view="bz"] {
  display: grid;
}

.hero-stats {
  position: absolute;
  right: 30px;
  bottom: 28px;
  z-index: 2;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 12px;
  width: min(360px, calc(100% - 220px));
}

.hero-stat {
  min-width: 0;
  padding: 16px 14px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.04em;
}

.hero-stat-label {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.58);
}

@keyframes heroStageFloatA {
  from {
    transform: perspective(1200px) rotateY(-24deg) rotateX(10deg) rotateZ(-6deg)
      translate3d(0, 0, 0);
  }

  to {
    transform: perspective(1200px) rotateY(-22deg) rotateX(10deg) rotateZ(-4deg)
      translate3d(-10px, 8px, 0);
  }
}

@keyframes heroStageFloatB {
  from {
    transform: perspective(1200px) rotateY(-14deg) rotateX(8deg) rotateZ(7deg)
      translate3d(0, 0, 0);
  }

  to {
    transform: perspective(1200px) rotateY(-12deg) rotateX(8deg) rotateZ(5deg)
      translate3d(10px, -8px, 0);
  }
}

@keyframes heroStageFloatC {
  from {
    transform: perspective(1200px) rotateY(-10deg) rotateX(8deg) rotateZ(-3deg)
      translate3d(0, 0, 0);
  }

  to {
    transform: perspective(1200px) rotateY(-8deg) rotateX(8deg) rotateZ(-2deg)
      translate3d(-8px, 8px, 0);
  }
}

@keyframes heroStagePulse {
  0%,
  100% {
    opacity: 0.9;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.14);
  }
}

.hero-stage-panel-back {
  animation: heroStageFloatA 16s ease-in-out infinite alternate;
}

.hero-stage-panel-mid {
  animation: heroStageFloatB 14s ease-in-out infinite alternate;
}

.hero-stage-panel-front {
  animation: heroStageFloatC 12s ease-in-out infinite alternate;
}

.hero-stage-pulse {
  animation: heroStagePulse 3.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage-panel-back,
  .hero-stage-panel-mid,
  .hero-stage-panel-front,
  .hero-stage-pulse {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-stage {
    min-height: 520px;
  }

  .hero-stats {
    width: min(420px, calc(100% - 72px));
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 124px 5vw 56px;
  }

  .hero-shell {
    gap: 24px;
  }

  .hero-stage {
    min-height: 460px;
    border-radius: 26px;
  }

  .hero-stage-frame {
    inset: 14px;
    border-radius: 22px;
  }

  .hero-stage-label-top,
  .hero-stage-label-bottom {
    left: 22px;
  }

  .hero-stage-label-top {
    top: 22px;
    max-width: 190px;
  }

  .hero-stage-label-bottom {
    bottom: 22px;
    max-width: 170px;
  }

  .hero-stats {
    right: 18px;
    bottom: 18px;
    width: min(250px, calc(100% - 156px));
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-stat {
    padding: 12px;
    border-radius: 16px;
  }
}

@media (max-width: 1024px) {
  section {
    padding: 84px 5vw;
  }

  .section-sub {
    margin-bottom: 42px;
  }

  .kontakt-wrap {
    gap: 40px;
  }

  .jobs-banner {
    padding: 32px;
  }

  .standorte-showcase {
    gap: 18px;
  }

  .tools-grid-promote {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.mobile-open {
    overflow: hidden;
  }

  body.mobile-open #mainNav {
    position: fixed;
    top: var(--company-bar-h, 0px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 380;
    isolation: isolate;
    align-content: start;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo burger"
      "panel panel";
    gap: 0 12px;
    padding: 16px 16px 0;
    background: linear-gradient(
      180deg,
      rgba(12, 12, 14, 0.985),
      rgba(6, 6, 8, 0.99)
    );
    overflow: hidden;
  }

  body.mobile-open #mainNav::before {
    inset: 0;
    background:
      radial-gradient(
        circle at 72% 0%,
        rgba(var(--accent-rgb), 0.14),
        transparent 34%
      ),
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04),
        rgba(255, 255, 255, 0) 18%
      ),
      linear-gradient(180deg, rgba(12, 12, 14, 0.985), rgba(6, 6, 8, 0.99));
    opacity: 1;
  }

  body.mobile-open #mainNav::after {
    display: none;
  }

  body.mobile-open #mainNav .nav-logo {
    grid-area: logo;
    position: relative;
    z-index: 2;
    min-height: 56px;
    align-self: center;
  }

  body.mobile-open #mainNav .nav-hamburger {
    grid-area: burger;
    position: relative;
    z-index: 2;
    align-self: center;
    justify-self: end;
    margin-right: 2px;
  }

  #mainNav.mobile-active {
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
  }

  body.mobile-open #mainNav .nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    grid-area: panel;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    min-height: 0;
    padding: 18px 0 224px;
    margin-top: 8px;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 390;
    justify-self: stretch;
  }

  body.mobile-open #mainNav .nav-links > li {
    display: block;
    width: 100%;
  }

  body.mobile-open #mainNav .nav-links > li > a,
  body.mobile-open #mainNav .nav-links .nav-link-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 56px;
    padding: 0 4px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.mobile-open #mainNav .nav-links > li:last-child > a {
    border-bottom: 0;
  }

  body.mobile-open #mainNav .nav-links .nav-chevron {
    margin-left: auto;
    opacity: 0.55;
  }

  body.mobile-open #mainNav .nav-mega {
    display: none !important;
  }

  body.mobile-open #mainNav .nav-cta {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    padding: 16px;
    background: linear-gradient(
      180deg,
      rgba(18, 18, 22, 0.96),
      rgba(9, 9, 11, 0.98)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow:
      0 24px 44px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 391;
    justify-self: stretch;
  }

  body.mobile-open #mainNav .nav-cta > .nav-it,
  body.mobile-open #mainNav .nav-cta > .nav-auto,
  body.mobile-open #mainNav .nav-cta > .nav-bz {
    display: inline-flex !important;
    width: 100%;
    justify-content: center;
  }

  section {
    padding: 72px 5vw;
  }

  .section-title {
    font-size: clamp(30px, 8vw, 44px);
  }

  .hero {
    padding: 116px 5vw 44px;
  }

  .hero-shell {
    gap: 20px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .methode-card,
  .why-card,
  .hub-card,
  .tool-card-modern {
    padding-left: 24px;
    padding-right: 24px;
  }

  .jobs-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .jobs-banner .btn-primary,
  .jobs-banner .btn-secondary {
    width: 100%;
  }

  .tools-grid-promote {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    width: min(360px, calc(100vw - 40px));
  }

  .partner-logo {
    min-width: 150px;
    min-height: 90px;
  }

  .team-group-head p,
  .pp-ai-summary,
  .standort-feature p {
    max-width: none;
  }
}

@media (max-width: 760px) {
  #mainNav {
    padding-left: 16px;
    padding-right: 16px;
  }

  #company-bar {
    padding-left: 16px;
    padding-right: 16px;
  }

  #company-bar .cbar-back {
    font-size: 11px;
  }

  .hero-stage {
    min-height: 360px;
  }

  .hero-stage-label-top,
  .hero-stage-label-bottom {
    display: none !important;
  }

  .hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 18px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-stat {
    padding: 14px;
  }

  .standort-feature {
    min-height: 220px;
    padding: 22px;
  }

  .kontakt-info h2 {
    font-size: 34px;
  }

  .team-person-photo {
    height: 220px;
  }

  .pp-hero-shell,
  .pp-section,
  .pp-ai-card {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Interaction refinements */
#mainNav .nav-mega {
  top: calc(var(--nav-h, 64px) - 1px);
  z-index: 245;
  background: rgba(17, 17, 20, 0.985);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
}

#mainNav .nav-mega::before {
  display: block;
  top: -2px;
  height: 2px;
  background: rgba(17, 17, 20, 0.985);
}

.hero-typewriter {
  position: relative;
}

.hero-typewriter-cursor {
  display: inline-block;
  width: 0.07em;
  height: 0.9em;
  margin-left: 0.09em;
  vertical-align: -0.06em;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.45);
  border-radius: 1px;
  animation: heroTypeCaret 1000ms steps(1, end) infinite;
}

/* While typing the cursor stays solid (hard) so it doesn't flicker between
   keystrokes; only when we hold at the end of a phrase do we blink slowly. */
.hero-typewriter-cursor.hero-typewriter-cursor-hold {
  animation: heroTypeCaretHold 1100ms ease-in-out infinite;
}

@keyframes heroTypeCaret {
  0%,
  55% {
    opacity: 1;
  }

  56%,
  100% {
    opacity: 0;
  }
}

@keyframes heroTypeCaretHold {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.05;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-typewriter-cursor {
    animation: none;
    opacity: 0.8;
  }
}

@media (max-width: 900px) {
  body.mobile-open {
    overflow: hidden;
  }

  body.mobile-open #mainNav {
    height: calc(100svh - var(--company-bar-h, 0px));
    min-height: 0;
    bottom: auto;
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "logo burger"
      "panel panel"
      "cta cta";
    align-content: stretch;
    overflow: hidden;
    padding: 16px 16px 0;
  }

  body.mobile-open #mainNav .nav-links {
    display: flex !important;
    grid-area: panel;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    padding: 14px 0 16px;
    margin-top: 8px;
    margin-bottom: 8px;
    align-items: stretch;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 1;
  }

  body.mobile-open #mainNav .nav-logo,
  body.mobile-open #mainNav .nav-hamburger {
    z-index: 3;
  }

  body.mobile-open #mainNav .nav-links > li.nav-it,
  body.mobile-open #mainNav .nav-links > li.nav-auto,
  body.mobile-open #mainNav .nav-links > li.nav-bz {
    display: none;
  }

  body.mobile-open.company-it #mainNav .nav-links > li.nav-it,
  body.mobile-open.company-auto #mainNav .nav-links > li.nav-auto,
  body.mobile-open.company-bz #mainNav .nav-links > li.nav-bz {
    display: block;
    width: 100%;
  }

  body.mobile-open #mainNav .nav-links > li > a,
  body.mobile-open #mainNav .nav-links .nav-link-trigger {
    letter-spacing: 0;
  }

  body.mobile-open #mainNav .has-mega.is-open > a {
    color: #ffffff;
    border-color: rgba(var(--accent-rgb), 0.28);
  }

  body.mobile-open #mainNav .has-mega.is-open .nav-chevron {
    transform: rotate(180deg);
    opacity: 0.9;
  }

  body.mobile-open #mainNav .has-mega.is-open .nav-mega {
    display: block !important;
    position: static;
    inset: auto;
    padding: 0 0 10px;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    animation: none;
  }

  body.mobile-open #mainNav .nav-mega::before {
    display: none;
  }

  body.mobile-open #mainNav .mega-inner,
  body.mobile-open #mainNav .mega-inner-auto,
  body.mobile-open #mainNav .mega-inner-bz {
    grid-template-columns: 1fr !important;
    gap: 10px;
    max-width: none;
    margin: 0;
    padding: 0 0 8px;
  }

  body.mobile-open #mainNav .mega-col {
    gap: 8px;
  }

  body.mobile-open #mainNav .mega-col-title {
    margin: 12px 0 4px;
  }

  body.mobile-open #mainNav .mega-item {
    border-radius: 14px;
    padding: 12px;
    transform: none;
    /* <a> elements get browser-default blue link colour unless overridden.
       Explicitly set white so mega-item-name/desc inherit correctly on mobile. */
    color: #ffffff;
    text-decoration: none;
  }

  body.mobile-open #mainNav .mega-item-name {
    color: #ffffff;
  }

  body.mobile-open #mainNav .mega-item-desc {
    color: rgba(255, 255, 255, 0.72);
  }

  body.mobile-open #mainNav .mega-col-title {
    color: rgba(255, 255, 255, 0.52);
  }
}

/* ================================================================
 * BZ "Unser Angebot" – redesigned card grid
 * Uses more horizontal space and a cleaner card layout than the
 * shared .pakete-grid / .paket-card baseline.
 * ================================================================ */

body.company-bz #loesungen {
  padding-left: max(16px, 2vw);
  padding-right: max(16px, 2vw);
}

#bz-pakete {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

#bz-pakete .paket-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  border-radius: 22px;
  border: 1px solid var(--gray-200);
  border-top: 4px solid rgba(var(--accent-rgb), 0.3);
  background: #ffffff;
  box-shadow: 0 6px 28px rgba(10, 10, 10, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

#bz-pakete .paket-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(10, 10, 10, 0.1);
  border-top-color: rgba(var(--accent-rgb), 0.7);
  border-color: rgba(var(--accent-rgb), 0.25);
}

#bz-pakete .paket-card.featured {
  border-top-color: var(--accent);
  background: linear-gradient(
    160deg,
    rgba(var(--accent-rgb), 0.07) 0%,
    #ffffff 80px
  );
}

#bz-pakete .paket-card.featured:hover {
  border-top-color: var(--accent-dark);
}

#bz-pakete .paket-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  margin-bottom: 22px;
}

#bz-pakete .paket-icon svg {
  width: 30px;
  height: 30px;
}

#bz-pakete .paket-name {
  font-size: 24px;
  margin-bottom: 12px;
  line-height: 1.2;
}

#bz-pakete .paket-desc {
  font-size: 15px;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 24px;
}

#bz-pakete .paket-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--gray-100);
  padding-top: 20px;
}

#bz-pakete .paket-feature {
  padding: 5px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--gray-50);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

#bz-pakete .paket-card.featured .paket-feature {
  border-color: rgba(var(--accent-rgb), 0.25);
  background: rgba(var(--accent-rgb), 0.07);
  color: var(--gray-700);
}

@media (max-width: 1100px) {
  #bz-pakete {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  body.company-bz #loesungen {
    padding-left: max(16px, 4vw);
    padding-right: max(16px, 4vw);
  }

  #bz-pakete {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #bz-pakete .paket-card {
    padding: 28px 24px 24px;
  }
}



/* ================================================================
 * TESTIMONIAL CAROUSEL STATES
 * ================================================================ */

.testimonials-carousel.is-ready .testimonials-stage .testimonial-card {
  opacity: 0 !important;
  transform: scale(0.92) !important;
  filter: saturate(0.4) !important;

  transition:
    opacity 520ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 520ms cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 520ms cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}


/* Aktive Karte */

.testimonials-carousel.is-ready .testimonials-stage .testimonial-card.is-active {
  opacity: 1 !important;
  transform: scale(1.03) !important;
  filter: saturate(1) !important;
  z-index: 3;
}


/* Linke Nachbarkarte */

.testimonials-carousel.is-ready .testimonials-stage .testimonial-card.is-prev {
  opacity: 0.32 !important;
  transform: scale(0.94) !important;
  filter: saturate(0.5) !important;
  z-index: 1;
}


/* Rechte Nachbarkarte */

.testimonials-carousel.is-ready .testimonials-stage .testimonial-card.is-next {
  opacity: 0.32 !important;
  transform: scale(0.94) !important;
  filter: saturate(0.5) !important;
  z-index: 1;
}


/* Alle anderen */

.testimonials-carousel.is-ready .testimonials-stage .testimonial-card.is-hidden {
  opacity: 0 !important;
  transform: scale(0.92) !important;
  filter: saturate(0) !important;
  z-index: 0;
}

/* ==============================================================
   Mobile: Company-Bar ausblenden, "Zur Gruppe" ins Menü
   ============================================================== */
.nav-links > li.nav-mobile-back {
  display: none;
}

@media (max-width: 900px) {
  #company-bar {
    display: none !important;
  }

  body.company-it,
  body.company-auto,
  body.company-bz {
    --company-bar-h: 0px;
  }

  body.mobile-open .nav-links > li.nav-mobile-back {
    display: list-item;
    padding-top: 24px;
  }

  .nav-mobile-back-btn {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .nav-mobile-back-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
}

.grecaptcha-badge {
  visibility: hidden !important;
}

.form-captcha-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-500);
}

.form-captcha-note a {
  color: inherit;
  text-decoration: underline;
}


/* ==============================================================
   Team-Cards v2.1 – Foto vollflächig, Progressive-Blur unten
   Fade hat feste Höhe -> bei allen Cards identisch,
   unabhängig davon, wie lang Name oder Funktion sind.
   ============================================================== */
.team-grid .team-person {
  --tp-fade-h: 48%;              /* Höhe des Fades, bei allen gleich */
  position: relative;
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 22px;
  overflow: hidden;
  background: #e9e7e2;
  border: 0;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 10px 30px -12px rgba(0, 0, 0, 0.18);
  isolation: isolate;
  transform: translateZ(0); /* Safari: border-radius + overflow sauber */
  transition:
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.team-grid .team-person:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 18px 40px -14px rgba(0, 0, 0, 0.24);
}

.team-grid .team-person-photo {
  position: absolute;
  inset: 0;
  height: 100%;
}

.team-grid .team-person-photo img {
  object-position: center 22%;
  box-shadow: none;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.team-grid .team-person:hover .team-person-photo img {
  transform: scale(1.025);
}

/* Der Fade: fest am unteren Rand, feste Höhe, weiche (eased) Kurve */
.team-grid .team-person-photo::after {
  content: "";
  display: block;
  position: absolute;
  inset: auto 0 0 0;
  height: var(--tp-fade-h);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.06) 10%,
    rgba(0, 0, 0, 0.16) 20%,
    rgba(0, 0, 0, 0.29) 30%,
    rgba(0, 0, 0, 0.42) 40%,
    rgba(0, 0, 0, 0.53) 52%,
    rgba(0, 0, 0, 0.61) 66%,
    rgba(0, 0, 0, 0.66) 82%,
    rgba(0, 0, 0, 0.68) 100%
  );
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 12%,
    rgba(0, 0, 0, 0.55) 26%,
    rgba(0, 0, 0, 0.85) 40%,
    #000 52%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 12%,
    rgba(0, 0, 0, 0.55) 26%,
    rgba(0, 0, 0, 0.85) 40%,
    #000 52%
  );
}

/* Inhalt: liegt nur noch auf dem Fade, hat selbst keinen Hintergrund */
.team-grid .team-person-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name    name"
    "role    actions";
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  padding: 0 16px 16px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.team-grid .team-person-text {
  display: contents;     /* Name und Funktion direkt ins Grid */
}

.team-grid .team-person-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #ffffff;
  grid-area: name;
  min-width: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.team-grid .team-person-role {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.82);
  grid-area: role;
  min-width: 0;
  text-wrap: pretty;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
  overflow-wrap: break-word;  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

/* Kontakt als runde Glas-Buttons */
.team-grid .team-person-actions {
  grid-area: actions;
  align-self: end;
  display: flex;
  gap: 8px;
}

.team-grid .team-person-action {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.35);
  transition: background 200ms ease, transform 200ms ease;
}

.team-grid .team-person-action svg {
  width: 16px;
  height: 16px;
}

.team-grid .team-person-action:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.06);
}

.team-grid .team-person-action:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Standorte: Öffnungs- / Erreichbarkeitszeiten */
.standort-hours {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: 16px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.standort-hours svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.standort-hours-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.standort-hours-time {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Telefonnummer sitzt direkt unter der Pille */
.standort-hours + .standort-phone {
  margin-top: 12px;
}

/* ==================================================================
   SCHRIFTGRÖSSEN – Lesbarkeit (nur Grössen, keine Farben)
   Bewusst am Ende der Datei, damit diese Regeln sicher gewinnen.
   ================================================================== */

/* Eyebrows / kleine Versal-Labels: 11 → 12 px */
body .section-label,
body .hub-card-tag,
body .team-department-label,
body #team .team-department-label,
body .pp-section-title,
body .standort-badge,
body .standort-hours-label,
body .tool-tag,
body .ccs-label,
body .ccs-live,
body .ccs-ssl,
body .fiber-node-label,
body .hero-stage-label,
body .legal-kicker,
body .ticket-sidecard-kicker {
  font-size: 12px;
}

/* bisher 9–10 px → 12 px */
body .footer-col h4,
body #pp-hero-tag,
body .pp-tag,
body .fiber-badge small,
body .fiber-client span,
body .cbar-label {
  font-size: 12px;
}

body .nav-chevron {
  font-size: 11px;
}

/* Hero-Kennzahlen: grösser, aber ohne die Kacheln zu sprengen */
body .hero-stat-label {
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* Kleine Fliesstexte & Hinweise: 11–12 px → 13 px */
body .footer-group-note,
body .jobs-note,
body .spotlight-note,
body .form-captcha-note,
body #footer-copy,
body .footer-meta-links a,
body .group-support-row-label,
body .dz-message .dz-sub-text,
body #myDropzone .dz-sub-text,
body .pp-breadcrumb,
body .pp-breadcrumb a,
body .pp-breadcrumb-current {
  font-size: 13px;
  line-height: 1.55;
}

/* Meta-Infos: 13 → 14 px */
body .standort-meta,
body .pp-section-count,
body .pp-pricing-note,
body .gc-desc,
body .ticket-field > span {
  font-size: 14px;
}

/* Hauptnavigation Desktop: 12 → 14 px */
@media (min-width: 901px) {
  body #mainNav .nav-links > li > a,
  body #mainNav .nav-link-trigger {
    font-size: 14px;
  }
}

/* Spotlight-Buttons: 12 → 14 px */
body .spotlight-cta .btn-primary-dark,
body .spotlight-cta .btn-ghost-dark {
  font-size: 14px;
}

/* Formulare: Labels 11 → 13 px, Eingaben 16 px (verhindert Auto-Zoom auf dem iPhone) */
body .form-field label {
  font-size: 13px;
}

body .form-field input,
body .form-field textarea,
body .ticket-field input,
body .ticket-field select,
body .ticket-field textarea {
  font-size: 16px;
}

/* Browser-Schriftvergrösserung auf dem Handy nicht blockieren */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ==================================================================
   Tool-Cards – ruhige Variante
   Weg: Glow, gedrehte Deko-Kachel, Blob hinter dem Icon, Pill-Tag.
   Bleibt: dunkle Karte, Akzentfarbe, gleiche Inhalte.
   ================================================================== */
body .tool-card-modern {
  min-height: 0;
  gap: 0;
  padding: 24px;
  border-radius: 20px;
  background: #111214;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

body .tool-card-modern:hover {
  transform: translateY(-2px);
  background: #16171a;
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: none;
}

/* Deko entfernen */
body .tool-card-modern::before,
body .tool-card-orb,
body .tool-card-chip {
  display: none;
}

/* Pfeil oben rechts statt Deko-Kachel */
body .tool-card-modern::after {
  content: "\2192";
  inset: 22px 22px auto auto;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  transform: none;
  font-size: 20px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.25s ease, transform 0.25s ease;
}

body .tool-card-modern:hover::after {
  color: var(--accent);
  transform: translateX(3px);
}

/* Icon: schlichte Kachel, Linie in Akzentfarbe */
body .tool-card-visual {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.12);
}

body .tool-card-icon {
  color: var(--accent);
}

body .tool-card-icon svg {
  width: 24px;
  height: 24px;
}

/* Tag als dezente Zeile statt Pill */
body .tool-card-modern .tool-tag {
  display: block;
  padding: 0;
  margin: 0 0 6px;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

body .tool-card-modern .tool-name {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.2;
}

body .tool-card-modern .tool-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

/* Handy: kompakte Zeilen – Icon links, Text rechts */
@media (max-width: 640px) {
  body .tool-card-modern {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 18px 48px 18px 18px;
  }

  body .tool-card-modern::after {
    inset: 50% 20px auto auto;
    transform: translateY(-50%);
  }

  body .tool-card-modern:hover::after {
    transform: translate(3px, -50%);
  }

  body .tool-card-visual {
    margin-bottom: 0;
  }

  body .tool-card-modern .tool-tag {
    margin-bottom: 2px;
    font-size: 11px;
  }

  body .tool-card-modern .tool-name {
    margin-bottom: 2px;
    font-size: 18px;
  }

  body .tool-card-modern .tool-desc {
    font-size: 14px;
  }
}



/* ==================================================================
   Einheitliches Layout IT / Automation / Bildungszentrum
   ================================================================== */

/* Warum-Section: IT, Automation und BZ nutzen exakt dasselbe Raster
   (.why-grid--3 = 3 Spalten Desktop, 2 Tablet, 1 Handy).
   Linien pro Karte statt grauem Grid-Hintergrund → angefangene Reihen
   (z. B. 4 Karten = 3 + 1) bleiben schwarz statt grau. */
.why-grid {
  gap: 0;
  background: transparent;
  border: 0;
}

.why-grid .why-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 -1px -1px 0;
}

/* Lösungs-Grid: Linien pro Karte statt grauer Hintergrund.
   So bleiben leere Restzellen weiss statt als graue Fläche sichtbar –
   egal ob 3 (BZ), 5 (Automation) oder 11 (IT) Produkte. */
.hub-grid {
  gap: 0;
  background: transparent;
  border: 0;
}

.hub-grid .hub-card {
  border: 1px solid var(--gray-200);
  margin: 0 -1px -1px 0;
}

/* Längere Texte (Automation/BZ haben keine navDescription) sauber kürzen */
.hub-card-sub {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hub-nav[hidden] {
  display: none;
}

/* Spaltenzahl kommt aus renderHub() (BZ 3, Automation 3, IT 4) */
@media (min-width: 1101px) {
  .hub-grid {
    grid-template-columns: repeat(var(--hub-cols, 4), 1fr);
  }
}

/* BZ: gleicher Seitenabstand wie IT und Automation */
body.company-bz #loesungen {
  padding-left: 5vw;
  padding-right: 5vw;
}

/* Partner-Logos: Rahmen immer in der Farbe der aktiven Firma
   (--accent-rgb wird pro Firma von unified.js gesetzt; --accent-50 war fix grün) */
#partner.partner-dark .partner-logo {
  border-color: rgba(var(--accent-rgb), 0.5);
}

/* Team: Abstand zwischen Abteilungen hängt am Gruppen-Block (.team-group),
   nicht mehr an "Grid gefolgt von Überschrift". */
#team .team-group {
  margin-top: 0;
}

#team .team-group + .team-group {
  margin-top: 80px;
}

/* Carousel mit nur einer Kundenstimme: Pfeile/Dots ausgeblendet */
.testimonial-nav[hidden],
.testimonials-dots[hidden] {
  display: none;
}

/* Rechtsseiten: Aufzählungen (z.B. Datenschutzerklärung) */
.legal-prose ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.legal-prose li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* Ticketformular: Strasse füllt den Rest, Hausnummer feste Breite – zusammen volle Breite */
.ticket-form-grid-street {
  grid-template-columns: minmax(0, 1fr) 180px;
}

@media (max-width: 640px) {
  .ticket-form-grid-street {
    grid-template-columns: minmax(0, 1fr) 96px;
  }
}

/* Impressum: Firmenkarten (drei Spalten, auf schmalen Screens untereinander) */
.legal-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 8px 0 34px;
}

.legal-company h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.2;
  color: #141414;
}

.legal-company p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
}

.legal-company .legal-company-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #141414;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.legal-company .legal-company-note,
.legal-company .legal-company-uid {
  font-size: 14px;
  color: rgba(18, 18, 18, 0.66);
}

.legal-company a {
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .legal-card-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ==============================================================
   Gruppen-Startseite: Navigation (News, Ticket, AGB, Impressum, Datenschutz)
   Desktop: Pills oben zentriert · Handy: Hamburger mit Dropdown
   ============================================================== */
#group-overlay {
  padding-top: 104px;
}

.group-topnav {
  position: absolute;
  top: 24px;
  left: 5vw;
  right: 5vw;
  z-index: 5;
  display: flex;
  justify-content: center;
}

.group-topnav-toggle {
  display: none;
}

@media (max-width: 900px) {
  #group-overlay {
    padding-top: 88px;
  }

  .group-topnav {
    top: 16px;
    justify-content: flex-end;
  }

  .group-topnav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
  }

  .group-topnav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
    transition: transform 200ms ease, opacity 200ms ease;
  }

  .group-topnav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .group-topnav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .group-topnav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .group-topnav-links {
    position: absolute;
    top: 54px;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: min(240px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(14, 14, 14, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  }

  .group-topnav-links.is-open {
    display: flex;
  }

  .group-topnav-links a {
    text-align: left;
  }
}

/* ==============================================================
   Rechtsseiten & Ticket: lange Titel auf dem Handy
   (z. B. «Geschäftsbedingungen», «Datenschutzerklärung»)
   ============================================================== */
.legal-hero h1,
.ticket-hero h1 {
  overflow-wrap: break-word;
  hyphens: auto;
}
 
@media (max-width: 760px) {
  .legal-hero h1,
  .ticket-hero h1 {
    font-size: clamp(24px, 7.2vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.03em;
  }
}

/* ==============================================================
   Hauptnavigation: kompaktere Darstellung auf mittleren Breiten
   (901–1359px), damit Links und Buttons (inkl. «Status» bei
   Klixa IT) nicht überlappen. Darunter greift das Hamburger-Menü.
   ============================================================== */
@media (min-width: 901px) and (max-width: 1359px) {
  #mainNav {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 16px;
  }

  #mainNav .nav-links > li > a,
  #mainNav .nav-link-trigger {
    padding: 0 7px;
    font-size: 14px;
  }

  #mainNav .nav-cta {
    gap: 6px;
  }

  #mainNav .nav-cta .btn-support,
  #mainNav .nav-cta .btn-nav-primary,
  #mainNav .nav-cta .nav-btn-tools {
    height: 40px;
    padding: 0 11px;
    font-size: 14px;
  }
}

/* ==============================================================
   Kontaktformular: Zeichenzähler und Meldungen im Formular
   ============================================================== */
.form-field-info {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--gray-500);
}

.form-field-count {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.form-field-count.is-limit,
.form-field-hint.is-error {
  color: #c62828;
}

.form-field textarea.is-invalid {
  border-color: #c62828;
}

.form-status {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.45;
}

.form-status[hidden] {
  display: none;
}

.form-status--success {
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--gray-700);
}

.form-status--error {
  border: 1px solid rgba(198, 40, 40, 0.35);
  background: rgba(198, 40, 40, 0.08);
  color: #b71c1c;
}

/* ==============================================================
   Hero-Typewriter: Cursor darf nie alleine auf eine neue Zeile
   rutschen (nimmt netto keine Breite ein).
   ============================================================== */
.hero-typewriter-cursor {
  margin-right: -0.16em;
}

/* ==============================================================
   Footer: «Tools & Support» (IT-Dienste) nicht auf der BZ-/AU-Seite
   ============================================================== */
body.company-bz .footer-col-tools {
  display: none;
}

body.company-auto .footer-col-tools {
  display: none;
}

/* ==============================================================
   BZ: Hinweis «nur IV / Sozialamt» im Hero und Lehrstellen-Hinweis
   ============================================================== */
.hero-note {
  max-width: 610px;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.hero-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.hero-note a:hover {
  text-decoration: underline;
}

.jobs-banner--hint {
  margin-top: 16px;
  padding: 32px 44px;
  border-style: dashed;
}

.jobs-banner--hint h3 {
  font-size: 22px;
}

@media (max-width: 640px) {
  .jobs-banner--hint {
    padding: 24px;
  }
}

/* ==============================================================
   BZ Ausbildung EFZ: Zusatzzeile in der Tabelle und Hinweis darunter
   ============================================================== */
.pp-table-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.85em;
  font-weight: 400;
  opacity: 0.7;
}

.pp-table-note {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.8;
}

.pp-table-note a {
  color: var(--accent);
  font-weight: 600;
}

.pp-detail-table--stack td[data-label="Dauer"] {
  white-space: nowrap;
}

/* Handy: Tabelle als gestapelte Karten statt horizontalem Scrollen */
@media (max-width: 640px) {
  .pp-detail-table--stack {
    min-width: 0;
  }

  .pp-detail-table--stack thead {
    display: none;
  }

  .pp-detail-table--stack,
  .pp-detail-table--stack tbody,
  .pp-detail-table--stack tr,
  .pp-detail-table--stack td {
    display: block;
    width: 100%;
  }

  .pp-detail-table--stack tr {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(10, 10, 10, 0.07);
  }

  .pp-detail-table--stack tr:last-child {
    border-bottom: 0;
  }

  .pp-detail-table--stack td {
    padding: 2px 0;
    border-bottom: 0;
  }

  .pp-detail-table--stack td[data-label="Bereich"] {
    font-weight: 600;
  }

  .pp-detail-table--stack td[data-label="Dauer"]::before,
  .pp-detail-table--stack td[data-label="Schwerpunkt"]::before {
    content: attr(data-label) ": ";
    color: var(--gray-500);
  }
}

/* ==============================================================
   BZ: Leitbild (4 Werte-Karten + Versprechen)
   Desktop 4 Spalten · Tablet 2 · Handy 1
   ============================================================== */
.methode-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.methode-grid--4 .methode-card {
  padding: 40px 30px;
}

.methode-grid--4 .methode-num {
  font-size: 56px;
}

.leitbild-promise {
  margin-top: 28px;
  padding: 26px 30px;
  border-left: 3px solid var(--accent);
  background: rgba(var(--accent-rgb), 0.06);
}

.leitbild-promise-label {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.leitbild-promise p {
  max-width: 820px;
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--gray-700);
}

@media (max-width: 1100px) {
  .methode-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .leitbild-promise {
    padding: 20px;
  }

  .leitbild-promise p {
    font-size: 17px;
  }
}

/* ==============================================================
   BZ: Section «Unsere Begleitung» (Sozial- und Fachcoaching)
   Nur auf der BZ-Seite sichtbar.
   ============================================================== */
#coaching {
  display: none;
  background: var(--gray-50);
}

body.company-bz #coaching {
  display: block;
}

.coaching-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.coaching-card {
  padding: 36px 34px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 20px;
  background: #ffffff;
}

.coaching-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
}

.coaching-icon svg {
  width: 24px;
  height: 24px;
}

.coaching-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 26px;
}

.coaching-lead {
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--accent);
}

.coaching-text {
  margin: 0 0 20px;
  line-height: 1.7;
  color: var(--gray-500);
}

.coaching-list-label {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-700);
}

.coaching-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.coaching-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  line-height: 1.5;
  color: var(--gray-700);
}

.coaching-list li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.coaching-principle {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
  line-height: 1.6;
  color: var(--gray-700);
}

.coaching-arrow {
  margin: 18px 0;
  text-align: center;
  font-size: 26px;
  color: var(--accent);
}

.coaching-joint {
  padding: 32px 34px;
  border-radius: 20px;
  text-align: center;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
}

.coaching-joint-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 26px;
}

.coaching-joint-keys {
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--accent);
}

.coaching-joint p {
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.7;
  color: var(--gray-700);
}

@media (max-width: 900px) {
  .coaching-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .coaching-card,
  .coaching-joint {
    padding: 24px 20px;
  }

  .coaching-joint {
    text-align: left;
  }
}

/* ==============================================================
   BZ-Standort: Besuchs- und Postadresse getrennt
   ============================================================== */
.standort-addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.standort-address {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.standort-address--visit {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.08);
}

.standort-address-label {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.standort-address--visit .standort-address-label {
  color: var(--accent);
}

.standort-address-text {
  font-size: 15px;
  line-height: 1.55;
  color: #ffffff;
}

.standort-address-note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.standort-address-note strong {
  color: #ffffff;
}

.standort-route {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.standort-route:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .standort-addresses {
    grid-template-columns: 1fr;
  }
}

/* ==============================================================
   Hero-Grafik: Beschriftung oben grösser und auf einer Linie
   (z. B. «Abklärung · Integration · Ausbildung»)
   ============================================================== */
body .hero-stage .hero-stage-label-top {
  right: 36px;
  max-width: none;
  font-size: clamp(13px, 1.15vw, 16px) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==============================================================
   Hero-Kennzahlen (Kacheln unten in der Hero-Grafik)
   - BZ: breitere Kacheln für längere Wörter («Perspektiven»)
   - Schriftgrösse passt sich der Kachelbreite an (Container Query)
   - Responsive: Tablet/Handy 3 Kacheln nebeneinander,
     sehr schmale Handys kompakt untereinander
   ============================================================== */
body .hero-stage .hero-stats {
  container-type: inline-size;
}

body .hero-stage .hero-stat {
  min-width: 0;
}

body .hero-stage .hero-stat-num {
  white-space: nowrap;
}

/* BZ: Kennzahlen sind Wörter statt Kürzel – Kacheln breiter, Schrift mitskalierend */
body .hero-stage .hero-stats[data-view="bz"] {
  right: 24px;
  width: min(560px, calc(100% - 48px));
}

body .hero-stage .hero-stats[data-view="bz"] .hero-stat-num {
  font-size: clamp(14px, 3.7cqi, 24px);
  letter-spacing: -0.02em;
}

@media (max-width: 760px) {
  /* Drei Kacheln nebeneinander, unten in der Grafik (statt drei volle Zeilen oben) */
  body .hero-stage .hero-stats {
    position: absolute;
    top: auto;
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
    margin-top: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  body .hero-stage .hero-stat {
    padding: 12px 10px;
    border-radius: 14px;
  }

  body .hero-stage .hero-stat-num {
    font-size: clamp(14px, 6cqi, 22px);
  }

  body .hero-stage .hero-stats[data-view="bz"] {
    right: 14px;
    width: auto;
  }

  body .hero-stage .hero-stats[data-view="bz"] .hero-stat-num {
    font-size: clamp(13px, 4.2cqi, 20px);
  }

  body .hero-stage .hero-stat-label {
    margin-top: 6px;
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  /* Sehr schmal: kompakt untereinander, Zahl und Beschriftung auf einer Zeile */
  body .hero-stage .hero-stats {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body .hero-stage .hero-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 14px;
  }

  body .hero-stage .hero-stat-num,
  body .hero-stage .hero-stats[data-view="bz"] .hero-stat-num {
    font-size: 18px;
  }

  body .hero-stage .hero-stat-label {
    margin-top: 0;
  }
}

/* Partner-Logo mit dunkler Schrift: auf weissem Grund anzeigen (z. B. IV Solothurn) */
#partner .partner-logo.partner-logo--light img {
  padding: 10px 16px;
  border-radius: 12px;
  background: #ffffff;
  filter: none;
}
/* ==============================================================
   Standort Klixa Shop: Link zum Online-Shop neben den Öffnungszeiten
   ============================================================== */
.standort-hours-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.standort-hours-row .standort-hours {
  margin-top: 0;
}

/* Telefonnummer sitzt direkt unter der Zeile */
.standort-hours-row + .standort-phone {
  margin-top: 12px;
}

.standort-shop-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.1);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.standort-shop-link svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.standort-shop-link .standort-shop-ext {
  width: 14px;
  height: 14px;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.standort-shop-link:hover {
  background: rgba(var(--accent-rgb), 0.2);
  border-color: var(--accent);
}

.standort-shop-link:hover .standort-shop-ext {
  transform: translate(2px, -2px);
}

.standort-shop-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ==============================================================
   Ticket-Seite: Zurück-Link zur IT-Seite (über dem Hero)
   ============================================================== */
.ticket-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.ticket-back svg {
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.ticket-back:hover {
  color: #ffffff;
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.1);
}

.ticket-back:hover svg {
  transform: translateX(-3px);
  color: var(--accent);
}

.ticket-back:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ==========================================================
   LEHRE (/lehre, tpl/lehre.tpl)
   Hero und Laufband eigen, darunter die Bausteine der
   Standardseiten (.methode-grid, .why-grid, .kontakt-wrap).
   Modals nutzen .pp-custom-modal (gleich wie Produktseiten)
   ========================================================== */
body.page-shell-lehre {
  background: var(--black);
  color: var(--black);
}

.lehre-page {
  overflow-x: hidden;
  overflow-x: clip;
}

.lehre-wrap {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.lehre-mark {
  color: var(--accent);
}

/* ---------- Hero ---------- */
.lehre-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 12% 20%, rgba(var(--accent-rgb), 0.14), transparent 30%),
    linear-gradient(180deg, #090909 0%, #040404 100%);
  color: #ffffff;
}

.lehre-hero-glow {
  position: absolute;
  top: 10%;
  right: 8%;
  width: 42vw;
  height: 30vw;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.16);
  filter: blur(110px);
  pointer-events: none;
}

.lehre-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.lehre-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 700;
}

.lehre-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.2);
  animation: lehre-pulse 2.4s ease-in-out infinite;
}

@keyframes lehre-pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0);
  }
}

.lehre-hero h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(46px, 7.4vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.lehre-hero h1 .lehre-mark {
  text-shadow: 0 0 40px rgba(var(--accent-rgb), 0.25);
}

.lehre-hero-copy p {
  max-width: 560px;
  margin: 0 0 32px;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.lehre-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Gestapelte "Sticker" mit den drei Berufen */
.lehre-hero-stack {
  position: relative;
  min-height: 440px;
}

.lehre-sticker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(360px, 88%);
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 20, 20, 0.86);
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  animation: lehre-float 6s ease-in-out infinite;
}

.lehre-sticker strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: #ffffff;
}

.lehre-sticker span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.lehre-sticker-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent);
}

.lehre-sticker-icon svg {
  width: 26px;
  height: 26px;
}

.lehre-sticker-1 {
  top: 0;
  left: 4%;
  transform: rotate(-4deg);
}

.lehre-sticker-2 {
  top: 150px;
  right: 0;
  transform: rotate(3deg);
  animation-delay: -2s;
}

.lehre-sticker-3 {
  top: 300px;
  left: 10%;
  transform: rotate(-2deg);
  animation-delay: -4s;
}

/* Der Berufs-Sticker in der Mitte bekommt die Akzentfarbe */
.lehre-sticker-2 {
  background: var(--accent);
  border-color: var(--accent);
}

.lehre-sticker-2 strong,
.lehre-sticker-2 span {
  color: var(--black);
}

.lehre-sticker-2 .lehre-sticker-icon {
  background: rgba(0, 0, 0, 0.12);
  color: var(--black);
}

@keyframes lehre-float {
  50% {
    translate: 0 -10px;
  }
}

.lehre-hero-badge {
  position: absolute;
  right: 6%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 2px dashed rgba(var(--accent-rgb), 0.6);
  color: #ffffff;
  transform: rotate(10deg);
}

.lehre-hero-badge strong {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--accent);
}

.lehre-hero-badge span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Laufband ---------- */
.lehre-marquee {
  overflow: hidden;
  padding: 18px 0;
  background: var(--accent);
  color: var(--black);
  transform: rotate(-1.2deg);
  margin: -14px -2vw 0;
  position: relative;
  z-index: 2;
}

.lehre-marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  white-space: nowrap;
  animation: lehre-marquee 32s linear infinite;
}

.lehre-marquee-dot {
  opacity: 0.55;
}

@keyframes lehre-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sektionen unter dem Hero: Bausteine der Standardseiten ---------- */
.lehre-light {
  background: var(--gray-50);
}

.lehre-white {
  background: var(--white);
}

.lehre-dark {
  background: var(--black);
  color: #ffffff;
}

.lehre-dark .section-sub {
  color: rgba(255, 255, 255, 0.66);
}

.lehre-dark .why-title {
  color: #ffffff;
  font-size: 19px;
  margin-bottom: 10px;
}

.lehre-dark .why-text {
  color: rgba(255, 255, 255, 0.6);
}

/* Etwas mehr Klixa-Gruen */
.lehre-accent {
  color: var(--accent);
}

.lehre-light .lehre-accent,
.lehre-white .lehre-accent {
  color: inherit;
  background: linear-gradient(transparent 64%, rgba(var(--accent-rgb), 0.7) 64%);
}

.lehre-methode .methode-num {
  color: var(--accent);
}

.lehre-methode .methode-card {
  border-top: 3px solid var(--accent);
}

/* Interaktive Karten (oeffnen ein Modal) */
.lehre-card-interactive {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  outline: none;
}

.lehre-card-interactive:focus-visible {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.methode-card.lehre-card-interactive {
  position: relative;
  transition: background 0.25s;
}

.methode-card.lehre-card-interactive::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.methode-card.lehre-card-interactive:hover {
  background: rgba(var(--accent-rgb), 0.06);
}

.methode-card.lehre-card-interactive:hover::before {
  transform: scaleX(1);
}

.lehre-badge {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.lehre-dark .lehre-badge {
  color: var(--accent);
}

.lehre-card-link {
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dark);
}

.lehre-dark .lehre-card-link {
  color: var(--accent);
}

.lehre-card-link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.lehre-card-interactive:hover .lehre-card-link span {
  transform: translateX(4px);
}

.lehre-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Kontakt */
.lehre-kontakt-desc {
  margin: 0 0 28px;
  line-height: 1.7;
  color: var(--gray-500);
}

.lehre-kontakt-card {
  padding: 36px;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--accent);
}

.lehre-kontakt-card .methode-text {
  margin: 0 0 20px;
}

.lehre-kontakt-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
}

.lehre-kontakt-row a {
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
}

.lehre-kontakt-row a:hover {
  color: var(--accent-dark);
}

.pp-custom-modal .pp-modal-list a {
  color: inherit;
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .lehre-hero-grid {
    grid-template-columns: 1fr;
  }

  .lehre-hero-stack {
    min-height: 400px;
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .lehre-hero {
    padding: 56px 0 72px;
  }

  .lehre-hero-stack {
    min-height: 340px;
  }

  .lehre-sticker {
    padding: 16px 18px;
  }

  .lehre-sticker strong {
    font-size: 18px;
  }

  .lehre-sticker-2 {
    top: 120px;
  }

  .lehre-sticker-3 {
    top: 240px;
    left: 2%;
  }

  .lehre-hero-badge {
    display: none;
  }

  .lehre-grid-2 {
    grid-template-columns: 1fr;
  }

  .lehre-kontakt-card {
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lehre-marquee-track,
  .lehre-sticker,
  .lehre-pill-dot {
    animation: none;
  }
}