/* =================================================================
   CRITON GmbH — gebaut, nicht fotografiert.
   ================================================================= */

:root {
  --red: #AA3028;
  --red-dark: #922820;
  --powder-blue: #A7B0CA;
  --jet-blue: #2C363F;
  --jet-blue-2: #374954;
  --white: #FFFFFF;
  --off-white: #F7F6F4;
  --light-gray: #EBEBEA;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --border: rgba(0, 0, 0, 0.08);

  --container: 1280px;
  --container-narrow: 1080px;
  --radius: 4px;
  --radius-lg: 8px;

  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Archivo', 'DM Sans', system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--red);
}
.eyebrow.on-dark { color: var(--powder-blue); }
.eyebrow.on-dark::before { background: var(--powder-blue); }

.h-display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  text-transform: uppercase;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { color: var(--text); }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 60ch;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--container-narrow); }

.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section.dark {
  background: var(--jet-blue);
  color: var(--white);
}
.section.dark p { color: rgba(255,255,255,0.78); }
.section.dark .lead { color: rgba(255,255,255,0.7); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
  max-width: 800px;
}
.section-head h2 { color: var(--text); }
.section.dark .section-head h2 { color: var(--white); }

/* ---------- measure line ---------- */
.measure-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.measure-line .line {
  flex: 1;
  height: 1px;
  background: currentColor;
  position: relative;
  opacity: 0.5;
}
.measure-line .line::before,
.measure-line .line::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 1px;
  height: 9px;
  background: currentColor;
}
.measure-line .line::before { left: 0; }
.measure-line .line::after { right: 0; }
.section.dark .measure-line { color: rgba(255,255,255,0.55); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  min-height: 52px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
  overflow: visible;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  position: relative;
  transition: background 0.2s var(--ease),
              color 0.2s var(--ease),
              border-color 0.2s var(--ease),
              transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn > span { display: inline-block; line-height: 1.15; }
.btn .arrow,
.btn .i-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.btn .i-arrow {
  width: 18px;
  height: 18px;
}
.btn:hover .arrow,
.btn:hover .i-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -10px rgba(170, 48, 40, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline-light:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-sm {
  padding: 11px 20px;
  min-height: 42px;
  font-size: 12px;
}
.btn-sm .i-arrow { width: 14px; height: 14px; }

/* Buttons that sit on a flex row (e.g. hero CTAs) align to a consistent baseline */
.hero-actions .btn,
.page-hero-actions .btn,
.apply-actions .btn,
.career-text .actions .btn {
  min-width: 200px;
}
.btn-ghost.btn-no-min,
.btn-outline-light.btn-no-min { min-width: 0; }

/* Form submit button: separate it visually from form fields */
.form-submit { margin-top: 24px; }

/* ---------- navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(44, 54, 63, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}
.nav.scrolled { background: rgba(44, 54, 63, 0.96); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-logo img {
  display: block;
  height: 38px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  position: relative;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: all 0.3s var(--ease);
}
.nav-burger span::before,
.nav-burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease);
}
.nav-burger span::before { top: -7px; }
.nav-burger span::after { top: 7px; }
.nav-burger.open span { background: transparent; }
.nav-burger.open span::before { top: 0; transform: rotate(45deg); }
.nav-burger.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--jet-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(167,176,202,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,176,202,0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 80%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-eyebrow { margin-bottom: 36px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 32px;
  max-width: 14ch;
}
.hero h1 .line1 { display: block; color: var(--white); }
.hero h1 .line2 { display: block; color: var(--red); }
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: heroIn 1s var(--ease) forwards;
}
.hero h1 .word:nth-child(1) { animation-delay: 0.2s; }
.hero h1 .word:nth-child(2) { animation-delay: 0.35s; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1s var(--ease) 0.6s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1s var(--ease) 0.8s forwards;
}

.hero-measure {
  position: absolute;
  bottom: 80px;
  left: 24px;
  right: 24px;
  max-width: calc(var(--container) - 48px);
  margin: 0 auto;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-measure .line {
  flex: 1;
  height: 1px;
  background: currentColor;
  position: relative;
  opacity: 0.4;
}
.hero-measure .line::before,
.hero-measure .line::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 1px;
  height: 9px;
  background: currentColor;
}
.hero-measure .line::before { left: 0; }
.hero-measure .line::after { right: 0; }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-scroll .scroll-bar {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(1.4); opacity: 1; }
}

/* ---------- stats band ---------- */
.stats {
  background: var(--off-white);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  position: relative;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat + .stat { border-left: 1px solid var(--border); }
.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--jet-blue);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-num .plus { color: var(--red); font-size: 0.7em; }
.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stats-measure {
  margin-top: 28px;
  padding: 0 24px;
}

/* ---------- certifications ---------- */
.certs {
  background: var(--white);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.certs-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  max-width: 600px;
}
.certs-head p { color: var(--text-muted); font-size: 14px; }
.certs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
.cert-item {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 18px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.cert-item img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.45);
  transition: filter 0.3s var(--ease);
}
.cert-item:hover img { filter: grayscale(0%) opacity(1); }
.cert-item:hover { background: var(--white); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }

/* ---------- GEWERKE WHEEL (signature) ---------- */
.gewerke {
  background: var(--jet-blue);
  color: var(--white);
  position: relative;
}
.gewerke-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(167,176,202,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,176,202,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.6;
}
.gewerke-head {
  padding: 90px 0 40px;
  position: relative;
  z-index: 1;
}
.gewerke-head h2 {
  color: var(--white);
  margin-top: 16px;
  max-width: 18ch;
}
.gewerke-head p.lead {
  margin-top: 18px;
  max-width: 60ch;
}
.gewerke-scrollwrap {
  position: relative;
  height: 540vh;
  z-index: 1;
}
.gewerke-stage {
  position: sticky;
  top: 64px; /* nav clearance */
  height: calc(100vh - 64px);
  min-height: 620px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding: 28px 0 36px;
}
.gewerke-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: stretch;
  width: 100%;
  min-height: 0;
}
.wheel-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  min-height: 0;
}
.wheel-progress {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wheel-progress-bar {
  position: relative;
  height: 2px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.wheel-progress-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--progress, 16.67%);
  background: var(--red);
  transition: width 0.6s var(--ease);
}
.wheel-progress-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.wheel-progress-label > span:first-child { color: var(--red); }

/* the wheel itself: SVG-based */
.wheel-wrap {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.wheel {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease);
  transform-origin: 50% 50%;
}
.wheel svg { width: 100%; height: 100%; display: block; overflow: visible; }
.wheel .seg-fill {
  fill: rgba(255,255,255,0.015);
  stroke: rgba(255,255,255,0.12);
  stroke-width: 0.6;
  transition: fill 0.4s var(--ease), stroke 0.4s var(--ease);
}
.wheel .seg-fill.active {
  fill: rgba(170,48,40,0.85);
  stroke: var(--red);
  stroke-width: 0.8;
}
.wheel .seg-dot {
  transition: fill 0.3s var(--ease), r 0.3s var(--ease);
}
.wheel .seg-dot.active {
  fill: var(--white);
  r: 4;
}

.wheel-outer-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
}
.wheel-inner-ring {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

.wheel-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.wheel-labels .wlabel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.wheel-labels .wlabel.active { color: var(--red); }
.wheel-labels .wlabel .num {
  display: block;
  font-size: 14px;
  color: inherit;
  letter-spacing: 0;
}

.wheel-center {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: var(--jet-blue);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 24px 60px -20px rgba(0,0,0,0.6);
}
.wheel-center .small {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.wheel-center .big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 4px 0 4px;
}
.wheel-center .tag {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
}
.wheel-center .small {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.wheel-center .big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 52px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.wheel-center .tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.wheel-indicator {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 14px solid var(--red);
  z-index: 3;
  filter: drop-shadow(0 4px 8px rgba(170,48,40,0.4));
}

/* detail panel */
.wheel-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  justify-content: center;
}
.wheel-detail-counter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 14px;
}
.wheel-detail-counter::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--red);
}
.wheel-detail-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}
.wheel-detail-desc {
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.6;
}
.wheel-detail-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-top: 4px;
}
.wheel-detail-points li {
  padding-left: 22px;
  position: relative;
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}
.wheel-detail-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1px;
  background: var(--red);
}
.wheel-detail-pattern {
  position: relative;
  flex: 1 1 auto;
  min-height: 220px;
  margin-top: 14px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.wheel-detail-pattern > .pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pattern-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 2;
  pointer-events: none;
}
.pattern-corner.tl { top: 12px; left: 12px; border-top: 2px solid var(--white); border-left: 2px solid var(--white); }
.pattern-corner.br { bottom: 12px; right: 12px; border-bottom: 2px solid var(--white); border-right: 2px solid var(--white); }
.pattern-stamp {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(44, 54, 63, 0.92);
  color: var(--white);
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

/* swap animation */
.wheel-detail .fade { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.wheel-detail.swap .fade { opacity: 0; transform: translateY(8px); }

/* ---------- MATERIAL PATTERNS (CSS only) ---------- */
.pattern {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* 01 Maler — Farbfächer / vertikale Streifen */
.pattern-maler {
  background:
    repeating-linear-gradient(
      90deg,
      #AA3028 0 14px,
      #922820 14px 28px,
      #C44A40 28px 42px,
      #8C2A22 42px 56px,
      #7A2620 56px 70px,
      #B83A30 70px 84px
    );
  position: relative;
}
.pattern-maler::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 100%);
}

/* 02 Boden — Fischgrät Parkett */
.pattern-boden {
  background-color: #8B5A2B;
  background-image:
    repeating-linear-gradient(
      45deg,
      #A87044 0 30px,
      #8B5A2B 30px 32px,
      #A87044 32px 62px,
      #6B4423 62px 64px
    );
}
.pattern-boden::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent 0 30px,
      rgba(0,0,0,0.18) 30px 32px,
      transparent 32px 62px,
      rgba(0,0,0,0.1) 62px 64px
    );
}
.pattern-boden::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.2));
}

/* 03 Maurer — Ziegelverband */
.pattern-maurer {
  background-color: #8B3A2A;
  background-image:
    linear-gradient(335deg, #AA3028 23px, transparent 23px),
    linear-gradient(155deg, #AA3028 23px, transparent 23px),
    linear-gradient(335deg, #AA3028 23px, transparent 23px),
    linear-gradient(155deg, #AA3028 23px, transparent 23px);
  background-size: 58px 58px;
  background-position: 0px 0px, 4px 6px, 29px 29px, 33px 35px;
  position: relative;
}
.pattern-maurer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 28px,
      rgba(60,40,30,0.5) 28px 32px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 56px,
      rgba(60,40,30,0.5) 56px 60px
    );
}
.pattern-maurer::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 28px,
      rgba(60,40,30,0.5) 28px 32px
    );
  background-position: 0 28px;
  background-size: 56px 56px;
  mask: linear-gradient(180deg, transparent 0 28px, black 28px 56px);
  -webkit-mask: linear-gradient(180deg, transparent 0 28px, black 28px 56px);
}

/* 04 Putz — Spachtelbögen */
.pattern-putz {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.12), transparent 35%),
    radial-gradient(circle at 40% 80%, rgba(0,0,0,0.08), transparent 30%),
    linear-gradient(135deg, #E8E2D6 0%, #D6CFC0 50%, #C9C2B3 100%);
  position: relative;
}
.pattern-putz::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 200deg at 30% 50%, transparent 0deg, rgba(0,0,0,0.08) 10deg, transparent 30deg),
    conic-gradient(from 30deg at 70% 30%, transparent 0deg, rgba(0,0,0,0.06) 12deg, transparent 30deg);
}
.pattern-putz::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.5;
}

/* 05 Trocken — Plattenraster + Perforierung */
.pattern-trocken {
  background:
    linear-gradient(180deg, #ECECEA, #DFDFDC);
  position: relative;
}
.pattern-trocken::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 calc(50% - 1px), rgba(0,0,0,0.18) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px) 100%),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(0,0,0,0.18) 79px 80px);
}
.pattern-trocken::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.35) 1.5px, transparent 1.5px);
  background-size: 10px 10px;
  opacity: 0.5;
}

/* 06 Fassade — Schichtenschnitt WDVS */
.pattern-fassade {
  background:
    linear-gradient(180deg,
      #5A6670 0 12%,
      #D6CFC0 12% 14%,
      #F3E9C9 14% 50%,
      #C8A86A 50% 52%,
      #DDD3C0 52% 86%,
      #AA3028 86% 88%,
      #C9C2B3 88% 100%
    );
  position: relative;
}
.pattern-fassade::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 7px, rgba(255,200,80,0.4) 7px 9px),
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(0,0,0,0.06) 8px 9px);
  mix-blend-mode: multiply;
  mask: linear-gradient(180deg, transparent 14%, black 14% 50%, transparent 50%);
  -webkit-mask: linear-gradient(180deg, transparent 14%, black 14% 50%, transparent 50%);
}
.pattern-fassade::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 16px, rgba(0,0,0,0.18) 16px 17px);
  mask: linear-gradient(180deg, transparent 52%, black 52% 86%, transparent 86%);
  -webkit-mask: linear-gradient(180deg, transparent 52%, black 52% 86%, transparent 86%);
}

/* ---------- mobile gewerke fallback ---------- */
.gewerke-mobile { display: none; }
.gewerke-mobile-card {
  background: var(--jet-blue-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gewerke-mobile-card + .gewerke-mobile-card { margin-top: 20px; }
.gewerke-mobile-pattern {
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 10px;
}

/* ---------- about (legacy preserved) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text { display: flex; flex-direction: column; gap: 20px; max-width: 56ch; }
.about-text p { font-size: 1.05rem; line-height: 1.7; }

/* ---------- about (new composition) ---------- */
.about-section { background: var(--off-white); }
.about-head { margin-bottom: 56px; max-width: 880px; }
.about-head h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; margin-top: 16px; }
.about-head .accent-red { color: var(--red); }
.about-section .about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.about-section .about-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 50ch;
}
.about-section .about-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
}
.about-section .about-text p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 1rem;
}
.about-quote {
  border-left: 2px solid var(--red);
  padding: 6px 0 6px 18px;
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  color: var(--text);
  line-height: 1.3;
  font-size: 1.1rem;
}
.about-facts {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.fact-cell {
  padding: 22px 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.fact-cell:nth-child(odd) { border-right: 1px solid var(--border); padding-right: 22px; }
.fact-cell:nth-child(even) { padding-left: 22px; }
.fact-cell:nth-last-child(-n+2) { border-bottom: none; }
.fact-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}
.fact-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--jet-blue);
  display: flex;
  align-items: baseline;
}
.fact-value em {
  font-style: normal;
  color: var(--red);
  font-size: 0.55em;
  margin-right: 4px;
  margin-left: 2px;
}
.fact-sub {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.fact-visual {
  position: relative;
  height: 90px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.fact-strip {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.5fr 1.4fr;
  height: 100%;
}
.fact-strip-band { position: relative; }
.band-1 { background: #E8E2D6; }
.band-2 { background: repeating-linear-gradient(90deg, #F3E9C9 0 8px, #E8DEB9 8px 10px); }
.band-3 { background: linear-gradient(135deg, #D6CFC0, #C9C2B3); }
.band-4 { background: var(--red); }
.band-5 {
  background:
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(0,0,0,0.4) 14px 16px),
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(0,0,0,0.4) 26px 28px),
    #8B3A2A;
}
.fact-mark {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--white);
  background: var(--jet-blue);
  padding: 4px 8px;
  border-radius: 2px;
}
.about-line {
  margin-top: 56px;
  color: var(--text-muted);
}

/* ---------- einsatzbereiche ---------- */
.einsatz { background: var(--white); }
.einsatz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.einsatz-tile {
  position: relative;
  background: var(--white);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.3s var(--ease);
  min-height: 380px;
}
.einsatz-tile:hover { background: var(--off-white); }
.einsatz-pattern {
  height: 140px;
  position: relative;
  overflow: hidden;
}
.einsatz-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(255,255,255,0.55) 100%);
}
.einsatz-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.einsatz-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--red);
}
.einsatz-tile h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.einsatz-tile p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.einsatz-tile ul {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.einsatz-tile li {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  padding-left: 14px;
}
.einsatz-tile li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 1px;
  background: var(--red);
}
.einsatz-cta {
  background: var(--jet-blue);
  color: var(--white);
}
.einsatz-cta h3 { color: var(--white); }
.einsatz-cta p { color: rgba(255,255,255,0.7); }
.einsatz-cta .einsatz-num { color: var(--powder-blue); }
.einsatz-cta .einsatz-body { padding-top: 60px; }
.einsatz-cta .btn { margin-top: auto; align-self: flex-start; }

/* ---------- REFERENZEN gallery ---------- */
.refs-section { background: var(--off-white); }
.refs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 18px;
  margin-top: 12px;
}
.ref-card {
  position: relative;
  background: var(--jet-blue);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: block;
}
.ref-tall { grid-row: span 2; }
.ref-wide { grid-column: span 2; }
.ref-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ref-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.95) brightness(0.95);
}
.ref-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -20px rgba(0,0,0,0.35); }
.ref-card:hover .ref-photo img { transform: scale(1.04); filter: saturate(1.05) brightness(1); }
.ref-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 22px 20px;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.85) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ref-card .ref-tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 2px;
}
.ref-card .ref-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  line-height: 1.25;
  color: var(--white);
}
.ref-tall .ref-title { font-size: 1.2rem; }
.ref-card::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  width: 22px;
  height: 22px;
  border-top: 2px solid var(--white);
  border-left: 2px solid var(--white);
  z-index: 2;
  opacity: 0.85;
  pointer-events: none;
}
.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--jet-blue);
}
.about-visual .layers {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1.5fr 1fr 1fr 0.4fr 1.2fr;
}
.about-visual .layers > div {
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 18px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(0,0,0,0.6);
}
.about-visual .l1 { background: #E8E2D6; }
.about-visual .l2 { background: repeating-linear-gradient(90deg, #F3E9C9 0 12px, #E8DEB9 12px 14px); }
.about-visual .l3 { background: linear-gradient(135deg, #D6CFC0, #C9C2B3); }
.about-visual .l4 { background: var(--red); color: rgba(255,255,255,0.7); }
.about-visual .l5 {
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(0,0,0,0.4) 22px 24px),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(0,0,0,0.4) 44px 46px),
    #8B3A2A;
  color: rgba(255,255,255,0.8);
}
.about-visual .corner {
  position: absolute;
  width: 28px;
  height: 28px;
}
.about-visual .corner.tl { top: 16px; left: 16px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); }
.about-visual .corner.br { bottom: 16px; right: 16px; border-bottom: 2px solid var(--red); border-right: 2px solid var(--red); }
.about-visual .stamp {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--jet-blue);
  color: var(--white);
  padding: 10px 14px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-display);
  border-radius: var(--radius);
}
.about-visual .stamp .big {
  display: block;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-top: 4px;
  color: var(--red);
}

/* ---------- projects ---------- */
.projects {
  background: var(--off-white);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.18);
  border-color: rgba(0,0,0,0.15);
}
.project-pattern {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.project-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 100%);
}
.project-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.project-meta .num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--red);
}
.project-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--text);
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.project-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
}

/* ---------- career teaser ---------- */
.career {
  background: var(--jet-blue);
  color: var(--white);
}
.career-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.career-text { display: flex; flex-direction: column; gap: 20px; }
.career-text h2 { color: var(--white); }
.career-text .lead { color: rgba(255,255,255,0.7); }
.career-text .actions { margin-top: 20px; }
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.value-card {
  background: var(--jet-blue-2);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s var(--ease);
}
.value-card:hover {
  border-color: rgba(170,48,40,0.5);
  transform: translateY(-3px);
}
.value-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(170,48,40,0.15);
  color: var(--red);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
}
.value-card h3 {
  font-size: 1.1rem;
  color: var(--white);
}
.value-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
}

/* ---------- contact ---------- */
.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info h2 { color: var(--text); margin-bottom: 16px; }
.contact-info .intro {
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 44ch;
}
.contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.contact-item .icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border-radius: var(--radius);
  color: var(--red);
  flex-shrink: 0;
}
.contact-item .icon svg { width: 18px; height: 18px; }
.contact-item .info { display: flex; flex-direction: column; gap: 2px; }
.contact-item .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.contact-item .value {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}

.form-card {
  background: var(--off-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  font-family: inherit;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(170,48,40,0.12);
}

/* ---------- page hero (karriere / soziales) ---------- */
.page-hero {
  background: var(--jet-blue);
  color: var(--white);
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(167,176,202,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,176,202,0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 80%, transparent 100%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 24px 0 28px;
  max-width: 18ch;
}
.page-hero h1 .accent { color: var(--red); }
.page-hero .lead {
  color: rgba(255,255,255,0.75);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 58ch;
}

/* ---------- karriere page sections ---------- */
.karriere-hero { padding: 160px 0 70px; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.page-hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-bigstats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 8px 24px;
}
.bigstat {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bigstat:last-child { border-bottom: none; }
.bigstat .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
  display: flex;
  align-items: baseline;
}
.bigstat .num em {
  font-style: normal;
  color: var(--red);
  font-size: 0.55em;
  margin-left: 2px;
}
.bigstat .lbl {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.karriere-line {
  margin-top: 56px;
  color: rgba(255,255,255,0.5);
}

/* ---------- FUNNEL ---------- */
.funnel-section { background: var(--off-white); }
.funnel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-top: 32px;
  position: relative;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.12);
}
.funnel-progress {
  margin-bottom: 36px;
}
.funnel-progress-track {
  position: relative;
  height: 4px;
  background: var(--light-gray);
  border-radius: 100px;
  overflow: hidden;
}
.funnel-progress-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 20%;
  background: var(--red);
  border-radius: 100px;
  transition: width 0.5s var(--ease);
}
.funnel-progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.funnel-progress-current { color: var(--red); }
.funnel-progress-title { color: var(--text-muted); }

.funnel-stage { min-height: 420px; position: relative; }
.funnel-step { animation: stepIn 0.5s var(--ease); }
.funnel-step[hidden] { display: none; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.funnel-step-head { margin-bottom: 28px; }
.funnel-step-head .step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--red);
  display: inline-block;
  margin-bottom: 14px;
}
.funnel-step-head h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.funnel-step-head p {
  color: var(--text-muted);
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.55;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.option-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
}
.option-tile input { position: absolute; opacity: 0; pointer-events: none; }
.option-tile:hover { border-color: var(--jet-blue); background: var(--white); }
.option-tile:has(input:checked),
.option-tile.is-checked {
  border-color: var(--red);
  background: rgba(170,48,40,0.05);
  box-shadow: 0 0 0 1px var(--red) inset;
}
.option-tile .option-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--red);
  width: 32px;
  flex-shrink: 0;
}
.option-tile .option-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.005em;
}

.contact-grid-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}
.field input,
.field textarea {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(170,48,40,0.12);
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field.invalid input,
.field.invalid textarea {
  border-color: var(--red);
  background: rgba(170,48,40,0.04);
}

.funnel-note {
  margin-top: 22px;
  background: var(--off-white);
  border-left: 3px solid var(--red);
  padding: 16px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}
.funnel-note strong { color: var(--text); }
.funnel-note em { font-style: normal; font-weight: 600; color: var(--text); }

.funnel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  gap: 12px;
}
.funnel-controls .funnel-back {
  border-color: var(--border);
  color: var(--text);
}
.funnel-controls .funnel-back:hover {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}
.funnel-controls .funnel-back[disabled] {
  opacity: 0.35;
  pointer-events: none;
}
.funnel-controls .funnel-next { margin-left: auto; }

.funnel-done {
  text-align: center;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.funnel-done-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(170,48,40,0.12);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.funnel-done-icon svg { width: 38px; height: 38px; }
.funnel-done h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text);
  letter-spacing: -0.02em;
}
.funnel-done p {
  max-width: 56ch;
  color: var(--text-muted);
  line-height: 1.6;
}
.funnel-done-actions {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.funnel-done-actions .btn-outline-light {
  color: var(--text);
  border-color: var(--text);
}
.funnel-done-actions .btn-outline-light:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.funnel-done-actions .btn-ghost {
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.funnel-done-actions .btn-ghost:hover { background: var(--off-white); color: var(--text); }

/* ---------- position cards (new) ---------- */
.positions-section { background: var(--white); }
.position-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.position-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.position-card::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.position-card:hover {
  background: var(--white);
  border-color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.12);
}
.position-card:hover::before { transform: scaleX(1); }
.position-card .pos-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--red);
}
.position-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}
.position-card p { color: var(--text-muted); line-height: 1.55; font-size: 0.95rem; flex: 1; }
.position-card .pos-meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.position-card .pos-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
}
.position-card .pos-cta .i-arrow { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.position-card:hover .pos-cta .i-arrow { transform: translateX(4px); }
.position-card-cta {
  background: var(--jet-blue);
  color: var(--white);
  border-color: var(--jet-blue);
}
.position-card-cta h3 { color: var(--white); }
.position-card-cta p { color: rgba(255,255,255,0.7); }
.position-card-cta .pos-num { color: var(--powder-blue); }
.position-card-cta .pos-meta { color: rgba(255,255,255,0.55); border-top-color: rgba(255,255,255,0.12); }
.position-card-cta .pos-cta { color: var(--white); }
.position-card-cta:hover { background: var(--jet-blue-2); border-color: var(--jet-blue-2); }

.werte-section { background: var(--jet-blue); color: var(--white); }
.werte-section .section-head h2 { color: var(--white); }
.werte-section .value-full-card {
  background: var(--jet-blue-2);
  border-color: rgba(255,255,255,0.08);
}
.werte-section .value-full-card h3 { color: var(--white); }
.werte-section .value-full-card p { color: rgba(255,255,255,0.75); }
.werte-section .value-full-card .num { color: var(--red); }

.center-eyebrow { display: inline-flex; }

/* ---------- karriere team strip ---------- */
.karriere-team-section { background: var(--jet-blue); color: var(--white); }
.karriere-team-section .section-head h2 { color: var(--white); }
.karriere-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.karriere-team-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--jet-blue-2);
  transition: transform 0.3s var(--ease);
}
.karriere-team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.karriere-team-card:hover { transform: translateY(-3px); }
.karriere-team-card:hover img { transform: scale(1.05); }
.karriere-team-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--white);
}

/* ---------- soziales page ---------- */
.soziales-hero { padding: 160px 0 70px; }
.soziales-hero-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 60px; }
.hero-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.5);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo-stamp {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--jet-blue);
  color: var(--white);
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-radius: 2px;
}

.intro-section { background: var(--white); padding: 80px 0; }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.intro-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-top: 14px;
}
.intro-text {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 60ch;
  align-self: center;
}

.soziales-feature { background: var(--off-white); }
.soziales-feature-dark {
  background: var(--jet-blue);
  color: var(--white);
}
.soziales-feature-dark h2,
.soziales-feature-dark .lead { color: var(--white); }
.soziales-feature-dark .lead { color: rgba(255,255,255,0.82); }
.soziales-feature-dark p { color: rgba(255,255,255,0.75); }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-grid.reversed .feature-text { order: 2; }
.feature-grid.reversed .feature-photo { order: 1; }
.feature-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 50ch;
}
.feature-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin-top: 16px;
}
.feature-text p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}
.feature-text .lead {
  color: var(--text);
  font-weight: 500;
  font-size: 1.15rem;
}
.soziales-feature-dark .feature-text p { color: rgba(255,255,255,0.78); }
.soziales-feature-dark .feature-text .lead { color: rgba(255,255,255,0.92); }
.feature-points {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-points li {
  padding-left: 22px;
  position: relative;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.55;
}
.feature-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1px;
  background: var(--red);
}
.feature-points.light li { color: var(--white); }

.feature-photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.35);
}
.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(44,54,63,0.92);
  color: var(--white);
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.team-strip-section { background: var(--white); }
.team-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.team-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--jet-blue);
  transition: transform 0.3s var(--ease);
}
.team-card:hover { transform: translateY(-4px); }
.team-card:nth-child(odd) { aspect-ratio: 3/4; }
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.team-card:hover img { transform: scale(1.05); }
.team-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.apply-cta h2 { margin-top: 18px; }
.apply-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Auszeichnung / Azubi des Monats ---------- */
.award-figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.award-photo { aspect-ratio: 640 / 463; }
.img-credit {
  font-size: 11px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.66);
  font-style: italic;
}
.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(167, 176, 202, 0.4);
  background: rgba(167, 176, 202, 0.12);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--powder-blue);
}
.award-badge svg { width: 14px; height: 14px; color: var(--red); flex: none; }

/* ---------- Sportförderung Galerie ---------- */
.sport-section { background: var(--white); }
.sport-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.sport-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--jet-blue);
  box-shadow: 0 14px 32px -20px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 46px -22px rgba(0, 0, 0, 0.6);
}
.sport-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.sport-card:hover img { transform: scale(1.06); }
.sport-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.82) 100%);
  pointer-events: none;
}
.sport-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 16px 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.values-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.value-full-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.value-full-card .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--red);
}
.value-full-card h3 { color: var(--text); }
.value-full-card p { color: var(--text-muted); line-height: 1.6; }

.culture {
  background: var(--off-white);
}
.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.culture-visual {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--jet-blue);
  position: relative;
}
.culture-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(167,176,202,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,176,202,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}
.culture-visual .number {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--white);
}
.culture-visual .n1 { top: 8%; left: 8%; font-size: 18vw; max-font-size: 200px; opacity: 0.06; line-height: 0.8; }
.culture-visual .center-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 40px;
}
.culture-visual .center-text .big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--red);
  line-height: 0.85;
  margin-bottom: 12px;
}
.culture-visual .center-text .sub {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.culture-visual .corner {
  position: absolute;
  width: 30px;
  height: 30px;
}
.culture-visual .corner.tl { top: 20px; left: 20px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); }
.culture-visual .corner.tr { top: 20px; right: 20px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); }
.culture-visual .corner.bl { bottom: 20px; left: 20px; border-bottom: 2px solid var(--red); border-left: 2px solid var(--red); }
.culture-visual .corner.br { bottom: 20px; right: 20px; border-bottom: 2px solid var(--red); border-right: 2px solid var(--red); }

/* open positions */
.positions { background: var(--white); }
.position-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.position {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: padding 0.2s var(--ease);
}
.position:hover { padding-left: 12px; }
.position .num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--red);
  font-size: 14px;
  letter-spacing: 0.2em;
}
.position .role {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text);
}
.position .meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.position .apply {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
}

.apply-cta {
  background: var(--jet-blue);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.apply-cta h2 { color: var(--white); margin-bottom: 16px; }
.apply-cta p { color: rgba(255,255,255,0.7); max-width: 48ch; margin: 0 auto 32px; }

/* ---------- soziales page ---------- */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.engagement-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.engagement-card .pattern-band {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--red);
}
.engagement-card h3 { color: var(--text); margin-top: 12px; }
.engagement-card p { color: var(--text-muted); line-height: 1.6; }
.engagement-card .num {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--red);
  font-size: 14px;
  letter-spacing: 0.2em;
}

.region {
  background: var(--jet-blue);
  color: var(--white);
}
.region-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.region-text h2 { color: var(--white); margin-bottom: 24px; }
.region-text p { color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 16px; }
.region-visual {
  aspect-ratio: 4/5;
  background: var(--jet-blue-2);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.region-visual .grid-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(167,176,202,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,176,202,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}
.region-visual .center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.region-visual .pin {
  width: 60px;
  height: 60px;
  border: 2px solid var(--red);
  border-radius: 50%;
  position: relative;
  margin-bottom: 24px;
}
.region-visual .pin::after {
  content: '';
  position: absolute;
  inset: 12px;
  background: var(--red);
  border-radius: 50%;
}
.region-visual .pin::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(170,48,40,0.3);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pinPulse 3s ease-in-out infinite;
}
@keyframes pinPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.1; }
}
.region-visual .city {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--white);
}
.region-visual .country {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--powder-blue);
  margin-top: 8px;
}
.region-visual .corner {
  position: absolute;
  width: 28px;
  height: 28px;
}
.region-visual .corner.tl { top: 20px; left: 20px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); }
.region-visual .corner.br { bottom: 20px; right: 20px; border-bottom: 2px solid var(--red); border-right: 2px solid var(--red); }

/* ---------- footer ---------- */
.footer {
  background: var(--jet-blue);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand img {
  display: block;
  height: 42px;
  width: auto;
  max-width: none;
  object-fit: contain;
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  max-width: 30ch;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--white); }

/* ---------- mobile menu drawer ---------- */
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--jet-blue);
  z-index: 99;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 40px 24px;
  gap: 8px;
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-drawer .btn { margin-top: 24px; align-self: flex-start; }

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .gewerke-grid { grid-template-columns: 1fr; gap: 32px; }
  .wheel-wrap { max-width: 380px; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-section .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .einsatz-grid { grid-template-columns: repeat(2, 1fr); }
  .refs-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .ref-wide { grid-column: span 2; }
  .ref-tall { grid-row: span 2; }
  .karriere-team-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .position-cards { grid-template-columns: 1fr; }
  .funnel { padding: 32px; }
  .intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid.reversed .feature-text { order: initial; }
  .feature-grid.reversed .feature-photo { order: initial; }
  .team-strip { grid-template-columns: repeat(3, 1fr); }
  .sport-gallery { grid-template-columns: repeat(2, 1fr); }
  .about-visual { aspect-ratio: 4/3; max-width: 560px; }
  .career-inner { grid-template-columns: 1fr; gap: 50px; }
  .culture-grid { grid-template-columns: 1fr; gap: 50px; }
  .region-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .engagement-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { gap: 0; }

  .hero { padding: 110px 0 100px; min-height: auto; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 4.2rem); margin-bottom: 24px; }
  .hero-sub { font-size: 1rem; margin-bottom: 30px; }
  .hero-actions .btn,
  .page-hero-actions .btn,
  .apply-actions .btn { min-width: 0; flex: 1 1 240px; }
  .hero-measure { bottom: 60px; }
  .hero-scroll { display: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; border-top: 1px solid var(--border); }
  .stat { padding: 20px 16px; }
  .stat-num { font-size: 2.2rem; }

  .certs-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cert-item { height: 70px; padding: 12px; }

  /* mobile gewerke: vertical list */
  .gewerke-scrollwrap { height: auto !important; }
  .gewerke-stage { display: none; }
  .gewerke-mobile { display: block; padding-bottom: 60px; }
  .gewerke-head { padding: 80px 0 30px; }

  .einsatz-grid { grid-template-columns: 1fr; }
  .einsatz-tile { min-height: 320px; }
  .option-grid { grid-template-columns: 1fr; }
  .contact-grid-fields { grid-template-columns: 1fr; }
  .refs-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .ref-wide, .ref-tall { grid-column: auto; grid-row: auto; }
  .karriere-team-grid { grid-template-columns: 1fr; }
  .funnel { padding: 24px; }
  .funnel-controls .funnel-back { padding: 12px 16px; }
  .karriere-hero { padding: 120px 0 60px; }
  .soziales-hero { padding: 120px 0 60px; }
  .team-strip { grid-template-columns: repeat(2, 1fr); }
  .fact-grid .fact-cell:nth-child(odd) { padding-right: 12px; }
  .fact-grid .fact-cell:nth-child(even) { padding-left: 12px; }
  .fact-value { font-size: 2.2rem; }

  .projects-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .values-full { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer { padding: 60px 0 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .wheel-detail-points { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 36px; }

  .page-hero { padding: 130px 0 70px; }
  .page-hero h1 { font-size: clamp(2rem, 9vw, 3.4rem); }

  .position { grid-template-columns: auto 1fr; gap: 14px 18px; padding: 22px 0; }
  .position .apply { grid-column: 1 / -1; padding-top: 6px; }
  .position .num { font-size: 12px; }
  .position .role { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .nav-inner { height: 64px; padding: 0 18px; }
  .mobile-drawer { top: 64px; }
  .container { padding: 0 18px; }
  .hero-actions,
  .page-hero-actions,
  .apply-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn,
  .page-hero-actions .btn,
  .apply-actions .btn { width: 100%; flex: 0 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .sport-gallery { gap: 12px; }
  .sport-card figcaption { padding: 12px 11px; letter-spacing: 0.12em; }
  .award-br { display: none; }
  .award-section .feature-text h2 { font-size: clamp(1.55rem, 7vw, 2rem); line-height: 1.06; }
}

/* ---------- prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero h1 .word, .hero-sub, .hero-actions { opacity: 1 !important; transform: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   CRITON Assistent — Widget
   ============================================================ */
.ca-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  background: var(--jet-blue);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.55), 0 0 0 0 rgba(170,48,40,0.0);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.ca-launcher:hover {
  transform: translateY(-2px);
  background: var(--jet-blue-2);
  box-shadow: 0 24px 50px -16px rgba(0,0,0,0.6);
}
.ca-launcher:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
.ca-launcher-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
}
.ca-launcher-icon svg { width: 16px; height: 16px; }
.ca-launcher-label { line-height: 1; }
.ca-launcher-dot {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px var(--jet-blue);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.ca-launcher.ca-launcher-hint:not(.ca-launcher-seen) .ca-launcher-dot {
  opacity: 1;
  transform: scale(1);
  animation: caPulse 1.8s ease-in-out infinite;
}
.ca-launcher.ca-launcher-open .ca-launcher-icon {
  background: var(--white);
  color: var(--red);
}
@keyframes caPulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--jet-blue), 0 0 0 0 rgba(170,48,40,0.45); }
  50%      { box-shadow: 0 0 0 2px var(--jet-blue), 0 0 0 8px rgba(170,48,40,0); }
}

/* ----- Panel ----- */
.ca-panel {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 1001;
  width: 380px;
  max-width: calc(100vw - 44px);
  max-height: min(640px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,0,0,0.04);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.25s var(--ease);
}
.ca-panel-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.ca-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--jet-blue);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ca-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.ca-brand > div { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.ca-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}
.ca-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ca-status {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--powder-blue);
  margin-top: 3px;
  font-weight: 500;
}
.ca-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 6px rgba(74,222,128,0.6);
}
.ca-close {
  background: rgba(255,255,255,0.08);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.ca-close svg { width: 16px; height: 16px; }
.ca-close:hover { background: var(--red); }
.ca-close:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

/* ----- Messages ----- */
.ca-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 18px 16px;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
}
.ca-messages::-webkit-scrollbar { width: 6px; }
.ca-messages::-webkit-scrollbar-track { background: transparent; }
.ca-messages::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 100px; }

.ca-bubble-wrap {
  display: flex;
  animation: caIn 0.35s var(--ease);
}
.ca-side-assistant { justify-content: flex-start; }
.ca-side-user { justify-content: flex-end; }
.ca-bubble {
  max-width: 84%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  word-wrap: break-word;
}
.ca-side-assistant .ca-bubble {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.ca-side-user .ca-bubble {
  background: var(--red);
  color: var(--white);
  border-bottom-right-radius: 4px;
  box-shadow: 0 6px 14px -8px rgba(170,48,40,0.4);
}
@keyframes caIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----- Controls (options + forms) ----- */
.ca-controls {
  padding: 12px 14px 14px;
  background: var(--white);
  border-top: 1px solid var(--border);
  max-height: 50%;
  overflow-y: auto;
}
.ca-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ca-option {
  appearance: none;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: all 0.18s var(--ease);
  line-height: 1.3;
}
.ca-option:hover {
  background: var(--white);
  border-color: var(--text);
  transform: translateX(2px);
}
.ca-option:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.ca-option-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  text-align: center;
}
.ca-option-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateX(0) translateY(-1px);
}
.ca-option-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
  text-align: center;
}

.ca-textfield {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ca-row { display: flex; gap: 8px; }
.ca-row .ca-option { flex: 1; }
.ca-input {
  width: 100%;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  resize: vertical;
  min-height: 70px;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.ca-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(170,48,40,0.12);
}
.ca-input.ca-invalid {
  border-color: var(--red);
  background: rgba(170,48,40,0.05);
}

.ca-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ca-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ca-field label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}
.ca-field input {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.ca-field input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(170,48,40,0.12);
}
.ca-field.ca-invalid input {
  border-color: var(--red);
  background: rgba(170,48,40,0.05);
}
.ca-form .ca-option { margin-top: 4px; }

/* ----- Footer ----- */
.ca-footer {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--white);
  border-top: 1px solid var(--border);
  gap: 8px;
}
.ca-meta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 10px;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.ca-meta-btn svg { width: 12px; height: 12px; }
.ca-meta-btn:hover { color: var(--red); background: var(--off-white); }
.ca-meta-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.ca-meta-btn[disabled] { opacity: 0.35; pointer-events: none; }

/* ----- Mobile ----- */
@media (max-width: 640px) {
  .ca-launcher {
    right: 14px;
    bottom: 14px;
    padding: 12px 16px 12px 14px;
  }
  .ca-launcher-label { display: none; }
  .ca-launcher-icon { width: 26px; height: 26px; }
  .ca-panel {
    right: 0;
    bottom: 0;
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }
  .ca-launcher.ca-launcher-open { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ca-launcher-dot { animation: none; }
  .ca-bubble-wrap { animation: none; }
}

/* ============================================================
   CRITON — Trust / Nachweise, Footer-Nachweise, Rechtsseiten,
   Barrierefreiheit (Skip-Link). Ergänzungen, gleiches System.
   ============================================================ */

/* ---------- Skip-Link (Tastaturnavigation) ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 2000;
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ---------- Trust-Sektion (Startseite, prominent oben) ---------- */
.trust {
  background: var(--white);
  padding: clamp(56px, 7vw, 92px) 0;
  border-bottom: 1px solid var(--border);
}
.trust-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 780px;
  margin-bottom: 44px;
}
.trust-head h2 { color: var(--text); }
.trust-head p { color: var(--text-muted); }

.trust-quals {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.trust-quals > li,
.trust-logos > li { display: flex; }
.trust-quals > li > .trust-card,
.trust-logos > li > .trust-logo { width: 100%; }
.trust-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px 20px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  position: relative;
  min-height: 220px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.trust-card:hover,
.trust-card:focus-visible {
  transform: translateY(-3px);
  background: var(--white);
  border-color: rgba(170, 48, 40, 0.4);
  box-shadow: 0 18px 34px -20px rgba(0, 0, 0, 0.45);
}
.trust-card-icon {
  width: 38px;
  height: 38px;
  color: var(--red);
  flex-shrink: 0;
}
.trust-card-icon svg { width: 100%; height: 100%; display: block; }
.trust-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.trust-card-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.trust-card-open {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.trust-card-open svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.trust-card:hover .trust-card-open svg { transform: translate(2px, -2px); }
.trust-card-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 3px 7px;
}
.trust-card:hover .trust-card-tag { color: var(--red); border-color: rgba(170,48,40,0.3); }

/* ---------- Trust Partner / Hersteller ---------- */
.trust-partners {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.trust-sub-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 24px;
}
.trust-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 132px;
  padding: 22px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.trust-logo:hover,
.trust-logo:focus-visible {
  transform: translateY(-3px);
  background: var(--white);
  border-color: rgba(170, 48, 40, 0.4);
  box-shadow: 0 18px 34px -20px rgba(0, 0, 0, 0.45);
}
.trust-logo img {
  max-height: 52px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
}
.trust-logo-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.1rem, 4.4vw, 1.55rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--jet-blue);
  text-transform: uppercase;
  max-width: 100%;
  text-align: center;
}
.trust-logo-cap {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}
.trust-extra {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.trust-extra .trust-extra-label {
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}
.trust-extra a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.trust-extra a svg { width: 13px; height: 13px; }

/* ---------- Trust: Zertifikat-Karussell ---------- */
.cert-carousel {
  margin-bottom: 48px;
}
.cert-carousel-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.cert-carousel-track {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 208px;
}
.cert-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 26px 24px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.985);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease),
              border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  pointer-events: none;
}
.cert-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.cert-slide:hover,
.cert-slide:focus-visible {
  border-color: rgba(170, 48, 40, 0.4);
  box-shadow: 0 18px 34px -20px rgba(0, 0, 0, 0.45);
}
.cert-slide-badge {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--red);
  flex-shrink: 0;
}
.cert-slide-badge svg { width: 34px; height: 34px; display: block; }
.cert-slide-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
.cert-slide-sub {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cert-slide-open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.cert-slide-open svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.cert-slide:hover .cert-slide-open svg { transform: translate(2px, -2px); }
.cert-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--jet-blue);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.cert-arrow:hover,
.cert-arrow:focus-visible {
  border-color: rgba(170, 48, 40, 0.4);
  color: var(--red);
  transform: translateY(-2px);
}
.cert-arrow svg { width: 20px; height: 20px; display: block; }
.cert-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.cert-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.cert-dot.is-active { background: var(--red); transform: scale(1.25); }
.cert-dot:hover { background: var(--text-muted); }

/* statische Darstellung (reduced motion) — alle Nachweise sichtbar */
.cert-carousel.is-static .cert-carousel-track {
  position: static;
  width: 100%;
  max-width: none;
  height: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.cert-carousel.is-static .cert-slide {
  position: static;
  inset: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.cert-carousel.is-static .cert-arrow,
.cert-carousel.is-static .cert-carousel-dots { display: none; }

@media (max-width: 768px) {
  .trust-logos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cert-carousel-stage { gap: 10px; }
  .cert-carousel-track { height: 230px; }
  .cert-arrow { width: 40px; height: 40px; }
}

/* ---------- Footer: Nachweise-Band ---------- */
.footer-certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-certs h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-certs ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.footer-certs a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s var(--ease);
}
.footer-certs a:hover { color: var(--red); }
.footer-certs a .doc-ico {
  width: 15px;
  height: 15px;
  color: var(--powder-blue);
  flex-shrink: 0;
  transition: color 0.2s var(--ease);
}
.footer-certs a:hover .doc-ico { color: var(--red); }
.footer-bottom { color: rgba(255, 255, 255, 0.62); }

@media (max-width: 768px) {
  .footer-certs { grid-template-columns: 1fr; gap: 32px; }
  .footer-certs ul { grid-template-columns: 1fr; }
}

/* ---------- Rechts- / Infoseiten (Impressum, Datenschutz, A11y) ---------- */
.legal {
  background: var(--off-white);
  padding: clamp(56px, 8vw, 96px) 0;
}
.legal .container { max-width: 880px; }
.legal-block { margin-bottom: 8px; }
.legal h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--text);
  margin: 52px 0 18px;
  padding-top: 8px;
}
.legal-intro + .legal h2,
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  font-size: 1.12rem;
  color: var(--text);
  margin: 30px 0 10px;
}
.legal p,
.legal li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}
.legal p { margin-bottom: 14px; }
.legal-intro {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 8px;
}
.legal ul { margin: 0 0 18px; padding: 0; }
.legal li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
}
.legal li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 9px;
  height: 1px;
  background: var(--red);
}
.legal a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal a:hover { color: var(--red-dark); }
.legal address {
  font-style: normal;
  line-height: 1.7;
  font-size: 15px;
}
.legal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin: 4px 0 8px;
}
.legal-note {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 18px 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.legal-meta {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.legal .measure-line { margin-top: 8px; }

/* =================================================================
   ÜBERARBEITUNG 2026 — Karussells, Gewerke-Auto-Lauf, Sublines
   ================================================================= */

/* ---------- Qualifikationen: zentriertes Endlos-Karussell ---------- */
.qual-carousel { position: relative; margin-top: 4px; }
.qual-viewport {
  overflow: hidden;
  padding: 30px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.qual-track {
  display: flex;
  align-items: center;
  gap: 28px;
  will-change: transform;
  transition: transform 0.7s var(--ease);
  padding-left: 0;
  margin: 0;
  list-style: none;
}
.qual-card {
  flex: 0 0 clamp(228px, 28vw, 320px);
  list-style: none;
  display: flex;
  opacity: 0.4;
  transform: scale(0.84);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.qual-card.is-center { opacity: 1; transform: scale(1); }
.qual-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 236px;
  padding: 34px 28px 26px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  text-align: center;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.qual-card.is-center .qual-card-inner {
  background: var(--white);
  border-color: rgba(170, 48, 40, 0.32);
  box-shadow: 0 28px 52px -28px rgba(0, 0, 0, 0.5);
}
.qual-card-inner:hover,
.qual-card-inner:focus-visible { border-color: rgba(170, 48, 40, 0.45); }
.qual-logo { height: 66px; display: flex; align-items: center; justify-content: center; }
.qual-logo img { max-height: 62px; max-width: 190px; width: auto; object-fit: contain; }
.qual-logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--jet-blue);
  line-height: 1;
}
.qual-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.qual-open {
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.qual-card.is-center .qual-open { opacity: 1; }
.qual-open svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.qual-card-inner:hover .qual-open svg { transform: translate(2px, -2px); }
.qual-carousel.is-static .qual-viewport { -webkit-mask-image: none; mask-image: none; }
.qual-carousel.is-static .qual-track {
  transition: none;
  transform: none !important;
  flex-wrap: wrap;
  justify-content: center;
}
.qual-carousel.is-static .qual-card { opacity: 1; transform: none; }
.qual-carousel.is-static .qual-card .qual-open { opacity: 1; }

/* ---------- Hersteller & Markenpartner: Endlos-Marquee ---------- */
.partners {
  background: var(--white);
  padding: clamp(48px, 6vw, 76px) 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.partners-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin-bottom: 40px;
}
.partners-head p { color: var(--text-muted); font-size: 14px; }
.marquee {
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; flex: 0 0 auto; }
.marquee-item {
  flex: 0 0 auto;
  width: clamp(148px, 15vw, 188px);
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}
.marquee-item img { max-height: 50px; max-width: 100%; width: auto; object-fit: contain; }
.marquee-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--jet-blue);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Gewerke: Auto-Lauf statt Scroll + Direktnavigation ---------- */
.gewerke-scrollwrap { height: auto; }
.gewerke-stage { position: static; top: auto; height: auto; min-height: 0; }
.wheel { transition: none; }
.wheel .seg-fill { cursor: pointer; }
.wheel .seg-fill:hover { fill: rgba(170, 48, 40, 0.4); }
.wheel .seg-dot { cursor: pointer; }
.wheel-nav { display: flex; gap: 8px; margin-top: 6px; }
.wheel-nav-btn {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.wheel-nav-btn:hover,
.wheel-nav-btn:focus-visible {
  border-color: rgba(170, 48, 40, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}
.wheel-nav-btn.is-active { border-color: var(--red); background: rgba(170, 48, 40, 0.18); color: var(--white); }
.wheel-nav-btn .wn-num { font-family: var(--font-display); font-weight: 900; font-size: 14px; line-height: 1; }
.wheel-nav-btn.is-active .wn-num { color: var(--red); }
.wheel-nav-btn .wn-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Gewerke-Punkte mit Unterzeile ---------- */
.wheel-detail-points li.pt-rich { display: flex; flex-direction: column; gap: 2px; padding-left: 22px; }
.pt-rich .pt-main { color: rgba(255, 255, 255, 0.92); }
.pt-rich .pt-sub { font-size: 12px; color: rgba(255, 255, 255, 0.55); line-height: 1.4; }

/* ---------- Unterseite Qualifikationen (Detail-Listen) ---------- */
.quals-section { background: var(--white); }
.quals-section + .quals-section { border-top: 1px solid var(--border); }
.quals-section.alt { background: var(--off-white); }
.quals-extra {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
}
.quals-extra .quals-extra-label { font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
.quals-extra a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.quals-extra a svg { width: 14px; height: 14px; }

/* ---------- Responsiveness der neuen Bausteine ---------- */
@media (max-width: 1024px) {
  .trust-quals { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .qual-card { flex-basis: clamp(210px, 64vw, 260px); }
  .partners-head { margin-bottom: 28px; }
  .marquee-item { height: 78px; }
  .trust-quals { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .qual-card { flex-basis: 78vw; }
  .qual-card-inner { min-height: 210px; }
  .marquee-item { width: clamp(130px, 40vw, 160px); }
  .trust-quals { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: 100%; }
  .marquee-set { flex-wrap: wrap; justify-content: center; }
  .marquee-set-dup { display: none; }
  .qual-track { transition: none; }
}
