:root {
  --navy-950: #071324;
  --navy-900: #0b1d36;
  --navy-800: #132d52;
  --navy-700: #1e4273;
  --gold-500: #b8944f;
  --gold-600: #9d7b3a;
  --gold-100: #f7f2e7;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 1180px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(7, 19, 36, 0.08);
  --shadow-md: 0 10px 30px rgba(7, 19, 36, 0.08);
  --shadow-lg: 0 20px 50px rgba(7, 19, 36, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Utility Bar */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar a:hover {
  color: var(--white);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy-900);
}

.brand-sub {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: color 0.18s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--navy-900);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold-500);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--navy-900);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--navy-900);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-800);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-600);
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--slate-300);
}

.btn-outline:hover {
  border-color: var(--navy-900);
  background: var(--slate-50);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--white);
  padding: 92px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 24%, rgba(184, 148, 79, 0.16), transparent 48%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 22px;
  color: var(--white);
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 580px;
  margin: 0 0 34px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 32px;
  backdrop-filter: blur(8px);
}

.hero-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin: 0 0 18px;
  color: var(--white);
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.hero-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.86);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  margin-top: 8px;
  flex-shrink: 0;
}

/* Sections */
.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-900);
  margin: 0 0 14px;
}

.section-head p {
  margin: 0;
  color: var(--slate-500);
  font-size: 1.03rem;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

.card-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin: 0 0 12px;
  color: var(--navy-900);
}

.card p {
  margin: 0 0 18px;
  color: var(--slate-700);
  font-size: 0.95rem;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link:hover {
  color: var(--gold-600);
}

/* Pillars / Split Layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.pillar-list {
  display: grid;
  gap: 20px;
}

.pillar-item {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius);
}

.pillar-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--navy-900);
}

.pillar-item p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--slate-700);
}

.info-panel {
  background: var(--navy-900);
  color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.info-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin: 0 0 16px;
}

.info-panel p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 24px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-500);
}

.stat-val {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 4px;
}

/* Interactive Allocation Preview */
.allocator {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.allocator-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tab-btn {
  padding: 9px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--slate-300);
  background: var(--slate-50);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-btn.active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.alloc-bars {
  display: grid;
  gap: 14px;
}

.alloc-row-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.alloc-track {
  height: 10px;
  background: var(--slate-100);
  border-radius: 999px;
  overflow: hidden;
}

.alloc-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy-800), var(--gold-500));
  border-radius: 999px;
  transition: width 0.35s ease;
}

/* CTA Band */
.cta-band {
  background: var(--gold-100);
  border-top: 1px solid rgba(184, 148, 79, 0.25);
  border-bottom: 1px solid rgba(184, 148, 79, 0.25);
  padding: 64px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin: 0 0 8px;
  color: var(--navy-900);
}

.cta-inner p {
  margin: 0;
  color: var(--slate-700);
}

/* Page Banner (Subpages) */
.page-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 58px 0;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin: 0 0 10px;
}

.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  max-width: 660px;
}

/* Forms & Legal Content */
.form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  gap: 18px;
}

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  color: var(--slate-900);
  background: var(--white);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(30, 66, 115, 0.12);
}

.form-notice {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.92rem;
}

.form-notice.show {
  display: block;
}

.legal-box {
  max-width: 820px;
}

.legal-box h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy-900);
  margin: 32px 0 10px;
}

.legal-box h2:first-child {
  margin-top: 0;
}

.legal-box p,
.legal-box li {
  color: var(--slate-700);
}

.placeholder-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--gold-100);
  color: var(--gold-600);
  font-family: monospace;
  font-size: 0.85em;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.76);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  margin: 0 0 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.56);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn-outline {
    display: none;
  }
}

@media (max-width: 640px) {
  .grid-2,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0;
  }

  .section {
    padding: 60px 0;
  }
}

/* =========================================================
   Theme v2 – hellblau / creme-weiss (Raisin-inspirierte Anmutung)
   ========================================================= */
:root {
  --navy-950: #e8f1fc;
  --navy-900: #0b1f4b;
  --navy-800: #143a7a;
  --navy-700: #1a5bb8;
  --gold-500: #1a6fd1;
  --gold-600: #1459ad;
  --gold-100: #eaf2fd;
  --cream: #fbf8f1;
  --blue-100: #e8f1fc;
  --blue-200: #d3e3f7;
  --ink-soft: #3b4d6e;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(11, 31, 75, 0.07);
  --shadow-md: 0 10px 28px rgba(11, 31, 75, 0.09);
  --shadow-lg: 0 18px 44px rgba(11, 31, 75, 0.12);
}
body { background: var(--cream); color: var(--navy-900); }

/* Demo-Hinweis */
.demo-banner { background: #ffffff; border-bottom: 1px solid var(--blue-200); color: var(--ink-soft); text-align: center; font-size: 0.8125rem; padding: 8px 16px; line-height: 1.4; }

/* Topbar */
.topbar { background: var(--blue-100); color: var(--ink-soft); border-bottom: 1px solid var(--blue-200); }
.topbar a:hover { color: var(--navy-900); }

/* Header */
.site-header { background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--blue-200); }
.brand-name { font-weight: 800; letter-spacing: -0.02em; color: var(--navy-900); }
.brand-sub { color: var(--gold-500); }
.main-nav a { color: var(--ink-soft); font-weight: 600; }
.main-nav a:hover, .main-nav a.active { color: var(--navy-900); }
.main-nav a.active::after { height: 3px; border-radius: 3px; }

/* Buttons */
.btn { border-radius: 10px; font-weight: 700; }
.btn-primary, .btn-gold { background: #1a6fd1; color: #fff; }
.btn-primary:hover, .btn-gold:hover { background: #1459ad; }
.btn-outline { color: var(--navy-900); border-color: #9db9de; background: #fff; }
.btn-outline:hover { border-color: #1a6fd1; background: var(--blue-100); }
.btn-outline-light { color: var(--navy-900); border-color: #9db9de; background: #fff; }
.btn-outline-light:hover { border-color: #1a6fd1; background: var(--blue-100); }

/* Hero */
.hero { background: linear-gradient(135deg, #fbf8f1 0%, #e8f1fc 58%, #d3e5fa 100%); color: var(--navy-900); }
.hero::after { background: radial-gradient(circle at 82% 24%, rgba(26, 111, 209, 0.12), transparent 52%); }
.hero h1 { color: var(--navy-900); font-weight: 800; letter-spacing: -0.03em; }
.hero-lead { color: var(--ink-soft); }
.hero-card { background: #fff; border: 1px solid var(--blue-200); box-shadow: var(--shadow-md); backdrop-filter: none; border-radius: 16px; }
.hero-card-title { color: var(--navy-900); font-weight: 700; }
.hero-list li { color: var(--ink-soft); border-bottom: 1px solid #e6eef9; }
.hero-dot { background: #1a6fd1; }
.eyebrow { color: #1a6fd1; }

/* Sections */
.section-alt { background: #f1f6fd; border-color: var(--blue-200); }
.section-head h2, .section-head h2 { font-weight: 800; letter-spacing: -0.02em; }
.section-head p { color: var(--ink-soft); }
.card { border: 1px solid var(--blue-200); border-radius: 14px; background: #fff; }
.card:hover { border-color: #9db9de; }
.card h3 { font-weight: 700; }
.card p { color: var(--ink-soft); }
.card-link { color: #1a6fd1; }
.card-link:hover { color: #1459ad; }
.pillar-item { border: 1px solid var(--blue-200); border-left: 4px solid #1a6fd1; border-radius: 10px; }
.pillar-item p { color: var(--ink-soft); }

/* Info-Panel (vorher dunkel) */
.info-panel { background: var(--blue-100); color: var(--navy-900); border: 1px solid var(--blue-200); border-radius: 16px; box-shadow: var(--shadow-md); }
.info-panel h3 { color: var(--navy-900); font-weight: 800; letter-spacing: -0.02em; }
.info-panel p { color: var(--ink-soft); }
.stat-row { border-top: 1px solid rgba(11, 31, 75, 0.12); }
.stat-label { color: #1a6fd1; font-weight: 700; }
.stat-val { color: var(--navy-900); font-weight: 700; }

/* Allokation */
.allocator { border: 1px solid var(--blue-200); border-radius: 16px; background: #fff; }
.tab-btn { background: #f1f6fd; border-color: var(--blue-200); color: var(--ink-soft); border-radius: 10px; }
.tab-btn.active { background: #1a6fd1; border-color: #1a6fd1; color: #fff; }
.alloc-track { background: #e6eef9; }
.alloc-fill { background: linear-gradient(90deg, #5aa2ee, #1a6fd1); }
#alloc-desc { color: var(--ink-soft) !important; }

/* CTA-Band */
.cta-band { background: var(--blue-100); border-top: 1px solid var(--blue-200); border-bottom: 1px solid var(--blue-200); }
.cta-inner h2 { font-weight: 800; letter-spacing: -0.02em; }

/* Unterseiten-Banner (vorher dunkel) */
.page-hero { background: linear-gradient(135deg, #fbf8f1 0%, #e8f1fc 100%); color: var(--navy-900); border-bottom: 1px solid var(--blue-200); }
.page-hero h1 { color: var(--navy-900); font-weight: 800; letter-spacing: -0.03em; }
.page-hero p { color: var(--ink-soft); }

/* Formulare */
.form-card { border: 1px solid var(--blue-200); border-radius: 14px; }
.field input, .field select, .field textarea { border: 1px solid #b9cde8; border-radius: 10px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #1a6fd1; box-shadow: 0 0 0 3px rgba(26, 111, 209, 0.15); }
.form-notice { background: #e8f5ee; border-color: #9dd8b6; color: #115e37; }
.form-notice.error { background: #fdeaea; border-color: #f3b5b5; color: #9b1c1c; }
.legal-box h2 { font-weight: 800; }
.legal-box p, .legal-box li { color: var(--ink-soft); }
.placeholder-tag { background: #fff4d6; color: #6b4e00; }

/* Footer (vorher dunkel) */
.site-footer { background: var(--blue-100); color: var(--ink-soft); border-top: 1px solid var(--blue-200); }
.footer-title { color: var(--navy-900); font-weight: 700; }
.footer-links a:hover { color: #1a6fd1; }
.footer-grid { border-bottom: 1px solid rgba(11, 31, 75, 0.12); }
.footer-bottom { color: #5b6b8a; }
.brand-name, .site-footer .brand-name { color: var(--navy-900); }

@media (max-width: 960px) {
  .main-nav { background: #fff; border-bottom: 1px solid var(--blue-200); }
}

/* Navigation: keine Zeilenumbrueche in Menue und Buttons */
.main-nav { gap: 22px; }
.main-nav a, .header-actions .btn, .brand-text { white-space: nowrap; }
.header-actions { gap: 10px; flex-shrink: 0; }
@media (max-width: 1180px) { .topbar-inner > span { display: none; } .main-nav { gap: 16px; } .main-nav a { font-size: 0.875rem; } }

/* Mobil: Header-Buttons ausblenden, nur Logo + Burger */
@media (max-width: 760px) {
  .header-actions { display: none; }
  .brand-text { white-space: normal; }
}

/* Hero-Slider */
.hero.has-slider {
  position: relative;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-track {
  display: flex;
  width: 400%;
  height: 100%;
  will-change: transform;
}
.hero-slide {
  width: 25%;
  height: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.hero.has-slider::after {
  background: linear-gradient(100deg, rgba(251, 248, 241, 0.88) 0%, rgba(232, 241, 252, 0.72) 52%, rgba(232, 241, 252, 0.36) 100%);
  z-index: 1;
}
.hero.has-slider .hero-grid {
  position: relative;
  z-index: 2;
}
.hero.has-slider .hero-card {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(8px);
}

/* Festgeld-Rechner */
.rechner-card {
  background: #fff;
  border: 1px solid var(--blue-200);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.rechner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.rechner-field {
  position: relative;
}
.rechner-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.rechner-field input,
.rechner-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #b9cde8;
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--navy-900);
  background: #fff;
  outline: none;
}
.rechner-field input.has-suffix {
  padding-right: 48px;
}
.rechner-field input:focus,
.rechner-field select:focus {
  border-color: #1a6fd1;
  box-shadow: 0 0 0 3px rgba(26, 111, 209, 0.15);
}
.rechner-suffix {
  position: absolute;
  right: 14px;
  bottom: 11px;
  color: var(--ink-soft);
  font-size: 0.875rem;
  pointer-events: none;
}
.rechner-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.rechner-toggle input {
  width: auto;
  accent-color: #1a6fd1;
}
.rechner-toggle label {
  cursor: pointer;
}
.rechner-result {
  margin-top: 20px;
  background: var(--blue-100);
  border: 1px solid var(--blue-200);
  border-radius: 12px;
  padding: 18px 20px;
}
.rechner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.95rem;
}
.rechner-row span:first-child {
  color: var(--ink-soft);
}
.rechner-row span:last-child {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--navy-900);
}
.rechner-total {
  border-top: 1px solid #c3d7f2;
  margin-top: 8px;
  padding-top: 12px;
  font-size: 1.125rem;
}
.rechner-total span:first-child {
  font-weight: 700;
  color: var(--navy-900);
}
.rechner-total span:last-child {
  color: #1a6fd1;
  font-weight: 800;
}
@media (max-width: 560px) {
  .rechner-grid {
    grid-template-columns: 1fr;
  }
  .rechner-card {
    padding: 24px 20px;
  }
}
