/* ═══════════════════════════════════════════════════════════════════════════
   Kapitalanlagerechner24.de — Design 2026
   Modern Finance · Clean · Fast
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tokens ────────────────────────────────────────────────────────────────── */
:root {
  --blue:       #2563eb;
  --blue-dark:  #1d4ed8;
  --blue-light: #eff6ff;
  --blue-mid:   #bfdbfe;
  --green:      #059669;
  --green-light:#d1fae5;
  --teal:       #0891b2;
  --orange:     #ea580c;
  --purple:     #7c3aed;
  --red:        #dc2626;
  --text:       #0f172a;
  --text-2:     #334155;
  --text-3:     #64748b;
  --border:     #e2e8f0;
  --bg:         #ffffff;
  --bg-2:       #f8fafc;
  --bg-3:       #f1f5f9;
  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 32px rgba(0,0,0,.1);
  --transition: 200ms ease;
  --header-h:   64px;
  --container:  1160px;
}

/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4,h5 { line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.center { text-align: center; }
.mt-3 { margin-top: 3rem; }
.positive { color: var(--green); }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: inherit; font-weight: 600; font-size: .95rem;
  padding: .65rem 1.4rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary   { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline   { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white     { background: #fff; color: var(--blue); border-color: #fff; }
.btn-white:hover { background: var(--blue-light); }
.btn-sm  { font-size: .85rem; padding: .5rem 1rem; }
.btn-lg  { font-size: 1.05rem; padding: .8rem 1.75rem; }

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  height: 100%;
  display: flex; align-items: center; gap: 2rem;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: 1rem; color: var(--text);
  text-decoration: none; flex-shrink: 0;
}
.logo:hover { text-decoration: none; color: var(--blue); }
.logo-badge {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; flex-shrink: 0;
}
.logo-text { white-space: nowrap; }
.logo-text strong { color: var(--blue); }
.logo-24 { color: var(--text-3); font-weight: 400; }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text strong { color: #93c5fd; }
.logo-light .logo-24 { color: rgba(255,255,255,.6); }
.logo-light .logo-badge { background: rgba(255,255,255,.2); }

/* Desktop Nav */
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: .25rem; align-items: center; }
.main-nav a {
  font-size: .9rem; font-weight: 500; color: var(--text-2);
  padding: .4rem .75rem; border-radius: var(--radius-sm);
  transition: all var(--transition); text-decoration: none;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue); background: var(--blue-light); }

/* Dropdown */
.nav-has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + .5rem); left: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: .5rem;
  min-width: 220px; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: all var(--transition);
}
.nav-has-dropdown:hover .nav-dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-dropdown li a {
  display: block; padding: .5rem .75rem; border-radius: var(--radius-sm);
  font-size: .88rem; color: var(--text-2);
  text-decoration: none;
}
.nav-dropdown li a:hover { background: var(--blue-light); color: var(--blue); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

/* Mobile Toggle */
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
}
.mobile-toggle span {
  width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all var(--transition);
  display: block;
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none; padding: 1.25rem; border-top: 1px solid var(--border);
  background: #fff;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav a {
  display: block; padding: .6rem .75rem; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 500; color: var(--text-2);
  text-decoration: none;
}
.mobile-nav a:hover { background: var(--blue-light); color: var(--blue); }
.mobile-section-label {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-3); padding: .75rem .75rem .25rem;
}

/* ── Content offset ────────────────────────────────────────────────────────── */
body > *:not(.site-header) { padding-top: 0; }
.site-header + * { margin-top: var(--header-h); }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #f8faff 0%, #eff6ff 50%, #f0fdf4 100%);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center;
  background: var(--green-light); color: var(--green);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  padding: .3rem .85rem; border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 1.25rem; color: var(--text);
}
.hero-highlight { color: var(--blue); }
.hero-sub { font-size: 1.1rem; color: var(--text-2); margin-bottom: 2rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero visual */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: .75rem;
}
.hero-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-card:first-child {
  grid-column: 1 / -1;
}
.hero-card-sm { padding: 1.1rem 1.25rem; }
.hcard-label { font-size: .78rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }
.hcard-value { font-size: 2rem; font-weight: 900; color: var(--text); line-height: 1; margin-bottom: .75rem; }
.hcard-value.positive { color: var(--green); }
.hero-card-sm .hcard-value { font-size: 1.5rem; margin-bottom: 0; }
.hcard-bar { height: 6px; background: var(--border); border-radius: 999px; margin-bottom: .5rem; }
.hcard-fill { height: 100%; background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%); border-radius: 999px; }
.hcard-meta { font-size: .78rem; color: var(--text-3); }

/* ── Trust Bar ────────────────────────────────────────────────────────────── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  background: var(--bg);
}
.trust-items {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; align-items: center; padding: .5rem 2rem; }
.trust-num { font-size: 1.4rem; font-weight: 900; color: var(--blue); line-height: 1; }
.trust-label { font-size: .8rem; color: var(--text-3); font-weight: 500; }
.trust-divider { width: 1px; height: 40px; background: var(--border); }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section { padding: 4.5rem 0; }
.section-light { background: var(--bg-2); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .6rem; }
.section-header p { font-size: 1.05rem; color: var(--text-3); max-width: 520px; margin: 0 auto; }

/* ── Rechner-Grid ─────────────────────────────────────────────────────────── */
.rechner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.rechner-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  text-decoration: none; color: var(--text);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.rechner-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--blue-mid); text-decoration: none; }
.rechner-card-featured {
  grid-column: 1 / -1;
  flex-direction: row; gap: 1.5rem; align-items: flex-start;
  background: linear-gradient(135deg, var(--blue-light), #f0fdf4);
  border-color: var(--blue-mid);
}
.rechner-card-featured:hover { background: linear-gradient(135deg, #dbeafe, #dcfce7); }
.rechner-card-featured .rc-body { flex: 1; }

.rc-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900; flex-shrink: 0;
  margin-bottom: 1rem;
}
.rechner-card-featured .rc-icon { margin-bottom: 0; }
.rc-blue   { background: var(--blue); color: #fff; }
.rc-green  { background: #10b981; color: #fff; }
.rc-teal   { background: var(--teal); color: #fff; }
.rc-orange { background: var(--orange); color: #fff; }
.rc-purple { background: var(--purple); color: #fff; }
.rc-red    { background: var(--red); color: #fff; }

.rc-body h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.rc-body p  { font-size: .9rem; color: var(--text-2); line-height: 1.55; margin-bottom: .75rem; }
.rc-formula { font-size: .8rem; background: rgba(37,99,235,.08); padding: .4rem .75rem; border-radius: var(--radius-sm); }
.rc-formula code { color: var(--blue); font-family: 'Courier New', monospace; }
.rc-cta { font-size: .85rem; font-weight: 700; color: var(--blue); margin-top: auto; }

/* ── CTA Banner ───────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 3.5rem 0;
}
.cta-banner-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; font-size: 1.75rem; margin-bottom: .4rem; }
.cta-banner p  { color: rgba(255,255,255,.8); font-size: .95rem; max-width: 540px; }

/* ── Post Grid ────────────────────────────────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-grid-wide { grid-template-columns: repeat(2, 1fr); }
.post-grid-3 { grid-template-columns: repeat(3, 1fr); }

.post-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; color: var(--text);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--blue-mid); text-decoration: none; }

.pc-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-3); }
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .pc-thumb img { transform: scale(1.03); }
.pc-thumb-placeholder { display: flex; align-items: center; justify-content: center; }
.pc-thumb-placeholder span { font-size: 2rem; color: var(--blue); opacity: .3; }

.pc-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.pc-meta { font-size: .78rem; color: var(--text-3); font-weight: 500; margin-bottom: .5rem; }
.pc-body h2, .pc-body h3 { font-size: 1rem; line-height: 1.35; margin-bottom: .6rem; }
.pc-body p { font-size: .875rem; color: var(--text-2); line-height: 1.55; flex: 1; }
.pc-link { font-size: .85rem; font-weight: 700; color: var(--blue); margin-top: .75rem; display: inline-block; }
.pc-title { font-size: 1.05rem; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: #fff;
}
.faq-item summary {
  padding: 1rem 1.25rem; font-weight: 600; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-size: .95rem;
}
.faq-item summary::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--text-3); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 1.25rem 1.25rem; color: var(--text-2); font-size: .9rem; border-top: 1px solid var(--border); padding-top: .75rem; }

/* ── Page Hero ────────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-light) 0%, #f0fdf4 100%);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .75rem; }
.page-hero p  { font-size: 1.05rem; color: var(--text-2); max-width: 540px; }
.page-hero-sm { padding: 3rem 0 2.5rem; }

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */
.breadcrumb { background: var(--bg-2); border-bottom: 1px solid var(--border); padding: .6rem 0; }
.breadcrumb ol { display: flex; gap: .5rem; font-size: .82rem; flex-wrap: wrap; }
.breadcrumb li { color: var(--text-3); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: .5rem; color: var(--border); }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb li[aria-current] { color: var(--text-2); font-weight: 500; }

/* ── Article Layout ───────────────────────────────────────────────────────── */
.article-layout { padding: 3rem 0 5rem; }
.article-grid { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }

.article-header { margin-bottom: 2rem; }
.article-meta { font-size: .82rem; color: var(--text-3); margin-bottom: .75rem; display: flex; gap: .5rem; align-items: center; }
.dot { color: var(--border); }
.article-header h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.article-lead { font-size: 1.1rem; color: var(--text-2); line-height: 1.7; }

.article-thumb { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; aspect-ratio: 16/8; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Article body typography */
.article-body { font-size: 1.025rem; line-height: 1.75; color: var(--text-2); }
.article-body h2 { font-size: 1.4rem; color: var(--text); margin: 2rem 0 .75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.article-body h3 { font-size: 1.15rem; color: var(--text); margin: 1.5rem 0 .5rem; }
.article-body p  { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1.25rem 1.5rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: .4rem; }
.article-body a { color: var(--blue); }
.article-body a:hover { text-decoration: underline; }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body blockquote {
  border-left: 3px solid var(--blue); padding: .75rem 1.25rem;
  background: var(--blue-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0; font-style: italic; color: var(--text);
}
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.article-body th { background: var(--bg-3); font-weight: 700; padding: .65rem 1rem; text-align: left; border: 1px solid var(--border); }
.article-body td { padding: .6rem 1rem; border: 1px solid var(--border); }
.article-body tr:nth-child(even) td { background: var(--bg-2); }

/* Rechner boxes in content */
.article-body .wp-block-group,
.article-body .entry-content-asset {
  background: var(--blue-light); border: 1px solid var(--blue-mid);
  border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0;
}

/* Share */
.article-share {
  display: flex; align-items: center; gap: .75rem;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .88rem; font-weight: 600; color: var(--text-3);
}
.share-btn {
  padding: .4rem .9rem; border-radius: var(--radius-sm);
  font-size: .82rem; font-weight: 700; text-decoration: none;
  transition: all var(--transition);
}
.share-x  { background: #000; color: #fff; }
.share-x:hover { background: #333; }
.share-li { background: #0077b5; color: #fff; }
.share-li:hover { background: #005c8f; }
.share-wa { background: #25d366; color: #fff; }
.share-wa:hover { background: #128c7e; }

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.article-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.sidebar-widget {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  margin-bottom: 1rem;
}
.widget-cta { background: linear-gradient(135deg, var(--blue-light), #f0fdf4); border-color: var(--blue-mid); }
.sw-icon { font-size: 2rem; color: var(--blue); margin-bottom: .75rem; }
.sidebar-widget h3 { font-size: 1rem; margin-bottom: .5rem; }
.sidebar-widget h4 { font-size: .9rem; margin-bottom: .75rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.sidebar-widget p  { font-size: .875rem; color: var(--text-2); margin-bottom: 1rem; }
.sw-links { display: flex; flex-direction: column; gap: .35rem; }
.sw-links a { font-size: .88rem; color: var(--text-2); padding: .35rem .5rem; border-radius: var(--radius-sm); transition: all var(--transition); text-decoration: none; }
.sw-links a:hover { background: var(--blue-light); color: var(--blue); }

/* ── Related Posts ────────────────────────────────────────────────────────── */
.related-section { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related-section h2 { font-size: 1.4rem; margin-bottom: 1.5rem; }

/* ── Content Prose (Static Pages) ────────────────────────────────────────── */
.content-prose { max-width: 720px; margin: 0 auto; font-size: 1rem; line-height: 1.75; color: var(--text-2); }
.content-prose h2 { font-size: 1.4rem; color: var(--text); margin: 2rem 0 .75rem; }
.content-prose h3 { font-size: 1.1rem; color: var(--text); margin: 1.5rem 0 .5rem; }
.content-prose p { margin-bottom: 1.25rem; }
.content-prose ul { list-style: disc; margin: 1rem 0 1.25rem 1.5rem; }
.content-prose a { color: var(--blue); }
.content-prose strong { color: var(--text); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { font-size: .875rem; line-height: 1.65; margin-top: .75rem; color: rgba(255,255,255,.55); max-width: 280px; }
.footer-col h4 {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.4);
  margin-bottom: .75rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .35rem; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.65); text-decoration: none; transition: color var(--transition); }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  padding: 1.25rem 0;
  font-size: .8rem; color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rechner-grid { grid-template-columns: repeat(2, 1fr); }
  .rechner-card-featured { grid-column: 1 / -1; }
  .article-grid { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .main-nav { display: none; }
  .header-actions .btn-primary { display: none; }
  .mobile-toggle { display: flex; }

  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 3.5rem 0 3rem; }

  .trust-items { gap: 0; }
  .trust-divider { display: none; }
  .trust-item { padding: .4rem 1rem; }

  .rechner-grid { grid-template-columns: 1fr; }
  .rechner-card-featured { flex-direction: column; }

  .post-grid { grid-template-columns: 1fr; }
  .post-grid-wide { grid-template-columns: 1fr; }
  .post-grid-3 { grid-template-columns: 1fr; }

  .cta-banner-inner { flex-direction: column; text-align: center; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }

  .article-grid { grid-template-columns: 1fr; }
  .related-section .post-grid { grid-template-columns: 1fr; }

  .article-share { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .trust-items { justify-content: flex-start; overflow-x: auto; gap: 0; padding: 0 .5rem; }
}

/* ── Tooltips ─────────────────────────────────────────────────────────────── */
.tt-term {
  border-bottom: 1px dashed var(--primary);
  cursor: help;
  position: relative;
  display: inline;
}
.tt-box {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  padding: 1rem;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--text);
  z-index: 999;
  text-align: left;
}
.tt-box::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fff;
}
.tt-box::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #e2e8f0;
  margin-top: 1px;
}
.tt-term:hover .tt-box,
.tt-term.tt-open .tt-box { display: block; }
.tt-box strong { display: block; margin-bottom: .35rem; color: var(--primary); }
.tt-more { display: inline-block; margin-top: .5rem; font-size: .8rem; color: var(--primary); font-weight: 600; text-decoration: none; }
.tt-more:hover { text-decoration: underline; }
/* Mobile: tap to open */
@media (max-width: 768px) {
  .tt-box { width: 220px; left: 0; transform: none; }
  .tt-box::after, .tt-box::before { left: 1.5rem; }
}
