/* ==========================================================================
   Dealradar — Main Stylesheet
   B2C/B2B SaaS. Modern, dark-accent, tech-credible.
   ========================================================================== */

:root {
  --c-900: #0b1120;
  --c-800: #111827;
  --c-700: #1f2937;
  --c-600: #374151;
  --c-500: #6b7280;
  --c-400: #9ca3af;
  --c-300: #d1d5db;
  --c-200: #e5e7eb;
  --c-100: #f3f4f6;
  --c-50:  #f9fafb;
  --c-0:   #ffffff;

  --c-acc:    #f97316;   /* orange 500 — radar sweep */
  --c-acc-d:  #ea580c;
  --c-acc-l:  #fb923c;
  --c-acc-bg: #fff7ed;

  --c-green:  #10b981;
  --c-red:    #ef4444;
  --c-yellow: #f59e0b;
  --c-blue:   #3b82f6;
  --c-purple: #8b5cf6;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  --max-w: 1240px;
  --radius: 8px;
  --radius-lg: 14px;

  --sh-sm: 0 1px 3px rgba(11,17,32,0.08);
  --sh-md: 0 8px 24px rgba(11,17,32,0.1);
  --sh-lg: 0 24px 60px rgba(11,17,32,0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-800);
  background: var(--c-0);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--c-acc); text-decoration: none; transition: color .15s; }
a:hover { color: var(--c-acc-d); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--c-500); }
.hidden { display: none !important; }
.small { font-size: 0.85rem; }

h1, h2, h3, h4 { color: var(--c-900); line-height: 1.2; letter-spacing: -0.015em; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-700); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-acc);
  background: var(--c-acc-bg);
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.eyebrow.light {
  color: var(--c-acc-l);
  background: rgba(251, 146, 60, 0.12);
}

.lead {
  font-size: 1.08rem;
  color: var(--c-500);
  max-width: 780px;
  margin: 14px auto 0;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-200);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--c-900); text-decoration: none; }
.brand-logo-img { display: block; height: 40px; width: auto; max-width: 200px; }
@media (max-width: 600px) { .brand-logo-img { height: 34px; } }
.brand-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }

.site-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-nav a {
  color: var(--c-700); font-weight: 500; font-size: 0.93rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--c-900); border-color: var(--c-acc); }
.header-cta { display: flex; gap: 10px; }

/* Hamburger-Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-700);
  border-radius: 1px;
  transition: transform .2s, opacity .2s;
}
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
    min-width: 48px; min-height: 48px;
    align-items: center; justify-content: center;
  }
  .site-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    background: var(--c-0);
    border-bottom: 1px solid var(--c-200);
    padding: 20px 24px;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--sh-md);
    z-index: 49;
    animation: dr-navSlide 0.2s ease-out;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 14px 4px;
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--c-100);
  }
  .site-nav a:last-child { border-bottom: 0; }
  .header-cta { gap: 6px; }
  .header-cta .btn-ghost { display: none; }
  .header-cta .btn {
    padding: 10px 14px;
    font-size: 0.9rem;
    min-height: 44px;
  }
  /* Hamburger active state */
  .site-nav.open ~ .menu-toggle span:nth-child(1),
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@keyframes dr-navSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Body scroll lock when nav open (requires JS to add .nav-open to body) */
body.nav-open { overflow: hidden; }

/* Mobile overflow guard */
html, body { overflow-x: hidden; max-width: 100vw; }
img, video { max-width: 100%; height: auto; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.93rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .12s, background .15s, color .15s, border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { display: block; width: 100%; }

.btn-primary { background: var(--c-acc); color: #fff; border-color: var(--c-acc); box-shadow: 0 4px 14px rgba(249,115,22,0.25); }
.btn-primary:hover { background: var(--c-acc-d); border-color: var(--c-acc-d); color: #fff; }

.btn-ghost { background: transparent; color: var(--c-700); border-color: var(--c-300); }
.btn-ghost:hover { background: var(--c-100); color: var(--c-900); }

.btn-ghost-dark { background: transparent; color: var(--c-900); border-color: var(--c-900); }
.btn-ghost-dark:hover { background: var(--c-900); color: #fff; }

.btn-ghost-sm { padding: 7px 12px; font-size: 0.8rem; background: transparent; color: var(--c-500); border-color: transparent; }
.btn-ghost-sm:hover { color: var(--c-red); }

.btn-danger { background: transparent; color: var(--c-red); border-color: rgba(239,68,68,0.3); }
.btn-danger:hover { background: var(--c-red); color: #fff; }

.btn-ghost.btn-lg { border-color: var(--c-300); }

/* ============ FLASHES ============ */
.flashes { padding: 12px 24px 0; }
.flash {
  padding: 12px 18px;
  border-radius: var(--radius);
  margin-bottom: 10px;
  font-size: 0.92rem;
  border: 1px solid;
}
.flash-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.flash-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 100px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 10%, rgba(249,115,22,0.12), transparent),
    radial-gradient(ellipse 60% 50% at 20% 90%, rgba(59,130,246,0.08), transparent),
    linear-gradient(180deg, #fff 0%, #faf8f5 50%, #fff7ed 100%);
  overflow: hidden;
}
.hero-inner { max-width: 1100px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  background: linear-gradient(135deg, var(--c-900) 0%, var(--c-700) 60%, var(--c-acc-d) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--c-600);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-sub em { color: var(--c-acc); font-style: normal; font-weight: 700; }

/* Quick-Search Toggle */
.qs-type-toggle {
  display: inline-flex;
  gap: 0;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--c-100);
  border-radius: 12px;
  padding: 4px;
}
.qs-toggle {
  padding: 10px 28px;
  border: none;
  background: transparent;
  color: var(--c-600);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  border-radius: 10px;
}
.qs-toggle.active {
  background: var(--c-acc);
  color: #fff;
  box-shadow: 0 2px 8px rgba(249,115,22,0.3);
}
.qs-toggle:not(.active):hover { background: var(--c-200); color: var(--c-900); }

/* Quick-Search Box */
.quick-search {
  display: flex;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  padding: 6px;
  background: #fff;
  border: 2px solid var(--c-200);
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(11,17,32,0.10), 0 2px 8px rgba(11,17,32,0.04);
  align-items: center;
  flex-wrap: wrap;
}
.quick-search:focus-within {
  border-color: var(--c-acc);
  box-shadow: 0 8px 40px rgba(249,115,22,0.12), 0 0 0 4px rgba(249,115,22,0.06);
}

.qs-fields { display: flex; flex: 1; align-items: center; gap: 0; min-width: 0; flex-wrap: wrap; }

.quick-search input,
.quick-search select {
  padding: 16px 16px;
  border: 0;
  background: transparent;
  font-size: 0.95rem;
  color: var(--c-900);
  outline: none;
  min-width: 0;
  flex: 1 1 100px;
  font-family: inherit;
}
.quick-search input::placeholder,
.quick-search select { color: var(--c-400); }
.quick-search select { cursor: pointer; color: var(--c-900); }
.quick-search select option { color: var(--c-900); }

/* Erstes Feld (Suchbegriff / Marke) breiter */
.qs-fields input:first-child,
.qs-fields select:first-child { flex: 3 1 220px; font-size: 1rem; }

/* Trennlinien zwischen Feldern */
.qs-fields input + input,
.qs-fields input + select,
.qs-fields select + input,
.qs-fields select + select { border-left: 1px solid var(--c-200); }

.quick-search > button {
  border-radius: 14px;
  padding: 14px 32px;
  white-space: nowrap;
  font-size: 0.95rem;
  margin: 4px;
  flex-shrink: 0;
}

.hero-note { margin-top: 18px; color: var(--c-500); font-size: 0.85rem; }

/* Loading Spinner */
.qs-spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 3px solid var(--c-200);
  border-top-color: var(--c-acc);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Marketplace tag */
.tag-mp {
  background: var(--c-900);
  color: var(--c-0);
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

/* Mobile Quick-Search */
@media (max-width: 768px) {
  .hero { padding: 70px 0 60px; }
  .quick-search { border-radius: 16px; padding: 10px; }
  .qs-fields { flex-wrap: wrap; gap: 0; }
  .qs-fields input,
  .qs-fields select {
    flex: 1 1 45% !important;
    border-left: 0 !important;
    border-bottom: 1px solid var(--c-100);
    padding: 14px 12px;
    font-size: 0.9rem;
  }
  .qs-fields input:first-child,
  .qs-fields select:first-child { flex: 1 1 100% !important; }
  .quick-search > button { width: 100%; border-radius: 12px; padding: 14px; margin-top: 6px; }
  .qs-type-toggle { margin-bottom: 14px; }
  .qs-toggle { padding: 9px 20px; font-size: 0.85rem; }
}

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 820px;
  margin: 60px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--c-200);
}
.hero-stats div { text-align: center; }
.hero-stats strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--c-900);
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.hero-stats span {
  font-size: 0.78rem;
  color: var(--c-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ============ SECTIONS ============ */
.section { padding: 90px 0; }
.section-light { background: var(--c-50); border-top: 1px solid var(--c-200); border-bottom: 1px solid var(--c-200); }
.section-dark { background: var(--c-900); color: var(--c-100); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: var(--c-400); }
.section-accent { background: linear-gradient(180deg, var(--c-acc-bg), #ffedd5); border-top: 1px solid #fed7aa; }

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { margin-left: auto; margin-right: auto; }

/* ============ FEATURES ============ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-200);
  border: 1px solid var(--c-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feat { background: #fff; padding: 36px 32px; }
.feat-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-acc);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.feat h3 { margin-bottom: 10px; }
.feat p { color: var(--c-600); font-size: 0.93rem; }
.feat p strong { color: var(--c-900); }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* ============ COMPARE TABLE ============ */
.compare-table-wrap { overflow-x: auto; }
.compare {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  min-width: 600px;
}
.compare th, .compare td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--c-300);
  font-size: 0.9rem;
}
.compare th { background: rgba(255,255,255,0.05); color: var(--c-100); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }
.compare td:first-child, .compare th:first-child { text-align: left; }
.compare td.us, .compare th.us { background: rgba(249,115,22,0.15); color: #fff; font-weight: 700; }
.compare tbody tr:hover { background: rgba(255,255,255,0.02); }

/* ============ FLOW ============ */
.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
.flow li {
  background: #fff;
  border: 1px solid var(--c-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.flow-num {
  display: inline-flex;
  width: 40px; height: 40px;
  background: var(--c-900);
  color: #fff;
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  margin-bottom: 14px;
}
.flow h3 { margin-bottom: 8px; }
.flow p { color: var(--c-600); font-size: 0.92rem; }
@media (max-width: 800px) { .flow { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--c-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 20px 24px;
  transition: border-color .15s;
}
.faq details[open] { border-color: var(--c-acc); }
.faq summary {
  font-weight: 700;
  color: var(--c-900);
  cursor: pointer;
  font-size: 1rem;
  list-style: none;
  padding-right: 30px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -4px;
  font-size: 1.6rem; font-weight: 400;
  color: var(--c-acc);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: 14px;
  color: var(--c-600);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ============ CTA ============ */
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--c-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .15s, box-shadow .15s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.price-card.hl { border: 2px solid var(--c-acc); box-shadow: 0 10px 30px rgba(249,115,22,0.12); }
.price-card .ribbon {
  position: absolute; top: -12px; left: 24px;
  background: var(--c-acc); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 4px;
}
.price-card h3 { margin-bottom: 4px; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 6px; }
.price .amount { font-size: 2.5rem; font-weight: 800; color: var(--c-900); font-variant-numeric: tabular-nums; }
.price .unit { color: var(--c-500); font-size: 0.85rem; }
.tagline { font-size: 0.85rem; color: var(--c-500); margin-bottom: 20px; min-height: 40px; }
.price-feats { list-style: none; margin: 0 0 24px; }
.price-feats li { padding: 8px 0; font-size: 0.88rem; color: var(--c-700); border-bottom: 1px solid var(--c-100); }
.price-feats li:last-child { border-bottom: 0; }
.price-feats li strong { color: var(--c-900); }
.price-card .btn { margin-top: auto; }

.pricing-notes {
  margin-top: 60px;
  max-width: 820px;
  margin-left: auto; margin-right: auto;
  background: var(--c-50);
  border: 1px solid var(--c-200);
  padding: 32px 36px;
  border-radius: var(--radius-lg);
}
.pricing-notes h3 { margin-bottom: 12px; }
.pricing-notes ul { list-style: none; }
.pricing-notes li { padding: 10px 0 10px 28px; position: relative; font-size: 0.92rem; color: var(--c-600); border-bottom: 1px solid var(--c-200); }
.pricing-notes li:last-child { border-bottom: 0; }
.pricing-notes li::before {
  content: "✓";
  position: absolute; left: 0; top: 10px;
  color: var(--c-acc); font-weight: 800;
}
.pricing-notes li strong { color: var(--c-900); }
@media (max-width: 1050px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ============ LEGAL ============ */
.legal-block {
  padding: 26px 0;
  border-top: 1px solid var(--c-200);
}
.legal-block:first-of-type { border-top: 0; }
.legal-block h3 { margin-bottom: 10px; color: var(--c-900); }
.legal-block p { color: var(--c-600); margin-bottom: 12px; }
.legal-block strong { color: var(--c-900); }
.bullets { list-style: none; margin: 8px 0; }
.bullets li { padding: 6px 0 6px 20px; position: relative; color: var(--c-600); font-size: 0.93rem; }
.bullets li::before { content: "—"; position: absolute; left: 0; color: var(--c-acc); }

/* ============ LOGIN ============ */
.login-card {
  background: #fff;
  border: 1px solid var(--c-200);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--sh-md);
  max-width: 480px; margin: 0 auto;
}
.login-card h2 { margin-bottom: 12px; }
.login-card .lead { margin-bottom: 24px; text-align: left; }
.login-form label { display: block; margin-bottom: 14px; }
.login-form label span { display: block; font-size: 0.85rem; font-weight: 600; color: var(--c-700); margin-bottom: 6px; }
.login-form input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--c-300);
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.login-form input:focus { outline: none; border-color: var(--c-acc); box-shadow: 0 0 0 3px rgba(249,115,22,0.15); }
.login-form button { margin-top: 12px; }

/* ============ APP MODE ============ */
body.app-mode { background: var(--c-50); }
.app-head {
  background: #fff;
  border-bottom: 1px solid var(--c-200);
  padding: 28px 0;
}
.app-head h1 { font-size: 1.6rem; }
.app-head-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.app-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.empty-state {
  background: #fff;
  border: 2px dashed var(--c-300);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: var(--c-500);
}

/* Profile grid */
.profile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 24px; }
.profile-card {
  background: #fff;
  border: 1px solid var(--c-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow .15s, transform .15s;
}
.profile-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.profile-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.profile-head h3 { font-size: 1.1rem; }
.profile-status { font-size: 0.72rem; padding: 3px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.profile-status.on { background: #d1fae5; color: #065f46; }
.profile-status.off { background: var(--c-200); color: var(--c-600); }
.profile-query { font-style: italic; color: var(--c-600); margin-bottom: 6px; font-size: 0.92rem; }
.profile-meta { font-size: 0.82rem; color: var(--c-500); margin-bottom: 6px; }
.mp-tag {
  display: inline-block;
  background: var(--c-100);
  color: var(--c-700);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.72rem;
  margin-right: 4px;
}
.profile-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

/* Profile form */
.profile-form {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--c-200);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--sh-sm);
}
.profile-form fieldset { border: 0; padding: 0; margin-bottom: 28px; }
.profile-form legend {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-acc);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-acc);
  width: 100%;
}
.profile-form label { display: block; margin-bottom: 14px; }
.profile-form label > span { display: block; font-size: 0.82rem; font-weight: 600; color: var(--c-700); margin-bottom: 5px; }
.profile-form input[type="text"],
.profile-form input[type="number"],
.profile-form input[type="email"],
.profile-form input[type="url"],
.profile-form select,
.profile-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--c-300);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--c-900);
  background: #fff;
}
.profile-form input:focus, .profile-form select:focus, .profile-form textarea:focus {
  outline: none; border-color: var(--c-acc);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.profile-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.profile-form .check {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  font-size: 0.93rem;
  color: var(--c-700);
  cursor: pointer;
}
.profile-form .check input { width: auto; }
.profile-form .check.disabled { color: var(--c-400); cursor: not-allowed; }
.profile-form .check em { color: var(--c-500); font-style: italic; font-size: 0.82rem; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* Deals */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.deal-card {
  background: #fff;
  border: 1px solid var(--c-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  display: flex; flex-direction: column;
}
.deal-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.deal-card.deal-super { border-left: 4px solid var(--c-acc); }
.deal-card.deal-deal { border-left: 4px solid var(--c-green); }
.deal-card.deal-free { border-left: 4px solid var(--c-purple); }
.deal-card.deal-overpriced { border-left: 4px solid var(--c-red); opacity: 0.85; }
.deal-img { aspect-ratio: 16/10; background: var(--c-100); display: block; overflow: hidden; }
.deal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.deal-card:hover .deal-img img { transform: scale(1.04); }
.deal-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.deal-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.tag {
  display: inline-block;
  background: var(--c-100);
  color: var(--c-700);
  padding: 3px 9px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tag-super { background: #ffedd5; color: #c2410c; }
.tag-deal { background: #d1fae5; color: #065f46; }
.tag-free { background: #ede9fe; color: #5b21b6; }
.tag-overpriced { background: #fee2e2; color: #991b1b; }
.tag-scam { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.deal-body h4 { font-size: 0.98rem; line-height: 1.35; margin-bottom: 4px; }
.deal-body h4 a { color: var(--c-900); }
.deal-body h4 a:hover { color: var(--c-acc); }
.deal-price-row { display: flex; justify-content: space-between; align-items: baseline; }
.deal-price { font-size: 1.15rem; font-weight: 800; color: var(--c-900); font-variant-numeric: tabular-nums; }
.deal-median { font-size: 0.75rem; color: var(--c-500); font-family: var(--font-mono); }
.deal-loc { font-size: 0.8rem; color: var(--c-500); }
.deal-ai {
  font-size: 0.82rem;
  color: var(--c-600);
  padding: 8px 10px;
  background: var(--c-50);
  border-radius: 4px;
  font-style: italic;
  line-height: 1.4;
}
.deal-score {
  margin-top: auto;
  font-size: 0.72rem;
  color: var(--c-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.score-bar { height: 4px; background: var(--c-200); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.score-fill { height: 100%; background: linear-gradient(90deg, var(--c-acc), var(--c-yellow)); transition: width .4s; }

/* Quick-Search Results on Landing */
.qs-results { padding: 56px 0; }
.qs-results h2 { margin-bottom: 6px; }

/* Runs Table */
.runs-table { width: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-200); margin-top: 16px; }
.runs-table th, .runs-table td { padding: 10px 14px; font-size: 0.85rem; text-align: left; border-bottom: 1px solid var(--c-100); }
.runs-table th { background: var(--c-50); color: var(--c-700); font-weight: 700; }
.runs-table tr:last-child td { border-bottom: 0; }
.runs-table .err { color: var(--c-red); }

/* ============ BILLING ============ */
.billing-card {
  background: #fff;
  border: 1px solid var(--c-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.plan-badge {
  display: inline-block;
  background: var(--c-acc-bg);
  color: var(--c-acc);
  padding: 4px 14px;
  border-radius: 4px;
  font-weight: 700;
}
.billing-status { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--c-200); }
.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.upgrade-option {
  background: #fff;
  border: 1px solid var(--c-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.upgrade-option.current { border-color: var(--c-acc); background: var(--c-acc-bg); }
.upgrade-price { font-size: 1.6rem; font-weight: 800; color: var(--c-900); margin: 10px 0; }
@media (max-width: 700px) { .upgrade-grid { grid-template-columns: 1fr; } }

/* ============ TEAM ============ */
.team-card { background: #fff; border: 1px solid var(--c-200); border-radius: var(--radius-lg); padding: 32px; }
.invite-code { background: var(--c-100); padding: 4px 10px; border-radius: 4px; font-size: 1.1rem; font-weight: 700; color: var(--c-acc); }
.team-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.team-box {
  background: #fff; border: 1px solid var(--c-200); border-radius: var(--radius-lg);
  padding: 28px; text-align: center;
}
.inline-form { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.inline-form input { padding: 10px 14px; border: 1px solid var(--c-300); border-radius: var(--radius); font-size: 0.95rem; }
@media (max-width: 600px) { .team-actions { grid-template-columns: 1fr; } }

/* ============ REPLY ASSISTANT ============ */
.reply-deal {
  background: var(--c-50);
  border: 1px solid var(--c-200);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.reply-box {
  background: #fff;
  border: 1px solid var(--c-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.reply-textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--c-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  min-height: 120px;
}
.reply-textarea:focus { outline: none; border-color: var(--c-acc); box-shadow: 0 0 0 3px rgba(249,115,22,0.15); }
.reply-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

/* ============ ANALYTICS ============ */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.analytics-card {
  background: #fff;
  border: 1px solid var(--c-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}
.analytics-card strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-900);
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}

.chart-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 180px;
  padding: 10px 0;
  overflow-x: auto;
}
.chart-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 24px;
  flex: 1;
}
.chart-bar {
  width: 100%;
  max-width: 40px;
  background: linear-gradient(to top, var(--c-acc), var(--c-acc-l));
  border-radius: 3px 3px 0 0;
  min-height: 2px;
  transition: height .4s;
}
.chart-label {
  font-size: 0.6rem;
  color: var(--c-500);
  white-space: nowrap;
  transform: rotate(-45deg);
  transform-origin: center;
}

/* ============ API KEYS ============ */
.api-card {
  background: #fff;
  border: 1px solid var(--c-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.api-key-display {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 14px 18px;
  background: var(--c-900);
  border-radius: var(--radius);
}
.api-key-display code {
  color: var(--c-acc-l);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  word-break: break-all;
  flex: 1;
}
.api-key-display .btn { flex: 0 0 auto; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--c-900);
  color: var(--c-400);
  padding: 64px 0 32px;
  border-top: 4px solid var(--c-acc);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand strong { color: #fff; font-size: 1.15rem; margin-right: 10px; }
.footer-brand p { color: var(--c-400); margin-top: 10px; font-size: 0.88rem; max-width: 280px; }
.footer-logo-img { display: inline-block; vertical-align: middle; margin-right: 8px; width: 32px; height: 32px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 0.78rem; }
.site-footer a { display: block; color: var(--c-400); font-size: 0.88rem; padding: 5px 0; }
.site-footer a:hover { color: var(--c-acc); }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 24px;
  border-top: 1px solid var(--c-700);
  font-size: 0.8rem;
}
.footer-bottom .muted { color: var(--c-500); }
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ============ CONVERSION: Blur-Teaser ============ */
.qs-blur-teaser {
  position: relative;
  grid-column: 1 / -1;
  margin-top: 16px;
}
.qs-blur-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  filter: blur(6px);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}
.qs-blur-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 30%, rgba(255,255,255,0.98) 100%);
  border-radius: 16px;
}
.qs-blur-content {
  text-align: center;
  padding: 40px 24px;
}
.qs-blur-content strong {
  font-size: 1.4rem;
  color: var(--c-900);
  display: block;
  margin-bottom: 12px;
}
.qs-blur-content p {
  color: var(--c-600);
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.qs-blur-features {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--c-500);
}
.qs-blur-features span::before {
  content: "✓ ";
  color: var(--c-acc);
  font-weight: 700;
}

/* ============ CONVERSION: Score-Legende ============ */
.score-legend {
  max-width: 700px;
  margin: 32px auto 0;
  padding: 20px 24px;
  background: var(--c-50);
  border: 1px solid var(--c-200);
  border-radius: 12px;
}
.score-legend h4 {
  font-size: 0.85rem;
  color: var(--c-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.score-legend-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.score-item {
  font-size: 0.88rem;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
}
.score-item.score-super { background: rgba(16,185,129,0.1); color: #065f46; }
.score-item.score-deal { background: rgba(59,130,246,0.1); color: #1e40af; }
.score-item.score-normal { background: rgba(245,158,11,0.1); color: #92400e; }
.score-item.score-over { background: rgba(239,68,68,0.1); color: #991b1b; }

/* ============ CONVERSION: Warum anmelden? ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--c-0);
  border: 1px solid var(--c-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.why-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 14px;
}
.why-card h3 { font-size: 1rem; margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; color: var(--c-600); line-height: 1.5; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ============ CONVERSION: Filter-Hint ============ */
.qs-filter-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--c-500);
  margin-top: 10px;
}
.qs-filter-hint a { color: var(--c-acc); font-weight: 700; }
