/* ==========================================================================
   BackDoorGuard - Cyber Security Theme (Avira Style)
   ========================================================================== */

:root {
  /* --- Security Theme: Dark Mode --- */
  --bg-main: #090e17;         /* Sehr tiefes Nachtblau/Schwarz */
  --bg-card: #131c2b;         /* Leicht abgehobenes Dunkelblau für Boxen */
  --bg-header: rgba(9, 14, 23, 0.95);
  
  /* --- Typografie --- */
  --text-main: #f1f5f9;       /* Klares, hartes Weiß für maximale Lesbarkeit */
  --text-muted: #94a3b8;      /* Blaugrau für Nebentexte */
  
  /* --- Signalfarben (Antivirus Style) --- */
  --accent-primary: #e63946;  /* Signalrot für Buttons & Warnungen */
  --accent-hover: #ff4d5a;    /* Helleres Rot für Hover-Effekte */
  --accent-success: #10b981;  /* "Sicher"-Grün für Bestätigungen */
  --accent-warning: #ffb703;  /* "Achtung"-Gelb */
  
  /* --- Struktur --- */
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius-sm: 4px;           /* Eher eckig und technisch */
  --radius-lg: 8px;
  --max-width: 1200px;
}

/* --- Base & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Top Banner (Bild über der Navigation)
   ========================================================================== */
.hero-logo-wrap {
  width: 100%;
  display: block;
  position: relative;
  z-index: 10;
  background: var(--bg-main);
}

.hero-logo {
  width: 100%;
  height: auto;
  max-height: 380px; /* Perfekte Höhe für ein Kopfbild */
  object-fit: cover;
  object-position: center; 
  display: block;
  border-bottom: 3px solid var(--accent-primary); /* Roter Security-Abschlussstrich */
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5); /* Leichter Schatten für den Übergang */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-main);
  z-index: 1001;
}

.brand-mark img {
  display: block;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 0 5px rgba(230, 57, 70, 0.5));
}

/* --- NAVIGATION DESKTOP (Standard) --- */
.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav a:hover {
  color: var(--accent-primary);
  text-shadow: 0 0 10px rgba(230, 57, 70, 0.4);
}

/* --- BURGER MENU BUTTON --- */
.nav-toggle {
  display: none !important; /* Auf Desktop ausblenden */
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  font-size: 1.5rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 1001;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- RESPONSIVE NAVIGATION (Mobile) --- */
@media (max-width: 980px) {
  .nav-toggle {
    display: flex !important;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-header);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  }

  .nav.is-open {
    display: flex;
    animation: slideDown 0.3s ease-out forwards;
  }

  .nav a {
    font-size: 1.1rem;
    padding: 15px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
  }
  
  .nav a:last-child {
    border-bottom: none;
  }
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 60px 0 80px; /* Reduzierter oberer Abstand, da Bild jetzt oben ist */
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(230, 57, 70, 0.1) 0%, var(--bg-main) 60%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.band-untertitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================================================
   Bands & Content Sections
   ========================================================================== */
.band {
  padding: 80px 0;
  position: relative;
}

/* Technischer Trenner (Scan-Linie) */
.band + .band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.band-title {
  text-align: center;
  font-size: 2rem;
  margin-top: 60px;
  color: #fff;
}

/* --- Frames (Bild + Text Layout) --- */
.frame-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.frame-inner.reverse {
  flex-direction: row-reverse;
}

.frame-media, .frame-card {
  flex: 1 1 400px;
}

.frame-media img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* --- Security Dashboard Cards --- */
.frame-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--accent-primary); /* Roter "Status"-Balken */
  border-radius: var(--radius-sm);
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.frame-title {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.5rem;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 10px;
}

.frame-text h4 {
  color: var(--accent-primary);
  margin-top: 20px;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.frame-text p, .frame-text2 p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.frame-text2 h4 {
  color: var(--text-main);
  margin-top: 20px;
  margin-bottom: 5px;
  font-size: 1.1rem;
  border-left: 2px solid var(--accent-primary);
  padding-left: 10px;
}

/* --- Mini Grid (Feature Boxen) --- */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.mini {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--accent-primary);
  padding: 20px;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.mini:hover {
  transform: translateY(-5px);
  border-left-color: var(--accent-warning); /* Wechselt auf Warn-Gelb beim Hover */
  background: rgba(0,0,0,0.4);
}

.mini h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mini p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Pricing / Kauf-Sektion
   ========================================================================== */
.pricing-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: center;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.pricing-card p {
  color: var(--text-muted);
}

/* Hervorgehobene Kauf-Karte */
.pricing-card-buy {
  border-top: 4px solid var(--accent-primary);
  background: linear-gradient(180deg, rgba(230, 57, 70, 0.05) 0%, var(--bg-card) 100%);
  transform: scale(1.05);
  position: relative;
}

@media (max-width: 980px) {
  .pricing-card-buy {
    transform: scale(1);
  }
}

.price-tag {
  margin: 30px 0;
}

.price-prefix, .price-suffix {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-main {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 20px rgba(230, 57, 70, 0.3);
}

/* --- Action Button (Security Style) --- */
.btn {
  display: inline-block;
  font-weight: bold;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: none;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

.btn-buy {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 0 15px rgba(230, 57, 70, 0.4);
}

.btn-buy:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 0 25px rgba(230, 57, 70, 0.7);
  transform: translateY(-2px);
}

/* ==========================================================================
   Download Section (PayPal)
   ========================================================================== */
.band-download {
  background: rgba(0,0,0,0.2);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.download-box {
  display: flex;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-primary);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.download-left, .download-right {
  flex: 1 1 300px;
  padding: 40px;
}

.download-left {
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.download-title {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}

.download-price {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.download-price strong {
  color: var(--accent-primary);
  font-size: 1.5rem;
}

/* Checkbox Styling */
.pp-agree-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  background: rgba(0,0,0,0.2);
  padding: 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s;
}

.pp-agree-row:hover {
  border-color: var(--accent-primary);
}

.pp-agree-row input[type="checkbox"] {
  margin-top: 4px;
  transform: scale(1.2);
  accent-color: var(--accent-primary);
}

.pp-agree-row span {
  font-size: 0.9rem;
  color: var(--text-main);
}

.pp-agree-links {
  margin-top: 15px;
  font-size: 0.85rem;
  text-align: center;
}

.download-right {
  background: rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.status {
  margin-top: 20px;
  text-align: center;
  font-size: 0.95rem;
  min-height: 24px; /* Verhindert springen */
}

@media (max-width: 768px) {
  .download-left {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }
}

/* ==========================================================================
   FAQ & Kontakt
   ========================================================================== */
.kontakt-wrap, .faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.faq-wrap h2, .kontakt-wrap h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.faq {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  margin-bottom: 15px;
  text-align: left;
  overflow: hidden;
}

.faq summary {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  list-style: none; /* Versteckt Standard-Pfeil in einigen Browsern */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent-primary);
  font-size: 1.5rem;
  font-weight: bold;
}

.faq[open] summary::after {
  content: "-";
}

.faq p {
  padding: 0 20px 20px;
  color: var(--text-muted);
  border-top: 1px solid var(--glass-border);
  margin-top: 10px;
  padding-top: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #05080d; /* Noch dunkler als der Body */
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-inner {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-inner a {
  color: var(--text-muted);
  margin: 0 10px;
}

.footer-inner a:hover {
  color: var(--accent-primary);
}