/* =========================================================
   HostingRadar – Unabhängiges Hostinger-Partnerportal
   ========================================================= */

:root {
  --primary: #673ab7;        /* Hostinger Lila */
  --primary-dark: #512da8;
  --primary-light: #f3ebfd;
  --accent: #ff6b4a;
  --text: #24212b;
  --text-soft: #6b6776;
  --bg: #ffffff;
  --bg-alt: #f8f7fb;
  --border: #e7e4ef;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(36, 33, 43, 0.08);
  --shadow-lg: 0 20px 50px rgba(36, 33, 43, 0.14);
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container-narrow { max-width: 820px; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }

/* ---------- Transparenz-Band ---------- */
.transparency-band { padding: 3rem 0 0; }

.transparency-box {
  display: flex;
  gap: 1.2rem;
  background: var(--primary-light);
  border: 1px dashed var(--primary);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  align-items: flex-start;
}
.transparency-icon { font-size: 1.6rem; line-height: 1; }
.transparency-box h3 { color: var(--primary-dark); margin-bottom: 0.4rem; }
.transparency-box p { font-size: 0.93rem; color: var(--text-soft); }
.transparency-box code {
  background: #fff;
  padding: 0.1rem 0.35rem;
  border-radius: 5px;
  font-size: 0.85em;
}

@media (max-width: 720px) {
  .transparency-box { flex-direction: column; gap: 0.7rem; padding: 1.3rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.92rem; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(103, 58, 183, 0.32);
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }

.btn-light {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 68px;
}

.logo { display: flex; align-items: center; gap: 0.55rem; font-size: 1.15rem; }
.logo-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  border-radius: 10px;
}
.logo-text strong { color: var(--primary); }

.main-nav { margin-left: auto; display: flex; gap: 1.4rem; }
.main-nav a { font-size: 0.95rem; font-weight: 500; color: var(--text-soft); }
.main-nav a:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: var(--text);
  border-radius: 3px;
  transition: .25s;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(103, 58, 183, 0.18), transparent),
    radial-gradient(600px 300px at 0% 110%, rgba(255, 107, 74, 0.12), transparent);
  padding: 5rem 0 5.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: center;
}

.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  letter-spacing: .02em;
}

.highlight {
  background: linear-gradient(transparent 62%, rgba(255, 107, 74, 0.35) 0);
}

.lead {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin-top: 1.1rem;
  max-width: 55ch;
}

.hero-points {
  list-style: none;
  margin: 1.4rem 0 1.8rem;
  display: grid;
  gap: 0.45rem;
  font-weight: 500;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-trust {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1rem; }

.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
}
.stat {
  padding: 1.6rem 1.2rem;
  text-align: center;
  background: #fff;
}
.stat-value { display: block; font-size: 1.7rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.85rem; color: var(--text-soft); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head p { color: var(--text-soft); margin-top: 0.7rem; }

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

/* ---------- Grid & Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--text-soft); font-size: 0.95rem; margin-top: 0.5rem; }

.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--primary-light);
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.price-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.price-tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-name { font-size: 1.3rem; }
.price-for { color: var(--text-soft); font-size: 0.9rem; margin-top: 0.2rem; }

.price-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.3rem 0;
  padding-bottom: 1.3rem;
  border-bottom: 1px dashed var(--border);
}
.price-old { color: var(--text-soft); text-decoration: line-through; font-size: 0.95rem; }
.price-new { font-size: 2.4rem; font-weight: 800; color: var(--primary); }
.price-per { color: var(--text-soft); font-size: 0.9rem; }

.price-features { list-style: none; display: grid; gap: 0.55rem; margin-bottom: 1.6rem; }
.price-features li {
  font-size: 0.94rem;
  padding-left: 1.5rem;
  position: relative;
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.price-card .btn { margin-top: auto; }

.price-note {
  text-align: center;
  margin-top: 2.2rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

/* ---------- Vergleichstabelle ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: #fff;
}
.compare-table th, .compare-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.compare-table thead th {
  background: var(--bg-alt);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .hl {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}

/* ---------- Zitate ---------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.quote-card blockquote {
  margin: 0.9rem 0 1.1rem;
  font-size: 0.97rem;
  color: var(--text);
}
.quote-card figcaption {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
}

/* ---------- CTA-Band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 3.5rem 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-inner p { opacity: 0.9; margin-top: 0.4rem; max-width: 60ch; }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { color: var(--primary); }
.faq-body { padding: 0 1.4rem 1.3rem; color: var(--text-soft); font-size: 0.96rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #1c1926;
  color: #b9b5c6;
  padding: 3.5rem 0 2rem;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.logo-footer .logo-text { color: #fff; }
.footer-about { margin-top: 1rem; max-width: 40ch; }
.site-footer h4 { color: #fff; margin-bottom: 0.9rem; font-size: 0.95rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer ul a:hover { color: #fff; }

.footer-bottom { padding-top: 1.6rem; display: grid; gap: 0.8rem; }
.affiliate-disclaimer { font-size: 0.8rem; color: #8b8797; max-width: 90ch; }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 1.2rem; right: 1.2rem; bottom: 1.2rem;
  z-index: 100;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 720px;
  margin-inline: auto;
  font-size: 0.92rem;
}
.cookie-banner a { color: var(--primary); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.2rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta { display: none; }

  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 4rem; }
  .section { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
