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

:root {
  --primary: #0088bd;
      --primary-dark: #006a94;
      --primary-light: #e6f4fb;
      --secondary: #515048;
      --secondary-light: #6b6966;
      --dark: #1a1a1a;
      --dark-light: #2a2f3a;
      --white: #ffffff;
      --gray-100: #f5f6f8;
      --gray-200: #e8eaed;
      --gray-300: #d0d3d8;

      /* Akzentfarben */
      --accent-cyan: #4fc3f7;
      --accent-cyan-dark: #0288d1;
      --accent-amber: #f59e0b;
      --accent-amber-light: #fef3c7;
      --accent-emerald: #10b981;
      --accent-emerald-light: #d1fae5;
      --accent-violet: #7c3aed;
      --accent-violet-light: #ede9fe;
      --accent-rose: #f43f5e;
      --accent-rose-light: #ffe4e6;

      --font-head: 'Barlow Semi Condensed', sans-serif;
      --font-body: 'Montserrat', sans-serif;
      --transition: 0.3s ease;
      --radius: 12px;
      --shadow: 0 8px 32px rgba(0,0,0,0.08);
      --shadow-hover: 0 16px 48px rgba(0,136,189,0.18);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-body);
      font-size: 16px;
      color: var(--dark);
      background: var(--white);
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ===== SCROLL PROGRESS ===== */
    .scroll-progress {
      position: fixed;
      top: 0; left: 0;
      height: 3px;
      width: 0%;
      background: linear-gradient(90deg, var(--primary), var(--accent-cyan), var(--primary));
      background-size: 200% 100%;
      animation: progress-shimmer 2s linear infinite;
      z-index: 9999;
      transition: width 0.1s linear;
    }
    @keyframes progress-shimmer {
      0% { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }

    /* ===== SCROLLBAR ===== */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--gray-100); }
    ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

    /* ===== GRAIN OVERLAY ===== */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 9998;
      opacity: 0.018;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    }

    /* ===== REVEAL ANIMATIONS ===== */
    .reveal {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-left {
      opacity: 0;
      transform: translateX(-40px);
      transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
    }
    .reveal-left.revealed { opacity: 1; transform: translateX(0); }
    .reveal-right {
      opacity: 0;
      transform: translateX(40px);
      transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
    }
    .reveal-right.revealed { opacity: 1; transform: translateX(0); }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.45s; }

    /* ===== UTILITIES ===== */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
    .section-label {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--primary);
      display: block;
      margin-bottom: 12px;
    }
    h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
    h2 { font-size: clamp(28px, 4vw, 42px); }
    h3 { font-size: clamp(18px, 2.5vw, 24px); }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 28px;
      border-radius: 6px;
      font-family: var(--font-head);
      font-size: 12px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      font-weight: 700;
      cursor: pointer;
      border: 2px solid transparent;
      transition: var(--transition);
      text-decoration: none;
    }
    .btn-primary {
      background: var(--primary);
      color: var(--white);
      border-color: var(--primary);
    }
    .btn-primary:hover {
      background: var(--primary-dark);
      border-color: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0,136,189,0.35);
    }
    .btn-outline {
      background: transparent;
      color: var(--primary);
      border-color: var(--primary);
    }
    .btn-outline:hover {
      background: var(--primary);
      color: var(--white);
      transform: translateY(-2px);
    }
    .btn-white {
      background: var(--white);
      color: var(--primary);
      border-color: var(--white);
    }
    .btn-white:hover {
      background: var(--primary-light);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    }

    /* ===== TOPBAR ===== */
    .topbar {
      background: var(--secondary);
      color: rgba(255,255,255,0.75);
      font-size: 12px;
      padding: 8px 0;
    }
    .topbar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .topbar a {
      color: rgba(255,255,255,0.75);
      text-decoration: none;
      transition: var(--transition);
    }
    .topbar a:hover { color: var(--white); }
    .topbar-left, .topbar-right {
      display: flex;
      gap: 24px;
      align-items: center;
    }
    .topbar-item {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* ===== NAVBAR ===== */
    .navbar {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: var(--white);
      border-bottom: 1px solid var(--gray-200);
      transition: box-shadow var(--transition);
    }
    .navbar.scrolled {
      box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    }
    .navbar .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }
    .logo-img {
      height: 36px;
      width: auto;
      display: block;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 4px;
      list-style: none;
    }
    .nav-links a {
      font-family: var(--font-body);
      font-size: 13px;
      font-weight: 500;
      color: var(--secondary);
      text-decoration: none;
      padding: 8px 14px;
      border-radius: 6px;
      transition: var(--transition);
      letter-spacing: 0.3px;
    }
    .nav-links a:hover { color: var(--primary); background: var(--primary-light); }
    .nav-links .nav-highlight a {
      color: var(--primary);
      font-weight: 600;
      border: 1.5px solid var(--primary);
    }
    .nav-links .nav-highlight a:hover {
      background: var(--primary);
      color: white;
    }
    .nav-cta { margin-left: 8px; }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
    .hamburger span { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

    /* ===== HERO / USV CHECK ===== */
    .hero {
      background: #0b1929;
      position: relative;
      overflow: hidden;
      min-height: 640px;
      display: flex;
      align-items: stretch;
    }
    /* Asymmetrischer Spot-Gradient statt gleichmäßigem Verlauf */
    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,136,189,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0,80,120,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 30% 40% at 50% 0%, rgba(0,136,189,0.08) 0%, transparent 50%);
      pointer-events: none;
      z-index: 0;
    }
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230088bd' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }
    .hero-glow {
      position: absolute;
      width: 600px;
      height: 600px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(0,136,189,0.25) 0%, transparent 70%);
      right: -100px;
      top: -100px;
      pointer-events: none;
    }
    .hero .container {
      display: grid;
      grid-template-columns: 1fr 420px;
      gap: 40px;
      align-items: center;
      padding-top: 64px;
      padding-bottom: 64px;
      position: relative;
      z-index: 2;
    }
    .hero-left { color: white; }
    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.2);
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      font-weight: 600;
      margin-bottom: 24px;
      backdrop-filter: blur(8px);
    }
    .hero-eyebrow span { color: #4fc3f7; }
    .hero-title {
      font-family: var(--font-head);
      font-size: clamp(34px, 4.5vw, 58px);
      font-weight: 700;
      line-height: 1.1;
      margin-bottom: 20px;
      letter-spacing: -1px;
    }
    .hero-title em {
      font-style: normal;
      color: #4fc3f7;
    }
    .hero-sub {
      font-size: 16px;
      font-weight: 300;
      color: rgba(255,255,255,0.75);
      max-width: 480px;
      line-height: 1.7;
      margin-bottom: 36px;
    }
    .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

    /* USV Check Card */
    .usv-check-card {
      background: rgba(255,255,255,0.97);
      border-radius: 16px;
      padding: 36px 32px;
      box-shadow: 0 24px 64px rgba(0,0,0,0.3);
      position: relative;
    }
    .usv-check-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--primary), #4fc3f7);
      border-radius: 16px 16px 0 0;
    }
    .check-card-label {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
    }
    .check-card-icon {
      width: 36px;
      height: 36px;
      background: var(--primary-light);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .check-card-icon svg { width: 18px; height: 18px; fill: var(--primary); }
    .check-card-label h3 {
      font-family: var(--font-head);
      font-size: 16px;
      color: var(--dark);
      letter-spacing: 1px;
    }
    .check-card-desc {
      font-size: 13px;
      color: var(--secondary-light);
      margin-bottom: 24px;
      line-height: 1.5;
    }
    .check-input-group {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 18px;
    }
    .check-input-group label {
      font-size: 12px;
      font-weight: 600;
      color: var(--secondary);
      letter-spacing: 0.5px;
    }
    .check-input-wrap {
      display: flex;
      gap: 10px;
    }
    .check-input {
      flex: 1;
      padding: 13px 16px;
      border: 2px solid var(--gray-200);
      border-radius: 8px;
      font-family: var(--font-body);
      font-size: 14px;
      color: var(--dark);
      transition: var(--transition);
      outline: none;
      letter-spacing: 1px;
    }
    .check-input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 4px rgba(0,136,189,0.1);
    }
    .check-input::placeholder { color: var(--gray-300); font-style: italic; letter-spacing: 0; }
    .check-btn {
      padding: 13px 20px;
      background: var(--primary);
      color: white;
      border: none;
      border-radius: 8px;
      font-family: var(--font-head);
      font-size: 11px;
      letter-spacing: 1px;
      font-weight: 700;
      cursor: pointer;
      transition: var(--transition);
      white-space: nowrap;
    }
    .check-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
    .check-hint {
      font-size: 11px;
      color: var(--gray-300);
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .check-hint svg { width: 12px; height: 12px; }

    /* Check Result States */
    .check-result { display: none; margin-top: 16px; border-radius: 10px; padding: 16px 18px; }
    .check-result.success {
      background: #e8f5e9;
      border-left: 4px solid #4caf50;
    }
    .check-result.error {
      background: #fff3e0;
      border-left: 4px solid #ff9800;
    }
    .check-result.show { display: block; animation: slideIn 0.3s ease; }
    .check-result-title {
      font-family: var(--font-head);
      font-size: 13px;
      font-weight: 700;
      margin-bottom: 6px;
    }
    .check-result.success .check-result-title { color: #2e7d32; }
    .check-result.error .check-result-title { color: #e65100; }
    .check-result p { font-size: 12px; color: var(--secondary); line-height: 1.5; margin-bottom: 12px; }
    .check-result .btn { font-size: 11px; padding: 10px 18px; }

    @keyframes slideIn {
      from { opacity: 0; transform: translateY(-8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Human SVG Illustration */
    .hero-person {
      position: absolute;
      bottom: 0;
      right: 140px;
      width: 320px;
      height: auto;
      pointer-events: none;
      opacity: 0.12;
    }
    .circuit-lines {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
      opacity: 0.08;
    }

    /* ===== TRUST STRIP ===== */
    .trust-strip {
      background: var(--white);
      border-bottom: 1px solid var(--gray-200);
      padding: 0;
    }
    .trust-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }
    .trust-item {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 26px 28px;
      border-right: 1px solid var(--gray-200);
      transition: background var(--transition);
      cursor: default;
      position: relative;
    }
    .trust-item:last-child { border-right: none; }
    .trust-item:hover { background: var(--primary-light); }
    .trust-item:hover .trust-icon { background: var(--primary); }
    .trust-item:hover .trust-icon svg { fill: white; }

    /* Uptime Counter Banner */
    .uptime-banner {
      background: var(--dark);
      padding: 10px 0;
      overflow: hidden;
      position: relative;
    }
    .uptime-banner-inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 32px;
      font-size: 12px;
      color: rgba(255,255,255,0.5);
    }
    .uptime-counter-label {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .uptime-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--accent-emerald);
      flex-shrink: 0;
      animation: pulse-ring 1.8s ease infinite;
    }
    .uptime-counter-value {
      font-family: var(--font-head);
      font-size: 15px;
      font-weight: 700;
      color: var(--accent-emerald);
      letter-spacing: 1px;
      font-variant-numeric: tabular-nums;
    }
    .uptime-divider { color: rgba(255,255,255,0.15); }
    .trust-icon {
      width: 48px;
      height: 48px;
      background: var(--primary-light);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: var(--transition);
    }
    .trust-icon svg { width: 22px; height: 22px; fill: var(--primary); }
    .trust-text strong {
      display: block;
      font-family: var(--font-head);
      font-size: 13px;
      letter-spacing: 0.5px;
      color: var(--dark);
      margin-bottom: 3px;
    }
    .trust-text span {
      font-size: 11px;
      color: var(--secondary-light);
      line-height: 1.4;
    }

    /* ===== LEISTUNGEN ===== */
    .leistungen {
      padding: 96px 0;
      background: var(--gray-100);
      position: relative;
      overflow: hidden;
    }
    .leistungen::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--primary), transparent);
    }
    .section-header {
      text-align: center;
      margin-bottom: 56px;
    }
    .section-header h2 { color: var(--dark); margin-bottom: 16px; }
    .section-header p {
      font-size: 16px;
      color: var(--secondary-light);
      max-width: 520px;
      margin: 0 auto;
    }
    .leistungen-grid {
      display: grid;
      grid-template-columns: 1.15fr 1fr 1fr;
      gap: 24px;
      align-items: start;
    }
    /* Erste Karte ragt leicht heraus */
    .leistungen-grid .leistung-card:first-child {
      transform: translateY(-8px);
      box-shadow: 0 20px 48px rgba(0,136,189,0.12);
    }
    .leistungen-grid .leistung-card:first-child:hover {
      transform: translateY(-14px);
    }
    .leistung-card {
      background: var(--white);
      border-radius: var(--radius);
      overflow: hidden;
      transition: var(--transition);
      border: 1px solid var(--gray-200);
      cursor: pointer;
      position: relative;
    }
    .leistung-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
      border-color: var(--primary);
    }
    .leistung-card-top {
      height: 200px;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .leistung-card-top img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }
    .leistung-card:hover .leistung-card-top img { transform: scale(1.06); }
    .leistung-card-top-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
    }
    .leistung-card-img-icon {
      width: 80px;
      height: 80px;
      background: rgba(255,255,255,0.1);
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255,255,255,0.15);
    }
    .leistung-card-img-icon svg {
      width: 40px;
      height: 40px;
      fill: rgba(255,255,255,0.9);
    }
    .leistung-badge {
      position: absolute;
      top: 16px;
      right: 16px;
      background: var(--primary);
      color: white;
      font-family: var(--font-head);
      font-size: 9px;
      letter-spacing: 1.5px;
      padding: 5px 10px;
      border-radius: 4px;
    }
    .leistung-card-body { padding: 28px; }
    .leistung-card-body h3 {
      color: var(--dark);
      margin-bottom: 10px;
      font-size: 18px;
    }
    .leistung-card-body p {
      font-size: 14px;
      color: var(--secondary-light);
      line-height: 1.65;
      margin-bottom: 20px;
    }
    .leistung-features {
      list-style: none;
      margin-bottom: 24px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .leistung-features li {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--secondary);
    }
    .leistung-features li::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--primary);
      flex-shrink: 0;
    }
    .leistung-link {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--primary);
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      letter-spacing: 0.5px;
      transition: var(--transition);
    }
    .leistung-link:hover { gap: 12px; }
    .leistung-link svg { width: 16px; height: 16px; fill: var(--primary); }

    /* ===== BRANCHEN ===== */
    .branchen {
      padding: 96px 0;
      background: #0d1117;
      position: relative;
      overflow: hidden;
    }
    .branchen::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 15% 60%, rgba(0,136,189,0.1) 0%, transparent 55%),
                  radial-gradient(ellipse at 85% 20%, rgba(124,58,237,0.06) 0%, transparent 45%);
    }
    .branchen .section-header h2 { color: var(--white); }
    .branchen .section-header p { color: rgba(255,255,255,0.5); }
    .branchen .section-label { color: var(--accent-cyan); }

    /* Tabs */
    .branchen-tabs {
      display: flex;
      gap: 0;
      position: relative;
      z-index: 2;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 14px;
      padding: 6px;
      margin-bottom: 32px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .branchen-tabs::-webkit-scrollbar { display: none; }
    .branchen-tab {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      padding: 18px 16px;
      border-radius: 10px;
      cursor: pointer;
      border: none;
      background: transparent;
      transition: var(--transition);
      position: relative;
      min-width: 140px;
    }
    .branchen-tab:hover { background: rgba(255,255,255,0.05); }
    .branchen-tab.active {
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
    }
    .branchen-tab-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
      flex-shrink: 0;
    }
    .branchen-tab-icon svg { width: 22px; height: 22px; }
    .branchen-tab span {
      font-family: var(--font-head);
      font-size: 13px;
      font-weight: 600;
      color: rgba(255,255,255,0.55);
      transition: var(--transition);
      text-align: center;
      line-height: 1.3;
    }
    .branchen-tab.active span { color: white; }
    .branchen-tab-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: transparent;
      transition: var(--transition);
      margin-top: 2px;
    }
    .branchen-tab.active .branchen-tab-dot { background: var(--tab-color, var(--primary)); }

    /* Tab Color Variants */
    .branchen-tab[data-tab="industrie"] { --tab-color: var(--accent-amber); }
    .branchen-tab[data-tab="industrie"] .branchen-tab-icon { background: rgba(245,158,11,0.15); }
    .branchen-tab[data-tab="industrie"] .branchen-tab-icon svg { fill: var(--accent-amber); }
    .branchen-tab[data-tab="industrie"].active .branchen-tab-icon { background: var(--accent-amber); }
    .branchen-tab[data-tab="industrie"].active .branchen-tab-icon svg { fill: white; }

    .branchen-tab[data-tab="produktion"] { --tab-color: var(--accent-rose); }
    .branchen-tab[data-tab="produktion"] .branchen-tab-icon { background: rgba(244,63,94,0.15); }
    .branchen-tab[data-tab="produktion"] .branchen-tab-icon svg { fill: var(--accent-rose); }
    .branchen-tab[data-tab="produktion"].active .branchen-tab-icon { background: var(--accent-rose); }
    .branchen-tab[data-tab="produktion"].active .branchen-tab-icon svg { fill: white; }

    .branchen-tab[data-tab="rechenzentren"] { --tab-color: var(--accent-cyan); }
    .branchen-tab[data-tab="rechenzentren"] .branchen-tab-icon { background: rgba(79,195,247,0.15); }
    .branchen-tab[data-tab="rechenzentren"] .branchen-tab-icon svg { fill: var(--accent-cyan); }
    .branchen-tab[data-tab="rechenzentren"].active .branchen-tab-icon { background: var(--accent-cyan-dark); }
    .branchen-tab[data-tab="rechenzentren"].active .branchen-tab-icon svg { fill: white; }

    .branchen-tab[data-tab="medizin"] { --tab-color: var(--accent-emerald); }
    .branchen-tab[data-tab="medizin"] .branchen-tab-icon { background: rgba(16,185,129,0.15); }
    .branchen-tab[data-tab="medizin"] .branchen-tab-icon svg { fill: var(--accent-emerald); }
    .branchen-tab[data-tab="medizin"].active .branchen-tab-icon { background: var(--accent-emerald); }
    .branchen-tab[data-tab="medizin"].active .branchen-tab-icon svg { fill: white; }

    .branchen-tab[data-tab="mittelstand"] { --tab-color: var(--accent-violet); }
    .branchen-tab[data-tab="mittelstand"] .branchen-tab-icon { background: rgba(124,58,237,0.15); }
    .branchen-tab[data-tab="mittelstand"] .branchen-tab-icon svg { fill: var(--accent-violet); }
    .branchen-tab[data-tab="mittelstand"].active .branchen-tab-icon { background: var(--accent-violet); }
    .branchen-tab[data-tab="mittelstand"].active .branchen-tab-icon svg { fill: white; }

    /* Content Panel */
    .branchen-panel {
      display: none;
      position: relative;
      z-index: 2;
      animation: fadeInUp 0.4s ease;
    }
    .branchen-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .branchen-panel-content { }
    .branchen-panel-tag {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 5px 14px;
      border-radius: 20px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin-bottom: 20px;
    }
    .branchen-panel-tag svg { width: 12px; height: 12px; }

    .branchen-panel-content h3 {
      font-family: var(--font-head);
      font-size: clamp(26px, 3vw, 36px);
      font-weight: 700;
      color: white;
      margin-bottom: 16px;
      line-height: 1.2;
    }
    .branchen-panel-content p {
      font-size: 15px;
      color: rgba(255,255,255,0.6);
      line-height: 1.75;
      margin-bottom: 24px;
    }
    .branchen-panel-points {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 32px;
    }
    .branchen-panel-points li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: rgba(255,255,255,0.75);
    }
    .branchen-panel-points li::before {
      content: '';
      width: 20px;
      height: 20px;
      border-radius: 6px;
      flex-shrink: 0;
    }
    .branchen-panel-image {
      border-radius: 16px;
      overflow: hidden;
      position: relative;
      aspect-ratio: 4/3;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .branchen-panel-image-inner {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 16px;
      position: relative;
      overflow: hidden;
    }
    .branchen-panel-image-inner img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s ease;
    }
    .branchen-panel-image:hover .branchen-panel-image-inner img { transform: scale(1.04); }
    .branchen-panel-image-inner::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
      pointer-events: none;
      z-index: 1;
    }
    .panel-img-icon { z-index: 2; }
    .panel-img-label { z-index: 2; }
    .panel-img-icon {
      width: 96px;
      height: 96px;
      border-radius: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.15);
    }
    .panel-img-icon svg { width: 48px; height: 48px; fill: rgba(255,255,255,0.85); }
    .panel-img-label {
      font-family: var(--font-head);
      font-size: 13px;
      letter-spacing: 2px;
      color: rgba(255,255,255,0.4);
      text-transform: uppercase;
    }
    .panel-stats {
      display: flex;
      gap: 24px;
      padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    .panel-stat { }
    .panel-stat-num {
      font-family: var(--font-head);
      font-size: 28px;
      font-weight: 700;
      display: block;
    }
    .panel-stat-label {
      font-size: 11px;
      color: rgba(255,255,255,0.4);
    }

    /* ===== NEWS ===== */
    .news {
      padding: 96px 0;
      background: var(--white);
    }
    .news-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 48px;
    }
    .news-header h2 { max-width: 400px; }
    .news-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr;
      gap: 24px;
    }
    .news-card {
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--gray-200);
      transition: var(--transition);
      cursor: pointer;
      display: block;
      text-decoration: none;
      color: inherit;
      background: var(--white);
    }
    .news-card,
    .news-card:hover,
    .news-card:focus { text-decoration: none; }
    .news-card * { text-decoration: none; }
    .news-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: var(--primary);
    }
    .news-card:hover .news-card-img img { transform: scale(1.05); }
    .news-card-img {
      height: 200px;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .news-card:first-child .news-card-img { height: 260px; }
    .news-card:nth-child(1) .news-card-img { background: linear-gradient(135deg, #0a3d5c 0%, var(--primary) 100%); }
    .news-card:nth-child(2) .news-card-img { background: linear-gradient(135deg, #3b0764 0%, var(--accent-violet) 100%); }
    .news-card:nth-child(3) .news-card-img { background: linear-gradient(135deg, #064e3b 0%, var(--accent-emerald) 100%); }
    .news-card-img-placeholder {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      opacity: 0.6;
    }
    .news-card-img-placeholder svg { width: 40px; height: 40px; fill: rgba(255,255,255,0.7); }
    .news-card-img-placeholder span { font-size: 11px; color: rgba(255,255,255,0.7); letter-spacing: 2px; font-family: var(--font-head); }
    .news-category {
      position: absolute;
      top: 14px;
      left: 14px;
      background: var(--primary);
      color: white;
      font-family: var(--font-head);
      font-size: 9px;
      letter-spacing: 1.5px;
      padding: 5px 10px;
      border-radius: 4px;
    }
    .news-card-body { padding: 24px; }
    .news-meta {
      font-size: 11px;
      color: var(--gray-300);
      letter-spacing: 1px;
      margin-bottom: 10px;
      text-transform: uppercase;
    }
    .news-card-body h3 {
      font-size: 17px;
      color: var(--dark);
      margin-bottom: 10px;
      line-height: 1.35;
    }
    .news-card:first-child .news-card-body h3 { font-size: 22px; }
    .news-card-body p {
      font-size: 13px;
      color: var(--secondary-light);
      line-height: 1.6;
      margin-bottom: 18px;
    }
    .news-link {
      display: flex;
      align-items: center;
      gap: 6px;
      color: var(--primary);
      font-size: 12px;
      font-weight: 600;
      text-decoration: none;
      letter-spacing: 0.5px;
      transition: var(--transition);
    }
    .news-link:hover { gap: 10px; }
    .news-link svg { width: 14px; height: 14px; fill: var(--primary); }

    /* ===== KARRIERE / RECRUITING ===== */
    .karriere {
      padding: 0;
      background: #0a0a0a;
      position: relative;
      overflow: hidden;
      min-height: 680px;
      display: flex;
      align-items: stretch;
    }

    /* Energie-Partikel Canvas */
    #karriereCanvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
    }

    /* Diagonaler Teiler rechts */
    .karriere-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      width: 100%;
      position: relative;
      z-index: 2;
    }
    .karriere-left {
      padding: 80px 64px 80px 0;
      padding-left: calc((100vw - 1200px) / 2 + 24px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
    }
    .karriere-left::after {
      content: '';
      position: absolute;
      right: -1px;
      top: 0; bottom: 0;
      width: 2px;
      background: linear-gradient(to bottom, transparent, var(--accent-amber), transparent);
    }
    .karriere-right {
      padding: 80px 0 80px 64px;
      padding-right: calc((100vw - 1200px) / 2 + 24px);
      background: rgba(245,158,11,0.04);
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
    }

    /* Power Meter Gimmick */
    .power-meter-wrap {
      margin-bottom: 40px;
    }
    .power-meter-label {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }
    .power-meter-label span {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
    }
    .power-meter-pct {
      font-family: var(--font-head);
      font-size: 22px !important;
      font-weight: 700;
      color: var(--accent-amber) !important;
      letter-spacing: 0 !important;
    }
    .power-meter-track {
      height: 8px;
      background: rgba(255,255,255,0.07);
      border-radius: 4px;
      overflow: hidden;
      position: relative;
    }
    .power-meter-bar {
      height: 100%;
      width: 0%;
      border-radius: 4px;
      background: linear-gradient(90deg, var(--accent-amber), #fbbf24, #fef08a);
      box-shadow: 0 0 12px rgba(245,158,11,0.6);
      transition: width 1.8s cubic-bezier(0.25, 1, 0.5, 1);
      position: relative;
    }
    .power-meter-bar::after {
      content: '';
      position: absolute;
      right: 0; top: 0; bottom: 0;
      width: 20px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5));
      border-radius: 4px;
      animation: shimmer 1.5s ease infinite;
    }
    @keyframes shimmer {
      0%,100% { opacity: 0.5; }
      50% { opacity: 1; }
    }

    /* "Du?"-Label am Ende des Balkens */
    .power-meter-missing-label {
      position: absolute;
      right: -42px;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255,255,255,0.1);
      border: 1px dashed rgba(255,255,255,0.35);
      border-radius: 4px;
      padding: 2px 7px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1px;
      color: rgba(255,255,255,0.6);
      white-space: nowrap;
      opacity: 0;
      transition: opacity 0.4s ease 1.8s;
      font-family: var(--font-body);
    }
    .power-meter-bar.animated .power-meter-missing-label {
      opacity: 1;
    }

    /* Lücke hinter dem Balken — gestrichelter Rest */
    .power-meter-track::after {
      content: '';
      position: absolute;
      right: 0;
      top: 0; bottom: 0;
      width: 6%;
      background: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,0.12) 0px,
        rgba(255,255,255,0.12) 3px,
        transparent 3px,
        transparent 7px
      );
      border-radius: 0 4px 4px 0;
    }

    /* Legende unter dem Balken */
    .power-meter-caption {
      display: flex;
      justify-content: space-between;
      margin-top: 8px;
    }
    .power-meter-caption-filled {
      font-size: 11px;
      color: var(--accent-amber);
      font-weight: 600;
      opacity: 0;
      transition: opacity 0.5s ease 1.8s;
    }
    .power-meter-caption-gap {
      font-size: 11px;
      color: rgba(255,255,255,0.35);
      font-weight: 600;
      opacity: 0;
      transition: opacity 0.5s ease 2s;
      animation: blink-soft 2s ease infinite 2s;
    }
    @keyframes blink-soft {
      0%,100% { color: rgba(255,255,255,0.35); }
      50% { color: rgba(255,255,255,0.7); }
    }
    .power-meter-bar.animated ~ .power-meter-caption .power-meter-caption-filled,
    .power-meter-bar.animated ~ .power-meter-caption .power-meter-caption-gap { opacity: 1; }
    /* Hack: Geschwister-Selector geht nicht rückwärts — per JS gesteuert */

    .karriere-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(245,158,11,0.1);
      border: 1px solid rgba(245,158,11,0.25);
      border-radius: 20px;
      padding: 6px 14px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--accent-amber);
      margin-bottom: 20px;
      width: fit-content;
    }
    .karriere-eyebrow-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--accent-amber);
      animation: pulse-ring 1.6s ease infinite;
    }
    .karriere-title {
      font-family: var(--font-head);
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 700;
      color: white;
      line-height: 1.1;
      margin-bottom: 18px;
    }
    .karriere-title em {
      font-style: normal;
      color: var(--accent-amber);
    }
    .karriere-sub {
      font-size: 15px;
      color: rgba(255,255,255,0.6);
      line-height: 1.75;
      max-width: 440px;
      margin-bottom: 36px;
    }
    .karriere-cta-group {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }
    .btn-amber {
      background: var(--accent-amber);
      color: #0a0a0a;
      border-color: var(--accent-amber);
      font-weight: 800;
    }
    .btn-amber:hover {
      background: #d97706;
      border-color: #d97706;
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(245,158,11,0.4);
      color: white;
    }
    .btn-ghost-white {
      background: transparent;
      color: rgba(255,255,255,0.7);
      border-color: rgba(255,255,255,0.2);
    }
    .btn-ghost-white:hover {
      background: rgba(255,255,255,0.06);
      border-color: rgba(255,255,255,0.4);
      color: white;
      transform: translateY(-2px);
    }

    /* Benefits Karten rechts */
    .karriere-benefits {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-bottom: 32px;
    }
    .karriere-benefit {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 12px;
      padding: 18px 16px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      transition: var(--transition);
      cursor: default;
    }
    .karriere-benefit:hover {
      background: rgba(245,158,11,0.08);
      border-color: rgba(245,158,11,0.2);
      transform: translateY(-2px);
    }
    .karriere-benefit-icon {
      width: 36px; height: 36px;
      border-radius: 8px;
      background: rgba(245,158,11,0.12);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: var(--transition);
    }
    .karriere-benefit:hover .karriere-benefit-icon { background: var(--accent-amber); }
    .karriere-benefit-icon svg { width: 16px; height: 16px; fill: var(--accent-amber); }
    .karriere-benefit:hover .karriere-benefit-icon svg { fill: #0a0a0a; }
    .karriere-benefit-text strong {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: white;
      margin-bottom: 3px;
      font-family: var(--font-head);
    }
    .karriere-benefit-text span {
      font-size: 11px;
      color: rgba(255,255,255,0.4);
      line-height: 1.4;
    }

    /* Zitat */
    .karriere-quote {
      background: rgba(245,158,11,0.06);
      border-left: 3px solid var(--accent-amber);
      border-radius: 0 10px 10px 0;
      padding: 16px 20px;
    }
    .karriere-quote p {
      font-size: 13px;
      color: rgba(255,255,255,0.65);
      line-height: 1.65;
      font-style: italic;
      margin-bottom: 10px;
    }
    .karriere-quote-author {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .karriere-quote-avatar {
      width: 32px; height: 32px;
      border-radius: 50%;
      background: linear-gradient(135deg, #d97706, var(--accent-amber));
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font-head);
      font-size: 11px;
      font-weight: 700;
      color: #0a0a0a;
      flex-shrink: 0;
    }
    .karriere-quote-author strong {
      font-size: 12px;
      color: white;
      display: block;
    }
    .karriere-quote-author span {
      font-size: 11px;
      color: rgba(255,255,255,0.4);
    }

    /* Powerpioniere Logo Pill */
    .powerpioniere-pill {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(253,195,0,0.2);
      border-radius: 10px;
      padding: 12px 18px;
      margin-bottom: 28px;
      font-size: 12px;
      color: rgba(255,255,255,0.45);
    }
    .powerpioniere-logo {
      height: 48px;
      width: auto;
      display: block;
      flex-shrink: 0;
    }
    .powerpioniere-pill-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

    @media (max-width: 1100px) {
      .karriere-left {
        padding: 64px 40px 64px 24px;
      }
      .karriere-right {
        padding: 64px 24px 64px 40px;
      }
    }
    @media (max-width: 768px) {
      .karriere-split { grid-template-columns: 1fr; }
      .karriere-left {
        padding: 56px 24px 40px;
      }
      .karriere-left::after { display: none; }
      .karriere-right {
        padding: 40px 24px 56px;
        background: rgba(245,158,11,0.03);
      }
      .karriere-benefits { grid-template-columns: 1fr; gap: 10px; }
      .karriere-cta-group { flex-direction: column; }
      .karriere-cta-group .btn { justify-content: center; }
    }

    /* ===== NEWSLETTER ===== */
    .newsletter {
      padding: 80px 0;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      position: relative;
      overflow: hidden;
    }
    .newsletter::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 20 L20 0 L40 20 L20 40 Z'/%3E%3C/g%3E%3C/svg%3E");
    }
    .newsletter-glow {
      position: absolute;
      width: 400px;
      height: 400px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
      right: -50px;
      top: -100px;
    }
    .newsletter .container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
      position: relative;
      z-index: 2;
    }
    .newsletter-left { color: white; }
    .newsletter-left .section-label { color: rgba(255,255,255,0.6); }
    .newsletter-left h2 { color: white; margin-bottom: 16px; }
    .newsletter-left p { color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.7; }
    .newsletter-perks {
      list-style: none;
      margin-top: 24px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .newsletter-perks li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      color: rgba(255,255,255,0.85);
    }
    .newsletter-perks li svg { width: 16px; height: 16px; fill: #4fc3f7; flex-shrink: 0; }
    .newsletter-form {
      background: rgba(255,255,255,0.1);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 16px;
      padding: 36px 32px;
    }
    .newsletter-form h3 {
      font-size: 18px;
      color: white;
      margin-bottom: 6px;
    }
    .newsletter-form p { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 24px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
    .form-group { display: flex; flex-direction: column; gap: 6px; }
    .form-group label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.7); letter-spacing: 0.5px; }
    .form-input {
      padding: 12px 16px;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.25);
      border-radius: 8px;
      font-family: var(--font-body);
      font-size: 14px;
      color: white;
      outline: none;
      transition: var(--transition);
    }
    .form-input::placeholder { color: rgba(255,255,255,0.4); }
    .form-input:focus { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.18); }
    .form-consent {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin: 16px 0;
    }
    .form-consent input[type="checkbox"] { margin-top: 2px; accent-color: white; cursor: pointer; }
    .form-consent label { font-size: 11px; color: rgba(255,255,255,0.65); line-height: 1.5; cursor: pointer; }
    .form-consent a { color: rgba(255,255,255,0.85); }
    .newsletter-submit {
      width: 100%;
      padding: 14px;
      background: white;
      color: var(--primary);
      border: none;
      border-radius: 8px;
      font-family: var(--font-head);
      font-size: 13px;
      letter-spacing: 1px;
      font-weight: 700;
      cursor: pointer;
      transition: var(--transition);
    }
    .newsletter-submit:hover {
      background: var(--primary-light);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    }

    /* ===== FOOTER ===== */
    .footer {
      background: #0d1117;
      color: rgba(255,255,255,0.65);
    }
    .footer-main {
      padding: 64px 0 48px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px;
    }
    .footer-brand { }
    .footer-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 18px;
    }
    .footer-logo-icon {
      width: 40px;
      height: 40px;
      background: var(--primary);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-family: var(--font-head);
      font-size: 12px;
      font-weight: 700;
    }
    .footer-logo-name {
      font-family: var(--font-head);
      font-size: 13px;
      font-weight: 700;
      color: white;
      letter-spacing: 1px;
    }
    .footer-logo-sub { font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: 1.5px; text-transform: uppercase; }
    .footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 20px; }
    .footer-contact-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      margin-bottom: 10px;
    }
    .footer-contact-item svg { width: 14px; height: 14px; fill: var(--primary); flex-shrink: 0; }
    .footer-contact-item a { color: rgba(255,255,255,0.65); text-decoration: none; transition: var(--transition); }
    .footer-contact-item a:hover { color: var(--primary); }
    .footer-col h4 {
      font-family: var(--font-head);
      font-size: 11px;
      letter-spacing: 2px;
      color: white;
      text-transform: uppercase;
      margin-bottom: 20px;
    }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
    .footer-links p { margin: 0; }
    .footer-links a {
      font-size: 13px;
      color: rgba(255,255,255,0.55);
      text-decoration: none;
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .footer-links a:hover { color: var(--primary); padding-left: 4px; }
    .footer-links a::before { content: '→'; font-size: 11px; color: var(--primary); opacity: 0; transition: var(--transition); }
    .footer-links a:hover::before { opacity: 1; }
    .footer-bottom {
      padding: 24px 0;
    }
    .footer-bottom .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .footer-bottom p { font-size: 12px; }
    .footer-legal { display: flex; gap: 20px; }
    .footer-legal a {
      font-size: 12px;
      color: rgba(255,255,255,0.45);
      text-decoration: none;
      transition: var(--transition);
    }
    .footer-legal a:hover { color: var(--primary); }
    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(0,136,189,0.15);
      border: 1px solid rgba(0,136,189,0.3);
      border-radius: 20px;
      padding: 5px 12px;
      font-size: 11px;
      color: #4fc3f7;
      margin-top: 16px;
    }
    .footer-badge svg { width: 12px; height: 12px; fill: #4fc3f7; }

    /* ===== MOBILE ===== */
    @media (max-width: 1024px) {
      .hero .container { grid-template-columns: 1fr; }
      .usv-check-card { max-width: 520px; }
      .branchen-panel.active { grid-template-columns: 1fr; }
      .branchen-tab { min-width: 110px; padding: 14px 10px; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    }
    @media (max-width: 768px) {
      .nav-links, .nav-cta { display: none; }
      .hamburger { display: flex; }
      .trust-grid { grid-template-columns: 1fr 1fr; }
      .trust-item { border-right: none; border-bottom: 1px solid var(--gray-200); }
      .leistungen-grid { grid-template-columns: 1fr; }
      .branchen-tab span { font-size: 11px; }
      .news-grid { grid-template-columns: 1fr; }
      .newsletter .container { grid-template-columns: 1fr; gap: 32px; }
      .form-row { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .hero-title { font-size: 32px; }
    }
    /* ===== NOTFALL WIDGET ===== */
    .notfall-trigger {
      position: fixed;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      z-index: 900;
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      background: var(--accent-rose);
      border-radius: 12px 0 0 12px;
      padding: 14px 10px;
      gap: 8px;
      box-shadow: -4px 0 24px rgba(244,63,94,0.35);
      transition: var(--transition);
      border: none;
      outline: none;
    }
    .notfall-trigger:hover {
      background: #e11d48;
      padding-right: 14px;
      box-shadow: -6px 0 32px rgba(244,63,94,0.5);
    }
    .notfall-trigger svg { width: 20px; height: 20px; fill: white; flex-shrink: 0; }
    .notfall-trigger-label {
      writing-mode: vertical-rl;
      text-orientation: mixed;
      transform: rotate(180deg);
      font-family: var(--font-head);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 2px;
      color: white;
      text-transform: uppercase;
      white-space: nowrap;
    }
    .notfall-pulse {
      position: absolute;
      top: 10px;
      left: 10px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: white;
      animation: pulse-ring 1.6s ease infinite;
    }
    @keyframes pulse-ring {
      0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
      70%  { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
      100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
    }

    /* Overlay */
    .notfall-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.55);
      backdrop-filter: blur(4px);
      z-index: 1100;
      align-items: center;
      justify-content: center;
    }
    .notfall-overlay.open { display: flex; animation: overlayIn 0.25s ease; }
    @keyframes overlayIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }

    /* Popup */
    .notfall-popup {
      background: #0d1117;
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 20px;
      width: 480px;
      max-width: calc(100vw - 32px);
      position: relative;
      overflow: hidden;
      animation: popupIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
    }
    @keyframes popupIn {
      from { opacity: 0; transform: scale(0.88) translateY(20px); }
      to   { opacity: 1; transform: scale(1) translateY(0); }
    }
    .notfall-popup-header {
      background: linear-gradient(135deg, #7f0020 0%, var(--accent-rose) 100%);
      padding: 28px 32px 24px;
      position: relative;
      overflow: hidden;
    }
    .notfall-popup-header::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 20 L20 0 L40 20 L20 40 Z'/%3E%3C/g%3E%3C/svg%3E");
    }
    .notfall-popup-header-inner { position: relative; z-index: 1; }
    .notfall-header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px;
    }
    .notfall-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.25);
      border-radius: 20px;
      padding: 5px 12px;
      font-family: var(--font-head);
      font-size: 10px;
      letter-spacing: 2px;
      color: white;
      text-transform: uppercase;
    }
    .notfall-badge-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: #fff;
      animation: pulse-ring 1.4s ease infinite;
    }
    .notfall-close {
      width: 32px; height: 32px;
      border-radius: 50%;
      background: rgba(255,255,255,0.15);
      border: none;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: var(--transition);
      color: white;
    }
    .notfall-close:hover { background: rgba(255,255,255,0.25); }
    .notfall-close svg { width: 16px; height: 16px; fill: white; }
    .notfall-popup-header h2 {
      font-family: var(--font-head);
      font-size: 22px;
      font-weight: 700;
      color: white;
      margin-bottom: 4px;
    }
    .notfall-popup-header p {
      font-size: 13px;
      color: rgba(255,255,255,0.7);
    }

    /* Popup Body */
    .notfall-popup-body { padding: 28px 32px 32px; }

    /* Step: Eingabe */
    .notfall-step { display: none; }
    .notfall-step.active { display: block; animation: fadeInUp 0.3s ease; }

    .notfall-input-label {
      font-size: 12px;
      font-weight: 700;
      color: rgba(255,255,255,0.55);
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 8px;
      display: block;
    }
    .notfall-input-wrap {
      display: flex;
      gap: 10px;
      margin-bottom: 10px;
    }
    .notfall-input {
      flex: 1;
      padding: 13px 16px;
      background: rgba(255,255,255,0.07);
      border: 1.5px solid rgba(255,255,255,0.12);
      border-radius: 10px;
      font-family: var(--font-body);
      font-size: 14px;
      color: white;
      outline: none;
      transition: var(--transition);
      letter-spacing: 2px;
    }
    .notfall-input::placeholder { color: rgba(255,255,255,0.25); letter-spacing: 0; }
    .notfall-input:focus {
      border-color: var(--accent-rose);
      background: rgba(244,63,94,0.08);
      box-shadow: 0 0 0 4px rgba(244,63,94,0.12);
    }
    .notfall-input.error {
      border-color: var(--accent-rose);
      animation: shake 0.4s ease;
    }
    @keyframes shake {
      0%,100% { transform: translateX(0); }
      20%,60%  { transform: translateX(-6px); }
      40%,80%  { transform: translateX(6px); }
    }
    .notfall-check-btn {
      padding: 13px 20px;
      background: var(--accent-rose);
      color: white;
      border: none;
      border-radius: 10px;
      font-family: var(--font-head);
      font-size: 11px;
      letter-spacing: 1px;
      font-weight: 700;
      cursor: pointer;
      transition: var(--transition);
      white-space: nowrap;
    }
    .notfall-check-btn:hover { background: #e11d48; transform: translateY(-1px); }
    .notfall-hint {
      font-size: 11px;
      color: rgba(255,255,255,0.3);
      display: flex; align-items: center; gap: 6px;
    }
    .notfall-hint svg { width: 12px; height: 12px; fill: rgba(255,255,255,0.3); }

    /* Step: Erfolg */
    .notfall-success-top {
      display: flex;
      align-items: center;
      gap: 14px;
      background: rgba(16,185,129,0.1);
      border: 1px solid rgba(16,185,129,0.25);
      border-radius: 12px;
      padding: 16px 18px;
      margin-bottom: 24px;
    }
    .notfall-success-icon {
      width: 40px; height: 40px;
      border-radius: 10px;
      background: var(--accent-emerald);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .notfall-success-icon svg { width: 20px; height: 20px; fill: white; }
    .notfall-success-top strong {
      display: block;
      font-family: var(--font-head);
      font-size: 14px;
      color: var(--accent-emerald);
      margin-bottom: 2px;
    }
    .notfall-success-top span { font-size: 12px; color: rgba(255,255,255,0.5); }

    .notfall-contacts { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
    .notfall-contact-card {
      display: flex;
      align-items: center;
      gap: 14px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 12px;
      padding: 16px 18px;
      text-decoration: none;
      transition: var(--transition);
      cursor: pointer;
    }
    .notfall-contact-card:hover {
      background: rgba(0,136,189,0.12);
      border-color: rgba(0,136,189,0.3);
      transform: translateX(4px);
    }
    .notfall-contact-avatar {
      width: 44px; height: 44px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary-dark), var(--primary));
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      font-family: var(--font-head);
      font-size: 14px;
      font-weight: 700;
      color: white;
    }
    .notfall-contact-info { flex: 1; }
    .notfall-contact-info strong {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: white;
      margin-bottom: 2px;
    }
    .notfall-contact-info span { font-size: 12px; color: rgba(255,255,255,0.45); }
    .notfall-contact-action {
      font-family: var(--font-head);
      font-size: 11px;
      color: var(--accent-cyan);
      letter-spacing: 1px;
    }
    .notfall-divider {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
    }
    .notfall-divider::before, .notfall-divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: rgba(255,255,255,0.08);
    }
    .notfall-divider span { font-size: 11px; color: rgba(255,255,255,0.3); white-space: nowrap; }
    .notfall-email-link {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 10px;
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      font-size: 13px;
      transition: var(--transition);
    }
    .notfall-email-link:hover { background: rgba(255,255,255,0.09); color: white; }
    .notfall-email-link svg { width: 15px; height: 15px; fill: rgba(255,255,255,0.5); }

    /* Step: Fehler */
    .notfall-error-box {
      background: rgba(245,158,11,0.08);
      border: 1px solid rgba(245,158,11,0.25);
      border-radius: 12px;
      padding: 20px;
      text-align: center;
      margin-bottom: 20px;
    }
    .notfall-error-box svg { width: 36px; height: 36px; fill: var(--accent-amber); margin-bottom: 10px; }
    .notfall-error-box strong {
      display: block;
      font-family: var(--font-head);
      font-size: 15px;
      color: var(--accent-amber);
      margin-bottom: 8px;
    }
    .notfall-error-box p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 16px; }
    .notfall-retry {
      font-size: 12px;
      color: rgba(255,255,255,0.4);
      text-align: center;
      margin-top: 12px;
      cursor: pointer;
      transition: var(--transition);
    }
    .notfall-retry:hover { color: var(--accent-cyan); }
    .notfall-retry span { text-decoration: underline; }

/* ── Page Header (for basic/news/branche/leistung sub-pages) ─────────── */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.page-header h1 {
    font-family: var(--font-head);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}
.page-intro {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 720px;
    line-height: 1.6;
}
.page-header-image {
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(5,20,40,0.75);
}

/* ── News Article Detail ─────────────────────────────────────────── */
.news-article {
    padding: 60px 0 100px;
    background: var(--white);
}
.news-article .container {
    max-width: 820px;
}
.news-article-head { margin-bottom: 40px; }
.news-article-head .news-category {
    position: static;
    display: inline-block;
    margin-bottom: 14px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.news-article-head .news-meta {
    font-size: 12px;
    color: var(--secondary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.news-article-back {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}
.news-article-back:hover { text-decoration: underline; }
.news-article-head h1 {
    font-family: var(--font-head);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin: 12px 0 16px;
    letter-spacing: -0.02em;
}
.news-article-intro {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
}
.news-article-image {
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
}
.news-article-image img { width: 100%; height: auto; display: block; }
.news-article-body {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
}
.news-article-body h2,
.news-article-body h3,
.news-article-body h4 {
    font-family: var(--font-head);
    color: var(--dark);
    margin: 1.6em 0 0.6em;
    line-height: 1.25;
}
.news-article-body p { margin: 0 0 1.2em; }
.news-article-body ul,
.news-article-body ol { margin: 0 0 1.2em 1.4em; }
.news-article-body a { color: var(--primary); }

/* ── Richtext Block Widths ───────────────────────────────────────── */
.richtext-section { padding: 80px 0; background: var(--white); }
.richtext-inner { margin: 0 auto; }
.richtext-narrow { max-width: 680px; }
.richtext-normal { max-width: 860px; }
.richtext-wide   { max-width: 1120px; }
.richtext-body { font-size: 17px; line-height: 1.75; color: var(--text); }
.richtext-body h2, .richtext-body h3, .richtext-body h4 {
    font-family: var(--font-head);
    color: var(--dark);
    margin: 1.6em 0 0.6em;
}

/* ── CTA Box Block ───────────────────────────────────────────────── */
.cta-section { padding: 80px 0; background: var(--white); }
.cta-box {
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    color: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
}
.cta-box .section-label { color: var(--primary); }
.cta-box h2 {
    font-family: var(--font-head);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--white);
    margin: 10px 0 16px;
    line-height: 1.15;
}
.cta-box p {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.6;
}
.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOCK-STYLES – Neue generische Bausteine
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Helper: Background-Color-Klassen ──────────────────────────────────── */
.bg-1 { background: #fff; }
.bg-2 { background: #f7f8fa; }
.bg-3 { background: var(--dark-900, #0f1419); color: var(--text-inverted, #fff); }
.bg-3 h1, .bg-3 h2, .bg-3 h3, .bg-3 h4, .bg-3 strong { color: #fff; }
.bg-3 p, .bg-3 li { color: rgba(255,255,255,0.8); }
.bg-3 .section-label { color: var(--accent-cyan, #4fc3f7); }

/* ── Header klein (Unterseiten-Header) ─────────────────────────────────── */
.block-header-small {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f7f8fa 0%, #eef0f5 100%);
    text-align: center;
}
.block-header-small.has-image {
    background-size: cover;
    background-position: center;
    color: #fff;
}
.block-header-small.has-image::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.65));
}
.block-header-small .container { position: relative; z-index: 1; }
.block-header-small h1 {
    font-family: var(--font-head);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    margin: 12px 0 14px;
    line-height: 1.1;
}
.block-header-small.has-image h1,
.block-header-small.has-image .section-label,
.block-header-small.has-image .page-intro { color: #fff; }
.block-header-small .page-intro {
    font-size: 18px;
    max-width: 680px;
    margin: 0 auto;
    opacity: 0.8;
}

/* ── Text + Bild ───────────────────────────────────────────────────────── */
.block-text-image { padding: 100px 0; }
.text-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.block-text-image.layout-image_left .text-image-grid { direction: rtl; }
.block-text-image.layout-image_left .text-image-grid > * { direction: ltr; }
.text-image-content h2 {
    font-family: var(--font-head);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    margin: 10px 0 18px;
    line-height: 1.15;
}
.text-image-body { font-size: 16px; line-height: 1.7; margin-bottom: 22px; }
.text-image-body > *:last-child { margin-bottom: 0; }
.text-image-media img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
@media (max-width: 768px) {
    .text-image-grid { grid-template-columns: 1fr; gap: 32px; }
    .block-text-image.layout-image_left .text-image-grid { direction: ltr; }
}

/* ── Zwei Spalten ──────────────────────────────────────────────────────── */
.block-two-columns { padding: 80px 0; }
.two-columns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.two-columns-grid .col { font-size: 16px; line-height: 1.7; }
.two-columns-grid h3 {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
}
@media (max-width: 768px) {
    .two-columns-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Features Grid ─────────────────────────────────────────────────────── */
.block-features-grid { padding: 100px 0; }
.features-grid {
    display: grid;
    gap: 28px;
    margin-top: 48px;
}
.features-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.features-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.features-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 32px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.feature-icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light, var(--primary)));
    color: #fff;
    margin-bottom: 18px;
}
.feature-icon svg { width: 28px; height: 28px; fill: currentColor; }
.feature-card h3 {
    font-family: var(--font-head);
    font-size: 20px; font-weight: 700;
    margin: 0 0 10px;
}
.feature-text { font-size: 15px; line-height: 1.65; color: rgba(0,0,0,0.7); }
.bg-3 .feature-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
@media (max-width: 960px) {
    .features-grid.cols-3, .features-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr !important; }
}

/* ── Accordion / FAQ ───────────────────────────────────────────────────── */
.block-accordion { padding: 100px 0; }
.accordion-list {
    max-width: 820px;
    margin: 40px auto 0;
    display: flex; flex-direction: column; gap: 12px;
}
.accordion-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
}
.accordion-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600;
    font-size: 17px;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-chevron {
    transition: transform 0.25s ease;
    fill: currentColor;
    flex-shrink: 0;
}
.accordion-item[open] .accordion-chevron { transform: rotate(180deg); }
.accordion-body {
    padding: 0 24px 22px;
    font-size: 16px; line-height: 1.7;
    color: rgba(0,0,0,0.75);
}
.bg-3 .accordion-item { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.bg-3 .accordion-body { color: rgba(255,255,255,0.75); }

/* ── Gallery ───────────────────────────────────────────────────────────── */
.block-gallery { padding: 100px 0; }
.gallery-grid {
    display: grid;
    gap: 20px;
    margin-top: 48px;
}
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #eee;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 18px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8));
    color: #fff; font-size: 14px;
}
@media (max-width: 720px) {
    .gallery-grid.cols-3, .gallery-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr !important; }
}

/* ── Team ──────────────────────────────────────────────────────────────── */
.block-team { padding: 100px 0; }
.team-grid {
    display: grid; gap: 28px;
    margin-top: 48px;
}
.team-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.team-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.team-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.team-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
}
.team-avatar {
    width: 120px; height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light, var(--accent-cyan, #4fc3f7)));
    display: flex; align-items: center; justify-content: center;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-initials {
    font-family: var(--font-head);
    font-size: 36px; font-weight: 800; color: #fff;
}
.team-name {
    display: block; font-family: var(--font-head);
    font-size: 18px; font-weight: 700; margin-bottom: 4px;
}
.team-role {
    display: block; font-size: 14px; color: rgba(0,0,0,0.6);
    margin-bottom: 16px;
}
.team-contact {
    display: flex; flex-direction: column; gap: 6px;
    align-items: center;
}
.team-link {
    font-size: 14px; color: var(--primary);
    display: inline-flex; align-items: center; gap: 6px;
    text-decoration: none;
}
.team-link svg { width: 16px; height: 16px; fill: currentColor; }
.team-link:hover { text-decoration: underline; }
.bg-3 .team-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.bg-3 .team-role { color: rgba(255,255,255,0.65); }
@media (max-width: 960px) {
    .team-grid.cols-3, .team-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr !important; }
}

/* ── Logo-Cloud ────────────────────────────────────────────────────────── */
.block-logo-cloud { padding: 80px 0; }
.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: center;
    margin-top: 40px;
}
.logo-item {
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    min-height: 80px;
    transition: transform 0.25s ease;
}
.logo-item:hover { transform: translateY(-2px); }
.logo-item img {
    max-width: 100%; max-height: 60px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter 0.25s, opacity 0.25s;
}
.logo-item:hover img { filter: grayscale(0); opacity: 1; }
.bg-3 .logo-item { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.08); }
@media (max-width: 900px) {
    .logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Stats-Strip ───────────────────────────────────────────────────────── */
.block-stats-strip { padding: 80px 0; }
.stats-grid {
    display: grid;
    gap: 40px;
    text-align: center;
    margin-top: 40px;
}
.stats-grid-2 { grid-template-columns: repeat(2, 1fr); }
.stats-grid-3 { grid-template-columns: repeat(3, 1fr); }
.stats-grid-4 { grid-template-columns: repeat(4, 1fr); }
.stat-item .stat-value {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.stat-item .stat-label {
    display: block;
    font-size: 15px;
    color: rgba(0,0,0,0.65);
    margin-top: 8px;
}
.bg-3 .stat-item .stat-value { color: var(--accent-cyan, #4fc3f7); }
.bg-3 .stat-item .stat-label { color: rgba(255,255,255,0.75); }
@media (max-width: 720px) {
    .stats-grid-3, .stats-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Process Steps ─────────────────────────────────────────────────────── */
.block-process { padding: 100px 0; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 48px;
    counter-reset: step;
}
.process-step {
    position: relative;
    padding: 32px 28px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
}
.process-step-num {
    font-family: var(--font-head);
    font-size: 42px; font-weight: 800;
    color: rgba(0,0,0,0.08);
    line-height: 1;
    margin-bottom: 16px;
}
.process-step h3 {
    font-family: var(--font-head);
    font-size: 19px; font-weight: 700; margin: 0 0 10px;
}
.process-step-text { font-size: 15px; line-height: 1.65; color: rgba(0,0,0,0.7); }
.process-step-icon { margin-bottom: 14px; }
.process-step-icon svg { width: 32px; height: 32px; fill: var(--primary); }
.bg-3 .process-step { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.bg-3 .process-step-num { color: rgba(255,255,255,0.15); }
@media (max-width: 960px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }

/* ── Timeline ──────────────────────────────────────────────────────────── */
.block-timeline { padding: 100px 0; }
.timeline-list {
    position: relative;
    max-width: 760px;
    margin: 48px auto 0;
    padding-left: 32px;
}
.timeline-list::before {
    content: '';
    position: absolute; top: 8px; bottom: 8px; left: 8px;
    width: 2px;
    background: rgba(0,0,0,0.1);
}
.timeline-item {
    position: relative;
    padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
    position: absolute; left: -32px; top: 4px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}
.timeline-date {
    display: inline-block;
    font-size: 13px; font-weight: 700;
    color: var(--primary); letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.timeline-item h3 {
    font-family: var(--font-head);
    font-size: 20px; font-weight: 700; margin: 0 0 8px;
}
.timeline-text { font-size: 15px; line-height: 1.65; color: rgba(0,0,0,0.7); }
.bg-3 .timeline-list::before { background: rgba(255,255,255,0.15); }
.bg-3 .timeline-marker { border-color: var(--dark-900, #0f1419); }
.bg-3 .timeline-date { color: var(--accent-cyan, #4fc3f7); }

/* ── Testimonials ──────────────────────────────────────────────────────── */
.block-testimonials { padding: 100px 0; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 48px;
}
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid rgba(0,0,0,0.06);
    margin: 0;
    position: relative;
}
.testimonial-card::before {
    content: '"';
    font-family: serif;
    position: absolute;
    top: -6px; left: 20px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.25;
    line-height: 1;
}
.testimonial-card blockquote {
    margin: 0 0 22px;
    font-size: 16px; line-height: 1.7;
    color: rgba(0,0,0,0.85);
    font-style: italic;
}
.testimonial-card figcaption {
    display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan, #4fc3f7));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 15px;
    flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-meta strong { display: block; font-size: 15px; }
.testimonial-meta span { font-size: 13px; color: rgba(0,0,0,0.6); }
.bg-3 .testimonial-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.bg-3 .testimonial-card blockquote { color: rgba(255,255,255,0.9); }
.bg-3 .testimonial-meta span { color: rgba(255,255,255,0.65); }

/* ── Downloads ─────────────────────────────────────────────────────────── */
.block-downloads { padding: 100px 0; }
.downloads-list {
    list-style: none; margin: 40px 0 0; padding: 0;
    max-width: 820px; margin-left: auto; margin-right: auto;
    display: flex; flex-direction: column; gap: 10px;
}
.download-item a {
    display: flex; align-items: center; gap: 18px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.download-item a:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.download-ext {
    flex-shrink: 0;
    width: 52px; height: 52px;
    background: var(--primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    font-size: 12px; font-weight: 800; letter-spacing: 0.05em;
}
.download-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.download-body strong { font-size: 16px; }
.download-text { font-size: 14px; color: rgba(0,0,0,0.6); }
.download-meta { font-size: 13px; color: rgba(0,0,0,0.5); white-space: nowrap; }
.bg-3 .download-item a { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); color: #fff; }
.bg-3 .download-text, .bg-3 .download-meta { color: rgba(255,255,255,0.6); }

/* ── Video ─────────────────────────────────────────────────────────────── */
.block-video { padding: 100px 0; }
.block-video .video-text {
    max-width: 720px; margin: 0 auto 32px;
    font-size: 17px; line-height: 1.7; text-align: center;
}
.video-embed {
    position: relative;
    aspect-ratio: 16/9;
    max-width: 960px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #000 center/cover no-repeat;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.video-embed iframe,
.video-embed video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}
.video-poster img {
    width: 100%; max-width: 960px;
    margin: 0 auto; display: block;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* ── Image Full-Width ──────────────────────────────────────────────────── */
.block-image-full { padding: 40px 0; }
.block-image-full figure { margin: 0; }
.block-image-full img { width: 100%; height: auto; display: block; }
.image-full-caption {
    max-width: 1200px;
    margin: 14px auto 0;
    padding: 0 20px;
    text-align: center;
    font-size: 14px;
    color: rgba(0,0,0,0.6);
}
.image-full-caption strong { display: block; color: rgba(0,0,0,0.85); margin-bottom: 2px; }

/* ── Spacer ────────────────────────────────────────────────────────────── */
.block-spacer { width: 100%; }
.block-spacer.spacer-small  { height: 40px; }
.block-spacer.spacer-medium { height: 80px; }
.block-spacer.spacer-large  { height: 140px; }

/* ── Map ───────────────────────────────────────────────────────────────── */
.block-map { padding: 80px 0; }
.map-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 40px;
    align-items: stretch;
}
.map-iframe {
    border-radius: 16px; overflow: hidden;
    aspect-ratio: 16/10; background: #eee;
}
.map-iframe iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-address {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 32px 28px;
    font-size: 16px; line-height: 1.7;
}
.bg-3 .map-address { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
@media (max-width: 860px) { .map-wrap { grid-template-columns: 1fr; } }

/* ── Embed ─────────────────────────────────────────────────────────────── */
.block-embed { padding: 80px 0; }
.embed-wrap { margin-top: 32px; }

/* ── Contact Form ──────────────────────────────────────────────────────── */
.block-contact-form { padding: 100px 0; }
.contact-form-wrap { max-width: 720px; margin: 40px auto 0; }

/* ── Section-Header (gemeinsam) ────────────────────────────────────────── */
.section-header {
    max-width: 780px;
    margin: 0 auto 24px;
}
.section-header h2 {
    font-family: var(--font-head);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    margin: 10px 0 14px;
    line-height: 1.15;
}
.section-header p {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(0,0,0,0.7);
    margin: 0;
}
.bg-3 .section-header p { color: rgba(255,255,255,0.75); }

/* ─── Hero-Stats (aus Stats-Repeater) ─────────────────────────────── */
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 700;
    color: #4fc3f7;
}
.hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

/* ─── CTA-Wrapper aus CKEditor (<p><a class="btn …">) ──────────────── */
.hero-actions p,
.text-image-ctas p,
.karriere-cta-group p,
.cta-buttons p,
.news-header-cta p,
.branchen-panel-cta p {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hero-actions { margin-top: 32px; }
.text-image-ctas { margin-top: 24px; }
.news-header-cta p { gap: 0; }

/* Links aus CKEditor-Output, die KEINE btn-Klasse haben, im Body neutral */
.text-image-body a:not(.btn),
.richtext-body a:not(.btn) {
    color: var(--primary);
    text-decoration: underline;
}

/* Newsletter-Defaults, falls nicht vorhanden */
.newsletter-left .section-label { color: var(--primary); }
