/* ==========================================================================
   Depot Radar — Landing Page
   Eigenständiges CSS ohne Framework, mobile-first.
   ========================================================================== */

:root {
  --color-bg-dark: #0a0f1e;
  --color-bg-dark-2: #0d1117;
  --color-bg-dark-3: #111827;
  --color-bg-light: #f8fafc;
  --color-bg-light-2: #f1f5f9;
  --color-text-primary: #ffffff;
  --color-text-secondary: #94a3b8;
  --color-text-dark: #0f172a;
  --color-text-muted: #64748b;
  --color-accent: #22c55e;
  --color-accent-hover: #16a34a;
  --color-accent-glow: rgba(34, 197, 94, 0.15);
  --color-border-dark: rgba(255, 255, 255, 0.08);
  --color-border-light: #e2e8f0;
  --color-error: #ef4444;
  --color-warning: #f59e0b;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --text-hero: clamp(2.5rem, 5vw, 4.5rem);
  --text-h2: clamp(1.75rem, 3vw, 2.75rem);
  --text-h3: clamp(1.25rem, 2vw, 1.75rem);

  --section-padding: clamp(4rem, 8vw, 8rem) 0;
  --container-max: 1200px;
  --container-pad: clamp(1rem, 4vw, 2rem);

  --radius-card: 12px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.16);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
[data-lucide] { width: 24px; height: 24px; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.container--narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.eyebrow--center { text-align: center; }
.eyebrow__icon { width: 14px; height: 14px; vertical-align: -2px; }
.metric-sub__icon { width: 13px; height: 13px; vertical-align: -2px; }

.section { padding: var(--section-padding); }
.section--light { background: var(--color-bg-light); }
.section--light-2 { background: var(--color-bg-light-2); }
.section--dark { background: var(--color-bg-dark-2); color: var(--color-text-primary); }

.section__title {
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--color-text-dark);
  max-width: 720px;
  margin-bottom: 3rem;
}
.section__title--light { color: var(--color-text-primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-accent);
  color: #08130c;
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 0 20px var(--color-accent-glow);
  transform: translateY(-1px);
}
.btn--outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-text-primary);
}
.btn--outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn--outline-dark {
  border-color: var(--color-border-light);
  color: var(--color-text-dark);
}
.btn--outline-dark:hover { border-color: var(--color-accent); color: var(--color-accent-hover); }
.btn--sm { padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn--lg { padding: 0.9rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: var(--transition);
}
.nav--static { position: relative; background: var(--color-bg-dark); }
.nav.scrolled {
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-dark);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text-primary);
}
.nav__logo-icon { width: 22px; height: 22px; color: var(--color-accent); }
.nav__links { display: none; align-items: center; gap: 1.75rem; }
.nav__links a:not(.btn) { color: var(--color-text-secondary); font-size: 0.92rem; font-weight: 500; transition: var(--transition); }
.nav__links a:not(.btn):hover { color: var(--color-text-primary); }
.nav__links a.active { color: var(--color-accent); }
.nav__burger {
  background: none; border: none; color: var(--color-text-primary);
  padding: 0.4rem;
}
.nav__burger svg { width: 24px; height: 24px; }
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 0 var(--container-pad) 1.5rem;
  background: rgba(10, 15, 30, 0.97);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a:not(.btn) { color: var(--color-text-secondary); font-weight: 500; }

@media (min-width: 880px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-bg-dark);
  color: var(--color-text-primary);
  overflow: hidden;
  padding: 7rem 0 4rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 75%);
}
.hero__inner {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero__title {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.25rem 0 1.25rem;
}
.hero__subline {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; }
}

/* ---------- Mock score card (Hero) ---------- */
.mock-card {
  background: var(--color-bg-dark-3);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card-hover);
  animation: mockCardIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes mockCardIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.mock-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--color-border-dark);
  margin-bottom: 1.1rem;
}
.mock-card__ticker { font-weight: 700; margin-right: 0.5rem; }
.mock-card__name { color: var(--color-text-secondary); font-size: 0.85rem; }
.mock-card__price { font-weight: 700; text-align: right; }
.mock-card__change { display: block; font-size: 0.8rem; font-weight: 600; }
.mock-card__change--up { color: var(--color-accent); }
.mock-card__change--down { color: var(--color-error); }
.mock-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.mock-card__metric { display: flex; flex-direction: column; gap: 0.4rem; }
.mock-card__metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
}
.mock-card__metric-value { font-size: 1.5rem; font-weight: 700; }
.mock-card__metric-value--sm { font-size: 1.1rem; }
.mock-card__metric-max { font-size: 0.85rem; color: var(--color-text-secondary); font-weight: 500; }
.mock-card__metric-sub { font-size: 0.78rem; color: var(--color-accent); font-weight: 600; }

/* ---------- Score bar ---------- */
.score-bar {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.score-bar--demo { background: rgba(255, 255, 255, 0.1); }
.score-bar__fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--color-accent-hover), var(--color-accent));
  transition: width 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.score-bar__fill.is-visible { width: var(--fill-width, 0%); }

/* ---------- Urgency bar ---------- */
.urgency-bar {
  background: var(--color-bg-dark-3);
  color: var(--color-text-primary);
  padding: 0.9rem 0;
  font-size: 0.88rem;
}
.urgency-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.urgency-bar__counter { color: var(--color-text-secondary); font-weight: 500; }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.feature-card__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--color-accent-glow);
  color: var(--color-accent-hover);
  margin-bottom: 1.1rem;
}
.feature-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--color-text-dark); }
.feature-card__text { font-size: 0.92rem; color: var(--color-text-muted); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  text-align: center;
}
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); text-align: left; } }
.step__number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.step__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--color-text-dark); }
.step__text { color: var(--color-text-muted); font-size: 0.95rem; }

/* ---------- Demo ---------- */
.demo-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 0.75rem;
}
@media (min-width: 900px) { .demo-cards { grid-template-columns: repeat(3, 1fr); } }
.demo-card {
  position: relative;
  background: var(--color-bg-dark-3);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-card);
  padding: 1.75rem;
}
.demo-badge {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-warning);
  border: 1px solid var(--color-warning);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}
.demo-card__label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}
.demo-card__value { font-size: 2.4rem; font-weight: 800; margin-bottom: 0.9rem; }
.demo-card__value span { font-size: 1.1rem; color: var(--color-text-secondary); font-weight: 500; }
.demo-card__value--sm { font-size: 1.7rem; }
.demo-card__note { font-size: 0.85rem; color: var(--color-text-secondary); margin-top: 0.6rem; }
.demo-card__upside { color: var(--color-accent); font-weight: 700; }
.demo-card__breakdown { margin-top: 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.demo-card__breakdown li { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--color-text-secondary); }
.demo-card__breakdown strong { color: var(--color-text-primary); }
.demo-cards__caption { text-align: center; color: var(--color-text-secondary); font-size: 0.85rem; margin-bottom: 3rem; }

.demo-table-wrap { position: relative; max-width: 640px; margin: 0 auto 2rem; }
.demo-badge--table { top: -0.6rem; right: 0.5rem; background: var(--color-bg-dark-2); }
.demo-badge--inline { position: static; display: inline-block; vertical-align: middle; margin-left: 0.5rem; }
.demo-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg-dark-3);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.demo-table thead th {
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--color-border-dark);
}
.demo-table thead th:last-child { text-align: right; }
.demo-table tbody td {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--color-border-dark);
  font-size: 0.92rem;
}
.demo-table tbody tr:last-child td { border-bottom: none; }
.demo-table tbody td:last-child { text-align: right; font-weight: 600; }
.demo-table tbody td.is-positive { color: var(--color-accent); }

.demo-disclaimer {
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.price-card--highlight {
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-card-hover);
}
.price-card__badge {
  position: absolute;
  top: -0.7rem; left: 1.5rem;
  background: var(--color-accent);
  color: #08130c;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}
.price-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-warning);
  margin-bottom: 0.25rem;
}
.price-card__name { font-size: 1.1rem; font-weight: 700; color: var(--color-text-dark); }
.price-card__amount { font-size: 2rem; font-weight: 800; color: var(--color-text-dark); }
.price-card__amount span { font-size: 0.95rem; font-weight: 500; color: var(--color-text-muted); margin-left: 0.25rem; }
.price-card__desc { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 1rem; line-height: 1.5; }
.price-card__note { font-size: 0.78rem; color: var(--color-accent); font-weight: 600; margin-bottom: 1rem; margin-top: -0.5rem; }
.price-card .btn { margin-top: auto; }
.pricing-note { text-align: center; color: var(--color-text-muted); font-size: 0.85rem; margin-top: 2.5rem; }

.price-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
  line-height: 1.4;
}
.price-card__features li { position: relative; padding-left: 1.3rem; color: var(--color-text-dark); }
.price-card__features li::before {
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-weight: 700;
}
.price-card__features li.pf-yes::before { content: '✓'; color: var(--color-accent); }
.price-card__features li.pf-no { color: var(--color-text-muted); }
.price-card__features li.pf-no::before { content: '–'; color: var(--color-text-muted); }

/* ---------- Application form ---------- */
.form-urgency {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  border-radius: var(--radius-card);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.form-errors {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  border-radius: var(--radius-card);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}
.form-errors ul { margin-top: 0.5rem; padding-left: 1.25rem; list-style: disc; }

.application-form {
  background: var(--color-bg-dark-3);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-row--three { grid-template-columns: 1fr; }
@media (min-width: 760px) { .form-row--three { grid-template-columns: 1fr 1fr 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.25rem; }
.form-row .form-field { margin-bottom: 0; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--color-text-secondary); }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  background: var(--color-bg-dark);
  border: 1px solid var(--color-border-dark);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text-primary);
  transition: var(--transition);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--color-text-muted); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field--checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-text-secondary);
}
.form-field--checkbox input { margin-top: 0.2rem; accent-color: var(--color-accent); }
.form-field--checkbox a { color: var(--color-accent); text-decoration: underline; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--color-error); }
.form-field__error { color: #fca5a5; font-size: 0.8rem; }
.char-counter { font-size: 0.78rem; color: var(--color-text-muted); text-align: right; }
.char-counter.is-warning { color: var(--color-warning); }

.form-footnote { text-align: center; font-size: 0.82rem; color: var(--color-text-muted); margin-top: 1.25rem; }

/* ---------- Thanks page ---------- */
.thanks { min-height: 70vh; display: flex; align-items: center; background: var(--color-bg-dark); color: var(--color-text-primary); }
.thanks__inner { text-align: center; max-width: 560px; margin: 0 auto; padding: 4rem 1rem; }
.thanks__icon { width: 84px; height: 84px; margin: 0 auto 1.75rem; display: block; }
.thanks__icon-circle { stroke: var(--color-accent); stroke-width: 2; stroke-dasharray: 166; stroke-dashoffset: 166; animation: circleDraw 0.6s ease-out forwards; }
.thanks__icon-check { stroke: var(--color-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: checkDraw 0.4s 0.5s ease-out forwards; }
@keyframes circleDraw { to { stroke-dashoffset: 0; } }
@keyframes checkDraw { to { stroke-dashoffset: 0; } }
.thanks__title { font-size: var(--text-h2); margin-bottom: 1.25rem; }
.thanks__text { color: var(--color-text-secondary); margin-bottom: 2rem; line-height: 1.7; }

/* ---------- Legal-Seiten (Impressum/AGB/Datenschutz/Kontakt) ---------- */
.legal { padding: 8rem 0 5rem; min-height: 60vh; }
.legal__title { font-size: var(--text-h2); margin-bottom: 0.75rem; }
.legal__meta { color: var(--color-text-muted); font-size: 0.85rem; margin-bottom: 2.5rem; }
.legal__placeholder { color: var(--color-text-muted); margin-bottom: 2rem; line-height: 1.7; }
.legal__placeholder p { margin-bottom: 0.75rem; }

.legal__content { color: var(--color-text-secondary); line-height: 1.7; max-width: 680px; }
.legal__content h2 {
  font-size: 1.2rem;
  color: var(--color-text-dark);
  margin: 2.25rem 0 0.75rem;
}
.legal__content h2:first-child { margin-top: 0; }
.legal__content p { margin-bottom: 0.9rem; }
.legal__content ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 0.9rem; }
.legal__content li { margin-bottom: 0.4rem; }
.legal__content strong { color: var(--color-text-dark); font-weight: 600; }
.legal__content a { color: var(--color-accent); text-decoration: underline; }
.legal__content address { font-style: normal; margin-bottom: 0.9rem; }
.legal__back { display: inline-block; margin-top: 2.5rem; }

/* ---------- Footer ---------- */
.footer { background: var(--color-bg-dark); color: var(--color-text-secondary); }
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 3rem 0 2rem;
  text-align: center;
}
.footer__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--color-text-primary); }
.footer__tagline { font-size: 0.85rem; margin-top: 0.3rem; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; font-size: 0.85rem; }
.footer__nav a:hover { color: var(--color-text-primary); }
.footer__made { font-size: 0.85rem; }
.footer__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  padding-bottom: 1.5rem;
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border-dark);
  padding-top: 1.5rem;
}
.footer__bottom {
  border-top: 1px solid var(--color-border-dark);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}
.footer__bottom p { margin-bottom: 0.35rem; }
.footer__bottom p:last-child { margin-bottom: 0; }
.footer__disclaimer { color: var(--color-warning); font-weight: 600; }

@media (min-width: 760px) {
  .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- Transparenz-Sektion ---------- */
.trust-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}
@media (min-width: 760px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item { text-align: center; }
.trust-item i {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--color-accent-glow);
  color: var(--color-accent-hover);
  margin-bottom: 1rem;
}
.trust-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--color-text-dark); }
.trust-item p { font-size: 0.92rem; color: var(--color-text-muted); line-height: 1.5; }
.trust-item a { color: var(--color-accent-hover); text-decoration: underline; }

/* ---------- Founder Story ---------- */
.founder__text { margin-top: 1.75rem; }
.founder__text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 1.1rem;
}
.founder__text p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2.5rem; }
.faq-item {
  border-bottom: 1px solid var(--color-border-light);
}
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  list-style: none;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__chevron { flex-shrink: 0; transition: transform 0.2s ease; color: var(--color-text-muted); }
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }
.faq-item__answer { padding: 0 0 1.25rem; color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.6; }
.faq-item__answer p { margin: 0; }

/* ---------- Hero Radar-Sweep ---------- */
.hero__radar {
  position: absolute;
  top: 50%;
  right: -120px;
  width: 560px;
  height: 560px;
  transform: translateY(-50%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.55;
}
.hero__radar::before,
.hero__radar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, 0.18);
}
.hero__radar::after { inset: 90px; }
.hero__radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  /* Sharp edge (Sweep-"Linie") liegt am 0°/360°-Übergang: direkt davor
     (gegen den Uhrzeigersinn, also hinter der Drehrichtung) hell, fading
     zu transparent über die letzten 35° des Kreises — die Spur schleppt
     so hinter der Linie her statt ihr vorauszueilen. */
  background: conic-gradient(from 0deg, transparent 65%, rgba(34, 197, 94, 0.35) 100%);
  animation: radar-spin 6s linear infinite;
}
@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__radar-sweep { animation: none; }
}

.hero__radar-blip {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.hero__radar-blip.is-visible { opacity: 1; }
.hero__radar-blip-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.7), 0 0 16px 6px rgba(74, 222, 128, 0.65);
}
.hero__radar-blip.is-visible .hero__radar-blip-dot {
  animation: radar-blip-flash 1.8s ease-out;
}
@keyframes radar-blip-flash {
  0% { box-shadow: 0 0 10px 4px rgba(255, 255, 255, 1), 0 0 28px 12px rgba(74, 222, 128, 1); }
  100% { box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.7), 0 0 16px 6px rgba(74, 222, 128, 0.65); }
}
.hero__radar-blip-label {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--color-text-primary);
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid rgba(74, 222, 128, 0.55);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.25);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
}
@media (prefers-reduced-motion: reduce) {
  .hero__radar-blip { transition: none; }
  .hero__radar-blip.is-visible .hero__radar-blip-dot { animation: none; }
}

/* ---------- Kundenstimmen ---------- */
.testimonials-placeholder {
  text-align: center;
  margin-top: 2.5rem;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--color-border-light);
  border-radius: var(--radius-card);
  color: var(--color-text-muted);
}
.testimonials-placeholder i { width: 32px; height: 32px; margin-bottom: 1rem; color: var(--color-accent-hover); }
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}
@media (min-width: 760px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.testimonial-card__stars { display: flex; gap: 0.15rem; margin-bottom: 0.75rem; }
.testimonial-card__stars i { width: 16px; height: 16px; color: var(--color-border-light); }
.testimonial-card__stars i.is-filled { color: var(--color-accent); fill: var(--color-accent); }
.testimonial-card__quote { font-size: 0.95rem; color: var(--color-text-dark); line-height: 1.6; margin-bottom: 1.25rem; }
.testimonial-card__author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-card__photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-card__initials {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-glow);
  color: var(--color-accent-hover);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-display);
}
.testimonial-card__author strong { display: block; font-size: 0.9rem; color: var(--color-text-dark); }
.testimonial-card__author span { font-size: 0.8rem; color: var(--color-text-muted); }
.testimonials-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: -0.5rem;
}

/* ---------- Musterdepot (öffentliche Performance-Seite) ---------- */
.depot-perf { padding-top: 8rem; }
.depot-perf__title { font-size: var(--text-h2); margin-bottom: 0.75rem; color: var(--color-text-primary); }
.depot-perf__meta { color: var(--color-text-secondary); margin-bottom: 2.5rem; }
.depot-perf__empty { color: var(--color-text-secondary); }

.depot-perf__chart-wrap {
  background: var(--color-bg-dark-3);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  margin-bottom: 3rem;
}

.depot-perf__period-bar {
  display: flex;
  gap: 0.375rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.dp-period-btn {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.dp-period-btn:hover { border-color: #38bdf8; color: #38bdf8; }
.dp-period-btn--active { border-color: #22c55e; color: #22c55e; background: rgba(34,197,94,0.08); }

.depot-perf__subtitle { font-size: var(--text-h3); color: var(--color-text-primary); margin: 3rem 0 1.25rem; }

.depot-perf__table-wrap {
  overflow-x: auto;
  background: var(--color-bg-dark-3);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-card);
  margin-bottom: 1.5rem;
}
.depot-perf__table { width: 100%; border-collapse: collapse; font-size: 0.9rem; white-space: nowrap; }
.depot-perf__table th {
  text-align: left;
  padding: 0.85rem 1.25rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--color-border-dark);
}
.depot-perf__table td {
  padding: 0.85rem 1.25rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border-dark);
}
.depot-perf__table tbody tr:last-child td { border-bottom: none; }
.depot-perf__table strong { color: var(--color-text-primary); margin-right: 0.4rem; }

.depot-perf__gain--positive { color: var(--color-accent); font-weight: 600; }
.depot-perf__gain--negative { color: var(--color-error); font-weight: 600; }

.depot-perf__comment { color: var(--color-text-primary); font-style: italic; }

.depot-perf__screenshot-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--color-border-dark);
  display: block;
}
.depot-perf__screenshot-link:hover .depot-perf__screenshot-thumb { border-color: var(--color-accent); }

.depot-perf__allocation {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.depot-perf__allocation-chart {
  position: relative;
  width: 320px;
  height: 320px;
  max-height: 600px;
  flex-shrink: 0;
}
.depot-perf__allocation-legend {
  flex: 1;
  min-width: 420px;
}
.depot-perf__allocation-legend li {
  display: grid;
  grid-template-columns: 10px 1fr 58px 72px 110px;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border-dark);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}
.depot-perf__allocation-legend li:last-child { border-bottom: none; }
.depot-perf__allocation-legend strong { color: var(--color-text-primary); }
.depot-perf__allocation-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.depot-perf__allocation-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.depot-perf__allocation-pct { text-align: right; color: var(--color-text-primary); font-weight: 600; }
/* Kein eigenes color hier — .depot-perf__gain--positive/--negative (s.o.)
   müssen die Textfarbe bestimmen, sonst gewinnt diese Regel per Quellreihenfolge. */
.depot-perf__allocation-gain { text-align: right; font-weight: 600; }
.depot-perf__allocation-strategy { color: var(--color-text-secondary); font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.depot-perf__allocation-head {
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.depot-perf__allocation-head .depot-perf__allocation-pct,
.depot-perf__allocation-head .depot-perf__allocation-gain { color: var(--color-text-secondary); font-weight: 400; }

/* ---------- AOS fallback (falls CDN blockiert) ---------- */
[data-aos] { transition-property: transform, opacity; }

/* ---------- Schnellcheck-Widget (Hero auf Landing-Page) ---------- */
.hero-schnellcheck { margin: 0 auto; max-width: 600px; }
.hero-sc-label { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin: 0 0 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-sc-form { width: 100%; }
.hero-sc-input-row { display: flex; gap: 0; }
.hero-sc-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: 10px 0 0 10px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.hero-sc-input::placeholder { color: rgba(255,255,255,0.35); }
.hero-sc-input:focus { border-color: rgba(34,197,94,0.5); }
.hero-sc-btn {
  background: var(--color-accent);
  color: #0a1a0a;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: 0 10px 10px 0;
  padding: 0.8rem 1.25rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.hero-sc-btn:hover { background: var(--color-accent-hover); }
.hero-sc-hint { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 0.5rem; text-align: center; }
@media (max-width: 480px) {
  .hero-sc-input-row { flex-direction: column; gap: 0.5rem; }
  .hero-sc-input { border-right: 2px solid rgba(255,255,255,0.15); border-radius: 10px; }
  .hero-sc-btn { border-radius: 10px; width: 100%; justify-content: center; display: flex; }
}

/* ── Musterdepot TWR-Chart (md-*) ─────────────────────────────────────────── */
.md-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 700px) {
  .md-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .md-kpi-grid { grid-template-columns: 1fr; }
}
.md-kpi-cell {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.md-kpi-label {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.md-kpi-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.md-kpi--positive { color: var(--color-accent); }
.md-kpi--negative { color: var(--color-error); }

.md-range-bar {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.md-range-btn {
  padding: 0.3rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.md-range-btn:hover {
  border-color: rgba(255,255,255,0.25);
  color: var(--color-text-primary);
}
.md-range-btn--active {
  background: rgba(34,197,94,0.12);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.md-chart-wrap {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 1.25rem 1rem 0.75rem;
  margin-bottom: 2rem;
  position: relative;
  transition: opacity 0.2s;
}
.md-chart-wrap--loading { opacity: 0.5; pointer-events: none; }

/* ════════════════════════════════════════════════════════
   PERFORMANCE-RECHNER
   ════════════════════════════════════════════════════════ */

.pr-page {
  max-width: 1136px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ── Intro ─────────────────────────────────────────────── */
.pr-intro    { margin-bottom: 2rem; }
.pr-headline { font-size: 2rem; font-weight: 700; color: #1a1a2e; margin: 0 0 .75rem; line-height: 1.2; }
.pr-subline  { font-size: 1rem; color: #52514e; margin: 0; line-height: 1.7; }

/* ── Karte ─────────────────────────────────────────────── */
.pr-card {
  background: #ffffff;
  border: 0.5px solid #e2e0d9;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

/* ── Input-Grid ────────────────────────────────────────── */
.pr-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.pr-field label {
  display: block;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
  margin-bottom: 6px;
}
.pr-input-wrap {
  display: flex;
  align-items: center;
  border: 0.5px solid #d1cfc6;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .15s;
}
.pr-input-wrap:focus-within { border-color: #2563eb; }
.pr-input-prefix {
  background: #f4f2eb;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  padding: 0 10px;
  height: 40px;
  display: flex;
  align-items: center;
  border-right: 0.5px solid #d1cfc6;
  flex-shrink: 0;
}
.pr-input-wrap input {
  border: none !important;
  outline: none !important;
  border-radius: 0 !important;
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  height: 40px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  background: transparent;
}

/* ── Slider ────────────────────────────────────────────── */
.pr-slider-block           { margin-bottom: 1.5rem; }
.pr-slider-block:last-child { margin-bottom: 0; }
.pr-slider-header          { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.pr-slider-header label    { font-size: 12px; color: #64748b; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.pr-slider-val             { font-size: 17px; font-weight: 700; color: #1a1a2e; }
.pr-slider-block input[type="range"] { width: 100%; display: block; }
.pr-slider-ticks           { display: flex; justify-content: space-between; margin-top: 5px; }
.pr-slider-ticks span      { font-size: 10px; color: #94a3b8; }
.pr-context-hint           { font-size: 12px; color: #2563eb; margin-top: 6px; min-height: 16px; }

/* ── KPI-Zeile ─────────────────────────────────────────── */
.pr-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 1.25rem;
}
.pr-kpi-card              { background: #f8f7f3; border-radius: 10px; padding: 14px; }
.pr-kpi-card--highlight   { background: #f0fdf4; border: 0.5px solid #bbf7d0; }
.pr-kpi-label             { font-size: 11px; color: #64748b; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; margin-bottom: 6px; }
.pr-kpi-val               { font-size: 1.35rem; font-weight: 700; color: #1a1a2e; line-height: 1.15; word-break: break-word; }
.pr-kpi-val--green        { color: #16a34a; }
.pr-kpi-sub               { font-size: 11px; color: #94a3b8; margin-top: 3px; }

/* ── Legende ───────────────────────────────────────────── */
.pr-legend      { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 10px; }
.pr-legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #64748b; }
.pr-legend-line { display: inline-block; width: 22px; height: 3px; border-radius: 2px; }
.pr-legend-line--blue  { background: #2a78d6; }
.pr-legend-line--amber { height: 0; border-top: 3px dashed #eda100; }
.pr-legend-line--gray  { background: #c3c2b7; }

/* ── Chart ─────────────────────────────────────────────── */
.pr-chart-section { background: #ffffff; border: 0.5px solid #e2e0d9; border-radius: 12px; padding: 1.25rem; margin-bottom: 1.25rem; }
.pr-chart-wrap    { position: relative; width: 100%; height: 280px; }

/* ── Selbstläufer ──────────────────────────────────────── */
.pr-selfrunner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  background: #eff6ff;
  border: 0.5px solid #bfdbfe;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #1d4ed8;
  line-height: 1.5;
}
.pr-selfrunner-icon { font-size: 16px; flex-shrink: 0; line-height: 1.5; }

/* ── Festgeld-Box ──────────────────────────────────────── */
.pr-fg-box {
  background: #fefce8;
  border: 0.5px solid #fde68a;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.pr-fg-row           { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.pr-fg-row--bottom   { margin-bottom: 14px; }
.pr-fg-label         { font-size: 11px; color: #92400e; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.pr-fg-hint          { font-size: 11px; color: #b45309; margin-top: 2px; }
.pr-fg-val           { font-size: 1.4rem; font-weight: 700; color: #1a1a2e; }
.pr-fg-diff          { font-size: 1rem; font-weight: 700; color: #16a34a; }
.pr-fg-note {
  font-size: 12px;
  color: #78716c;
  line-height: 1.7;
  border-top: 0.5px solid #fde68a;
  padding-top: 12px;
}

/* ── CTA ───────────────────────────────────────────────── */
.pr-cta           { text-align: center; padding: 2rem; background: #f0f7ff; border-radius: 12px; border: 0.5px solid #bfdbfe; }
.pr-cta-title     { font-size: 1.2rem; font-weight: 700; color: #1a1a2e; margin: 0 0 8px; }
.pr-cta-sub       { font-size: .9rem; color: #64748b; margin: 0 0 18px; }
.pr-cta-btn       { display: inline-block; background: #2563eb; color: #fff; padding: 12px 28px; border-radius: 8px; font-size: .95rem; font-weight: 700; text-decoration: none; transition: background .2s; }
.pr-cta-btn:hover { background: #1d4ed8; }
.pr-cta-disclaimer      { margin-top: 14px; font-size: 11px; color: #94a3b8; }
.pr-cta-disclaimer a    { color: #64748b; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 580px) {
  .pr-inputs-grid { grid-template-columns: 1fr; }
  .pr-kpi-grid    { grid-template-columns: 1fr 1fr; }
  .pr-kpi-grid > .pr-kpi-card--highlight { grid-column: 1 / -1; }
  .pr-headline    { font-size: 1.5rem; }
  .pr-chart-wrap  { height: 220px; }
  .pr-table th, .pr-table td { font-size: 12px; padding: 8px 10px; }
  .pr-table-num { display: none; }
  .pr-table-num:first-of-type { display: table-cell; }
}

/* ── Einzahlungs-Bar ───────────────────────────────────────────────── */
.pr-capital-bar {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  background: #f8f7f3;
  border: 0.5px solid #e2e0d9;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 1.25rem;
}
.pr-capital-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
  flex-shrink: 0;
}
.pr-capital-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  flex-shrink: 0;
}
.pr-capital-hint {
  font-size: 12px;
  color: #94a3b8;
}

/* ── Vergleichstabelle ─────────────────────────────────────────────── */
.pr-table-wrap {
  background: #ffffff;
  border: 0.5px solid #e2e0d9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.pr-table { width: 100%; border-collapse: collapse; }
.pr-table th {
  background: #f8f7f3;
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
}
.pr-table th.pr-table-num { text-align: right; }
.pr-table td {
  padding: 11px 14px;
  font-size: 13px;
  color: #1a1a2e;
  border-top: 0.5px solid #f1f0eb;
  vertical-align: middle;
}
.pr-table td.pr-table-num { text-align: right; font-variant-numeric: tabular-nums; }
.pr-table tbody tr { cursor: default; transition: background .12s; }
.pr-table tbody tr:hover td { background: #f5f4f0; }
.pr-table-row--highlight td { background: #f0f7ff; font-weight: 600; }
.pr-table-row--highlight:hover td { background: #e8f1fc; }
.pr-table-pos { color: #16a34a; }
.pr-table-neg { color: #dc2626; }
.pr-ertrag-jahr, .pr-ertrag-monat { display: block; white-space: nowrap; }
.pr-ertrag-monat { font-size: 11px; opacity: .75; }
.pr-ertrag-unit  { font-size: 10px; opacity: .7; margin-left: 2px; }
.pr-table-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
  vertical-align: middle;
}
.pr-table-note {
  font-size: 11px;
  color: #64748b;
  padding: 8px 14px;
  border-top: 0.5px solid #f1f0eb;
  background: #fafaf8;
}
