/* ============================================
   TS-Scherer Design System v2
   Komplett-Redesign 2026-04-16
   Sage-Archetyp: klar, direkt, kompetent
   Colors: TS-Blue #1F4E78 · Gold #C9A961
   ============================================ */

/* ===========================================
   1. CUSTOM PROPERTIES
   =========================================== */
:root {
  /* Brand Colors */
  --ts-blue: #1F4E78;
  --ts-blue-dark: #15375A;
  --ts-blue-light: #2A6899;
  --ts-gold: #C9A961;
  --ts-gold-light: #E8D9B1;
  --ts-gold-dark: #A8893E;

  /* Neutrals */
  --anthracite: #2B2D33;
  --grey-700: #4A4F57;
  --grey-500: #6B7280;
  --grey-400: #8B9098;
  --grey-300: #B0B5BD;
  --grey-200: #D8DCE1;
  --grey-100: #EEF0F3;

  /* Warm Backgrounds (Briefing: #F4F1E8) */
  --bg-warm: #F4F1E8;
  --bg-warm-light: #F9F7F2;
  --white: #FFFFFF;

  /* Semantic */
  --green: #2E7D5B;
  --red: #C0392B;

  /* Typography */
  --font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing (8px Grid) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(31, 78, 120, 0.06);
  --shadow-md: 0 4px 16px rgba(31, 78, 120, 0.08);
  --shadow-lg: 0 8px 32px rgba(31, 78, 120, 0.12);
  --shadow-xl: 0 16px 48px rgba(31, 78, 120, 0.16);

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-full: 50%;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.2s;
}

/* ===========================================
   2. RESET & BASE
   =========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font);
  color: var(--anthracite);
  line-height: 1.65;
  background: var(--white);
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ts-blue); text-decoration: none; }
a:hover { color: var(--ts-blue-light); }
::selection { background: var(--ts-gold-light); color: var(--ts-blue-dark); }

/* ===========================================
   3. TYPOGRAPHY
   =========================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  color: var(--ts-blue-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: var(--sp-3); letter-spacing: -0.5px; }
h2 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: var(--sp-2); }
h3 { font-size: clamp(20px, 2.5vw, 24px); margin-bottom: var(--sp-2); }
h4 { font-size: 18px; margin-bottom: var(--sp-1); }
p { margin-bottom: var(--sp-2); color: var(--grey-700); line-height: 1.65; }
strong { color: var(--anthracite); }
ul, ol { color: var(--grey-700); padding-left: 22px; margin-bottom: var(--sp-3); }
li { margin-bottom: var(--sp-1); }

/* ===========================================
   4. LAYOUT
   =========================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-5); }
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 var(--sp-5); }
.container--wide { max-width: 1400px; margin: 0 auto; padding: 0 var(--sp-5); }
section { padding: var(--sp-10) 0; }
.section--lg { padding: var(--sp-12) 0; }

/* Backgrounds */
.bg-warm { background: var(--bg-warm); }
.bg-warm-light { background: var(--bg-warm-light); }
.bg-blue { background: linear-gradient(135deg, var(--ts-blue) 0%, var(--ts-blue-dark) 100%); color: var(--white); }
.bg-blue h2, .bg-blue h3 { color: var(--white); }
.bg-blue p { color: rgba(255,255,255,0.85); }
.bg-dark { background: linear-gradient(160deg, var(--anthracite) 0%, #1a1c21 100%); color: var(--white); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-dark p { color: rgba(255,255,255,0.75); }
.bg-white { background: var(--white); }

/* Section Labels & Lead Text */
.section-label {
  color: var(--ts-blue);
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--sp-2);
  display: block;
}
.section-lead {
  font-size: 19px;
  color: var(--grey-700);
  max-width: 720px;
  margin-bottom: var(--sp-6);
  line-height: 1.6;
}
.bg-blue .section-label { color: var(--ts-gold); }
.bg-blue .section-lead { color: rgba(255,255,255,0.8); }

/* ===========================================
   5. NAVIGATION
   =========================================== */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--duration) var(--ease);
}
.site-nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  gap: var(--sp-4);
}
.nav-logo { height: 38px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links li { position: relative; }
.nav-links a {
  color: var(--grey-700);
  font-weight: 500;
  font-size: 15px;
  padding: var(--sp-1) 0;
  border-bottom: 2px solid transparent;
  transition: all var(--duration) var(--ease);
  display: block;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ts-blue);
  border-bottom-color: var(--ts-gold);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform var(--duration) var(--ease);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: var(--sp-1) 0;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown:hover > a::after { transform: rotate(180deg); }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--grey-700);
  border-bottom: none;
}
.nav-dropdown-menu a:hover {
  background: var(--bg-warm-light);
  color: var(--ts-blue);
  border-bottom: none;
}

/* Nav CTA */
.nav-cta {
  background: var(--ts-gold);
  color: var(--anthracite) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 14px !important;
  border-bottom: none !important;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--ts-gold-dark);
  color: var(--white) !important;
  border-bottom: none !important;
}

/* ===========================================
   MEGA MENU
   =========================================== */
/* Mega menu must break out of nav container */
.site-nav { position: relative; }
.mega-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: 72px; /* nav height */
  background: var(--white);
  border-top: 3px solid var(--ts-blue);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 999;
}
.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-mega-menu { position: relative; }
.has-mega-menu > a {
  color: var(--grey-700);
  font-weight: 500;
  font-size: 15px;
  padding: var(--sp-1) 0;
  border-bottom: 2px solid transparent;
  transition: all var(--duration) var(--ease);
  display: block;
}
.has-mega-menu > a:hover,
.has-mega-menu > a.active {
  color: var(--ts-blue);
  border-bottom-color: var(--ts-gold);
}
.has-mega-menu > a::after {
  content: "";
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform var(--duration) var(--ease);
}
.mega-menu.open ~ a::after { transform: rotate(180deg); }

.mega-menu-inner {
  display: grid;
  grid-template-columns: 30% 22% 22% 26%;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-4) var(--sp-5) var(--sp-3);
}

.mega-col { padding: 0 var(--sp-3); }
.mega-col:first-child { padding-left: 0; }
.mega-col:last-child { padding-right: 0; }
.mega-col + .mega-col { border-left: 1px solid var(--grey-200); }

.mega-heading {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-500);
  margin-bottom: var(--sp-2);
  padding-bottom: var(--sp-1);
  border-bottom: 2px solid var(--ts-gold);
}

.mega-list { list-style: none; padding: 0; margin: 0; }
.mega-list li { margin-bottom: 10px; }
.mega-list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: var(--anthracite);
  padding: 6px 8px;
  border-radius: var(--radius-md);
  transition: background 0.15s;
}
.mega-list a:hover { background: var(--bg-warm); }
.mega-list a strong { display: block; font-size: 14px; color: var(--ts-blue-dark); font-weight: 600; }
.mega-list a small { display: block; font-size: 12px; color: var(--grey-500); margin-top: 2px; line-height: 1.3; }

.mega-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.mega-icon img, .mega-icon svg { width: 18px; height: 18px; }
.mega-icon svg { stroke: var(--ts-blue); fill: none; stroke-width: 2; }
.mega-link-text { flex: 1; }

.mega-list-regio a { padding: 4px 8px; gap: 0; flex-direction: column; }
.mega-list-regio li { margin-bottom: 4px; }
.mega-list-regio a strong { font-size: 14px; }

.mega-overview-link, .mega-more-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ts-blue);
  margin-top: var(--sp-2);
  padding: 4px 8px;
}
.mega-overview-link:hover, .mega-more-link:hover { text-decoration: underline; }

.mega-cta-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: var(--sp-2);
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-3);
}
.mega-cta-thumb { flex-shrink: 0; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.mega-cta-card strong { display: block; font-size: 14px; color: var(--ts-blue-dark); margin-bottom: 4px; }
.mega-cta-card small { display: block; font-size: 12px; color: var(--grey-500); line-height: 1.4; margin-bottom: 8px; }
.mega-cta-link { font-size: 13px; font-weight: 600; color: var(--ts-blue); }

.mega-cta-contact { padding: var(--sp-2); text-align: center; }
.mega-cta-contact strong { display: block; font-size: 14px; color: var(--ts-blue-dark); margin-bottom: 4px; }
.mega-cta-contact small { display: block; font-size: 12px; color: var(--grey-500); margin-bottom: var(--sp-2); }
.mega-btn {
  display: inline-block;
  background: var(--ts-gold);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.15s;
}
.mega-btn:hover { background: var(--ts-gold-dark); color: var(--white); }

.mega-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px var(--sp-5);
  background: linear-gradient(135deg, var(--ts-blue-dark) 0%, var(--ts-blue) 100%);
  color: var(--white);
  font-size: 14px;
}
.mega-banner-tag {
  background: var(--ts-gold);
  color: var(--ts-blue-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 3px;
  flex-shrink: 0;
}
.mega-banner a { color: var(--ts-gold-light); font-weight: 600; margin-left: auto; white-space: nowrap; }
.mega-banner a:hover { text-decoration: underline; color: var(--ts-gold-light); }

/* Mega menu responsive */
@media (max-width: 1023px) {
  .mega-menu {
    position: static;
    border-top: none;
    box-shadow: none;
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .mega-menu.open { display: block; }
  .mega-menu-inner {
    grid-template-columns: 1fr;
    padding: var(--sp-2);
  }
  .mega-col { padding: var(--sp-2) 0; border-left: none !important; }
  .mega-col + .mega-col { border-top: 1px solid var(--grey-200); }
  .mega-cta-card { display: none; }
  .mega-banner { display: none; }
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-1);
  width: 40px; height: 40px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--anthracite);
  margin: 5px auto;
  transition: all var(--duration) var(--ease);
}

/* ===========================================
   6. BUTTONS
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--font);
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--ts-gold);
  color: var(--anthracite);
  border-color: var(--ts-gold);
}
.btn-primary:hover {
  background: var(--ts-gold-dark);
  border-color: var(--ts-gold-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.35);
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--ts-blue);
  border-color: transparent;
  padding: 14px 16px;
}
.btn-ghost:hover { color: var(--ts-gold); }
.btn-ghost::after { content: " →"; }

.btn-large { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ===========================================
   7. HERO
   =========================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: var(--sp-12) 0;
}
.hero--blue {
  background: linear-gradient(135deg, var(--ts-blue) 0%, var(--ts-blue-dark) 100%);
}
.hero--with-bg {
  background:
    linear-gradient(135deg, rgba(31, 78, 120, 0.82) 0%, rgba(21, 55, 90, 0.88) 100%),
    var(--hero-bg, none);
  background-size: cover;
  background-position: center;
}

/* Decorative pattern overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background-image: url('../images/hero-pattern.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.08;
  pointer-events: none;
}

/* Legacy compat */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge {
  display: inline-block;
  background: rgba(201, 169, 97, 0.2);
  color: var(--ts-gold-light);
  padding: 6px 16px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
  border-left: 3px solid var(--ts-gold);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.hero-sub {
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  margin: var(--sp-3) 0 var(--sp-4);
  line-height: 1.6;
  max-width: 600px;
}
.hero-slogan {
  font-size: 20px;
  color: var(--ts-gold-light);
  margin: var(--sp-3) 0;
  font-weight: 400;
  line-height: 1.5;
  border-left: 3px solid var(--ts-gold);
  padding-left: 18px;
  font-style: italic;
}
.hero-text { color: rgba(255,255,255,0.88); font-size: 18px; max-width: 640px; }
.hero-ctas { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-4); }

/* Hero compact (for sub-pages) */
.hero--compact { padding: var(--sp-8) 0; }
.hero--compact h1 { font-size: clamp(28px, 4vw, 40px); }

/* ===========================================
   8. TRUST BAR / LOGO ROW
   =========================================== */
.trust-bar {
  background: var(--bg-warm);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}
.trust-label {
  text-align: center;
  color: #595959;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
  font-weight: 600;
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-4) var(--sp-5);
  flex-wrap: wrap;
}
.trust-logo {
  height: 48px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all var(--duration) var(--ease);
}
.trust-logo:hover { opacity: 1; filter: none; }
.trust-logo img { height: 100%; width: auto; max-width: 120px; object-fit: contain; }

/* ===========================================
   9. CARDS & GRIDS
   =========================================== */

/* --- Value / Feature Cards (3-column) --- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  padding: var(--sp-5) var(--sp-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-200);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card--accent { border-top: 4px solid var(--ts-gold); }
.card--blue {
  background: linear-gradient(135deg, var(--ts-blue) 0%, var(--ts-blue-dark) 100%);
  color: var(--white);
  border: none;
}
.card--blue h3 { color: var(--white); }
.card--blue p { color: rgba(255,255,255,0.85); }
.card--blue { overflow: hidden; }
.card--blue::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: var(--ts-gold);
  opacity: 0.12;
  border-radius: var(--radius-full);
}

/* Card Icons */
.card-icon {
  width: 56px; height: 56px;
  margin-bottom: var(--sp-3);
  background: var(--bg-warm);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon img, .card-icon svg { width: 28px; height: 28px; }
.card--accent .card-icon { background: var(--bg-warm); }

/* Card Link */
.card-link {
  color: var(--ts-blue);
  font-weight: 600;
  font-size: 14px;
  margin-top: var(--sp-2);
  display: inline-block;
  transition: color var(--duration) var(--ease);
}
.card-link::after { content: " →"; }
.card-link:hover { color: var(--ts-gold); }
.card--blue .card-link { color: var(--ts-gold-light); }

/* Card Tag */
.card-tag {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--ts-gold);
  color: var(--anthracite);
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* --- Two-Pillar Cards (Startseite) --- */
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.pillar-card {
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  position: relative;
}
.pillar-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.pillar-card .pillar-label {
  display: inline-block;
  background: var(--bg-warm);
  color: #7D6B2F;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.pillar-card h3 { font-size: 22px; }

/* ===========================================
   10. TWO COLUMN LAYOUTS
   =========================================== */
.two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.two-col--reverse { grid-template-columns: 1fr 1.3fr; }
.two-col--equal { grid-template-columns: 1fr 1fr; }

.col-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.col-image img { width: 100%; display: block; }
.col-image--framed {
  border: 4px solid var(--bg-warm);
  box-shadow: var(--shadow-lg);
}

/* ===========================================
   11. STATISTICS / COUNTERS
   =========================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  text-align: center;
}
.stat-item { padding: var(--sp-4) var(--sp-2); }
.stat-num {
  font-size: 48px;
  font-weight: 700;
  color: var(--ts-gold);
  display: block;
  line-height: 1;
  letter-spacing: -1px;
}
.stat-label {
  font-size: 14px;
  color: var(--grey-500);
  margin-top: var(--sp-1);
  letter-spacing: 0.5px;
}
.bg-blue .stat-num { color: var(--ts-gold-light); }
.bg-blue .stat-label { color: rgba(255,255,255,0.6); }

/* ===========================================
   12. PROCESS / TIMELINE
   =========================================== */
.process-steps { counter-reset: step; max-width: 700px; }
.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  align-items: start;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  width: 48px; height: 48px;
  background: var(--ts-blue);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
/* Connecting line */
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 56px;
  bottom: -24px;
  width: 2px;
  background: var(--grey-200);
}
.process-step h3 { margin-bottom: 4px; font-size: 18px; }
.process-step p { font-size: 15px; margin-bottom: 0; }

/* ===========================================
   13. COMPARISON TABLE
   =========================================== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--sp-4);
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.compare-table th, .compare-table td {
  padding: var(--sp-2) 18px;
  text-align: left;
  border-bottom: 1px solid var(--grey-200);
  font-size: 15px;
}
.compare-table th {
  background: var(--ts-blue);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}
.compare-table th:first-child { background: var(--ts-blue-dark); }
.compare-table td:first-child { font-weight: 600; color: var(--ts-blue-dark); background: var(--bg-warm-light); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg-warm-light); }
.compare-table tr:hover td:first-child { background: var(--bg-warm); }
.compare-table { margin-bottom: var(--sp-5); }
.compare-table .yes { color: var(--green); font-weight: 700; }
.compare-table .no { color: var(--red); font-weight: 700; }
.compare-table .mid { color: var(--ts-gold-dark); font-weight: 700; }

/* ===========================================
   14. CASE STUDY
   =========================================== */
.case-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
}
.case-image {
  background-size: cover;
  background-position: center;
  min-height: 360px;
}
.case-content { padding: var(--sp-6) var(--sp-5); }
.case-quote {
  font-size: 20px;
  font-style: italic;
  color: var(--ts-blue-dark);
  margin-bottom: var(--sp-3);
  line-height: 1.5;
  border-left: 3px solid var(--ts-gold);
  padding-left: var(--sp-3);
}
.case-author { font-size: 14px; color: var(--grey-700); }
.case-author strong { color: var(--ts-blue-dark); }
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--grey-200);
}
.case-stat { text-align: center; }
.case-stat .stat-num { font-size: 28px; }
.case-stat .stat-label { font-size: 11px; }

/* ===========================================
   15. LEAD MAGNET
   =========================================== */
.lead-magnet {
  padding: var(--sp-8) var(--sp-6);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-8);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.lead-magnet::before {
  content: "";
  position: absolute;
  bottom: -60px; right: -60px;
  width: 280px; height: 280px;
  background: var(--ts-gold);
  opacity: 0.1;
  border-radius: var(--radius-full);
}
.lead-magnet h2 { color: var(--white); font-size: 30px; }
.lead-magnet p { color: rgba(255,255,255,0.8); font-size: 16px; }
.lm-tag {
  display: inline-block;
  background: var(--ts-gold);
  color: var(--anthracite);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: var(--sp-2);
}
.lm-mockup {
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border-radius: var(--radius-md);
  transform: rotate(-2deg);
  position: relative;
  z-index: 2;
  transition: transform var(--duration) var(--ease);
}
.lm-mockup:hover { transform: rotate(0deg); }
.lm-mockup img { width: 100%; display: block; }

/* ===========================================
   16. REGIO GRID
   =========================================== */
.regio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: var(--sp-4); }
.regio-chip {
  background: var(--white);
  border: 1px solid var(--grey-200);
  padding: 18px var(--sp-2);
  text-align: center;
  border-radius: var(--radius-sm);
  color: var(--ts-blue-dark);
  font-weight: 500;
  font-size: 15px;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}
.regio-chip:hover {
  background: var(--ts-blue);
  color: var(--white);
  border-color: var(--ts-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 78, 120, 0.2);
}
.regio-chip.prio-a {
  font-weight: 700;
  border-color: var(--ts-gold);
  background: #FDFBF5;
}
.regio-chip.prio-a:hover {
  background: var(--ts-blue);
  color: var(--white);
  border-color: var(--ts-blue);
}

/* ===========================================
   17. DECISION NODES
   =========================================== */
.decision-visual {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-md);
  margin-top: var(--sp-4);
}
.decision-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-bottom: var(--sp-4); }
.decision-node {
  padding: var(--sp-3);
  border-radius: var(--radius-md);
  text-align: center;
  border: 2px solid var(--grey-200);
  background: var(--bg-warm-light);
  transition: border-color var(--duration) var(--ease);
}
.decision-node:hover { border-color: var(--ts-gold); }
.decision-node.cloud { border-color: var(--ts-blue); background: rgba(31, 78, 120, 0.04); }
.decision-node.nas { border-color: var(--green); background: rgba(46, 125, 91, 0.04); }
.decision-node.hybrid { border-color: var(--ts-gold); background: rgba(201, 169, 97, 0.06); }
.decision-node h4 { margin-bottom: 10px; }
.node-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 2px;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.decision-node.cloud .node-tag { background: var(--ts-blue); color: var(--white); }
.decision-node.nas .node-tag { background: var(--green); color: var(--white); }
.decision-node.hybrid .node-tag { background: var(--ts-gold); color: var(--anthracite); }
.decision-node ul { text-align: left; margin-top: var(--sp-2); font-size: 14px; }

/* ===========================================
   18. TEAM SECTION
   =========================================== */
.team-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-8);
  align-items: center;
}
.team-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  background-size: cover;
  background-position: center top;
  box-shadow: var(--shadow-lg);
}

/* ===========================================
   19. FAQ ACCORDION
   =========================================== */
.faq-list { max-width: 860px; }
.faq-item {
  border-bottom: 1px solid var(--grey-200);
  padding: var(--sp-3) 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ts-blue-dark);
  font-size: 17px;
  padding-right: 36px;
  position: relative;
  list-style: none;
  transition: color var(--duration) var(--ease);
}
.faq-item summary:hover { color: var(--ts-blue-light); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--ts-gold);
  font-weight: 300;
  transition: transform var(--duration) var(--ease);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { margin-top: var(--sp-2); color: var(--grey-700); font-size: 15px; line-height: 1.7; }

/* ===========================================
   20. CTA SECTIONS
   =========================================== */
.cta-section {
  text-align: center;
  padding: var(--sp-12) var(--sp-3);
}
.cta-section h2 { color: var(--white); font-size: clamp(28px, 4vw, 40px); }
.cta-section .section-lead {
  color: rgba(255,255,255,0.85);
  margin: var(--sp-3) auto var(--sp-5);
  text-align: center;
}
.cta-section .section-label { color: var(--ts-gold-light); }
.cta-phone {
  margin-top: var(--sp-3);
  color: rgba(255,255,255,0.7);
  font-size: 15px;
}
.cta-phone a { color: var(--white); font-weight: 700; }
.cta-section .section-lead { max-width: 600px; }
.cta-section .btn { margin-bottom: var(--sp-2); }

/* ===========================================
   21. CONTACT FORM
   =========================================== */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-lg);
  max-width: 580px;
}
.contact-form--dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}
.form-group { margin-bottom: var(--sp-2); }
.form-group label {
  display: block;
  color: var(--grey-700);
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 500;
}
.contact-form--dark .form-group label { color: rgba(255,255,255,0.7); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-warm-light);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  color: var(--anthracite);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color var(--duration) var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ts-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
}
.contact-form--dark .form-group input,
.contact-form--dark .form-group textarea {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}
.contact-form--dark .form-group input:focus,
.contact-form--dark .form-group textarea:focus {
  border-color: var(--ts-gold);
  background: rgba(255,255,255,0.12);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--grey-500);
  margin-top: var(--sp-2);
}
.form-consent input[type="checkbox"] { margin-top: 2px; accent-color: var(--ts-gold); }

/* ===========================================
   22. BLOG / NEWS
   =========================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.blog-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  text-decoration: none;
}
.blog-card-image {
  height: 200px;
  background: var(--bg-warm);
  background-size: cover;
  background-position: center;
}
.blog-card-body { padding: var(--sp-3); }
.blog-card-date { font-size: 13px; color: var(--grey-400); margin-bottom: var(--sp-1); }
.blog-card h3 { font-size: 18px; line-height: 1.35; }
.blog-card p { font-size: 15px; color: var(--grey-500); }

/* ===========================================
   23. PRICE CARDS
   =========================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.price-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  text-align: center;
  transition: all var(--duration) var(--ease);
}
.price-card:hover { border-color: var(--ts-gold); box-shadow: var(--shadow-md); }
.price-card .price-label { font-size: 13px; color: var(--grey-400); text-transform: uppercase; letter-spacing: 1px; margin-bottom: var(--sp-1); }
.price-card .price-value { font-size: 36px; font-weight: 700; color: var(--ts-blue-dark); margin-bottom: var(--sp-2); letter-spacing: -1px; }
.price-card .price-desc { font-size: 14px; color: var(--grey-700); }
.price-card.featured { border-color: var(--ts-gold); border-width: 2px; }
.price-card.featured .price-value { color: var(--ts-gold); }

/* ===========================================
   24. BREADCRUMB
   =========================================== */
.breadcrumb { padding: var(--sp-2) 0; font-size: 14px; color: var(--grey-400); }
.breadcrumb a { color: var(--grey-400); }
.breadcrumb a:hover { color: var(--ts-blue); }
.breadcrumb .separator { margin: 0 var(--sp-1); }

/* ===========================================
   25. FOOTER
   =========================================== */
.site-footer {
  background: var(--anthracite);
  color: rgba(255,255,255,0.75);
  padding: var(--sp-8) 0 var(--sp-4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-5);
}
.footer-col h4 {
  color: var(--ts-gold);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.footer-col p { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: var(--sp-1); }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 14px; }
.footer-col a:hover { color: var(--ts-gold-light); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: var(--sp-1); }

.footer-social {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
}
.footer-social a:hover { background: var(--ts-gold); }
.footer-social img { width: 18px; height: 18px; filter: brightness(0) invert(1); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer-credit a { color: var(--ts-gold); }
.footer-credit a:hover { color: var(--ts-gold-light); }

/* ===========================================
   26. SECTION DIVIDER
   =========================================== */
.section-divider {
  display: block;
  width: 100%;
  height: auto;
  margin: -1px 0;
}

/* ===========================================
   27. UTILITY CLASSES
   =========================================== */
.text-center { text-align: center; }
.text-gold { color: var(--ts-gold); }
.text-white { color: var(--white); }
.text-small { font-size: 14px; }
.text-muted { color: var(--grey-400); }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mx-auto { margin-left: auto; margin-right: auto; }
.hidden { display: none; }

/* ===========================================
   28. RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: var(--sp-6) 0; }

  .two-col,
  .two-col--reverse,
  .two-col--equal,
  .team-wrap,
  .case-wrap,
  .lead-magnet,
  .pillar-grid { grid-template-columns: 1fr; gap: var(--sp-4); }

  .card-grid,
  .card-grid--2,
  .card-grid--4,
  .price-grid,
  .blog-grid { grid-template-columns: 1fr; }

  .decision-row { grid-template-columns: 1fr; }
  .regio-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 10px; }

  /* Mobile Nav */
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    padding: var(--sp-3);
    border-bottom: 1px solid var(--grey-200);
    box-shadow: var(--shadow-lg);
    gap: 0;
  }
  .nav-links.open li { padding: var(--sp-1) 0; }
  .nav-links.open a { padding: var(--sp-1) 0; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: var(--sp-2);
    min-width: 0;
  }
  .nav-dropdown:hover .nav-dropdown-menu { display: block; }
  .nav-cta { margin-top: var(--sp-2); text-align: center; display: block; }

  .lead-magnet { padding: var(--sp-4) var(--sp-3); }
  .case-content { padding: var(--sp-3); }
  .case-image { min-height: 240px; }
  .hero { padding: var(--sp-8) 0; }
  .hero--compact { padding: var(--sp-6) 0; }
  .team-image { min-height: 300px; }

  .footer-bottom { flex-direction: column; gap: var(--sp-1); text-align: center; }
}

@media (max-width: 480px) {
  .regio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .case-stats { grid-template-columns: 1fr; }
}

/* ===========================================
   29. ACCESSIBILITY — Tap Targets
   =========================================== */
@media (max-width: 768px) {
  a, button, [role="button"], input, select, textarea { min-height: 48px; }
  .nav-links.open a { padding: 12px 0; min-height: 48px; display: flex; align-items: center; }
  .footer-col a { padding: 6px 0; min-height: 44px; display: inline-flex; align-items: center; }
  .regio-chip { min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .mega-list a { min-height: 44px; padding: 10px 8px; }
}

/* ===========================================
   30. PRINT STYLES
   =========================================== */
@media print {
  .site-nav, .site-footer, .cta-section, .nav-toggle { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  .hero { background: #f5f5f5 !important; color: #000 !important; padding: 20px 0; }
  .hero h1 { color: #000 !important; }
}
