/* ============================================
   BALKONKRAFT-CHECK — Premium Dark Editorial
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

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

:root {
  /* Colors - Light Theme */
  --bg-0: #f8fafc;
  --bg-1: #ffffff;
  --bg-2: #ffffff;
  --bg-3: #f1f5f9;
  --bg-4: #e2e8f0;

  --border: rgba(0,0,0,0.06);
  --border-hover: rgba(0,0,0,0.12);
  --border-strong: rgba(0,0,0,0.15);

  --text: #0f172a;
  --text-2: #334155;
  --text-3: #64748b;
  --text-4: #94a3b8;

  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-glow: rgba(37, 99, 235, 0.15);
  --accent-muted: rgba(37, 99, 235, 0.08);

  --green: #059669;
  --green-muted: rgba(5,150,105,0.1);
  --orange: #ea580c;
  --orange-muted: rgba(234,88,12,0.1);
  --yellow: #d97706;
}

[data-theme="dark"] {
  --bg-0: #111113;
  --bg-1: #27272a;
  --bg-2: #3f3f46;
  --bg-3: #52525b;
  --bg-4: #71717a;

  --border: rgba(255,255,255,0.1);
  --border-hover: rgba(255,255,255,0.15);
  --border-strong: rgba(255,255,255,0.22);

  --text: #fdfdfd;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --text-4: #52525b;

  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.2);
  --accent-muted: rgba(59, 130, 246, 0.12);

  --green: #10b981;
  --green-muted: rgba(16,185,129,0.1);
  --orange: #f97316;
  --orange-muted: rgba(249,115,22,0.1);
  --yellow: #eab308;
}

:root {
  /* Spacing */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
  
  --mw: 1140px;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-sans); background: var(--bg-0); color: var(--text-2); line-height: 1.65; font-size: 16px; overflow-x: hidden; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--text); letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-sans); }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--mw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ========== AMBIENT GLOWS ========== */
.ambient-glow { display: none; }
.glow-hero { display: none; }
.glow-calc { display: none; }

/* ========== NAV ========== */
.nav { 
  position: sticky; top: 0; z-index: 100; 
  background: rgba(255, 255, 255, 0.85); 
  backdrop-filter: blur(20px) saturate(180%); 
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border); 
  height: var(--nav-h); 
  transition: background 0.3s;
}
[data-theme="dark"] .nav {
  background: rgba(9, 9, 11, 0.85);
}
.nav__inner { max-width: var(--mw); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; gap: 40px; }
.nav__logo { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text); flex-shrink: 0; }
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; gap: 8px; flex: 1; }
.nav__links a { font-size: 0.85rem; font-weight: 500; color: var(--text-3); padding: 8px 14px; border-radius: var(--r-sm); transition: 0.2s ease; }
.nav__links a:hover { color: var(--text); background: var(--bg-3); }

/* Premium CTA Button (with Shine Effect) */
.btn-primary {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #fff;
  border: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary::after, .btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: 0s;
  pointer-events: none;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.btn-primary:hover::after, .btn-secondary:hover::after {
  left: 200%;
  transition: left 0.6s ease-in-out;
}

.theme-toggle {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--bg-4);
  border-color: var(--border-hover);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}
.theme-toggle .moon-icon { display: none; }
[data-theme="dark"] .theme-toggle .sun-icon { display: none; }
[data-theme="dark"] .theme-toggle .moon-icon { display: block; }

.nav__hamburger { display: none; background: none; border: 1px solid var(--border-hover); color: var(--text); width: 40px; height: 40px; border-radius: var(--r-sm); font-size: 1.2rem; align-items: center; justify-content: center; }

/* Mobile Menu */
.mobile-menu { position: fixed; inset: 0; background: var(--bg-0); z-index: 200; padding: 24px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: 0.3s ease; }
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu__close { background: none; border: 1px solid var(--border-hover); width: 40px; height: 40px; border-radius: var(--r-sm); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; color: var(--text); }
.mobile-menu a { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--text-2); padding: 16px 0; border-bottom: 1px solid var(--border); transition: 0.2s; }
.mobile-menu a:hover { color: var(--text); padding-left: 8px; }

/* ========== HERO ========== */
.hero { position: relative; border-bottom: 1px solid var(--border); padding: 80px 0 96px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('img/hero.png') center/cover no-repeat; opacity: 0.25; z-index: 0; pointer-events: none; transform: scaleX(-1); -webkit-mask-image: linear-gradient(to left, transparent 0%, black 50%); mask-image: linear-gradient(to left, transparent 0%, black 50%); }
[data-theme="light"] .hero::before { opacity: 0.12; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 400px; gap: 64px; align-items: center; position: relative; z-index: 1; }

.hero__bread { font-size: 0.8rem; color: var(--text-3); margin-bottom: 24px; font-weight: 500; }
.hero__bread a { color: var(--text-2); transition: 0.2s; }
.hero__bread a:hover { color: var(--accent); }

.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 24px; text-wrap: balance; }
.hero__sub { font-size: 1.1rem; color: var(--text-2); line-height: 1.7; margin-bottom: 40px; max-width: 600px; text-wrap: pretty; }

.hero__meta { display: flex; align-items: center; gap: 20px; font-size: 0.85rem; color: var(--text-3); flex-wrap: wrap; font-weight: 500; }
.hero__author { display: flex; align-items: center; gap: 10px; }
.hero__avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-4); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: var(--text); border: 1px solid var(--border-hover); }



/* ========== TRUST BAR ========== */
.trust { border-bottom: 1px solid var(--border); padding: 16px 0; background: var(--bg-1); }
.trust__inner { display: flex; gap: 40px; font-size: 0.85rem; color: var(--text-3); font-weight: 500; justify-content: center; }
.trust__item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.trust__item svg { width: 18px; height: 18px; fill: var(--green); }

/* ========== SECTION BASE ========== */
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-0); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { margin-bottom: 48px; text-align: center; max-width: 600px; margin-left: auto; margin-right: auto; }
.section__head--left { text-align: left; max-width: 100%; display: flex; justify-content: space-between; align-items: flex-end; }
.section__title { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.section__sub { font-size: 1.05rem; color: var(--text-2); }
.section__link { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; transition: 0.2s; }
.section__link:hover { color: var(--accent-hover); transform: translateX(4px); }

/* ========== STATS ========== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px 24px; position: relative; overflow: hidden; transition: 0.3s; }
.stat:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--bg-3); }
.stat::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.stat:nth-child(1)::before { background: var(--accent); }
.stat:nth-child(2)::before { background: var(--green); }
.stat:nth-child(3)::before { background: var(--orange); }
.stat:nth-child(4)::before { background: var(--yellow); }
.stat__num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; line-height: 1; color: var(--text); margin-bottom: 4px; }
.stat__unit { font-family: var(--font-display); font-size: 0.9rem; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.stat__label { font-size: 0.9rem; color: var(--text-2); margin-top: 12px; line-height: 1.5; }

/* ========== PRODUCT CARDS 2.0 ========== */
.products { display: flex; flex-direction: column; gap: 24px; }

.p-card { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--r-lg); display: grid; grid-template-columns: 240px 1fr 280px; align-items: stretch; transition: 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.p-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }

.p-card--top { border: 1px solid var(--accent-muted); box-shadow: 0 4px 20px var(--accent-muted); }

.p-card__img-wrap { position: relative; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.p-card__rank { position: absolute; top: 24px; left: 24px; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-4); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--text); }
.p-card--top .p-card__rank { background: var(--accent); color: #fff; }
.p-card__img-wrap img { width: 100%; max-height: 220px; object-fit: contain; background: #fff; padding: 12px; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 8px 16px rgba(0,0,0,0.04); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
[data-theme="dark"] .p-card__img-wrap img { border: 2px solid rgba(255, 126, 51, 0.3); box-shadow: 0 8px 32px rgba(255, 126, 51, 0.1); }
.p-card:hover .p-card__img-wrap img { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(255, 126, 51, 0.2); border-color: var(--accent); }

.p-card__body { padding: 32px; display: flex; flex-direction: column; }
.p-card__badge-row { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.p-card__badge { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 2px; display: inline-block; color: #fff; }
.p-card__badge--winner { background: #eab308; color: #111; }
.p-card__badge--value { background: var(--text-3); color: #fff; }

.p-card__name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--text); line-height: 1.2; margin-bottom: 12px; }

.p-card__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.p-card__stars { display: flex; gap: 2px; }
.p-card__stars svg { width: 16px; height: 16px; fill: var(--yellow); }
.p-card__stars-empty { fill: var(--text-4) !important; }
.p-card__score { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--text); }

.p-card__specs { display: flex; gap: 0; flex-wrap: wrap; row-gap: 8px; margin-bottom: 24px; align-items: center; }
.p-spec { font-size: 0.85rem; color: var(--text-2); font-weight: 500; display: flex; align-items: center; padding-right: 12px; }
.p-spec:not(:first-child) { padding-left: 12px; }
.p-spec:not(:last-child) { border-right: 1px solid var(--border-strong); }

.p-card__pros { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.p-card__pro { font-size: 0.9rem; color: var(--text-2); display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; }
.p-card__pro svg { width: 18px; height: 18px; fill: var(--green); flex-shrink: 0; margin-top: 2px; }

.p-card__action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 32px 40px; text-align: center; }
.p-card__price-box { margin-bottom: 12px; }
.p-card__price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 4px; }
.p-card__price-old { font-size: 0.85rem; color: var(--text-3); text-decoration: line-through; }
.p-card__cta { width: 100%; padding: 14px; font-size: 0.95rem; }
.p-card__cta2 { font-size: 0.85rem; font-weight: 600; color: var(--text-3); transition: 0.2s; border-bottom: 1px solid transparent; margin-top: 4px; }
.p-card__cta2:hover { color: var(--text); border-color: var(--text); }

/* ========== PREMIUM CALCULATOR ========== */
.calc-box { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--r-lg); display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.calc-form { padding: 48px; display: flex; flex-direction: column; gap: 32px; }
.calc-field label { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 12px; }
.calc-field label span:first-child { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text); }
.calc-field__sub { font-size: 0.85rem; color: var(--text-3); font-weight: 500; }

.calc-select-wrap { position: relative; }
.calc-select-wrap svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: var(--text-3); pointer-events: none; }
.calc-field select { width: 100%; background: var(--bg-1); border: 1px solid var(--border-hover); color: var(--text); padding: 14px 16px; border-radius: var(--r-sm); font-family: var(--font-sans); font-size: 1rem; outline: none; transition: 0.2s; appearance: none; cursor: pointer; }
.calc-field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-muted); }

/* Custom Range Slider with Fill */
.calc-range { position: relative; padding: 10px 0; }
.calc-range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: var(--bg-4); outline: none; background-image: linear-gradient(var(--accent), var(--accent)); background-size: var(--progress) 100%; background-repeat: no-repeat; cursor: pointer; }
.calc-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,0.4); cursor: grab; transition: 0.1s; }
.calc-range input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.1); }
.calc-range__val { display: inline-block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--accent); min-width: 70px; text-align: right; }

.calc-result { position: relative; background: var(--bg-1); padding: 48px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border-left: 1px solid var(--border); overflow: hidden; }
[data-theme="dark"] .calc-result { background: var(--bg-1); }
.calc-result__label { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; position: relative; z-index: 1; }
.calc-result__num { font-family: var(--font-display); font-size: 4rem; font-weight: 800; line-height: 1; color: var(--green); text-shadow: none; position: relative; z-index: 1; }
.calc-result__num span { font-size: 0.3em; color: var(--text-2); font-weight: 600; vertical-align: super; text-shadow: none; }
.calc-result__note { font-size: 0.85rem; color: var(--text-3); margin-top: 12px; margin-bottom: 32px; position: relative; z-index: 1; }

.calc-result__rows { width: 100%; display: flex; flex-direction: column; gap: 16px; text-align: left; padding-top: 24px; border-top: 1px solid var(--border); position: relative; z-index: 1; }
.calc-result__row { display: flex; justify-content: space-between; font-size: 0.9rem; align-items: center; }
.calc-result__row span:first-child { color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.calc-result__row span:first-child svg { width: 14px; height: 14px; fill: var(--text-3); }
.calc-result__row span:last-child { font-family: var(--font-display); font-weight: 700; color: var(--text); font-size: 1rem; }

.calc-result__cta { margin-top: 32px; width: 100%; position: relative; z-index: 1; padding: 14px; font-size: 0.95rem; }

/* ========== COMPARISON TABLE ========== */
.tbl-wrap { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--r-lg); overflow-x: auto; box-shadow: 0 4px 20px rgba(0,0,0,0.2); -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
.tbl-wrap::-webkit-scrollbar { display: none; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.tbl thead { background: var(--bg-1); }
.tbl th { padding: 16px 24px; text-align: left; font-family: var(--font-display); font-weight: 700; color: var(--text); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border-strong); white-space: nowrap; }
.tbl td { padding: 20px 24px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: var(--bg-3); color: var(--text); }
.tbl__name { font-family: var(--font-display); font-weight: 800; color: var(--text); white-space: nowrap; font-size: 1rem; }
.tbl__badge { display: inline-block; font-family: var(--font-display); font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 8px; border-radius: 4px; margin-left: 10px; vertical-align: middle; }
.tbl__badge--blue { background: var(--accent-muted); color: var(--accent); }
.tbl__badge--green { background: var(--green-muted); color: var(--green); }
.tbl__icon { text-align: center; }
.tbl__icon svg { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }
.tbl__yes svg { fill: var(--green); }
.tbl__no svg { fill: var(--text-2); }

/* ========== RATGEBER CARDS ========== */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.a-card { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: 0.3s; display: flex; flex-direction: column; }
.a-card:hover { border-color: var(--border-strong); box-shadow: 0 12px 30px rgba(0,0,0,0.3); transform: translateY(-4px); }
.a-card__img { height: 200px; position: relative; overflow: hidden; }
.a-card__img img { width: 100%; height: 100%; object-fit: cover; }
.a-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.a-card__cat { font-family: var(--font-display); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 12px; }
.a-card__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; line-height: 1.3; color: var(--text); margin-bottom: 12px; }
.a-card__excerpt { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; margin-bottom: 24px; flex: 1; }
.a-card__meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-3); font-weight: 500; border-top: 1px solid var(--border); padding-top: 16px; }

/* ========== FAQ ========== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: 0.2s; }
.faq-item:hover { border-color: var(--border-hover); background: var(--bg-3); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: none; border: none; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--text); text-align: left; }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-4); display: flex; align-items: center; justify-content: center; transition: 0.3s; flex-shrink: 0; }
.faq-icon svg { width: 12px; height: 12px; fill: var(--text); transition: 0.3s; }
.faq-item.open .faq-icon { background: var(--accent); }
.faq-item.open .faq-icon svg { transform: rotate(45deg); fill: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 24px; }
.faq-a p { font-size: 0.95rem; color: var(--text-2); line-height: 1.7; }

/* ========== NEWSLETTER ========== */
.nl-box { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.nl-text h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.nl-text p { font-size: 1rem; color: var(--text-2); }
.nl-form { display: flex; gap: 12px; flex-shrink: 0; }
.nl-form input { padding: 14px 20px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--bg-0); color: var(--text); font-family: var(--font-sans); font-size: 0.95rem; width: 300px; outline: none; transition: 0.2s; }
.nl-form input:focus { border-color: var(--accent); background: var(--bg-2); }
.nl-form .btn-primary { padding: 14px 28px; }

/* ========== AD SLOTS ========== */
.ad { max-width: var(--mw); margin: 0 auto; padding: 24px; }
.ad__box { background: var(--bg-1); border: 1px dashed var(--border-strong); border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100px; }
.ad__tag { font-family: var(--font-display); font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-4); margin-bottom: 4px; }
.ad__text { font-size: 0.8rem; color: var(--text-4); }

/* ========== FOOTER ========== */
.footer { border-top: 1px solid var(--border); padding: 80px 0 32px; background: var(--bg-0); position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__desc { font-size: 0.9rem; color: var(--text-3); line-height: 1.7; margin-top: 16px; max-width: 320px; }
.footer__col h4 { font-family: var(--font-display); font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); margin-bottom: 20px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col ul a { font-size: 0.9rem; color: var(--text-2); transition: 0.2s; display: inline-block; }
.footer__col ul a:hover { color: var(--accent); transform: translateX(4px); }
.footer__aff { font-size: 0.8rem; color: var(--text-4); line-height: 1.6; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-4); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { transition: 0.2s; }
.footer__legal a:hover { color: var(--text); }

/* ========== SCROLL REVEAL ========== */
.reveal { opacity: 0; transform: translateY(20px); transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* ========== COOKIE BANNER ========== */
.cookie-banner { position: fixed; bottom: 24px; left: 24px; right: 24px; z-index: 9999; display: flex; justify-content: center; pointer-events: none; }
.cookie-banner__inner { background: var(--bg-1); border: 1px solid var(--border-strong); border-radius: var(--r-lg); box-shadow: 0 20px 40px rgba(0,0,0,0.3); padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; max-width: 900px; pointer-events: auto; }
.cookie-banner__text { flex: 1; }
.cookie-banner__text strong { font-family: var(--font-display); font-weight: 800; color: var(--text); font-size: 1.1rem; display: block; margin-bottom: 4px; }
.cookie-banner__text p { font-size: 0.9rem; color: var(--text-2); line-height: 1.5; margin: 0; }
.cookie-banner__text a { color: var(--accent); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner__actions .btn-secondary, .cookie-banner__actions .btn-primary { padding: 10px 20px; font-size: 0.9rem; border-radius: var(--r-sm); }
.cookie-banner__actions .btn-secondary { background: var(--bg-3); color: var(--text); border: 1px solid var(--border); font-family: var(--font-sans); font-weight: 600; cursor: pointer; transition: 0.2s; position: relative; overflow: hidden; }
.cookie-banner__actions .btn-secondary:hover { background: var(--bg-4); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { max-width: 500px; margin: 0 auto; }
  .glow-hero { top: 0; right: 0; }
  
  .stats { grid-template-columns: repeat(2, 1fr); }
  
  .p-card { grid-template-columns: 200px 1fr; }
  .p-card__action { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; border-left: none; border-top: 1px solid var(--border); padding: 24px; }
  .p-card__action > div { text-align: left; }
  .p-card__cta-group { display: flex; gap: 16px; align-items: center; }
  .p-card__cta, .p-card__cta2 { width: auto; margin: 0; }
  
  .calc-box { grid-template-columns: 1fr; }
  .calc-result { border-left: none; border-top: 1px solid var(--border); }
  
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav__links, .nav .btn-primary { display: none; }
  .nav__hamburger { display: flex; }
  
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-card { display: none; } /* Hide complex sidebar on small mobile */
  
  .stats { grid-template-columns: 1fr; gap: 16px; }
  
  .p-card { grid-template-columns: 1fr; }
  .p-card__img-wrap { border-right: none; border-bottom: 1px solid var(--border); height: 200px; }
  .p-card__body { padding: 24px; }
  .p-card__action { flex-direction: column; align-items: stretch; text-align: center; }
  .p-card__action > div { text-align: center; margin-bottom: 8px; }
  .p-card__cta-group { flex-direction: column; width: 100%; }
  
  .articles-grid { grid-template-columns: 1fr; }
  
  .nl-box { flex-direction: column; text-align: center; gap: 24px; padding: 32px 24px; }
  .nl-form { flex-direction: column; width: 100%; }
  .nl-form input { width: 100%; }
  
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  
  .cookie-banner__inner { flex-direction: column; text-align: center; align-items: stretch; padding: 20px; }
  .cookie-banner__actions { flex-direction: column; }
}
