/* --------------------------------------------------------------
   NETWISE IT – Clean & Optimized Styles
----------------------------------------------------------------*/

/* NEU: Smooth Scrolling für Anker-Links */
html {
    scroll-behavior: smooth;
}

/* ========================= */
/* 1. VARIABLES & TYPOGRAPHY */
/* ========================= */

:root {
  /* Colors */
  --bg: #f4f6fa;
  --bg-section: #ffffff;
  --primary: #1a2b6c;
  --primary-soft: #3e63dd;
  --text: #1b1b1d;
  --text-muted: #505060;
  --border: #d3d6de;

  --footer-bg: #0f1220;
  --footer-bg-2: #0c0e1a;
  --footer-text: #c7c9d6;
  --footer-link: #c7c9d6;
  --footer-link-hover: #ffffff;

  --grad-primary: linear-gradient(135deg, #1a2b6c 0%, #243b8a 100%);
  --grad-primary-hover: linear-gradient(135deg, #233a85 0%, #304ba8 100%);

  /* Spacing System */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 72px;

  /* Font Sizes */
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-md: 1.06rem;
  --fs-lg: 1.3rem;
  --fs-xl: 2rem;
  --fs-xxl: 2.5rem;
}

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

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

/* Section Padding Standard */
section {
  padding: var(--space-xl) 0;
}

/* ========================= */
/* 2. BUTTONS */
/* ========================= */

.btn-primary {
  background: var(--grad-primary);
  color: white;
  padding: 0.78rem 1.45rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(26,43,108,0.26);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-primary:hover {
  background: var(--grad-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(26,43,108,0.32);
}

/* Hero Special Boost Button */
.btn-primary.hero-cta-boost {
    font-size: 1.15rem;
    padding: 16px 28px;
    box-shadow: 0 8px 25px rgba(27,31,59,0.25);
    background: linear-gradient(135deg, #2B3A88 0%, #1B1F3B 100%);
}
.btn-primary.hero-cta-boost:hover {
    box-shadow: 0 12px 32px rgba(27,31,59,0.35);
}

/* 1. Container-Reset und Styling */
    .mobile-cta-divider {
        /* Stellt sicher, dass die vorherige Linie entfernt wird */
        position: relative; 
        
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 20px 6vw; /* Seitliches Padding für den Abstand zum Rand */
        text-align: center;
        
        /* Hervorhebung des Containers */
        background-color: var(--bg); /* Optional: Leichter Kontrast zum Hintergrund */
        border-top: 1px solid rgba(0,0,0,0.06); /* Subtile obere Trennung */
        border-bottom: 1px solid rgba(0,0,0,0.06); /* Subtile untere Trennung */
    }

    /* Entfernt die fehlerhafte ::before Linie */
    .mobile-cta-divider::before {
        display: none;
    }


    /* 3. Hover-Effekte */
    .mobile-cta-divider a:hover {
        background: var(--grad-primary-hover);
        box-shadow: 0 10px 30px rgba(26,43,108,0.4);
        transform: translateY(-2px);
    }

    /* 2. Styling des Links als prominenter Gradient-Button (unabhängig von der Klasse) */
    .mobile-cta-divider a {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;

        padding: 16px 30px;
        border-radius: 8px;
        
        /* NEU/PRÄZISIERT: Entfernt die Unterstreichung und erzwingt die Farbe */
        text-decoration: none; 
        color: white; 
        
        font-weight: 700;
        font-size: 1.15rem;
        letter-spacing: 0.5px;
        
        background: var(--grad-primary);
        box-shadow: 0 8px 25px rgba(26,43,108,0.3); 
        transition: all 0.3s ease;
    }



/* ========================= */
/* 3. HEADER & NAVIGATION */
/* ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-cta-btn {
    margin-left: 20px;
    white-space: nowrap;
}

/* Hamburger Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 500;
}

.nav-toggle span {
  width: 100%;
  height: 3px;
  background: #1a1a1a;
  border-radius: 4px;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 0 1.25rem;
  gap: 0.8rem;
  z-index: 500;
}

.nav-mobile a {
  text-decoration: none;
  font-size: 1.1rem;
  color: var(--text);
  padding: 8px 0;
}

/* Header Responsive */
@media (max-width: 900px) {
  .nav-links, .nav-cta-btn { display: none !important; }
  .nav-toggle { display: flex; }
  .nav-mobile.open { display: flex; }
}

/* ========================= */
/* 4. HERO SECTION */
/* ========================= */

.hero {
  background: #ffffff;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,0.8fr);
  gap: 4rem;
  align-items: center;
}

.brand-badge {
    background: #1A2B6C;
    color: #fff;
    padding: 2px 8px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.95em;
    display: inline-block;
    transform: translateY(-1px);
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: var(--fs-xxl);
  line-height: 1.22;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}

.hero-highlight { color: var(--primary); }

.hero-sub {
    font-size: var(--fs-md);
    line-height: 1.65;
    max-width: 600px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 1rem 0 1.6rem;
}

.hero-bullet {
    font-size: 0.98rem;
    color: #0d1b4c;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-bullet::before {
    content: "✔";
    color: #1A7F43;
    font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.cta-trustline {
    font-size: 0.85rem;
    color: #5A6075;
    opacity: 0.85;
}

/* Trust Bar (Right Side of Hero) - BASE STYLES */
.trust-hero-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 28px 32px;
    background: #F7F9FC;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
    max-width: 420px;
    margin-left: auto;
}

.t-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 18px 16px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}
.t-card:hover { transform: translateY(-3px); }

.t-card strong {
    font-size: 1.4rem;
    color: #1A2B6C;
    margin-bottom: 4px;
    display: block;
}
.t-card span {
    font-size: 0.85rem;
    color: #5A6075;
}

/* 🚀 NEU: Styles für die Pulse-Version (Dashboard Look) */
.trust-hero-bar.pulse-version {
    /* Optimiert: Linear Gradient für weicheren, tieferen Look */
    background: linear-gradient(145deg, #10152a 0%, #151b3a 100%); 
    /* Höherer, technischer Box-Shadow */
    box-shadow: 0 12px 40px rgba(0,0,0,0.28), 0 0 0 1px rgba(255,255,255,0.08); 
    /* Zentriert den Block vertikal */
    align-content: center; 
    
    /* Layout für 5 Elemente (2x2 + 1 Center) */
    grid-template-areas: 
        "top-left top-right"
        "center center"
        "bottom-left bottom-right";
}

.trust-hero-bar.pulse-version .t-card {
    /* Dunklere Einzelkarten für den Status-Look */
    background: #1a2b6c; 
    border: none;
    box-shadow: none; 
    padding: 18px 16px;
}

/* Spezifische Grid-Zuordnung */
.trust-hero-bar.pulse-version .top-left { grid-area: top-left; }
.trust-hero-bar.pulse-version .top-right { grid-area: top-right; }
.trust-hero-bar.pulse-version .bottom-left { grid-area: bottom-left; }
.trust-hero-bar.pulse-version .bottom-right { grid-area: bottom-right; }


.trust-hero-bar.pulse-version strong {
    color: #ffffff; /* Weiße Zahl */
}
.trust-hero-bar.pulse-version span {
    color: #aeb5cc; /* Heller, gedämpfter Text */
}
.trust-hero-bar.pulse-version .t-card:hover { 
    transform: translateY(-2px); 
    background: #243b8a; /* Leichter Hover-Effekt */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 🟢 ZENTRALE PULSE-KARTE (größer und animiert) */
.pulse-card {
    grid-area: center;
    /* Optimiert: Radialer Verlauf für mehr Tiefe */
    background: radial-gradient(circle at center, #243b8a 0%, #1a2b6c 100%) !important; 
    padding: 24px 16px !important;
    margin: 10px 0;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    
    cursor: default;
}
.pulse-card:hover {
    transform: none !important; 
    background: radial-gradient(circle at center, #243b8a 0%, #1a2b6c 100%) !important;
    box-shadow: none !important;
}

/* ⚡ PULSE ANIMATION (CSS Keyframes) - MIT GRÜNEM GLOW */
@keyframes pulse {
    /* Startpunkt: Starkes inneres Leuchten */
    0% { 
        transform: scale(1); 
        box-shadow: 0 0 10px rgba(2, 182, 98, 0.7), 0 0 0 0 rgba(2, 182, 98, 0.4); 
    } 
    /* Höhepunkt: Schatten nach außen auf 35px */
    70% { 
        transform: scale(1.02); 
        box-shadow: 0 0 10px rgba(2, 182, 98, 0.7), 0 0 0 35px rgba(2, 182, 98, 0); 
    } 
    /* Ende: kehrt zum Startpunkt zurück */
    100% { 
        transform: scale(1); 
        box-shadow: 0 0 10px rgba(2, 182, 98, 0.7), 0 0 0 0 rgba(2, 182, 98, 0.4); 
    } 
}

.pulse-icon {
width: 60px;
    height: 60px;
    border-radius: 50%;
    /* 1. HINTERGRUNDFARBE DES ICONS (Basis-Blau) */
    background: #3e63dd; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    
    /* Animation anwenden */
    animation: pulse 2.5s infinite;
    /* 2. STATISCHER GLOW (Helles Blau / #85a7ff) */
    box-shadow: 0 0 16px rgba(133, 167, 255, 1);
}

.pulse-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 2.2;
}

.pulse-card strong {
    font-size: 1.1rem !important; 
    color: #ffffff;
}
.pulse-card span {
    font-size: 0.9rem;
    color: #c0f4df;
    font-weight: 500;
}


/* Hero Responsive */
@media (max-width: 900px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  .hero-title { font-size: 1.9rem; }
  .trust-hero-bar { margin: 0 auto; width: 100%; max-width: 100%; }
  .hero-actions { width: 100%; }
  .hero-actions a { width: 100%; text-align: center; }

  /* NEU: Mobile Anpassung für Pulse-Version (stapelt sich vertikal) */
  .trust-hero-bar.pulse-version {
      grid-template-columns: 1fr;
      grid-template-areas: 
        "center"
        "top-left" 
        "top-right"
        "bottom-left" 
        "bottom-right";
  }
  .trust-hero-bar.pulse-version .t-card {
      text-align: left;
      padding: 16px;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
  }
  .trust-hero-bar.pulse-version .t-card strong {
      font-size: 1.2rem;
  }
  .trust-hero-bar.pulse-version .pulse-card {
      flex-direction: column;
      margin-bottom: 10px;
  }

  .trust-hero-bar.pulse-version {
      display: none;
  }

}

/* ========================= */
/* 5. PAIN SECTION (UX-PERFEKTION – 100% FIX) */
/* ========================= */

.pain-pro-section {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.pain-pro-title {
    text-align: center;
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.pain-pro-sub {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.6rem;
    color: var(--text-muted);
    font-size: var(--fs-md);
    line-height: 1.65;
}

.pain-pro-list {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 2.4rem;
    /* FIX: Fügt am unteren Rand des gesamten Grids einen zusätzlichen Abstand hinzu */
    margin-bottom: var(--space-xl); /* Ca. 48px Abstand zum nächsten Element */
}

.pain-pro-item {
    border-radius: 22px;
    padding: 2.2rem 2rem;
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    border: 1px solid rgba(26,43,108,0.08);
    box-shadow: 0 14px 32px rgba(18, 24, 54, 0.08);
    transition: .3s ease;
}
.pain-pro-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(26,43,108,0.18);
}


/* 🛑 FIX: IKONEN-FORM UND FARBE (100% Kreis Garantie) */
.pain-pro-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    
    /* FIX: Garantiert Perfekter Kreis (mit großem Pixelwert) */
    border-radius: 999px !important; 
    
    margin-bottom: var(--space-md);
    background: rgba(182, 26, 26, 0.12); 
    transition: background 0.2s ease;
}

.pain-pro-icon svg {
    width: 28px;
    height: 28px;
    stroke: #b61a1a; /* Dunkles Rot */
}


/* 📐 FIX: VERTICAL ALIGNMENT UND CONTENT-HIERARCHIE */
.pain-pro-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
    /* NEU: Zentriert die Elemente (Titel, P, Badge) horizontal im Card-Inhalt */
    align-items: center; 
    text-align: center; /* Zentriert auch Textblöcke */
}

.pain-pro-content h3 {
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 700; /* Stärkerer Titel */
    margin: 0 0 0.25rem 0; /* Weniger Abstand zum Text */
    line-height: 1.35;
}

.pain-pro-content p {
    font-size: 0.95rem; 
    color: var(--text-muted);
    line-height: 1.45;
    margin-top: 0;
    margin-bottom: 0.6rem; 
    
    /* WICHTIG: Erlaubt dem Badge, sich zu bewegen */
    flex-grow: 0; /* Von 1 auf 0 setzen, damit der Absatz nicht den ganzen Platz füllt */
    
    /* NEW: Zentriert den Absatztext, falls er kürzer ist */
    text-align: center; 
    max-width: 90%; /* Verhindert, dass der Text die volle Breite einnimmt */
}


/* 🟢 FIX: LÖSUNGS-BADGE (WIRD ZUM GENIALEN GRADIENT-BADGE) */
.pain-solution-badge {
    /* Style Basis des Badges */
    display: inline-flex;
    align-items: center;
    justify-content: center; 
    padding: 6px 14px; 
    border-radius: 999px; 
    font-size: 14px; 
    font-weight: 600;
    text-decoration: none; 
    transition: all 0.22s ease; 
    
    /* Farben (Genial: Nutzt den Primär-Gradient) */
    background: var(--grad-primary);
    color: white; 
    box-shadow: 0 4px 10px rgba(26, 43, 108, 0.3); 
    border: none;
    
    /* WICHTIG: Positionierung in der Box */
    margin-top: 10px; /* NEW: Fügt Abstand nach oben (unten vom Text) hinzu */
    margin-bottom: 0; /* NEW: Entfernt unnötigen Platz nach unten */
    
    /* Zentrierung */
    width: auto; 
    align-self: center; /* NEW: Stellt sicher, dass das Badge horizontal zentriert ist */
}

.pain-solution-badge:hover {
    /* Hover-Effekt */
    background: var(--grad-primary-hover);
    transform: translateY(-2px); 
    box-shadow: 0 6px 14px rgba(26, 43, 108, 0.38); 
}

.scroll-indicator {
    display: none; /* Standardmäßig auf Desktop verstecken */
}
/* ----------------------------------- */
/* MOBILE OPTIMIERUNG: PAIN-LIST (Horizontal Scroll) */
/* ----------------------------------- */
@media (max-width: 800px) {
.pain-pro-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 1.6rem; 
        
        /* Entfernt Edge-to-Edge-Scroll */
        margin-left: 0; 
        margin-right: 0; 

        /* Padding zur Zentrierung der ersten und letzten Karte im Viewport */
        padding-left: 5vw; 
        padding-right: 5vw; 
        padding-bottom: 10px; /* Kleiner Abstand zur Scrollbar-Ebene */

        /* Scroll Snap für perfektes Einrasten */
        scroll-snap-type: x mandatory;

        /* Versteckt die Scrollbar */
        -ms-overflow-style: none;
        scrollbar-width: none;
        mask-image: none; 
        -webkit-mask-image: none;
    }

    .pain-pro-list::-webkit-scrollbar {
        display: none;
    }

    .pain-pro-item {
        flex-shrink: 0;
        width: 90vw; /* Karte nimmt 90% des Viewports ein */
        max-width: 340px; 
        
        /* Stellt sicher, dass die Karte in der Mitte einrastet */
        scroll-snap-align: center; 
        
        padding: 1.8rem 1.6rem; 
    }

    .pain-pro-item:hover {
        transform: none; 
        box-shadow: 0 14px 32px rgba(18, 24, 54, 0.08); 
    }


/* 🎯 SCROLL INDIKATOR INNERHALB DER KACHELN (BASIS) */
    .scroll-indicator {
        display: flex !important; 
        justify-content: center;
        gap: 8px; 
        margin-top: 20px; 
        padding-top: 15px;
        
        border-top: 1px solid var(--border); 
        
        width: 100%;
    }

    .scroll-indicator span {
        display: block;
        width: 8px; 
        height: 8px;
        border-radius: 50%;
        /* Basis-Farbe (Gedämpft und niedrigere Deckkraft) */
        background-color: var(--text-muted); 
        opacity: 0.4;
        transition: background-color 0.3s ease;
    }
    
    /* ----------------------------------------------------- */
    /* 🌟 HIGHLIGHTING LOGIC (1. Punkt in 1. Kachel, etc.) */
    /* ----------------------------------------------------- */

    /* KACHEL 1, 4, 7...: Erster Punkt ist hervorgehoben */
    .pain-pro-item:nth-child(3n + 1) .scroll-indicator span:nth-child(1) {
        background-color: var(--primary); 
        opacity: 0.8;
    }

    /* KACHEL 2, 5, 8...: Zweiter Punkt ist hervorgehoben */
    .pain-pro-item:nth-child(3n + 2) .scroll-indicator span:nth-child(2) {
        background-color: var(--primary); 
        opacity: 0.8;
    }

    /* KACHEL 3, 6, 9...: Dritter Punkt ist hervorgehoben */
    .pain-pro-item:nth-child(3n + 3) .scroll-indicator span:nth-child(3) {
        background-color: var(--primary); 
        opacity: 0.8;
    }
}

/* ========================= */
/* 6. BEFORE / AFTER */
/* ========================= */

.before-after-section {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.before-after-title {
    text-align: center;
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.before-after-sub {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.4rem;
    color: var(--text-muted);
    font-size: 1.12rem;
    line-height: 1.68;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.4rem;
}

.ba-card {
    border-radius: 24px;
    padding: 2.4rem 2.2rem;
    border: 1px solid rgba(26,43,108,0.08);
    box-shadow: 0 14px 32px rgba(18, 24, 54, 0.08);
    transition: .3s ease;
}
.ba-before { background: #f7f9ff; }
.ba-after { background: #fff; }

.ba-card:hover { transform: translateY(-4px); }

.ba-label {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.1rem;
    margin-top: 0;
}

.ba-label.before { color: #b61a1a;; }
.ba-label.after { color: #1a7f43; }

.ba-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ba-list li {
    padding-left: 28px;
    margin-bottom: 0.85rem;
    position: relative;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.45;
}

.ba-before .ba-list li::before {
    content: "✖";
    position: absolute;
    left: 0;
    top: 2px;
    color: #b61a1a;
    font-weight: 700;
}
.ba-after .ba-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 2px;
    color: #1A7F43;
    font-weight: 700;
}

/* ========================= */
/* 7. TRUST & REGION BAR */
/* ========================= */

.trust-section {
    background: #F5F7FA;
    padding: var(--space-md) 0;
}

.trust-grid.compact {
    display: grid;
    /* Desktop: 4 bis X Spalten, jede mind. 220px breit */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.trust-card.compact {
    background: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 10px;
}
.trust-card.compact .trust-icon { font-size: 1.3rem; }
.trust-card.compact h4 { font-size: 0.9rem; margin: 0; color: #333; }

/* ----------------------------------- */
/* MOBILE OPTIMIERUNG (Horizontal Scroll) */
/* ----------------------------------- */
@media (max-width: 600px) {
    .trust-grid.compact {
        /* Zurück zum Grid, aber jetzt nur noch 2 Spalten */
        display: grid; 
        /* Erzwingt 2 gleich breite Spalten */
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
        /* WICHTIG: Entfernt alle vorherigen negativen Ränder vom Scroll-Fix */
        margin: 0; 
        padding: 0;
        overflow-x: visible;
        
        /* Stellt sicher, dass das Layout sauber ist, auch wenn das Container-Padding aktiv ist */
        padding-left: 0;
        padding-right: 0;
    }

    /* Entfernt die festen Breiten, damit die Karten wieder 100% der 2 Grid-Spalten einnehmen */
    .trust-card.compact {
        width: auto; 
        flex-shrink: 1;
        margin-right: 0;
    }
    
    /* Optional: Passt die Textgröße im 2xN Grid an, da die Karten kleiner sind */
    .trust-card.compact h4 {
        font-size: 0.8rem;
    }
}


/* ========================= */
/* 8. FEATURES / SERVICES */
/* ========================= */

.netwise-features {
  background: linear-gradient(180deg, #f6f8fc 0%, #f4f6fa 100%);
}

/* Intro Block */
.nw-intro-block.pulse-version {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 36px 44px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(14, 23, 55, 0.08);
    border: 1px solid rgba(26, 43, 108, 0.08);
    margin-bottom: 64px;
}

.pulse-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    background: rgba(26, 43, 108, 0.10);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: subtlePulse 2.4s ease-in-out infinite;
}
@keyframes subtlePulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.075); opacity: 0.93; }
    100% { transform: scale(1); opacity: 1; }
}

.nw-intro-text h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0c1a45;
    margin: 0 0 10px 0;
}

.nw-intro-text p {
    font-size: 1.1rem;
    color: #434d72;
    margin: 0;
    line-height: 1.6;
}

/* Feature Grid */
.nf-title {
  text-align: center;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.nf-sub {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.nf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 2.4rem;
}

.nf-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e3e5ef;
  padding: 2.6rem 2.2rem 3rem;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  transition: .3s ease;
  display: flex;
  flex-direction: column;
}

.nf-card:hover {
  transform: translateY(-8px);
  border-color: #d7dcfa;
  box-shadow: 0 18px 38px rgba(26,43,108,0.14);
}

.nf-icon.big-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #eef1fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
}

.nf-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: #eef1fb;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.nf-card h3 {
  color: var(--primary);
  font-size: 1.28rem;
  margin-bottom: .7rem;
  font-weight: 700;
}

.nf-card p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

/* Advantage Box inside card */
.nf-advantage-box {
    margin-top: auto !important;
    padding: 14px 16px;
    background: #f7f9ff;
    border-radius: 12px;
    border: 1px solid #dee3ff;
}

.adv-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1A2B6C;
    text-transform: uppercase;
    background: #e9edff;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
}

.adv-desc {
    margin-top: 8px;
    font-size: 0.87rem;
    color: #1f2754;
    line-height: 1.45;
}

@media (min-width: 768px) {
    .mobile-cta-divider {
        display: none;
    }
}

/* ------------------------------------------------------------- */
/* NEU: Styles für den vereinfachten Info-Block in der Feature-Sektion */
/* ------------------------------------------------------------- */

.nw-intro-block.info-block {
    background: var(--bg); /* Hellgrauer Hintergrund (aus der Variable) */
    padding: 30px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: var(--space-xl);
    border: 1px solid var(--border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nw-intro-block.info-block .nw-intro-icon {
    /* Setzt das Icon auf eine normale, nicht-pulsierende Größe/Farbe */
    width: 60px;
    height: 60px;
    background: #ffffff; /* Weißer Hintergrund */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nw-intro-block.info-block .nw-intro-icon svg {
    /* Stellt sicher, dass das Icon die volle Größe annimmt */
    width: 28px;
    height: 28px;
}

.nw-intro-block.info-block h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--primary);
}


@media (max-width: 800px) {
    /* NW INTRO BLOCK (Bleibt fast gleich) */
    .nw-intro-block.pulse-version {
        /* Stapelt Icon und Text vertikal untereinander */
        flex-direction: column; 
        /* Behält die linksbündige Ausrichtung bei, damit der Text links ausgerichtet bleibt */
        align-items: flex-start;
        /* Reduziert den Innenabstand des Blocks für mehr Platz */
        padding: 24px; 
        gap: 20px;
        margin-bottom: 40px;
    }

    .nw-intro-block.info-block {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    /* ZENTRIERUNG DES ICONS: */
    .pulse-icon {
        /* Sorgt dafür, dass das Icon trotz flex-direction: column mittig ist */
        width: 100%; 
        margin-left: auto;
        margin-right: auto;
        max-width: 70px;
    }

    /* Passt die Überschrift und den Paragraphen an kleine Bildschirme an */
    .nw-intro-text h3 {
        font-size: 1.4rem;
    }

    .nw-intro-text p {
        font-size: 1rem;
    }

/* ------------------------------------------- */
/* NEU: Netwise Features Slider / Mobile only */
/* ------------------------------------------- */
@media (max-width: 992px) {
    
    /* 1. Container (.nf-grid) */
    .nf-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        
        /* Wichtige zentrierende Paddings (100vw - 88vw = 12vw / 2 = 6vw) */
        padding-left: 6vw; 
        padding-right: 6vw; 
        
        gap: 20px; /* Abstand zwischen den Karten */
        padding-bottom: 30px; 
        
        /* Scroll Snap */
        scroll-snap-type: x mandatory;

        /* Scrollbar ausblenden */
        -ms-overflow-style: none;
        scrollbar-width: none;
        /* Scrollbar ausblenden (Chrome/Safari/Opera) */
        &::-webkit-scrollbar {
            display: none;
        }
        /* Grid-Definitionen auf Mobile überschreiben */
        grid-template-columns: unset;
    }
    
    /* 2. Karten (.nf-card) */
    .nf-card {
        flex-shrink: 0; 
        width: 88vw; /* Kartengröße für zentriertes Snapping */
        max-width: 340px; 
        /* Snap-Align - Wichtig: Auf Center stellen für zentriertes Scrollen */
        scroll-snap-align: center;
        
        /* Die statischen Pseudo-Elemente werden entfernt (da wir Padding verwenden) */
        &::before, &::after {
            content: unset;
        }
    }
    
    /* 3. Padding für die erste und letzte Karte hinzufügen (Pseudo-Zentrierung) */
    /* Fügt links und rechts Platz hinzu, damit die erste/letzte Karte nicht am Rand klebt */
    .nf-grid::before {
        content: '';
        flex: 0 0 7.5%; 
    }
    .nf-grid::after {
        content: '';
        flex: 0 0 7.5%; 
    }
    
/* ----------------------------------------------------- */
    /* 3. SCROLL INDIKATOR STYLING (Basierend auf Package CSS) */
    /* ----------------------------------------------------- */

    .scroll-inidicator {
        display: flex;
        justify-content: center;
        gap: 8px; 
        margin-top: 20px; 
        padding-top: 15px;
        /* Nutzen Sie Ihre Variablen für Konsistenz */
        border-top: 1px solid var(--border); 
        width: 100%;
    }

    .scroll-inidicator span {
        display: block;
        width: 8px; 
        height: 8px;
        border-radius: 50%;
        /* Nutzen Sie Ihre Variablen für Konsistenz */
        background-color: var(--text-muted); 
        opacity: 0.4;
        transition: background-color 0.3s ease;
    }
}

}

/* ========================= */
/* 9. PACKAGES / PRICING */
/* ========================= */

.netwise-packages.premium {
    background: #f8f9fb;
    border-top: 1px solid rgba(0,0,0,0.03);
}

.packages-title {
    text-align: center;
    font-size: var(--fs-xl);
    font-weight: 700;
    color: #1A2B6C;
    margin-bottom: 6px;
}

.packages-sub {
    text-align: center;
    font-size: 0.95rem;
    color: #4a4a4a;
    max-width: 680px;
    margin: 0 auto 48px auto;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 32px;
}

.package-card {
    background: #fff;
    padding: 32px 26px;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: all .2s ease;
}
.package-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,0.08); }

.package-card.highlight {
    border: 2px solid #1A2B6C;
    box-shadow: 0 14px 36px rgba(26,43,108,0.14);
}

.package-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
}
.package-badge.starter { background: #6B7C9B; }
.package-badge.firewall { background: #1A2B6C; }
.package-badge.complete { background: #3A3A3A; }

.package-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.package-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.package-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #333;
    padding-left: 16px;
    position: relative;
}
.package-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #1A2B6C;
    font-weight: 700;
}

.package-spacer { flex-grow: 1; }

.dns-mini-product {
    font-size: 0.9rem;
    color: #1A2B6C;
    background: #eef3ff;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    line-height: 1.45;
    border-left: 3px solid #1A2B6C;
}

.package-footer { margin-top: 24px; }

.package-price {
    font-size: 1rem;
    font-weight: 700;
    color: #1A2B6C;
    margin-bottom: 12px;
    display: block;
}
.setup-note {
    font-size: 0.82rem;
    color: #6b7280;
    margin-top: -6px;
    margin-bottom: 10px;
}
.pkg-btn { width: 100%; display: block; text-align: center; }

.package-hint {
    text-align: center;
    margin-top: 38px;
    font-size: 0.85rem;
    color: #777;
}

@media (max-width: 800px) {
    
    /* 1. Container (package-grid) - Überschreibt 'display: grid' und aktiviert Flex-Scrolling */
    .package-grid {
        display: flex; /* WICHTIG: Überschreibt Grid */
        flex-wrap: nowrap; /* WICHTIG: Erzwingt Karten in einer Reihe */
        overflow-x: auto; /* Aktiviert das horizontale Scrollen */
        gap: 24px; 
        
        margin-left: 0; 
        margin-right: 0; 

        /* Zentrierendes Padding (100vw - 88vw = 12vw / 2 = 6vw) */
        padding-left: 6vw; 
        padding-right: 6vw; 
        padding-bottom: 20px; 

        /* Scroll Snap */
        scroll-snap-type: x mandatory;

        /* Scrollbar ausblenden */
        -ms-overflow-style: none;
        scrollbar-width: none;
        mask-image: none; 
        -webkit-mask-image: none;
    }

    .package-grid::-webkit-scrollbar {
        display: none; 
    }
    
    /* 2. Karten (package-card) - Erzwingt die Breite, verhindert das Schrumpfen */
    .package-card {
        flex-shrink: 0; /* WICHTIG: Verhindert, dass die Karten schrumpfen */
        width: 88vw; 
        max-width: 340px; 
        padding: 24px 20px; 
        
        /* Snap-Align */
        scroll-snap-align: center;
    }
    
    /* Hover Deaktivierung (gegen "Festkleben") */
    .package-card:hover { 
        transform: none; 
        box-shadow: 0 6px 20px rgba(0,0,0,0.04); 
        border: 1px solid rgba(0,0,0,0.06); 
    }

    .package-card.highlight:hover {
        box-shadow: 0 14px 36px rgba(26,43,108,0.14); 
        border: 2px solid #1A2B6C; 
    }

    .package-card:last-child {
        margin-right: 0;
    }

    /* ----------------------------------------------------- */
    /* 3. SCROLL INDIKATOR BASIS STYLING (IN der Karte) */
    /* ----------------------------------------------------- */

    .scroll-inidicator {
        /* Wichtig: display: flex ist hier jetzt notwendig */
        display: flex !important; 
        justify-content: center;
        gap: 8px; 
        margin-top: 20px; 
        padding-top: 15px;
        /* Wir verwenden die Desktop-Trennung, falls gewünscht */
        border-top: 1px solid rgba(0,0,0,0.06); 
        width: 100%;
    }

    .scroll-inidicator span {
        display: block;
        width: 8px; 
        height: 8px;
        border-radius: 50%;
        /* Gedämpfte Farbe */
        background-color: var(--text-muted); 
        opacity: 0.4;
        transition: all 0.3s ease;
    }

    /* ----------------------------------------------------- */
    /* 4. HIGHLIGHTING LOGIC (Zyklen 1-2-3) - REPARIERT */
    /* ----------------------------------------------------- */

    /* PACKAGE 1, 4, 7...: Erster Punkt ist hervorgehoben */
    .package-card:nth-child(3n + 1) > .scroll-inidicator span:nth-child(1) {
        /* Hinzugefügt: > und !important */
        background-color: var(--primary) !important; 
        opacity: 0.8 !important;
        width: 10px;
        height: 10px;
    }

    /* PACKAGE 2, 5, 8...: Zweiter Punkt ist hervorgehoben */
    .package-card:nth-child(3n + 2) > .scroll-inidicator span:nth-child(2) {
        /* Hinzugefügt: > und !important */
        background-color: var(--primary) !important; 
        opacity: 0.8 !important;
        width: 10px;
        height: 10px;
    }

    /* PACKAGE 3, 6, 9...: Dritter Punkt ist hervorgehoben */
    .package-card:nth-child(3n + 3) > .scroll-inidicator span:nth-child(3) {
        /* Hinzugefügt: > und !important */
        background-color: var(--primary) !important; 
        opacity: 0.8 !important;
        width: 10px;
        height: 10px;
    }
}


/* ------------------------------------------- */
/* NEU: Netwise Features Slider Mobile (Zentriert wie Packages) */
/* ------------------------------------------- */
@media (max-width: 800px) {
    
    /* 1. Container (.nf-grid) - Aktiviert zentriertes Scrollen */
    .nf-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        
        /* Zentrierendes Padding (100vw - 88vw = 12vw / 2 = 6vw) */
        padding-left: 6vw; 
        padding-right: 6vw; 
        
        gap: 20px; 
        padding-bottom: 30px; 
        
        scroll-snap-type: x mandatory;

        /* Scrollbar ausblenden */
        -ms-overflow-style: none;
        scrollbar-width: none;
        &::-webkit-scrollbar {
            display: none;
        }
        grid-template-columns: unset;
    }
    
    /* 2. Karten (.nf-card) - Größe und Snap-Align */
    .nf-card {
        flex-shrink: 0; 
        width: 88vw; 
        max-width: 340px; 
        scroll-snap-align: center;
    }
    
    /* 3. SCROLL INDIKATOR BASIS STYLING (jetzt IN der Karte) */

    .scroll-inidicator {
        display: flex;
        justify-content: center;
        gap: 8px; 
        margin-top: 20px; 
        padding-top: 15px;
        /* Die Trennlinie wird entfernt, da sie in der Karte unpassend ist */
        /* border-top: 1px solid rgba(0,0,0,0.06); */ 
        width: 100%;
    }

    .scroll-inidicator span {
        display: block;
        width: 8px; 
        height: 8px;
        border-radius: 50%;
        background-color: var(--text-muted); /* Gedämpfte Farbe */
        opacity: 0.4;
        transition: all 0.3s ease;
    }

    /* ----------------------------------------------------- */
    /* 4. HIGHLIGHTING LOGIC (Der finale Fix) */
    /* ----------------------------------------------------- */

    /* Wählt die N-te Karte und hebt den N-ten Punkt hervor */
    .nf-card:nth-child(1) .scroll-inidicator span:nth-child(1),
    .nf-card:nth-child(2) .scroll-inidicator span:nth-child(2),
    .nf-card:nth-child(3) .scroll-inidicator span:nth-child(3),
    .nf-card:nth-child(4) .scroll-inidicator span:nth-child(4),
    .nf-card:nth-child(5) .scroll-inidicator span:nth-child(5),
    .nf-card:nth-child(6) .scroll-inidicator span:nth-child(6) {
        /* Nutzt die Primärfarbe mit höchster Priorität */
        background-color: var(--primary) !important; 
        
        /* Volle Deckkraft für maximalen Kontrast */
        opacity: 1 !important; 
        
        /* Aktiven Punkt leicht vergrößern */
        width: 10px;
        height: 10px;
    }
}

/* ========================= */
/* 10. TESTIMONIALS */
/* ========================= */

.testimonial-section {
    background: linear-gradient(to bottom, #ffffff 0%, #F5F7FA 60%, #F5F7FA 100%);
}

.testimonial-title {
    text-align: center;
    font-size: var(--fs-xl);
    color: #1A2B6C;
    margin-bottom: 10px;
    font-weight: 700;
}

.testimonial-sub {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #555;
}

.testimonial-swiper {
    width: 100%;
    padding-bottom: 40px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease;
}
.testimonial-card:hover { transform: translateY(-4px); }

.testimonial-icon {
    font-size: 42px;
    line-height: 0;
    color: #1A2B6C;
    margin-bottom: 12px;
    font-family: serif;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.55;
    color: #333;
    margin-bottom: 14px;
}

.testimonial-author {
    font-size: 0.92rem;
    color: #777;
    display: block;
}

/* Swiper Dots */
.swiper-pagination-bullet { background: #1A2B6C !important; opacity: .3; }
.swiper-pagination-bullet-active { opacity: 1; }

/* ========================= */
/* 11. DNS SECTION */
/* ========================= */

.dns-section {
    background: #F5F7FF;
    border-top: 1px solid #e4e9f5;
    border-bottom: 1px solid #e4e9f5;
}

.dns-title {
    text-align: center;
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.dns-sub {
    max-width: 740px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--text-muted);
}

.dns-visual-compare {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0 3rem;
}

.dns-visual-item {
    background: #ffffff;
    padding: 1.8rem;
    border-radius: 20px;
    border: 1px solid rgba(26,43,108,0.08);
    box-shadow: 0 8px 26px rgba(18, 24, 54, 0.08);
    text-align: center;
}

.dns-visual-item.is-solution {
    /* Nutzt die Primärfarbe (var(--primary)) für den Rand */
    border: 1px solid var(--primary); 
    /* Erzeugt einen etwas stärkeren, aber immer noch dezenten Schatten */
    box-shadow: 0 8px 26px rgba(26, 43, 108, 0.15); 
}

.dns-visual-item h4 {
    font-size: 1.2rem;
    color: #0f1b4c;
    margin-bottom: 1rem;
    font-weight: 700;
}

.dns-visual-item img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 0.8rem;
}

.dns-visual-text {
    display: inline-block;
    padding: 0.45rem 1rem;
    background: #eef1ff;
    color: #0f1b4c;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
}

.dns-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3.2rem;
}

.dns-stat {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.8rem 1.4rem;
    border: 1px solid rgba(26, 43, 108, 0.08);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-number.malware-color {
    color: #b61a1a;
}

.dns-log-explainer {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* DNS Log Container */
.dns-log-container {
    background: #0f1220;
    color: #e9ecf7;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
    overflow-x: auto;
}

.dns-log-header, .dns-log-row {
    display: grid;
    grid-template-columns: 80px 90px 1fr 150px;
    padding: 0.6rem 0;
    border-bottom: 1px solid #1e2235;
    font-size: 0.92rem;
}
.dns-log-header { font-weight: 700; opacity: 0.8; }

.log-status.blocked { color: #ff5f57; }
.log-status.allowed { color: #28c840; }
.log-status.malware { color: #ffbd2f; }
.log-domain { color: #cdd0ee; font-family: monospace; }
.log-reason { text-align: right; opacity: 0.8; }

@media (max-width: 700px) {
    .dns-log-header, .dns-log-row {
        grid-template-columns: 70px 80px 1fr;
        grid-template-areas: "time status reason" "time domain domain";
    }
    .log-reason { grid-area: reason; text-align: right; }
    .log-domain { grid-area: domain; }

    /* 1. Visueller Vergleich (.dns-visual-item) */
    /* Reduziert das Padding von 1.8rem auf 1.2rem */
    .dns-visual-item {
        padding: 1.2rem;
    }
    
    /* 2. Statistik-Kästen (.dns-stat) */
    /* Reduziert das Padding von 1.8rem 1.4rem auf 1.2rem 1rem */
    .dns-stat {
        padding: 1.2rem 1rem;
    }
    
    /* Optional: Reduziert die Größe der Statistischen Zahlen leicht */
    .stat-number {
        font-size: 1.8rem; /* Von 2rem auf 1.8rem */
    }
    
    /* Optional: Reduziert den Abstand zum Container darunter */
    .dns-stats {
        margin-bottom: 2.5rem; /* Von 3.2rem auf 2.5rem */
    }

    .dns-log-container,
    .dns-log-explainer {
        display: none;
    }

}

/* ========================= */
/* 12. ABOUT & FOUNDER */
/* ========================= */

.about-netwise {
    background: #f9fafc;
}

.about-title {
    text-align: center;
    font-size: var(--fs-xl);
    font-weight: 700;
    color: #1A2B6C;
}

.about-intro {
    text-align: center;
    max-width: 700px;
    margin: 15px auto 50px;
    color: #444;
    font-size: 1.15rem;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 70px;
}

.value-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.value-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1A2B6C;
}
.value-box p { color: #555; line-height: 1.5; }

.about-founder {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}
.founder-text h3 { font-size: 1.5rem; color: #1A2B6C; }
.founder-text p { color: #444; line-height: 1.6; }

@media (max-width: 900px) {

    /* Ihre bestehende Regel wird beibehalten, aber vom Slider überschrieben: */
    .about-values { grid-template-columns: 1fr; } 

    /* ================================================= */
    /* 2. About-Values Mobile Slider (WICHTIG: Überschreibt Grid) */
    /* ================================================= */
    .about-values {
        display: flex;
        grid-template-columns: none; 
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-left: 6vw;
        padding-right: 6vw;
        gap: 20px;
        padding-bottom: 30px; 
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
        margin-bottom: 3.5rem;
    }
    .about-values::-webkit-scrollbar { display: none; }
    .value-box {
        flex: 0 0 88vw;
        scroll-snap-align: center;
        width: 100%; 
    }

    /* ================================================= */
    /* 3. SCROLL INDIKATOR BASIS STYLING & LOGIC         */
    /* ================================================= */

    /* Basis-Styling für den Container und die Punkte */
    .scroll-inidicator {
        display: flex !important; 
        justify-content: center;
        gap: 8px; 
        margin-top: 20px; 
        padding-top: 15px;
        border-top: 1px solid rgba(0,0,0,0.06); 
        width: 100%;
        margin-bottom: -10px;
    }
    .scroll-inidicator span {
        display: block;
        width: 8px; 
        height: 8px;
        border-radius: 50%;
        background-color: var(--text-muted); 
        opacity: 0.4;
        transition: all 0.3s ease;
    }

    /* Dot-Highlighting Logik für PS-Karten und Value-Boxen (Zyklus 3) */
    .ps-card:nth-child(3n + 1) > .scroll-inidicator span:nth-child(1),
    .value-box:nth-child(3n + 1) > .scroll-inidicator span:nth-child(1) {
        background-color: var(--primary) !important; 
        opacity: 0.8 !important;
        width: 10px;
        height: 10px;
    }
    .ps-card:nth-child(3n + 2) > .scroll-inidicator span:nth-child(2),
    .value-box:nth-child(3n + 2) > .scroll-inidicator span:nth-child(2) {
        background-color: var(--primary) !important; 
        opacity: 0.8 !important;
        width: 10px;
        height: 10px;
    }
    .ps-card:nth-child(3n + 3) > .scroll-inidicator span:nth-child(3),
    .value-box:nth-child(3n + 3) > .scroll-inidicator span:nth-child(3) {
        background-color: var(--primary) !important; 
        opacity: 0.8 !important;
        width: 10px;
        height: 10px;
    }
}

/* ========================= */
/* 13. CONTACT SECTION / FOOTER FORM */
/* ========================= */

.contact-section {
    padding: var(--space-xxl) 0;
    background: #fcfdfe; /* Sehr helles Grau */
}

.contact-title {
    text-align: center;
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-sub {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.contact-form-block {
    max-width: 780px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Alle Formular-Elemente (Inputs, Textarea) */
.contact-form-block input:not([type="checkbox"]), 
.contact-form-block textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
}

.contact-form-block textarea {
    resize: vertical;
    min-height: 120px;
    margin-bottom: 1.5rem;
}

/* Topics / Chips (Styling wie im Popup) */
.contact-topics {
    margin-bottom: 1.5rem;
}

.contact-topics > label {
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: var(--text);
}

/* Datenschutz Checkbox */
.contact-privacy {
    margin-top: 10px;
    margin-bottom: 1.5rem;
}

.btn-primary.contact-submit {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 10px;

    background: linear-gradient(135deg, #1b2b76 0%, #22389c 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;

    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;

    box-shadow: 0 8px 18px rgba(14, 21, 71, 0.25);
}

.btn-primary.contact-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(14, 21, 71, 0.38);
    background: linear-gradient(135deg, #22389c 0%, #1b2b76 100%);
}

.btn-primary.contact-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(14, 21, 71, 0.20);
}


/* Mobile Optimierung */
@media (max-width: 600px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }
    
    .form-row input {
        margin-bottom: 1rem;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-sub {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }

    .contact-form-block {
        padding: 20px;
    }
}

/* ========================= */
/* FIX: 13. FINAL CTA + INLINE FORM */
/* ========================= */

/* Begrenzt die Breite des Formulars in der FINAL CTA Sektion */
.final-cta-section .contact-form-block {
    max-width: 680px; /* Macht das Formular schmaler, passend zur CTA */
    margin-left: auto;
    margin-right: auto;
}

/* ========================= */
/* 14. FINAL CTA & FOOTER */
/* ========================= */

.final-cta-section {
    background: #1A2B6C;
    color: #fff;
    text-align: center;
}

.final-cta-title { font-size: 2rem; font-weight: 700; margin-bottom: 15px; }
.final-cta-sub {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,0.88);
}

.final-cta-btn {
    background: #ffffff !important;
    color: #12276B !important;
    padding: 16px 34px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.15);
}
.final-cta-btn:hover { background: #F3F5FA !important; transform: translateY(-2px); }

/* Footer */
.footer-dark {
    background: var(--footer-bg);
    padding-top: 4rem;
    color: var(--footer-text);
}

.footer-dark-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-dark-head { color: #ffffff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-dark-col a {
    display: block;
    color: var(--footer-link);
    text-decoration: none;
    margin-bottom: 0.55rem;
    transition: 0.2s ease;
}
.footer-dark-col a:hover { color: var(--footer-link-hover); transform: translateX(4px); }

.footer-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #1B8F42;
    text-decoration: none;
}
.footer-wa img { width: 16px; height: 16px; }

.footer-dark-social { margin-top: 1rem; display: flex; gap: 1rem; }
.footer-dark-social svg { width: 22px; height: 22px; stroke: var(--footer-link); fill: none; transition: 0.25s ease; }
.footer-dark-social svg:hover { stroke: #ffffff; transform: scale(1.12); }

.footer-dark-bottom { background: var(--footer-bg-2); border-top: 1px solid #2c3045; padding: 1rem 0; }
.footer-dark-bottom-inner { display: flex; justify-content: space-between; color: #aeb1bd; font-size: 0.9rem; }
.footer-dark-bottom-links a { margin-left: 1.4rem; color: #aeb1bd; text-decoration: none; }

.footer-seo {
    text-align: center;
    font-size: 0.85rem;
    color: #bfc4d9;
    margin-top: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 700px) {
    .footer-dark-grid { text-align: center; }
    .footer-dark-social { justify-content: center; }
    .footer-dark-bottom-inner { flex-direction: column; gap: 0.8rem; text-align: center; }
}

/* ========================= */
/* 14. POPUP & UTILITIES (FINAL FIXED VERSION) */
/* ========================= */

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    
    /* Flexbox für Zentrierung */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Status: Versteckt */
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    
    /* WICHTIG für Mobile Scrolling */
    overflow-y: auto; 
    padding: 20px;
}

.popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.popup-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    padding: 2.6rem 2.2rem;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(0,0,0,0.25);
    
    /* FIX: Zentrierung im Flex-Container */
    margin: auto; 
    
    /* Animation Startstatus */
    opacity: 0;
    transform: scale(0.95);
    transition: transform .3s ease, opacity .3s ease;
    
    z-index: 100000;
}

.popup-box.active {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.popup-close {
    position: absolute;
    top: 10px; 
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 26px;
    padding: 5px;
    line-height: 1;
}

.popup-title {
    margin: 0 0 .5rem;
    font-size: 1.55rem;
    font-weight: 700;
    /* FIX: Muss DUNKEL sein, da das Popup hell ist */
    color: var(--text); 
    text-align: center;
}

.popup-text {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    /* FIX: Muss DUNKEL sein, da das Popup hell ist */
    color: var(--text-muted); 
    text-align: center;
    line-height: 1.55;
}

.popup-hint {
    text-align: center;
    /* FIX: Muss DUNKEL sein, da das Popup hell ist */
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

/* Formular Design (Allgemein) */
.popup-form input, 
.popup-form textarea {
    width: 100%;
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
}

.popup-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Topics / Chips Container */
.popup-topics, .contact-topics {
    margin: 10px 0 16px;
}

.popup-topics > label, .contact-topics > label {
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: var(--text);
}

.topic-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.topic-chips label {
    cursor: pointer;
    display: flex;
    user-select: none;
}

.topic-chips input[type="checkbox"],
.topic-chips input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Style des sichtbaren SPAN-Elements (Inaktiver Zustand) */
.topic-chips span {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    
    /* FIX: Kontrast des inaktiven Chips */
    color: var(--text-muted); 
    background: #fcfcfc;
    border: 1px solid var(--border);
}


/* === Close X Button === */
.popup-close-top {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: #6c7393;
    cursor: pointer;
    transition: 0.2s;
}

.popup-close-top:hover {
    color: #1b2b76;
    transform: scale(1.2);
}

/* === Success Icon === */
.success-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    stroke: #1A7F43;
}

/* === Headline === */
.success-message h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1b1f3b;
}

/* === Subtext === */
.success-message p {
    font-size: 1rem;
    color: #4c5278;
    margin-bottom: 1.6rem;
}

/* === Close Button (uses your existing .btn-primary) === */
.close-popup-btn {
    margin-top: 0.3rem;
    padding: 12px 22px;
    font-size: 1rem;
    border-radius: 10px;
    width: 100%;
}

/* === Popup Box === */
.success-message {
    background: #ffffff;
    padding: 2.5rem 2.8rem;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
    width: 100%;
    max-width: 460px;
    text-align: center;
    position: relative;
    animation: popup-fade-in 0.35s ease;
}

/* 🟢 AKTIVER ZUSTAND (FINAL FIX: Garantiert weißer Text) */
/* Selektoren vereinfacht und Spezifität beibehalten */
.popup-form .topic-chips input:checked + span,
.contact-form-block .topic-chips input:checked + span {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    font-weight: 600;
}

/* 🎨 OPTIONAL: Kleiner Hover-Effekt */
.topic-chips span:hover {
    border-color: var(--primary);
}

/* ========================= */
/* ALLGEMEINE FORMULAR-KONTRAST FIXES */
/* ========================= */

/* FIX 1: Platzhaltertexte dunkler für bessere Lesbarkeit auf dem hellen Formularfeld */
.contact-form-block input::placeholder,
.popup-form input::placeholder,
.contact-form-block textarea::placeholder,
.popup-form textarea::placeholder {
    color: #888; /* Dunkelgrau statt Hellgrau */
}

/* FIX 2: Header-Farben für den DUNKELEN FINAL CTA HINTERGRUND auf Weiß setzen */
.final-cta-section .final-cta-title,
.final-cta-section .final-cta-sub {
    /* Alle Texte im dunklen CTA-Bereich auf hell/weiß setzen */
    color: #ffffff !important; 
}

/* Optionale Anpassung: Subtext auf die gedämpfte helle Farbe setzen */
.final-cta-section .final-cta-sub {
    color: var(--footer-text) !important; 
}



/* ========================= */
/*  DATENSCHUTZ CHECKBOX 
/* ========================= */

.popup-privacy {
    margin: 18px 0 18px 0; /* Mehr vertikaler Abstand */
    width: 100%;
    text-align: left; 
}

.privacy-label {
    display: flex;
    align-items: flex-start; /* Stellt sicher, dass der Text bei Mehrzeiligkeit oben beginnt */
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem; /* Leicht vergrößert für bessere Lesbarkeit auf Desktop */
    line-height: 1.45;
    color: var(--text);
}

/* Checkbox-Feld selbst */
.popup-form .privacy-label input[type="checkbox"] {
    /* Setzt feste, überschreibende Werte */
    width: 18px !important;       
    height: 18px !important;
    min-width: 18px !important;
    
    /* WICHTIG: Manuelle vertikale Feinjustierung */
    margin: 0 !important; /* Entfernt jegliche abweichende Margin */
    position: relative;
    top: 2px; /* Verschiebt die Checkbox minimal nach unten für bessere visuelle Mitte */
    
    flex-shrink: 0; 
    appearance: auto;
}

.privacy-label span {
    display: block; /* Stellt sicher, dass der Text den verfügbaren Platz nutzt */
    padding-top: 0;
}

.privacy-label a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

/* Datenschutz-Hinweis (kleiner Text darunter) */
.privacy-hint {
    /* Margin-Left = 18px (Checkbox) + 10px (Gap) = 28px -> Stellt die korrekte Ausrichtung sicher */
    margin-left: 28px;
    margin-top: 4px; /* Kleiner Abstand zur Zeile darüber */
    
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.3;
    text-align: left;
    display: block;
}

.popup-submit {
    width: 100%;
    margin-top: 1rem;
}

/* ========================================= */
/* MOBILE FIX (KEYBOARD / SCROLLING) */
/* ========================================= */
@media (max-width: 800px) {
  
    .popup-overlay {
        /* Auf Mobile: Box oben verankern, nicht mittig */
        align-items: flex-start; 
        padding-top: 40px; 
        padding-bottom: 40px;
        display: block; /* Ermöglicht natives Scrollen im Overlay */
    }

    .popup-box {
        margin: 0 auto; /* Zentriert horizontal im Block-Layout */
        width: 100%;
        padding: 1.5rem 1.2rem;
        
        /* Verhindert, dass die Box größer als der Screen wird (wichtig für Tastatur) */
        max-height: none; 
    }

    .popup-title {
        font-size: 1.3rem;
    }

    .popup-text {
        font-size: 0.9rem;
    }

    /* Kleinere Abstände mobil */
    .popup-form input,
    .popup-form textarea {
        padding: 0.7rem;
        font-size: 16px; /* Verhindert iOS Zoom */
    }
}

/* Cookie Banner Styles (bleiben gleich) */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.55); z-index: 99999;
    padding: 20px; display: flex; justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cookie-banner.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.cookie-banner-inner { background: #fff; padding: 24px; border-radius: 12px; max-width: 900px; width: 100%; }
.cookie-button-row { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-btn { padding: 8px 16px; border-radius: 6px; border: none; cursor: pointer; }
.cookie-btn.primary { background: #1B1F3B; color: white; }
.cookie-btn.ghost { background: #E5E7EB; color: #111; }

/* WhatsApp Button */
.wa-float {
    position: fixed; right: 16px; bottom: 20px; z-index: 9990;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 999px;
    background: #25D366; color: #ffffff;
    font-size: 14px; font-weight: 500; text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(67, 216, 87, 0.3); 
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover {
    transform: translateY(-2px); /* Leichter "Sprung" */
    /* NEU: Schatten bei Hover verstärken */
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3), 0 0 0 5px rgba(67, 216, 87, 0.4);
}
.wa-float-icon { width: 22px; height: 22px; display: flex; }
.wa-float-icon img { width: 100%; height: 100%; }

/* Wenn Popup offen ist, WhatsApp ausblenden */
.popup-overlay.active ~ .wa-float,
body:has(.popup-overlay.active) .wa-float { 
    display: none !important; 
}

/* ====================================== */
/* 7. PROBLEM → SOLUTION SECTION (ps-section) */
/* (NEU: Akkordeon-Struktur inkl. Smooth Animations + Highlighting) */
/* ====================================== */

.ps-section {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 4rem 0;
}

.ps-title {
    text-align: center;
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.ps-sub {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: var(--fs-md);
    line-height: 1.65;
}

/* GRID */
.ps-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 860px;
    margin: 0 auto;
}

/* CARD */
.ps-card {
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(18, 24, 54, 0.04);
    transition: .35s ease;
    overflow: hidden;
    cursor: pointer;
}

.ps-card:not(.open):hover {
    box-shadow: 0 8px 20px rgba(18, 24, 54, 0.08);
}

/* HEADER */
.ps-card-header {
    display: flex;
    align-items: center;
    padding: 1.1rem 1.4rem;
    position: relative;
    z-index: 10;
}

.ps-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    flex-grow: 1;
    padding-left: 1rem;
}

/* TOGGLE BUTTON */
.ps-toggle-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    width: 30px;
    height: 30px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    padding: 0;
}
.ps-toggle-btn svg {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}
.ps-toggle-btn .icon-minus {
    opacity: 0;
    position: absolute;
}

/* OPEN STATE */
.ps-card.open {
    border-color: var(--primary-soft);
    background: var(--bg);
    box-shadow: 0 10px 28px rgba(26, 43, 108, 0.12);
    transform: translateY(-2px);
}

.ps-card.open .ps-toggle-btn {
    transform: rotate(45deg);
}
.ps-card.open .ps-toggle-btn .icon-plus {
    opacity: 0;
}
.ps-card.open .ps-toggle-btn .icon-minus {
    opacity: 1;
}

.ps-card.open .ps-card-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

/* CONTENT WRAPPER (Accordion Animation) */
.ps-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 1.4rem 1.6rem;
    gap: 1.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition:
        max-height 0.55s cubic-bezier(0.4,0,0.2,1),
        opacity 0.4s ease,
        transform 0.4s ease;
}

.ps-card.open .ps-content-wrapper {
    max-height: 1000px;
    padding-top: 1.5rem;
    opacity: 1;
    transform: translateY(0);
}

.micro-trust {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.6rem;
    margin-bottom: 0.4rem;
    line-height: 1.4;
    display: block;

    /* leichte optische Ruhe */
    opacity: 0.85;

    /* dezente Letterspacing für bessere Lesbarkeit */
    letter-spacing: 0.2px;
}


@media (min-width: 768px) {
    .ps-content-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

/* HEADLINES */
.ps-problem-detail h4,
.ps-solution-detail h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.ps-problem-detail h4 { color: #b61a1a; }
.ps-solution-detail h4 { color: #1A7F43; }

/* LISTS */
.ps-content-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ps-content-wrapper ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 0.65rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.ps-problem-detail ul li::before {
    content: "✖";
    position: absolute;
    left: 0;
    top: 1px;
    color: #b61a1a;
    font-weight: 700;
}

.ps-solution-detail ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 1px;
    color: #1A7F43;
    font-weight: 700;
}

/* ICONS */
.ps-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.05);
}
.ps-icon svg {
    width: 24px;
    height: 24px;
}

.ps-icon.problem {
    background: rgba(182, 26, 26, 0.12);
}

.ps-solution-detail .ps-icon {
    background: rgba(26, 127, 67, 0.12);
    margin-bottom: 0.8rem;
    opacity: 0;
    transform: scale(0.9);
    transition: 
        opacity 0.4s ease 0.1s,
        transform 0.4s ease 0.1s;
}

.ps-card.open .ps-solution-detail .ps-icon {
    opacity: 1;
    transform: scale(1);
}

/* SOLUTION PANEL HIGHLIGHTING */
.ps-solution-detail {
    background: rgba(26,127,67,0.05);
    border: 1px solid rgba(26,127,67,0.2);
    border-radius: 14px;
    padding: 1.4rem 1.6rem;

    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.45s ease 0.15s,
        transform 0.45s ease 0.15s,
        box-shadow 0.3s ease;
}

.ps-card.open .ps-solution-detail {
    opacity: 1;
    transform: translateY(0);
}

.ps-card.open:hover .ps-solution-detail {
    box-shadow: 0 14px 32px rgba(26,127,67,0.18);
}

/* BADGE (Slide-In) */
.pain-solution-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    margin-top: 1rem;
    text-decoration: none;

    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.45s ease 0.25s,
        transform 0.45s ease 0.25s;
}

.ps-card.open .pain-solution-badge {
    opacity: 1;
    transform: translateY(0);
}

.pain-solution-badge:hover {
    background: var(--primary-soft);
    transform: translateY(-3px);
}
