/* ============================================================
   Baufinanzierung Erlangen — style.css
   Font: Plus Jakarta Sans | Brand: #0EBA71 / #0F172A / #64748B
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c-emerald:     #0EBA71;
  --c-emerald-h:   #0aa864;
  --c-emerald-bg:  #E8F8F0;
  --c-slate:       #0F172A;
  --c-gray:        #64748B;
  --c-white:       #FFFFFF;
  --c-bg:          #F0F4F8;
  --c-border:      #E2E8F0;
  --font:          'Plus Jakarta Sans', sans-serif;
  --r-card:        12px;
  --shadow:        0 2px 12px rgba(15,23,42,.08);
  --shadow-h:      0 8px 40px rgba(15,23,42,.14);
  --t:             0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-gray);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  font-size: 17px;
}

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { color: var(--c-slate); line-height: 1.2; }

h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.025em;
}

h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -.015em;
}

h3 {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
}

h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

p { color: var(--c-gray); line-height: 1.7; }

a { color: var(--c-emerald); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--c-emerald-h); }

/* ── Section base ─────────────────────────────────────────── */
section { padding: 100px 0; }

@media (max-width: 768px) { section { padding: 56px 0; } }

/* ── Section Header ───────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p  { font-size: 18px; }

@media (max-width: 640px) {
  .section-header { margin-bottom: 36px; }
  .section-header p { font-size: 15px; }
}

.section-tag {
  display: inline-block;
  background: var(--c-emerald-bg);
  color: var(--c-emerald);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--c-emerald);
  color: var(--c-white);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  padding: 13px 26px;
  border: none;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
  line-height: 1;
}
.btn-primary:hover { background: var(--c-emerald-h); color: var(--c-white); transform: translateY(-1px); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ── Reveal Animation ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.up { opacity: 1; transform: none; }


/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  height: 72px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon { display: block; flex-shrink: 0; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-line1 {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-slate);
  letter-spacing: -.01em;
}

.logo-line2 {
  font-size: 9px;
  font-weight: 600;
  color: var(--c-gray);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-gray);
  transition: color var(--t);
}
.nav-links a:hover { color: var(--c-slate); }

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-tel {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-slate);
  white-space: nowrap;
}
.nav-tel:hover { color: var(--c-emerald); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-slate);
  border-radius: 2px;
  transition: all .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; }
  .hamburger { display: flex; }
  .nav-tel { display: none; }
}


/* ============================================================
   HERO
   ============================================================ */
#hero {
  padding-top: 72px;
  background: var(--c-slate);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--c-emerald-bg);
  color: var(--c-emerald);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: .02em;
}

#hero h1 { color: var(--c-white); margin-bottom: 20px; }

.hero-sub {
  color: rgba(255,255,255,.65);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 36px;
}

/* Trust badges */
.trust-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
}

/* ── Multi-Step Form ──────────────────────────────────────── */
.form-card {
  background: var(--c-white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 16px 64px rgba(0,0,0,.28);
}

.form-card-center {
  margin: 0 auto;
  max-width: 560px;
  width: 100%;
}

/* Progress */
.form-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.form-bar-wrap {
  flex: 1;
  height: 4px;
  background: var(--c-border);
  border-radius: 4px;
  overflow: hidden;
}

.form-bar-fill {
  height: 100%;
  background: var(--c-emerald);
  border-radius: 4px;
  width: 25%;
  transition: width .4s ease;
}

.form-step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-gray);
  white-space: nowrap;
}

/* Steps */
.form-step { display: none; }
.form-step.active { display: block; }
.form-step h3 { font-size: 19px; margin-bottom: 16px; color: var(--c-slate); }

/* Option buttons */
.form-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 14px;
  background: var(--c-bg);
  border: 2px solid var(--c-border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-slate);
  cursor: pointer;
  transition: all var(--t);
  text-align: left;
  line-height: 1.3;
}
.form-option:hover,
.form-option.selected {
  border-color: var(--c-emerald);
  background: var(--c-emerald-bg);
  color: var(--c-emerald);
}

.opt-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: inherit;
}

/* Contact step */
.form-contact { display: flex; flex-direction: column; gap: 14px; }

.form-field { display: flex; flex-direction: column; gap: 5px; }

.form-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-slate);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.form-field input {
  font-family: var(--font);
  font-size: 15px;
  padding: 11px 14px;
  border: 2px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-white);
  color: var(--c-slate);
  outline: none;
  width: 100%;
  transition: border-color var(--t);
}
.form-field input:focus { border-color: var(--c-emerald); }
.form-field input::placeholder { color: #CBD5E0; }

.btn-submit {
  display: block;
  width: 100%;
  background: var(--c-slate);
  color: var(--c-white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  padding: 15px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
  margin-top: 4px;
  letter-spacing: -.01em;
}
.btn-submit:hover { background: var(--c-emerald); transform: translateY(-1px); }
.btn-submit:disabled { opacity: .6; cursor: default; transform: none; }

.form-privacy {
  font-size: 11px;
  color: var(--c-gray);
  text-align: center;
  line-height: 1.5;
}
.form-privacy a { color: var(--c-gray); text-decoration: underline; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; max-width: 600px; }
  .form-card { max-width: 100%; }
}

@media (max-width: 640px) {
  .hero-grid { padding-top: 48px; padding-bottom: 48px; }
  .form-card { padding: 24px 18px; }
  .form-options { grid-template-columns: 1fr; }
  .trust-badges { gap: 14px; }
  .btn-primary { width: 100%; text-align: center; }
}


/* ============================================================
   STATS STRIP
   ============================================================ */
#stats {
  background: var(--c-bg);
  padding: 64px 0;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.stat-item { text-align: center; }

.stat-number {
  display: block;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: var(--c-emerald);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}

.stat-label {
  font-size: 14px;
  color: var(--c-gray);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stats-grid { gap: 0; justify-content: space-around; }
  .stat-number { font-size: 22px; }
  .stat-label { font-size: 10px; }
  .stat-item { padding: 16px 8px; }
}


/* ============================================================
   LEISTUNGEN
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--c-emerald-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.card h3 { font-size: 17px; margin-bottom: 10px; }
.card p  { font-size: 14px; line-height: 1.6; flex: 1; margin-bottom: 18px; }

.card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-emerald);
  margin-top: auto;
  transition: color var(--t);
}
.card-link:hover { color: var(--c-emerald-h); }

@media (max-width: 1024px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  {
  .cards-grid { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .card p { margin-bottom: 14px; }
  .card-link { display: inline-block; margin-top: 4px; }
}

.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .cards-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .cards-grid--3 { grid-template-columns: 1fr; } }

.card-tag {
  display: inline-block;
  background: var(--c-emerald-bg);
  color: var(--c-emerald);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
}

.card-facts {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.card-facts li {
  font-size: 13px;
  color: var(--c-gray);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.card-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-emerald);
}

.section-cta-box {
  background: var(--c-slate);
  border-radius: var(--r-card);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
}
.section-cta-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.section-cta-sub { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.6; }
@media (max-width: 640px) {
  .section-cta-box { flex-direction: column; text-align: center; padding: 28px 24px; gap: 20px; }
  .section-cta-title { font-size: 16px; }
}


/* ============================================================
   IMMOBILIENMARKT
   ============================================================ */
#markt { background: var(--c-bg); }

.markt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.markt-table-col h3,
.markt-example-col h3 { margin-bottom: 18px; }

/* Price table */
.table-wrap {
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}

.price-table { width: 100%; border-collapse: collapse; background: var(--c-white); }

.price-table th {
  background: var(--c-slate);
  color: var(--c-white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: left;
  padding: 13px 18px;
}

.price-table td {
  padding: 13px 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--c-border);
}

.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: #fafbfd; }

.price-em { font-weight: 700; color: var(--c-emerald); }

.table-note { font-size: 11px; color: var(--c-gray); opacity: .7; }

/* Stadtteile */
.stadtteile { margin-top: 36px; }
.stadtteile h3 { margin-bottom: 16px; }

.stadtteile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stadtteil-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 13px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stadtteil-card strong { font-size: 14px; color: var(--c-slate); }
.stadtteil-card span  { font-size: 12px; color: var(--c-gray); }

/* Example card */
.example-card {
  background: var(--c-white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.ex-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--c-border);
}
.ex-row:last-of-type { border-bottom: none; }
.ex-row strong { color: var(--c-slate); font-weight: 600; }

.ex-total {
  background: var(--c-emerald-bg);
  padding: 15px 20px !important;
}
.ex-total strong { color: var(--c-emerald); font-weight: 700; font-size: 16px; }

.ex-rate {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: #fafbfd;
  border-top: 1px solid var(--c-border);
  gap: 3px;
}
.ex-rate-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-gray); }
.ex-rate-value { font-size: 22px; font-weight: 800; color: var(--c-slate); letter-spacing: -.02em; }
.ex-rate-note  { font-size: 12px; color: var(--c-gray); }

/* Markt info box */
.markt-info-box {
  margin-top: 24px;
  background: var(--c-emerald-bg);
  border-radius: var(--r-card);
  padding: 20px;
}
.markt-info-box h4 {
  font-size: 12px;
  color: var(--c-emerald);
  margin-bottom: 12px;
  letter-spacing: .06em;
}
.markt-info-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.markt-info-box li {
  font-size: 13px;
  color: var(--c-slate);
  padding-left: 16px;
  position: relative;
}
.markt-info-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-emerald);
  font-weight: 700;
}

@media (max-width: 900px) {
  .markt-grid { grid-template-columns: 1fr; }
  .stadtteile-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 600px) {
  .stadtteile-grid { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   REGION
   ============================================================ */
.region-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.region-badge {
  background: var(--c-emerald-bg);
  color: var(--c-emerald);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background var(--t);
}
.region-badge:hover { background: #d0f0e2; }


/* ============================================================
   PROZESS
   ============================================================ */
#prozess { background: var(--c-bg); }

.prozess-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.prozess-step {
  background: var(--c-white);
  border-radius: var(--r-card);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  text-align: center;
  align-self: stretch;
}

.prozess-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-emerald);
  color: var(--c-white);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.prozess-step h3 { font-size: 17px; margin-bottom: 10px; }
.prozess-step p  { font-size: 14px; line-height: 1.6; }

.prozess-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  padding-bottom: 40px;
}

@media (max-width: 768px) {
  .prozess-grid {
    grid-template-columns: 1fr;
  }
  .prozess-arrow {
    padding: 0;
    transform: rotate(90deg);
    justify-content: center;
  }
}


/* ============================================================
   VERGLEICH
   ============================================================ */
.vergleich-wrap {
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.vergleich-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-white);
  min-width: 500px;
}

.vergleich-table thead th {
  padding: 16px 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: var(--c-bg);
  text-align: center;
}

.vergleich-table thead th:first-child { text-align: left; }

.vergleich-table td {
  padding: 14px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--c-border);
}

.vergleich-table tr:last-child td { border-bottom: none; }

.col-bank {
  text-align: center;
  color: var(--c-gray);
}

.col-wir {
  text-align: center;
  color: var(--c-emerald);
  font-weight: 700;
}

/* ============================================================
   STANDALONE FORMULAR SECTION
   ============================================================ */
#formular {
  background: var(--c-slate);
  padding: 100px 0;
}

.formular-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.formular-header {
  text-align: center;
  max-width: 580px;
  margin-bottom: 48px;
}

.formular-header h2 { color: var(--c-white); margin-bottom: 14px; }
.formular-header p  { color: rgba(255,255,255,.6); font-size: 18px; }


/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color var(--t);
}
.faq-item:hover { border-color: var(--c-emerald); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 19px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-slate);
  text-align: left;
  transition: color var(--t);
}
.faq-q:hover { color: var(--c-emerald); }

.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--c-emerald);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .3s ease;
}

.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-a {
  padding: 0 22px 18px;
}
.faq-a p { font-size: 14px; line-height: 1.7; }


/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--c-slate); padding-top: 64px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-desc {
  color: rgba(255,255,255,.45);
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-contact h4,
.footer-links h4 {
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
  letter-spacing: .1em;
}

.footer-contact p {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-contact a {
  color: rgba(255,255,255,.6);
  transition: color var(--t);
}
.footer-contact a:hover { color: var(--c-emerald); }

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  transition: color var(--t);
}
.footer-links a:hover { color: var(--c-emerald); }

.footer-bottom { padding: 20px 0; }
.footer-bottom p {
  color: rgba(255,255,255,.25);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}


/* ============================================================
   ORTE / EINZUGSGEBIET KARTEN
   ============================================================ */
#region { background: var(--c-bg); }

.orte-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.ort-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--t), box-shadow var(--t);
}
.ort-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); }

.ort-card-header { display: flex; flex-direction: column; gap: 4px; }

.ort-badge {
  display: inline-block;
  background: var(--c-emerald-bg);
  color: var(--c-emerald);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  margin-bottom: 6px;
}

.ort-card h3 { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--c-slate); }

.ort-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--c-bg);
  border-radius: 8px;
  padding: 12px 10px;
}

.ort-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.ort-stat-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--c-emerald);
  letter-spacing: -.01em;
  line-height: 1.1;
}

.ort-stat-label {
  font-size: 10px;
  color: var(--c-gray);
  line-height: 1.2;
  text-align: center;
}

.ort-desc {
  font-size: 13px;
  line-height: 1.65;
  flex: 1;
}

.ort-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-emerald);
  margin-top: auto;
  transition: color var(--t);
}
.ort-link:hover { color: var(--c-emerald-h); }

/* Catch-all CTA */
.orte-catchall {
  background: var(--c-slate);
  border-radius: var(--r-card);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.orte-catchall > p:first-child {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-white);
  margin: 0;
}

.orte-catchall-sub {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin: 4px 0 0;
}

.orte-catchall .btn-primary { white-space: nowrap; flex-shrink: 0; }

@media (max-width: 1200px) {
  .orte-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .orte-grid { grid-template-columns: repeat(2, 1fr); }
  .orte-catchall { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .orte-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   FINANZIERUNGSARTEN
   ============================================================ */
#region { background: var(--c-white); }

.kredit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.kredit-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(15,23,42,0.06);
  transition: transform var(--t), box-shadow var(--t);
}
.kredit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); }

.kredit-icon {
  width: 48px;
  height: 48px;
  background: var(--c-emerald-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kredit-badge {
  display: inline-block;
  background: var(--c-emerald-bg);
  color: var(--c-emerald);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
}

.kredit-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-slate);
  line-height: 1.3;
  margin: 0;
}

.kredit-card > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-gray);
  margin: 0;
}

.kredit-facts {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kredit-facts li {
  font-size: 14px;
  color: var(--c-gray);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.kredit-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-emerald);
}

.kredit-cta-box {
  background: var(--c-slate);
  border-radius: var(--r-card);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.kredit-cta-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.kredit-cta-sub {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .kredit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .kredit-grid { grid-template-columns: 1fr; }
  .kredit-cta-box { flex-direction: column; text-align: center; }
}

/* ============================================================
   STANDORT ERLANGEN
   ============================================================ */
#standort { background: var(--c-bg); }

.standort-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.standort-facts {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.standort-fact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.standort-fact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--c-emerald-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.standort-fact strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-slate);
  margin-bottom: 6px;
  line-height: 1.3;
}

.standort-fact p {
  font-size: 14px;
  line-height: 1.65;
}

/* Compare table column */
.standort-compare { position: sticky; top: 88px; }
.standort-compare h3 { margin-bottom: 16px; }

.compare-table-wrap {
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-white);
}

.compare-table th {
  background: var(--c-slate);
  color: var(--c-white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 12px 18px;
  text-align: left;
}

.compare-table td {
  padding: 12px 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--c-border);
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-row-erlangen td { background: var(--c-emerald-bg); }
.compare-em  { color: var(--c-emerald); font-weight: 700; }
.compare-high { color: #e53e3e; }
.compare-mid  { color: var(--c-gray); }
.compare-low  { color: var(--c-gray); }

.standort-cta-box {
  background: var(--c-white);
  border-radius: var(--r-card);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-top: 16px;
}

.standort-cta-box p {
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .standort-grid { grid-template-columns: 1fr; }
  .standort-compare { position: static; }
}


/* ============================================================
   ZIELGRUPPEN
   ============================================================ */
.zielgruppen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

.zielgruppen-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
}
.zielgruppen-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); }

.zg-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.zg-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--c-emerald-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zg-header h3 { font-size: 17px; line-height: 1.3; }

.zielgruppen-card > p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.zg-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.zg-list li {
  font-size: 13px;
  color: var(--c-gray);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.zg-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-emerald);
  font-weight: 700;
}

.zielgruppen-cta {
  text-align: center;
  background: var(--c-emerald-bg);
  border-radius: var(--r-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.zielgruppen-cta p {
  font-size: 18px;
  color: var(--c-slate);
  font-weight: 500;
  max-width: 560px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .zielgruppen-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--c-slate);
  border-top: 1px solid rgba(255,255,255,.1);
  z-index: 9999;
  padding: 20px 24px;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.cookie-banner-text { flex: 1; }

.cookie-banner-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.cookie-banner-text p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--c-emerald);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.cookie-btn-secondary:hover {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

@media (max-width: 768px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn-secondary, .cookie-banner-actions .btn-primary { flex: 1; text-align: center; }
}
