/* ============================================================
   CSB-MetalSolutions – Central Stylesheet  v2.0
   Design System: "Dark Industrial"
   ─────────────────────────────────────────────────────────────
   FARBEN (Single Source of Truth)
     Background ......... #1a1940  (--dark)
     Surface/Card ....... #262456  (--dark-card)
     Accent/Highlight ... #E88288  (--highlight)
     Text Main .......... #f0eff6  (--text-primary)
     Text Dim ........... #7068AA  (--secondary)

   TYPOGRAFIE
     Schrift: Roboto (300 / 400 / 700 / 800) — Unbounded NUR für Logo
     H1: 700 Bold | Uppercase | clamp(30px,4.2vw,54px) | ls: 0.5px
     H2: 800 ExtraBold | clamp(24px,3vw,34px) | ls: 0.8px
     H3: 700 Bold | 15px | lh: 1.4
     Body: 400 Regular | 15px | lh: 1.8

   KOMPONENTEN
     Kacheln: bg #262456, radius 16px, border rgba(255,255,255,0.06)
              Hover: translateY(-5px) + 3px Gradient-Top-Border (scale 0→1)
     Buttons: padding 14px 28px, radius 8px, transition cubic-bezier(0.4,0,0.2,1)

   REVEAL-ANIMATION
     .reveal: opacity 0 + translateY(24px) → .visible: opacity 1 + translateY(0)
     Dauer: 0.6s, Delays: .rd1 0.1s / .rd2 0.2s / .rd3 0.3s
   ============================================================ */

/* ----- 0. WEB FONTS (self-hosted, no Google CDN) ----- */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/roboto-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/unbounded-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ----- 1. CSS CUSTOM PROPERTIES ----- */
:root {
  /* === CSB Design-System Farben (Single Source of Truth) === */
  --csb-navy: #222051;
  --csb-dark-bg: #1A1940;
  --csb-dark-surface: #1E1D4A;
  --csb-dark-card: #262456;
  --csb-dark-deep: #141331;
  --csb-light-bg: #F4F3F8;
  --csb-salmon: #E88288;
  --csb-salmon-hover: #D9696F;
  --csb-violet: #7068AA;

  /* Legacy-Aliases (Kompatibilität mit bestehenden Pages) */
  --primary: var(--csb-navy);
  --secondary: var(--csb-violet);
  --highlight: var(--csb-salmon);
  --highlight-hover: var(--csb-salmon-hover);
  --highlight-glow: rgba(232, 130, 136, 0.15);
  --highlight-soft: rgba(232, 130, 136, 0.06);
  --secondary-glow: rgba(112, 104, 170, 0.12);
  --secondary-soft: rgba(112, 104, 170, 0.06);
  --dark: var(--csb-dark-bg);
  --dark-surface: var(--csb-dark-surface);
  --dark-card: var(--csb-dark-card);
  --dark-deep: var(--csb-dark-deep);
  --dark-input: #100f28;
  --light-bg: var(--csb-light-bg);
  --light-card: #ffffff;
  --text-bright: #fff;
  --text-primary: #f0eff6;
  --text-secondary: #d4d5eb;
  --text-muted: #8886a8;
  --text-dark: var(--csb-navy);
  --text-dark-sec: #4a4872;
  --text-dark-muted: #8886a8;
  --border-dark: rgba(255, 255, 255, 0.06);
  --border-light: rgba(34, 32, 81, 0.08);
  --border-highlight: rgba(232, 130, 136, 0.3);
  --success: #5cb88a;
  --danger: #e06b6b;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- 2. RESET & BASE ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--dark);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* ----- 3. TYPOGRAPHY ----- */
.h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 4.2vw, 54px);
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: 0.5px;
}

.h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 3vw, 34px);
  letter-spacing: 0.8px;
  line-height: 1.2;
}

.h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.2vw, 15px);
  text-transform: none;
  letter-spacing: 0.2px;
  line-height: 1.4;
}

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

.label {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 14px;
}

.label-dark {
  color: var(--text-dark-muted);
}

.body-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.body-dark {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark-sec);
}

/* ----- 4. LAYOUT UTILITIES ----- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-pad {
  padding: 110px 0;
}

.text-center {
  text-align: center;
}

/* ----- 5. BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--highlight);
  color: var(--csb-dark-deep);
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--highlight-hover);
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.btn-dark {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(34, 32, 81, 0.3);
}

.btn-dark:hover {
  background: #1a1847;
  transform: translateY(-2px);
}

.badge {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid var(--border-highlight);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  color: var(--highlight);
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--highlight-soft);
}

/* ----- 6. SECTION HEADERS ----- */
.section-header {
  margin-bottom: 56px;
}

.section-header .h2 {
  margin-bottom: 14px;
}

.section-header .body-text,
.section-header .body-dark {
  max-width: 580px;
}

.section-header.text-center .body-text,
.section-header.text-center .body-dark {
  margin: 0 auto;
}

/* ----- 7. NAVIGATION ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  background: rgba(20, 19, 49, 0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border-dark);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-bright);
  letter-spacing: 2px;
}

.nav-logo-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-bright);
}

.nav-cta {
  padding: 8px 20px;
  background: var(--highlight);
  color: var(--csb-dark-deep);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--highlight-hover);
}

.nav-back {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-back:hover {
  color: var(--highlight);
}

.nav-toggle {
  display: none;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s;
}

/* Mobile Nav Overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 19, 49, 0.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  padding: 40px 32px;
  flex-direction: column;
  gap: 8px;
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile a {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color 0.2s;
}

.nav-mobile a:hover {
  color: var(--text-bright);
}

.nav-mobile .nav-cta {
  display: inline-block;
  text-align: center;
  margin-top: 16px;
  padding: 14px 30px;
  font-size: 13px;
  color: var(--csb-dark-deep);
  border-bottom: none;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ----- 8. HERO (Homepage) ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 20% 50%, rgba(112, 104, 170, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 50% at 90% 20%, rgba(232, 130, 136, 0.09), transparent 50%),
    radial-gradient(ellipse 50% 60% at 70% 90%, rgba(34, 32, 81, 0.5), transparent 60%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--primary), var(--dark-deep));
  box-shadow: 0 32px 80px rgba(14, 13, 35, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-visual-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  padding: 40px;
}

.hero-visual-placeholder .ph-icon {
  font-size: 56px;
  opacity: 0.3;
}

.hero-visual-placeholder .ph-text {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.6;
}

.hero-visual-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(20, 19, 49, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-visual-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  flex-shrink: 0;
}

.hero-visual-badge .badge-label {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.hero-visual-badge .badge-label strong {
  color: var(--text-primary);
  display: block;
  font-size: 12px;
}

.hero-claim {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-claim::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--highlight);
}

.hero h1 {
  font-size: clamp(30px, 4.2vw, 54px);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 28px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
}

.trust-bar {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  gap: 28px;
  flex-wrap: nowrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--secondary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.trust-text .t1 {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
}

.trust-text .t2 {
  font-size: 11px;
  color: var(--text-muted);
}

/* ----- 9. HERO (Landing / Service Pages) ----- */
.lp-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 110px 32px 80px;
}

.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 10%, rgba(112, 104, 170, 0.15), transparent 55%),
    radial-gradient(ellipse 55% 50% at 85% 85%, rgba(232, 130, 136, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(34, 32, 81, 0.4), transparent 60%);
}

.lp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
}

.lp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.lp-hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--dark));
  pointer-events: none;
  z-index: 1;
}

.lp-hero h1 {
  font-size: clamp(26px, 3.8vw, 46px);
  margin: 24px 0;
  color: var(--text-primary);
}

.lp-hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto 40px;
}

.lp-hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-stats {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
}

.lp-stat {
  text-align: center;
}

.lp-stat-num {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--highlight);
}

.lp-stat-label {
  font-size: 10px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ----- 10. SECTIONS ----- */
.sec-light {
  background: var(--light-bg);
  padding: 96px 0;
  position: relative;
  color: var(--text-dark-sec);
}

.sec-dark {
  background: var(--dark-surface);
  padding: 96px 0;
  position: relative;
}

.sec-deep {
  background: var(--dark);
  padding: 96px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ----- 11. IMAGE FRAMES ----- */
.img-frame {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--primary) 0%, var(--dark-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(112, 104, 170, 0.08), transparent 70%);
  pointer-events: none;
}

.img-frame-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.img-frame-corners::before,
.img-frame-corners::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--highlight);
  border-style: solid;
  opacity: 0.4;
}

.img-frame-corners::before {
  top: 16px;
  left: 16px;
  border-width: 2px 0 0 2px;
}

.img-frame-corners::after {
  bottom: 16px;
  right: 16px;
  border-width: 0 2px 2px 0;
}

.img-frame .ph {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  text-align: center;
  font-size: 12px;
  padding: 24px;
}

.img-frame .ph .ico {
  font-size: 36px;
  margin-bottom: 10px;
  display: block;
  opacity: 0.4;
}

.img-frame .ph .lbl {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.5;
  line-height: 1.6;
}

/* ----- 12. CARDS ----- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.crd,
.value-card {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.crd::before,
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--highlight));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.crd:hover::before,
.value-card:hover::before {
  border-color: rgba(112, 104, 170, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(14, 13, 35, 0.6);
}

.crd:hover::before {
  transform: scaleX(1);
}

.crd-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  background: var(--highlight-glow);
}

.crd h3 {
  margin-bottom: 10px;
  color: var(--text-primary);
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.2vw, 15px);
  text-transform: none;
  letter-spacing: 0.2px;
  line-height: 1.4;
}

.crd p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ----- 13. SERVICE CARDS (Homepage) ----- */
.svc-primary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.svc-secondary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.svc-card {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: block;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--highlight));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.svc-card:hover {
  border-color: rgba(112, 104, 170, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(14, 13, 35, 0.6);
}

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

.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  background: #fff;
  transition: all var(--transition);
}

.svc-card:hover .svc-icon {
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.svc-card h3 {
  margin-bottom: 10px;
  color: var(--text-primary);
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.2vw, 15px);
  text-transform: none;
  letter-spacing: 0.2px;
  line-height: 1.4;
}

.svc-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.svc-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.svc-tag.core {
  background: var(--highlight-soft);
  color: var(--highlight);
  border: 1px solid rgba(232, 130, 136, 0.2);
}

.svc-tag.special {
  background: var(--secondary-soft);
  color: var(--secondary);
  border: 1px solid rgba(112, 104, 170, 0.2);
}

.svc-compact {
  padding: 28px 22px;
}

.svc-compact .svc-icon {
  width: 44px;
  height: 44px;
  font-size: 20px;
  margin-bottom: 14px;
}

.svc-compact h3 {
  font-size: 12px;
}

.svc-compact p {
  font-size: 13px;
  line-height: 1.6;
}

/* ----- 14. FILTER BOX ----- */
.filter-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.filter-box {
  background: var(--light-card);
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 4px 32px rgba(34, 32, 81, 0.06);
}

.filter-box h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.filter-box>p {
  color: var(--text-dark-sec);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.75;
}

.fl-list {
  margin-bottom: 20px;
}

.fl-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-dark-sec);
}

.fl-item:last-child {
  border-bottom: none;
}

.fl-ico {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.fl-ico.y {
  background: rgba(92, 184, 138, 0.12);
  color: var(--success);
}

.fl-ico.n {
  background: rgba(224, 107, 107, 0.12);
  color: var(--danger);
}

.fl-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 20px;
  background: rgba(112, 104, 170, 0.06);
  border: 1px solid rgba(112, 104, 170, 0.1);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-dark-sec);
  line-height: 1.7;
}

.fl-note-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -2px; /* slight visual alignment */
}

.fl-note-text {
  flex: 1;
}

/* ----- 15. CERTIFICATIONS ----- */
.cert-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  align-items: center;
}

.cert-badge-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(112, 104, 170, 0.3);
  border-radius: var(--radius);
  background: var(--secondary-soft);
  margin-top: 14px;
}

.cert-badge-text {
  font-size: 10px;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ----- 16. CTA & FORM ----- */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border-dark);
}

.contact-ico {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--secondary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.form-card {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-card .h3 {
  margin-bottom: 24px;
  font-size: 15px;
}

.fg {
  margin-bottom: 14px;
}

.fl-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.fl-label .req {
  color: var(--highlight);
}

.fi,
.fta {
  width: 100%;
  background: var(--dark-input);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 11px 14px;
  color: var(--text-primary);
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  transition: all 0.2s;
}

.fi:focus,
.fta:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(112, 104, 170, 0.15);
}

.fi::placeholder,
.fta::placeholder {
  color: var(--text-muted);
  opacity: 0.4;
}

.fta {
  resize: vertical;
  min-height: 72px;
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.f-upload {
  border: 2px dashed rgba(112, 104, 170, 0.2);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.f-upload:hover {
  border-color: var(--secondary);
  background: var(--secondary-soft);
}

.f-upload p {
  font-size: 11px;
  color: var(--text-muted);
}

.f-upload strong {
  color: var(--secondary);
}

.f-submit {
  width: 100%;
  margin-top: 8px;
  padding: 15px;
  background: var(--highlight);
  color: var(--csb-dark-deep);
  border: none;
  border-radius: var(--radius);
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.f-submit:hover {
  background: var(--highlight-hover);
  box-shadow: 0 4px 24px rgba(232, 130, 136, 0.3);
}

.f-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.f-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 8px;
}

.f-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--highlight);
}

.f-checkbox label {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

.f-checkbox label a {
  color: var(--secondary);
  text-decoration: underline;
}

.form-status {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(92, 184, 138, 0.12);
  color: var(--success);
  border: 1px solid rgba(92, 184, 138, 0.3);
}

.form-status.error {
  display: block;
  background: rgba(224, 107, 107, 0.12);
  color: var(--danger);
  border: 1px solid rgba(224, 107, 107, 0.3);
}

/* ----- 17. RELATED SERVICES ----- */
.related {
  background: var(--dark);
  padding: 96px 0;
}

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

.rel-card {
  padding: 24px;
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  display: block;
}

.rel-card:hover {
  border-color: rgba(232, 130, 136, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(14, 13, 35, 0.5);
}

.rel-card h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.rel-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.rel-card .arrow {
  color: var(--highlight);
  font-size: 12px;
  margin-top: 10px;
  display: block;
  letter-spacing: 1px;
}

/* ----- 18. MATERIALS BAR (Homepage) ----- */
.mat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mat-item {
  background: var(--dark-card);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}

.mat-item:hover {
  background: var(--dark-surface);
}

.mat-item h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: none;
  color: var(--text-primary);
  margin: 10px 0 4px;
}

.mat-item p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.mat-status {
  display: inline-block;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 12px;
}

.ms-expert {
  background: var(--highlight-soft);
  color: var(--highlight);
}

.ms-routine {
  background: var(--secondary-soft);
  color: var(--secondary);
}

/* ----- 19. ABOUT (Homepage) ----- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--primary), var(--dark-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 64px rgba(34, 32, 81, 0.15);
}

.mentor-sublabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.mentor-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.mentor-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--dark-card), var(--dark-surface));
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}

.mentor-item:hover {
  border-color: rgba(232, 130, 136, 0.15);
}

.mentor-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mentor-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--highlight-soft);
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-top: 2px;
}

.mentor-body strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.4;
}

.mentor-body span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.mentor-tagline {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.usp-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 28px;
}

.usp {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--light-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.usp:hover {
  transform: translateX(4px);
  border-color: rgba(112, 104, 170, 0.2);
}

.usp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.usp-dot.c1 {
  background: var(--highlight);
}

.usp-dot.c2 {
  background: var(--secondary);
}

.usp-dot.c3 {
  background: var(--primary);
}

.usp-text {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
}

.usp-text span {
  font-weight: 400;
  color: var(--text-dark-muted);
  font-size: 13px;
}

/* ----- 20. INDUSTRIES (Homepage) ----- */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ind-card {
  padding: 40px 32px;
  background: linear-gradient(145deg, var(--dark-card), var(--dark-surface));
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.ind-card:hover {
  border-color: rgba(232, 130, 136, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(14, 13, 35, 0.5);
}

.ind-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--highlight-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.ind-card h3 {
  margin-bottom: 10px;
  font-size: 14px;
}

.ind-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.ind-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ind-tag {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--secondary-soft);
  color: var(--secondary);
  border: 1px solid rgba(112, 104, 170, 0.15);
}

/* ----- 21. QUALITY (Homepage) ----- */
.qual-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 64px;
  align-items: start;
}

.cert-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cert-card {
  padding: 20px;
  background: var(--light-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
}

.cert-card:hover {
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(34, 32, 81, 0.06);
}

.cert-ico {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.cert-ico.cl-h {
  background: var(--highlight-glow);
}

.cert-ico.cl-s {
  background: var(--secondary-glow);
}

.cert-ico.cl-p {
  background: rgba(34, 32, 81, 0.06);
}

.cert-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.cert-desc {
  font-size: 12px;
  color: var(--text-dark-muted);
  line-height: 1.4;
}

.agility-box {
  margin-top: 28px;
  padding: 24px;
  background: var(--light-card);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--secondary);
}

.agility-box h4 {
  font-weight: 800;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.agility-box p {
  font-size: 13px;
  color: var(--text-dark-sec);
  line-height: 1.7;
}

/* ----- 22. FOOTER ----- */
.footer {
  background: var(--dark-deep);
  border-top: 1px solid var(--border-dark);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .mark {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--text-secondary);
  letter-spacing: 2px;
}

.footer-brand .sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.footer-links a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-secondary);
}

.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.5;
}

/* Footer extended (Homepage) */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}

.footer-brand .sub2 {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

.footer-brand p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.6;
  max-width: 260px;
}

.footer-col h5 {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  padding: 3px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--highlight);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
}

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

.footer-legal a {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.2s;
}

.footer-legal a:hover {
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  font-size: 16px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--highlight);
}

/* ----- 23. COOKIE BANNER ----- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(14, 13, 35, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 32px;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 800px;
}

.cookie-text a {
  color: var(--secondary);
  text-decoration: underline;
}

.cookie-btn {
  padding: 10px 24px;
  background: var(--csb-salmon);
  color: var(--csb-dark-deep);
  border: none;
  border-radius: var(--radius);
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cookie-btn:hover {
  background: var(--csb-salmon-hover);
  color: var(--csb-dark-deep);
}

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

.cookie-btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ----- 24. LEGAL PAGES (Impressum / Datenschutz) ----- */
.legal-page {
  padding: 120px 0 80px;
}

.legal-content {
  max-width: 800px;
}

.legal-content h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 38px);
  color: var(--text-primary);
  margin-bottom: 32px;
  text-transform: uppercase;
}

.legal-content h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 14px;
}

.legal-content h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.legal-content a {
  color: var(--secondary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--highlight);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 14px;
  padding-left: 20px;
}

.legal-content li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 4px;
  list-style: disc;
}

.legal-content strong {
  color: var(--text-primary);
}

/* ----- 25. 404 PAGE ----- */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 110px 32px 80px;
}

.page-404::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 20%, rgba(112, 104, 170, 0.1), transparent 60%),
    radial-gradient(ellipse 50% 45% at 80% 80%, rgba(232, 130, 136, 0.06), transparent 60%);
}

.page-404-inner {
  position: relative;
  z-index: 2;
}

.page-404-code {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: clamp(80px, 15vw, 200px);
  color: var(--highlight);
  opacity: 0.15;
  line-height: 1;
}

.page-404 h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--text-primary);
  margin: -20px 0 16px;
}

.page-404 p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- 26. CONTEXT-AWARE SECTION OVERRIDES ----- */

/* === Text in Light Sections === */
.sec-light .h2,
.sec-light .h3 {
  color: var(--csb-navy);
}

.sec-light .label {
  color: var(--text-dark-muted);
}

.sec-light .body-text {
  color: var(--text-dark-sec);
}

/* === Cards on Light Backgrounds === */
.sec-light .crd,
.sec-light .svc-card {
  background: var(--light-card);
  border-color: var(--border-light);
  box-shadow: 0 2px 10px rgba(34,32,81,0.06);
}

.sec-light .crd:hover,
.sec-light .svc-card:hover {
  border-color: rgba(112,104,170,0.25);
  box-shadow: 0 16px 40px rgba(34,32,81,0.12);
  transform: translateY(-5px);
}

.sec-light .crd h3,
.sec-light .svc-card h3 {
  color: var(--csb-navy);
}

.sec-light .crd p,
.sec-light .svc-card p {
  color: var(--text-dark-sec);
}

.sec-light .crd-icon,
.sec-light .svc-icon {
  background: rgba(112,104,170,0.12);
}

/* === Filter-Box on Dark Backgrounds === */
.sec-dark .filter-box,
.sec-deep .filter-box {
  background: var(--dark-card);
  box-shadow: 0 4px 32px rgba(14,13,35,0.3);
}

.sec-dark .filter-box h3,
.sec-deep .filter-box h3 {
  color: var(--text-primary);
}

.sec-dark .filter-box > p,
.sec-deep .filter-box > p {
  color: var(--text-secondary);
}

.sec-dark .fl-item,
.sec-deep .fl-item {
  color: var(--text-secondary);
  border-bottom-color: var(--border-dark);
}

.sec-dark .fl-note,
.sec-deep .fl-note {
  color: var(--text-secondary);
  background: rgba(112,104,170,0.08);
  border-color: rgba(112,104,170,0.15);
}

/* === Related Cards on Light Backgrounds === */
.sec-light .rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sec-light .rel-card {
  padding: 24px;
  background: var(--light-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  display: block;
}

.sec-light .rel-card:hover {
  border-color: rgba(112,104,170,0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(34,32,81,0.10);
}

.sec-light .rel-card h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--csb-navy);
  margin-bottom: 6px;
}

.sec-light .rel-card p {
  font-size: 12px;
  color: var(--text-dark-sec);
  line-height: 1.6;
}

.sec-light .rel-card .arrow {
  color: var(--highlight);
}

/* === Cert Badge on Light Backgrounds === */
.sec-light .cert-badge-box {
  border-color: var(--border-light);
}

/* === Image Frame on Light Backgrounds === */
.sec-light .img-frame {
  background: linear-gradient(145deg, var(--csb-light-bg), #e8e7f0);
  box-shadow: 0 20px 60px rgba(34,32,81,0.10);
}

/* === Case-Study Cards on Dark Backgrounds === */
.sec-deep .cs-card {
  background: var(--dark-card);
  border-color: var(--border-dark);
}

.sec-deep .cs-card:hover {
  border-color: rgba(112,104,170,0.2);
  box-shadow: 0 16px 40px rgba(14,13,35,0.5);
}

.sec-deep .cs-img-wrap {
  background: var(--csb-dark-bg);
}

.sec-deep .cs-body {
  padding: 20px 22px 24px;
}

.sec-deep .cs-ph-lbl {
  color: var(--text-muted);
}

/* ----- 27. ANIMATIONS ----- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.rd1 {
  transition-delay: .1s;
}

.rd2 {
  transition-delay: .2s;
}

.rd3 {
  transition-delay: .3s;
}

/* ----- 27. CASE-STUDY & FAQ COMPONENTS ----- */
/* CASE-STUDY GRID (Dark Variant) */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cs-card {
  background: var(--csb-dark-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.cs-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(14,13,35,0.5);
}

.cs-img-wrap {
  aspect-ratio: 4 / 3;
  background: var(--csb-dark-bg);
  position: relative;
  overflow: hidden;
}

.cs-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cs-ph-ico  { font-size: 36px; opacity: 0.3; }

.cs-ph-lbl {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cs-body { padding: 20px 22px 24px; }

.cs-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--highlight);
  background: var(--highlight-soft);
  border: 1px solid var(--border-highlight);
  border-radius: 4px;
  padding: 3px 8px;
}

.wig-cs-title,
.cs-title {
  color: var(--text-primary);
  margin: 8px 0 6px;
}

.wig-cs-text-dark,
.cs-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* FAQ (Dark Variant) */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--csb-dark-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  padding: 24px 28px;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.faq-ico {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--highlight-soft);
  border: 1px solid var(--border-highlight);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--highlight);
  line-height: 1;
}

.faq-a { padding-left: 40px; }

/* ----- 28. RESPONSIVE ----- */
@media (max-width: 1024px) {

  .cards-3,
  .cs-grid,
  .rel-grid,
  .form-row,
  .f-row {
    grid-template-columns: 1fr;
  }

  .faq-item {
    padding: 18px;
  }

  .faq-a {
    padding-left: 0;
  }

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

  .svc-primary {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-grid,
  .qual-grid,
  .ind-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section-pad,
  .sec-light,
  .sec-dark,
  .sec-deep {
    padding: 64px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 160px 0 80px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .trust-bar {
    flex-direction: column;
    gap: 14px;
  }

  .lp-hero {
    min-height: auto;
    padding: 100px 20px 60px;
  }

  .lp-hero h1 {
    font-size: 24px;
  }

  .lp-stats {
    flex-direction: column;
    gap: 16px;
  }

  .lp-hero-buttons {
    flex-direction: column;
  }

  .two-col,
  .cert-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cards-3,
  .rel-grid {
    grid-template-columns: 1fr;
  }

  .svc-primary,
  .svc-secondary,
  .ind-grid {
    grid-template-columns: 1fr;
  }

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

  .about-grid {
    gap: 36px;
  }

  .filter-box {
    padding: 28px 20px;
  }

  .f-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 28px 20px;
  }

  .qual-grid {
    gap: 36px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .legal-page {
    padding: 100px 0 60px;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-sub {
    font-size: 19px;
  }

  .lp-hero-sub {
    font-size: 14px;
  }

  /* Mobile sections consistent padding */
  .section-pad,
  .sec-light,
  .sec-dark,
  .sec-deep {
    padding: 48px 0;
  }

  .sec-light .rel-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    margin-bottom: 32px;
  }
}

/* === SMALL MOBILE (max 480px) === */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 120px 0 48px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .lp-hero h1 {
    font-size: 20px;
  }

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

  .ind-card {
    padding: 24px 18px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 12px;
    width: 100%;
    justify-content: center;
  }

  .hero-buttons .btn,
  .lp-hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   29. CASE-STUDY CAROUSEL  –  Engineering Deck / Rail
   Desktop (≥ 900px): Stacked 3D deck, JS-navigiert (Typ 2)
   Mobile  (< 900px): Horizontale Rail mit vertikalen Karten
   Namensraum: csb-cs-*  (BEM-like, kollisionssicher)
   ============================================================ */

/* ── Äußerer Wrapper ── */
.csb-cs-carousel {
  position: relative;
}

/* ── Track: Desktop = Deck-Container ── */
.csb-cs-carousel__track {
  position: relative;
  min-height: 520px;
  perspective: 1400px;
}

/* ── Einzelne Karte: absolut positioniert im Deck ── */
.csb-cs-carousel__track > .csb-cs-card {
  position: absolute;
  inset: 0;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity   0.35s ease,
    filter    0.35s ease;
  transform-origin: center;
}

/* data-pos: aktive Karte (vorne) */
.csb-cs-carousel__track > .csb-cs-card[data-pos="0"] {
  transform: translateX(0) scale(1) rotateY(0deg);
  z-index: 3;
  opacity: 1;
  filter: none;
  pointer-events: auto;
  cursor: default;
}

/* data-pos: zweite Karte (dahinter rechts) */
.csb-cs-carousel__track > .csb-cs-card[data-pos="1"] {
  transform: translateX(6.5%) scale(0.93) rotateY(-7deg);
  z-index: 2;
  opacity: 0.55;
  filter: blur(0.3px) saturate(0.75);
  pointer-events: none;
}

/* data-pos: dritte Karte (noch weiter hinten) */
.csb-cs-carousel__track > .csb-cs-card[data-pos="2"] {
  transform: translateX(12.5%) scale(0.86) rotateY(-12deg);
  z-index: 1;
  opacity: 0.28;
  filter: blur(1px) saturate(0.55);
  pointer-events: none;
}

/* Alle weiteren Karten ausblenden */
.csb-cs-carousel__track > .csb-cs-card:not([data-pos="0"]):not([data-pos="1"]):not([data-pos="2"]) {
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

/* ── Karte: 2-Spalten-Grid (Visual | Content) ── */
.csb-cs-card {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  background: var(--csb-dark-card);
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
  isolation: isolate;
}

/* ── Visual-Bereich (links) ── */
.csb-cs-card__visual {
  position: relative;
  min-height: 400px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005)),
    var(--csb-dark-bg);
  border-right: 1px solid var(--border-dark);
}

/* Gitternetz-Overlay im Visual */
.csb-cs-card__visual::before {
  content: '';
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, black, transparent 90%);
  pointer-events: none;
}

/* ── Platzhalter im Visual ── */
.csb-cs-card__visual-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 1;
}

.csb-cs-card__visual-ph-icon {
  font-size: 52px;
  opacity: 0.2;
  line-height: 1;
}

.csb-cs-card__visual-ph-lbl {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Echtes Bild im Visual */
.csb-cs-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}

/* ── Content-Bereich (rechts) ── */
.csb-cs-card__content {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(38, 36, 86, 0.96), rgba(30, 29, 74, 0.99));
}

/* ── Tag-Badge ── */
.csb-cs-card__tag {
  display: inline-flex;
  width: max-content;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border-highlight);
  background: var(--highlight-soft);
  color: var(--highlight);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* ── Titel ── */
.csb-cs-card__title {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 12px 0 8px;
}

/* ── Fließtext ── */
.csb-cs-card__copy {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

/* ── Spec-Chips ── */
.csb-cs-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.csb-cs-card__spec {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

/* ── Proof-Kennzahlen (3-er Grid) ── */
.csb-cs-card__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.csb-cs-card__proof-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 12px;
}

.csb-cs-card__proof-value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.csb-cs-card__proof-label {
  display: block;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 9px;
  font-weight: 700;
  margin-top: 6px;
}

/* ── Aktions-Zeile ── */
.csb-cs-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border-dark);
}

/* ── Details-Link ── */
.csb-cs-card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.csb-cs-card__link:hover { color: var(--highlight); }
.csb-cs-card__link span  { color: var(--highlight); }

/* ── Navigations-Buttons ── */
.csb-cs-ctrl-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.csb-cs-ctrl {
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  transition: all var(--transition);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.csb-cs-ctrl:hover {
  border-color: var(--border-highlight);
  background: var(--highlight-soft);
  color: var(--highlight);
  transform: translateY(-1px);
}

/* ── Globale Controls (unterhalb Deck) ── */
.csb-cs-carousel__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* ── Swipe-Hinweis (nur Mobile) ── */
.csb-cs-carousel__hint {
  display: none;
  text-align: center;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 12px;
}

/* ============================================================
   LIGHT VARIANT  –  .csb-cs-carousel--light
   Für helle Sections (sec-light, hp-light-bg)
   ============================================================ */
.csb-cs-carousel--light .csb-cs-card {
  background: var(--light-card);
  border-color: var(--border-light);
  box-shadow: 0 28px 60px rgba(34, 32, 81, 0.10);
}

.csb-cs-carousel--light .csb-cs-card__visual {
  background: var(--csb-light-bg);
  border-right-color: var(--border-light);
}

.csb-cs-carousel--light .csb-cs-card__visual::before {
  border-color: rgba(34, 32, 81, 0.06);
  background:
    linear-gradient(rgba(34, 32, 81, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 32, 81, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
}

.csb-cs-carousel--light .csb-cs-card__visual-ph-lbl {
  color: var(--text-dark-muted);
}

.csb-cs-carousel--light .csb-cs-card__content {
  background: linear-gradient(180deg, #ffffff, #f8f7fd);
}

.csb-cs-carousel--light .csb-cs-card__title {
  color: var(--csb-navy);
}

.csb-cs-carousel--light .csb-cs-card__copy {
  color: var(--text-dark-sec);
}

.csb-cs-carousel--light .csb-cs-card__spec {
  color: var(--text-dark-sec);
  border-color: var(--border-light);
  background: rgba(34, 32, 81, 0.04);
}

.csb-cs-carousel--light .csb-cs-card__proof-item {
  border-color: var(--border-light);
  background: rgba(34, 32, 81, 0.03);
}

.csb-cs-carousel--light .csb-cs-card__proof-value {
  color: var(--csb-navy);
}

.csb-cs-carousel--light .csb-cs-card__proof-label {
  color: var(--text-dark-muted);
}

.csb-cs-carousel--light .csb-cs-card__actions {
  border-top-color: var(--border-light);
}

.csb-cs-carousel--light .csb-cs-card__link {
  color: var(--csb-navy);
}

.csb-cs-carousel--light .csb-cs-ctrl {
  border-color: var(--border-light);
  background: rgba(34, 32, 81, 0.04);
  color: var(--csb-navy);
}

.csb-cs-carousel--light .csb-cs-ctrl:hover {
  border-color: var(--border-highlight);
  background: var(--highlight-soft);
  color: var(--highlight);
}

/* ============================================================
   RESPONSIVE: Mobile / Tablet  < 900px  →  Rail-Modus
   ============================================================ */
@media (max-width: 900px) {

  /* Track wird zum horizontalen Scroll-Container */
  .csb-cs-carousel__track {
    position: static;
    min-height: unset;
    perspective: none;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--csb-salmon) rgba(255, 255, 255, 0.08);
    /* Rail-Shell */
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    padding: 14px 14px 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
  }

  .csb-cs-carousel--light .csb-cs-carousel__track {
    border-color: var(--border-light);
    background: rgba(34, 32, 81, 0.025);
    scrollbar-color: var(--csb-salmon) rgba(34, 32, 81, 0.08);
    box-shadow: 0 8px 40px rgba(34, 32, 81, 0.08);
  }

  /* Karten: aus absoluter Deck-Position zurück in den Flow */
  .csb-cs-carousel__track > .csb-cs-card {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    z-index: auto !important;
    pointer-events: auto !important;
    /* Exakt eine Karte pro Bildschirm */
    min-width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    /* Innenlayout: eine Spalte (Bild oben, Text unten) */
    grid-template-columns: 1fr;
    box-shadow: none;
  }

  /* Visual wird zur oberen Zone */
  .csb-cs-card__visual {
    min-height: 200px;
    border-right: none;
    border-bottom: 1px solid var(--border-dark);
  }

  .csb-cs-carousel--light .csb-cs-card__visual {
    border-bottom-color: var(--border-light);
  }

  /* Content-Padding kompakter */
  .csb-cs-card__content {
    padding: 22px 20px;
  }

  /* Proof-Kennzahlen einspaltig auf sehr kleinen Karten */
  .csb-cs-card__proof {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Deck-Controls ausblenden (Navigation via Swipe) */
  .csb-cs-carousel__controls {
    display: none;
  }

  /* Swipe-Hinweis einblenden */
  .csb-cs-carousel__hint {
    display: block;
  }
}

@media (max-width: 480px) {
  .csb-cs-carousel__track > .csb-cs-card {
    min-width: 100%;
  }

  .csb-cs-card__visual {
    min-height: 160px;
  }

  .csb-cs-card__proof {
    grid-template-columns: 1fr 1fr;
  }

  .csb-cs-card__title {
    font-size: 18px;
  }
}

/* ============================================================
   30. FAQ – Tabbed Accordion  (csb-faq-*)
   Layout: sticky Kategorie-Nav links | Panel rechts
   Akkordeon: native <details>/<summary>, kein JS nötig
   Tab-Wechsel: JS (main.js Abschnitt 7)
   ============================================================ */

/* ── Shell: 2-Spalten-Grid ── */
.csb-faq__shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

/* ── Linke Nav ── */
.csb-faq__nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
}

/* ── Tab-Button ── */
.csb-faq__tab {
  appearance: none;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
  width: 100%;
}

.csb-faq__tab:hover {
  border-color: var(--border-highlight);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.csb-faq__tab--active {
  color: var(--text-primary);
  border-color: var(--border-highlight);
  background: linear-gradient(180deg, rgba(232, 130, 136, 0.10), rgba(255, 255, 255, 0.03));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.csb-faq__tab-arrow {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 12px;
  transition: color var(--transition);
  flex-shrink: 0;
}

.csb-faq__tab--active .csb-faq__tab-arrow {
  color: var(--csb-salmon);
}

/* ── Icon-Box im Tab ── */
.csb-faq__tab-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 17px;
}

/* ── Text + Sub-Label im Tab ── */
.csb-faq__tab-text {
  flex: 1;
  line-height: 1.2;
}

.csb-faq__tab-sub {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Rechte Content-Zone ── */
.csb-faq__content {
  min-height: 520px;
}

/* ── Panel (hidden/shown via JS) ── */
.csb-faq__panel {
  display: none;
  animation: csb-faq-fade 0.22s ease;
}

.csb-faq__panel--active {
  display: block;
}

@keyframes csb-faq-fade {
  from { opacity: 0.3; transform: translateY(8px); }
  to   { opacity: 1;   transform: translateY(0); }
}

/* ── Panel-Header-Karte ── */
.csb-faq__panel-head {
  margin-bottom: 16px;
  padding: 24px 26px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 96% 0%, rgba(232, 130, 136, 0.10), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--csb-dark-card);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.csb-faq__panel-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--highlight-soft);
  border: 1px solid var(--border-highlight);
  color: var(--csb-salmon);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.csb-faq__panel-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.csb-faq__panel-desc {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 13px;
}

/* ── Fragen-Grid ── */
.csb-faq__questions {
  display: grid;
  gap: 12px;
}

/* ── Einzelner Details-Block ── */
.csb-faq__item {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.csb-faq__item[open] {
  border-color: var(--border-highlight);
  background: linear-gradient(180deg, rgba(232, 130, 136, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

/* ── Summary-Zeile ── */
.csb-faq__summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  user-select: none;
}

.csb-faq__summary::-webkit-details-marker { display: none; }

/* Plus/Minus Icon */
.csb-faq__summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--csb-salmon);
  font-size: 18px;
  line-height: 1;
  transition: all var(--transition);
}

.csb-faq__item[open] .csb-faq__summary::after {
  content: "–";
  background: var(--highlight-soft);
  border-color: var(--border-highlight);
}

/* ── Frage-Icon ── */
.csb-faq__q-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 16px;
}

/* ── Antwort ── */
.csb-faq__answer {
  padding: 0 22px 22px 70px;
  color: var(--text-secondary);
  line-height: 1.72;
  font-size: 13px;
}

/* ── Proof-Chips ── */
.csb-faq__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.csb-faq__chip {
  color: var(--text-secondary);
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ── CTA-Leiste ── */
.csb-faq__cta {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(92, 184, 138, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(92, 184, 138, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.csb-faq__cta-text b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.csb-faq__cta-text span {
  display: block;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.55;
}

.csb-faq__cta-link {
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--csb-salmon);
  color: var(--csb-dark-deep);
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all var(--transition);
}

.csb-faq__cta-link:hover {
  background: var(--csb-salmon-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 130, 136, 0.3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: Nav über Content, 2-spaltige Tab-Reihe */
@media (max-width: 900px) {
  .csb-faq__shell {
    grid-template-columns: 1fr;
  }

  .csb-faq__nav {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .csb-faq__content {
    min-height: unset;
  }
}

/* Mobile: Tabs einspaltig, Icons ausblenden, Antwort-Einzug aufheben */
@media (max-width: 600px) {
  .csb-faq__nav {
    grid-template-columns: 1fr;
  }

  .csb-faq__tab-icon {
    display: none;
  }

  .csb-faq__summary {
    grid-template-columns: 1fr auto;
    padding: 16px 18px;
  }

  .csb-faq__q-icon {
    display: none;
  }

  .csb-faq__answer {
    padding: 0 18px 18px;
  }

  .csb-faq__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .csb-faq__cta-link {
    align-self: stretch;
    justify-content: center;
  }
}


/* ============================================================
   31. QUALITÄTSSICHERUNG  (csb-qs-*)
   ─────────────────────────────────────────────────────────────
   Layout: section-header · 4-Karten-Prozessgrid · Proof-Strip
   Hintergrund: hp-light-bg (helle Sektion)
   ============================================================ */

/* ── Prozess-Karten: 4-Spalten-Grid ── */
.csb-qs-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 40px;
}

.csb-qs-card {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  display: block;
}

.csb-qs-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--highlight));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 2;
}

.csb-qs-card:hover {
  border-color: rgba(112, 104, 170, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(14, 13, 35, 0.6);
}

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

/* Ghost-Schrittnummer als Hintergrundelement */
.csb-qs-card::after {
  content: attr(data-step);
  position: absolute;
  top: 8px;
  right: 14px;
  color: rgba(255, 255, 255, 0.04);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.08em;
  font-weight: 900;
  z-index: 0;
  pointer-events: none;
}

.csb-qs-card > * {
  position: relative;
  z-index: 1;
}

/* Icon-Box */
.csb-qs-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: #fff;
  transition: all var(--transition);
}

.csb-qs-card:hover .csb-qs-card__icon {
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.csb-qs-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.csb-qs-card__body {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
}


/* ── Proof-Strip ── */
.csb-qs-proof {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px rgba(36, 34, 87, 0.07);
  padding: 28px;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  align-items: center;
}

.csb-qs-proof__intro {
  padding: 4px 6px;
}

.csb-qs-proof__heading {
  margin: 10px 0 0;
  color: var(--text-dark);
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.csb-qs-proof__body {
  margin: 12px 0 0;
  color: var(--text-dark-sec);
  font-size: 13.5px;
  line-height: 1.6;
}

.csb-qs-proof__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.csb-qs-proof__item {
  border: 1px solid var(--border-light);
  background: #fbfafd;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 80px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.csb-qs-proof__item:hover {
  background: #fff;
  border-color: rgba(232, 130, 136, 0.28);
  transform: translateY(-2px);
}

.csb-qs-proof__mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
  box-shadow: 0 6px 16px rgba(36, 34, 87, 0.07);
  flex-shrink: 0;
}

.csb-qs-proof__item-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

.csb-qs-proof__item-desc {
  display: block;
  margin-top: 4px;
  color: var(--text-dark-sec);
  font-size: 11.5px;
  line-height: 1.35;
}

.csb-qs-proof__arrow {
  color: var(--csb-salmon);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  transition: transform var(--transition);
}

.csb-qs-proof__item:hover .csb-qs-proof__arrow {
  transform: translateX(3px);
}

/* Chip-Tag-Zeile */
.csb-qs-proof__footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.csb-qs-proof__footer span {
  color: var(--text-dark-sec);
  background: #f5f4fb;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}


/* ── Responsive: Slider (≤ 1400px) ── */
@media (max-width: 1400px) {
  .csb-qs-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 12px;
    scrollbar-width: none;
    margin-top: 32px;
  }

  .csb-qs-cards::-webkit-scrollbar {
    display: none;
  }

  .csb-qs-cards .csb-qs-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
  }
  .csb-qs-cards .csb-qs-card:hover { transform: none; }
}

/* ── Responsive: Proof-Strip einspaltig (≤ 980px) ── */
@media (max-width: 980px) {
  .csb-qs-proof {
    grid-template-columns: 1fr;
  }

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

/* ── Responsive: Mobile (≤ 680px) ── */
@media (max-width: 680px) {
  .csb-qs-proof {
    padding: 20px;
    margin-top: 24px;
  }

  .csb-qs-proof__list {
    grid-template-columns: 1fr;
  }

  .csb-qs-proof__item {
    grid-template-columns: auto 1fr;
  }

  .csb-qs-proof__arrow {
    grid-column: 2;
  }
}


/* ============================================================
   32. WERKSTOFFKOMPETENZ  (csb-mat-*)
   ─────────────────────────────────────────────────────────────
   Layout: section-header · 5-Karten-Grid
   Hintergrund: hp-light-bg (helle Sektion)
   Gradient-Line: violet → salmon (identisch zum bisherigen Style)
   ============================================================ */

/* ── 5-Spalten-Grid ── */
.csb-mat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

/* ── Karte (vollständig klickbares <a>-Element) ── */
.csb-mat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 28px 20px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(34, 32, 81, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

/* Gradient-Line oben (violet → salmon) */
.csb-mat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--csb-violet), var(--csb-salmon));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.csb-mat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(34, 32, 81, 0.13);
  border-color: rgba(232, 130, 136, 0.28);
}

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

/* ── Icon-Box ── */
.csb-mat-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.csb-mat-card__icon--steel   { background: linear-gradient(135deg, rgba(112, 104, 170, 0.12), #fff); }
.csb-mat-card__icon--heat    { background: linear-gradient(135deg, rgba(232, 130, 136, 0.12), #fff); }
.csb-mat-card__icon--alu     { background: linear-gradient(135deg, #eef7ff, #fff); }
.csb-mat-card__icon--black   { background: linear-gradient(135deg, rgba(36, 34, 87, 0.08), #fff); }
.csb-mat-card__icon--special { background: linear-gradient(135deg, #eef5ff, #fff); }

/* ── Textelemente ── */
.csb-mat-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.csb-mat-card__body {
  margin: 10px 0 0;
  color: var(--text-dark-sec);
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 400;
  flex-grow: 1;
}

/* ── Nutzwert-Tag (Pill) ── */
.csb-mat-card__tag {
  display: inline-block;
  margin-top: 16px;
  background: #f5f4fb;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark-sec);
  white-space: nowrap;
}


/* ── Responsive: Tablet (≤ 1100px) → 3 Spalten ── */
@media (max-width: 1100px) {
  .csb-mat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Responsive: Mobile (≤ 720px) → 1 Spalte ── */
@media (max-width: 720px) {
  .csb-mat-grid {
    grid-template-columns: 1fr;
  }

  .csb-mat-card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }

  .csb-mat-card__icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .csb-mat-card__body {
    flex-grow: 0;
  }
}
/* ── FAQ Accordion (global, alle Unterseiten) ─────────────────── */
.faq-item {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: var(--csb-dark-card);
  overflow: hidden;
}
.sec-light .faq-item {
  border-color: var(--border-light);
  background: #fff;
}
.faq-q {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.sec-light .faq-q { color: var(--text-dark); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-size: 20px; color: var(--csb-salmon); font-weight: 400; flex-shrink: 0; }
.faq-item[open] > .faq-q::after { content: '−'; }
.faq-item[open] > .faq-q { border-bottom: 1px solid var(--border-dark); }
.sec-light .faq-item[open] > .faq-q { border-bottom-color: var(--border-light); }
.faq-a { padding: 16px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin: 0; }
.sec-light .faq-a { color: var(--text-dark-sec); }
.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }

/* ── hp-* Section Classes (global, identisch mit Homepage) ───── */
.hp-section { padding: 96px 0; position: relative; }
.hp-dark-bg { background: var(--csb-dark-bg); }
.hp-dark-surface { background: var(--csb-dark-surface); }
.hp-light-bg { background: var(--csb-light-bg); color: var(--text-dark-sec); }

/* Text in hp-light-bg */
.hp-light-bg .h2,
.hp-light-bg .h3 { color: var(--csb-navy); }
.hp-light-bg .label { color: var(--text-dark-muted); }
.hp-light-bg .body-text { color: var(--text-dark-sec); }

/* Cards in hp-light-bg */
.hp-light-bg .svc-card {
  background: var(--light-card);
  border-color: var(--border-light);
  box-shadow: 0 2px 10px rgba(34,32,81,0.06);
}
.hp-light-bg .svc-card:hover {
  border-color: rgba(112,104,170,0.25);
  box-shadow: 0 16px 40px rgba(34,32,81,0.12);
  transform: translateY(-5px);
}
.hp-light-bg .svc-card h3 { color: var(--csb-navy); }
.hp-light-bg .svc-card p { color: var(--text-dark-sec); }
.hp-light-bg .svc-icon { background: rgba(112,104,170,0.12); }

/* FAQ in hp-light-bg */
.hp-light-bg .faq-item {
  border-color: var(--border-light);
  background: #fff;
}
.hp-light-bg .faq-item[open] > .faq-q { border-bottom-color: var(--border-light); }
.hp-light-bg .faq-q { color: var(--text-dark); }
.hp-light-bg .faq-a { color: var(--text-dark-sec); }

@media (max-width: 960px) { .hp-section { padding: 72px 0; } }
@media (max-width: 768px) { .hp-section { padding: 56px 0; } }
