/* ===== DropNGo Mobile System ===== */
:root{
  --dng-bg: #0c0f13;
  --dng-surface: #12161b;
  --dng-text: #e8edf3;
  --dng-muted: #a7b1bc;
  --dng-border: rgba(255,255,255,.10);
  --dng-brand: #8ec5ff;
  --dng-header-h: 64px;
  --dng-radius: 14px;
  --dng-shadow: 0 20px 40px rgba(0,0,0,.45);
}

.dng-container{max-width:1100px;margin:0 auto;padding:0 16px}
.dng-header{
  position:sticky; top:0; z-index:1000;
  backdrop-filter:saturate(140%) blur(10px);
  background:rgba(12,15,19,.7); border-bottom:1px solid var(--dng-border);
}
.dng-nav{display:flex;align-items:center;justify-content:space-between;height:var(--dng-header-h);gap:12px}
.dng-brand{display:flex;align-items:center;gap:10px;color:var(--dng-text);text-decoration:none}
.dng-logo{width:34px;height:34px;border-radius:10px;box-shadow:0 6px 18px rgba(24,161,150,.25)}
.dng-brand-text{font-weight:800}

.dng-links{display:flex;gap:28px}
.dng-links a{color:var(--dng-muted);text-decoration:none;padding:8px 10px;border-radius:10px}
.dng-links a[aria-current="page"], .dng-links a:hover{color:var(--dng-text);background:rgba(255,255,255,.06)}

.dng-burger{
  display:none; width:40px;height:40px;border-radius:10px;
  border:1px solid var(--dng-border); background:transparent; color:var(--dng-text);
  cursor:pointer; -webkit-tap-highlight-color:transparent;
}
.dng-burger svg{width:22px;height:22px;display:block}
.dng-burger svg path{stroke:currentColor}

/* Overlay */
.dng-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:1000;
  opacity:0; transition:opacity .2s ease; backdrop-filter: blur(1px);
}

/* Drawer */
.dng-drawer{
  position:fixed; inset:var(--dng-header-h) 0 0 auto; width:min(92vw,420px);
  right:-100%; background:var(--dng-surface); border-left:1px solid var(--dng-border);
  z-index:1001; box-shadow:var(--dng-shadow); transition: right .25s ease;
  display:block; /* Sichtbarkeit wird mit [hidden] gesteuert */
}
.dng-drawer.open{ right:0; }
.dng-overlay.open{ opacity:1; }

.dng-drawer-nav{display:grid;gap:8px;padding:18px}
.dng-drawer-nav a{
  display:block; padding:14px 12px; border-radius:12px;
  text-decoration:none; color:var(--dng-muted);
}
.dng-drawer-nav a:hover{ background:rgba(255,255,255,.06); color:var(--dng-text); }

/* Desktop vs Mobile */
@media (max-width: 900px){
  .dng-links{ display:none }
  .dng-burger{ display:inline-flex; align-items:center; justify-content:center }
}
@media (min-width: 901px){
  .dng-overlay, .dng-drawer{ display:none !important; }
}

/* Touch-Targets größer */
a.btn, .btn{ min-height:44px; min-width:44px; }

/* Mehr Luft zwischen Sektionen auf Mobile */
@media (max-width:820px){
  .section, .hero{ padding-top:44px; padding-bottom:28px; }
  .grid{ gap:14px }
}
/* ========= DropNGo – Mobile Polish für die Startseite ========= */
/* Zielgeräte: Phones & kleine Tablets */
@media (max-width: 820px){

  /* Container + Defaults */
  .container{ width:100%; max-width:100%; padding:0 14px; }

  /* ---------- HERO ---------- */
  .hero{ padding:28px 0 10px; }
  .hero__inner{ grid-template-columns: 1fr !important; gap:16px; }
  .hero h1{ font-size: clamp(22px, 7vw, 28px) !important; line-height: 1.15; margin-bottom: 8px; }
  .hero .lead{ font-size: .95rem; margin: 4px 0 14px; color: var(--muted); }
  .hero__card{ border-radius: 12px; }
  .hero__img{ aspect-ratio: 16/10; display:grid; place-items:center; background:#0f1114; }
  .hero__img img{ max-height: 40vh; width:auto; object-fit: contain; }
  .hero__points{ gap:10px; margin-top: 10px; }
  .hero__points li{ font-size: 13px; padding: 6px 10px; }

  /* Hero-Buttons: nebeneinander, aber kompakt */
  .hero__actions{ gap:8px !important; }
  .hero__actions .btn{ flex:1 1 48%; min-width: calc(50% - 4px); padding: 10px 12px; border-radius: 10px; }

  /* ---------- TRUST ROW ---------- */
  .trust{ padding:12px; gap:10px; border-radius: 12px; }
  .trust span{ font-size: 13px; }
  .trust img{ height: 16px; }
  .dot{ width:6px; height:6px; margin:0 6px; }

  /* ---------- PRODUKT-GRID ---------- */
  .grid{ gap:12px !important; }
  /* 2 Spalten auf Handy (dann 1 Spalte ganz klein) */
  .col-3{ grid-column: span 6 !important; }
  .card{ border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.28); }
  .card__img{ padding:8px; background: transparent; display:flex; align-items:center; justify-content:center; }
  .card__img img{ width:100%; height:auto; object-fit: contain; }
  .card__body{ padding:12px; }
  .price{ font-size: 15px; }
  .meta{ font-size: 12px; color: var(--muted); }

  /* ---------- TESTIMONIALS ---------- */
  .testimonials{ grid-template-columns: 1fr !important; gap:12px; }
  .quote{ padding:14px; border-radius: 12px; color: var(--muted); }
  .quote strong{ display:block; font-size:1rem; color: var(--text); margin-bottom: 6px; }
}

/* Minis (unter 480px): 1 Spalte Produkte & größere Touch-Ziele */
@media (max-width: 480px){
  .container{ padding:0 12px; }
  .col-3{ grid-column: span 12 !important; }
  .hero__actions .btn{ flex: 1 1 100%; min-width: 100%; }
  .price{ font-size: 14.5px; }
  .quote{ padding:12px; }
}

/* Danke page */
.danke-page {
  font-family: 'Inter', sans-serif;
  background-color: #0b0d0f;
  color: #e6e9ee;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  flex-direction: column;
  text-align: center;
}

.danke-page h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 12px;
  color: #18a196;
}

.danke-page p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: #aab3be;
}

.danke-page a {
  margin-top: 30px;
  padding: clamp(8px, 2vh, 10px) clamp(16px, 5vw, 24px);
  background-color: #18a196;
  color: #041413;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}

.danke-page a:hover {
  background-color: #0e9d90;
}

/* === Global mobile header and menu background styles === */
html[data-theme="light"] .dng-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
}
html[data-theme="dark"] .dng-header {
  background: #0b0d0f !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
}

/* Drawer-Hintergrund */
html[data-theme="light"] .dng-drawer {
  background: #ffffff !important;
  color: #0f172a !important;
  border-left: 1px solid #e5e7eb !important;
}
html[data-theme="dark"] .dng-drawer {
  background: #0b0d0f !important;
  color: #e6e9ee !important;
  border-left: 1px solid rgba(255,255,255,.12) !important;
}

/* Burger‑Button */
html[data-theme="light"] .dng-burger {
  background: transparent !important;
  border: 1px solid #e5e7eb !important;
  color: #0f172a !important;
}
html[data-theme="dark"] .dng-burger {
  background: #12161b !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #e6e9ee !important;
}

/* Theme‑Toggle‑Button */
html[data-theme="light"] .theme-toggle-btn {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e5e7eb !important;
}
html[data-theme="dark"] .theme-toggle-btn {
  background: #12161b !important;
  color: #e6e9ee !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}
html[data-theme="light"] .theme-toggle-btn:hover {
  background: #f5f6f8 !important;
  color: #0f172a !important;
}
html[data-theme="dark"] .theme-toggle-btn:hover {
  background: #0e9d90 !important;
  color: #041413 !important;
}


/* ===== Global overrides for all pages ===== */
html[data-theme="light"] header {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
}
html[data-theme="dark"] header {
  background: #0b0d0f !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
}

/* Linkfarben im Header */
html[data-theme="light"] header a {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}
html[data-theme="dark"] header a {
  color: #e6e9ee !important;
  -webkit-text-fill-color: #e6e9ee !important;
}
