/* ============================================================
   Udo Seiler Fördermittel-Service – Stylesheet
   Design: Exakt am Manus-Original orientiert
   Farben: Weiß/Hellgrau + Cyan (#0ea5c9) + Lime (#84cc16) + Navy (#1a2744)
   Fonts: Poppins (Headlines), Inter (Body)
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.25;
  color: #1e293b;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --navy:       #1a2744;
  --navy-mid:   #1e3a5f;
  --navy-dark:  #0f172a;
  --cyan:       #0ea5c9;
  --cyan-light: #e0f7fc;
  --cyan-mid:   #cce8f0;
  --lime:       #84cc16;
  --lime-hover: #6fac12;
  --slate-50:   #f8fafc;
  --slate-100:  #f1f5f9;
  --slate-200:  #e2e8f0;
  --slate-400:  #94a3b8;
  --slate-500:  #64748b;
  --slate-700:  #334155;
  --white:      #ffffff;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.14);
  --transition: 0.22s ease;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn-sm  { padding: .45rem 1.1rem; font-size: .875rem; }
.btn-lg  { padding: .85rem 2rem;   font-size: 1rem; }

/* Navy/Dark primary button – wie "Jetzt beraten lassen" */
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: #253566;
  border-color: #253566;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Outline button – wie "Mehr erfahren" */
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--slate-200);
}
.btn-outline:hover {
  background: var(--slate-100);
  border-color: var(--slate-400);
}

/* Lime/Grün button – wie "Jetzt anrufen" */
.btn-lime {
  background: var(--lime);
  color: var(--navy);
  border-color: var(--lime);
  font-weight: 700;
}
.btn-lime:hover {
  background: var(--lime-hover);
  border-color: var(--lime-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Cyan button für Nav */
.btn-nav {
  background: var(--cyan);
  color: var(--white);
  border-color: var(--cyan);
  padding: .5rem 1.25rem;
  font-size: .875rem;
  border-radius: var(--radius-sm);
}
.btn-nav:hover {
  background: #0891b2;
  border-color: #0891b2;
}

/* ===== NAVIGATION ===== */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition);
}
.nav-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo img { height: 52px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a.active { color: var(--cyan); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: var(--white);
  padding: 5rem 0 4rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--cyan-light);
  color: var(--cyan);
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero-text h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.15;
}
.hero-text h1 .accent {
  color: var(--cyan);
}
.hero-divider {
  width: 48px;
  height: 4px;
  background: var(--lime);
  border-radius: 2px;
  margin: 1rem 0 1.25rem;
}
.hero-sub {
  font-size: 1rem;
  color: var(--slate-500);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--slate-500);
  font-weight: 500;
}
.stat-icon {
  width: 20px;
  height: 20px;
  background: var(--cyan-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: .75rem;
  flex-shrink: 0;
}

/* Hero Bild-Card */
.hero-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  margin: 0 auto;
  background: var(--slate-100);
}
.hero-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top center;
}
.hero-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15,23,42,.85));
  color: var(--white);
  padding: 2.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.hero-card-label strong {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}
.hero-card-label span { font-size: .82rem; opacity: .8; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--slate-50); }

/* Dunkle Sektionen */
.section-dark { background: var(--navy); }
.section-contact { background: var(--navy-dark); }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header-left { text-align: left; margin-bottom: 2rem; }
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
}
.section-dark .section-header h2,
.section-dark .section-header-left h2 { color: var(--white); }
.section-contact .section-header h2 { color: var(--white); }

.section-line {
  width: 48px;
  height: 4px;
  background: var(--cyan);
  border-radius: 2px;
  margin: 0 auto .75rem;
}
.section-header-left .section-line { margin: 0 0 .75rem; }
.section-sub {
  font-size: 1rem;
  color: var(--slate-500);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}
.section-dark .section-sub { color: rgba(255,255,255,.7); }
.section-contact .section-sub { color: rgba(255,255,255,.7); }

/* ===== LEISTUNGEN CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cyan-mid);
}
.card-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--cyan-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon-wrap svg,
.card-icon-wrap span {
  color: var(--cyan);
  font-size: 1.4rem;
}
.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
}
.card p {
  font-size: .875rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ===== FÖRDERINFO ===== */
.foerder-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.foerder-text p { color: var(--slate-700); margin-bottom: 1.25rem; font-size: .95rem; }
.foerder-highlights {
  display: flex;
  gap: 1.5rem;
  margin: 1.75rem 0;
}
.foerder-item {
  background: var(--white);
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  flex: 1;
}
.foerder-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
}
.foerder-label { font-size: .78rem; color: var(--slate-500); margin-top: .25rem; }
.foerder-text h4 { font-size: .95rem; font-weight: 600; color: var(--navy); margin-bottom: .75rem; }
.foerder-list { padding-left: 0; }
.foerder-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .5rem;
  font-size: .875rem;
  color: var(--slate-700);
  line-height: 1.6;
}
.foerder-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
}
.foerder-image img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

/* ===== ABLAUF / STEPS ===== */
.steps-wrapper { position: relative; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.steps-connector {
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--slate-200);
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step-number {
  width: 56px;
  height: 56px;
  background: var(--cyan-light);
  color: var(--cyan);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 2px solid var(--cyan);
}
.step-content h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.step-content p {
  font-size: .85rem;
  color: var(--slate-500);
  line-height: 1.65;
}

/* Prozess-Bild unter Steps */
.steps-image {
  margin-top: 3rem;
  background: var(--slate-50);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
}
.steps-image img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  padding: 1.5rem;
}

/* ===== VORTEILE ===== */
.vorteile-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.vorteile-image img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.vorteile-list { display: flex; flex-direction: column; gap: 1.5rem; }
.vorteil { display: flex; gap: 1rem; align-items: flex-start; }
.vorteil-icon {
  width: 36px;
  height: 36px;
  background: var(--cyan-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
  font-size: 1rem;
  border: 2px solid var(--cyan);
}
.vorteil h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .25rem;
}
.vorteil p {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
}

/* ===== ÜBER MICH ===== */
.ueber-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}
.ueber-image img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  width: 100%;
}
.ueber-text p {
  color: var(--slate-700);
  margin-bottom: 1.25rem;
  font-size: .95rem;
  line-height: 1.8;
}
.ueber-badges {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin: 1.5rem 0;
}
.ueber-badge {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  color: var(--slate-700);
  font-weight: 500;
}
.ueber-badge-icon {
  width: 22px;
  height: 22px;
  background: var(--cyan-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: .7rem;
  border: 1.5px solid var(--cyan);
  flex-shrink: 0;
}
.ueber-facts {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-200);
}
.fact { text-align: center; }
.fact-value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cyan);
}
.fact-label { font-size: .78rem; color: var(--slate-500); margin-top: .25rem; }

/* ===== BEWERTUNGEN ===== */
.bewertung-box {
  display: flex;
  gap: 3rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.bewertung-text { flex: 1; }
.bewertung-text p { color: var(--slate-700); margin-bottom: 1rem; font-size: .95rem; }
.stars { font-size: 1.75rem; color: #f59e0b; letter-spacing: .1em; }
.bewertung-qr { text-align: center; flex-shrink: 0; }
.bewertung-qr img {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  margin-bottom: .75rem;
  border: 2px solid var(--slate-200);
}
.bewertung-qr p { font-size: .82rem; color: var(--slate-500); }

/* ===== KONTAKT ===== */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.kontakt-info-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 2rem;
}
.kontakt-info-box h3,
.kontakt-form-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.kontakt-items { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.kontakt-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  text-decoration: none;
}
a.kontakt-item:hover { background: rgba(255,255,255,.14); }
.kontakt-icon {
  width: 44px;
  height: 44px;
  background: var(--cyan);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.kontakt-label { font-size: .78rem; color: rgba(255,255,255,.6); margin-bottom: .15rem; }
.kontakt-value { font-size: .9rem; font-weight: 600; color: var(--white); }

/* QR im Kontakt */
.kontakt-qr { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.kontakt-qr p { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: .75rem; }
.kontakt-qr img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.2);
}

/* Vorteile-Box im Kontakt */
.kontakt-form-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.kontakt-vorteile { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.kontakt-vorteil {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
}
.kontakt-vorteil-icon {
  width: 24px;
  height: 24px;
  background: var(--cyan-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: .75rem;
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.8); padding: 4rem 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { height: 48px; width: auto; margin-bottom: 1rem; }
.footer-col p { font-size: .875rem; color: rgba(255,255,255,.55); line-height: 1.75; }
.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li { font-size: .875rem; color: rgba(255,255,255,.55); }
.footer-col ul li a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--cyan); }
.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 50;
  border: 1px solid rgba(255,255,255,.1);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--cyan); transform: translateY(-2px); }

/* ===== ANIMATIONEN ===== */
.animate-hidden { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.animate-in { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps-connector { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .foerder-inner { grid-template-columns: 1fr; gap: 2rem; }
  .foerder-image { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-header { position: relative; }
  .nav-burger { display: flex; }

  .hero { padding: 3rem 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-image { order: -1; }
  .hero-card img { height: 320px; }
  .hero-text h1 { font-size: 2rem; }

  .vorteile-inner { grid-template-columns: 1fr; gap: 2rem; }
  .vorteile-image { display: none; }
  .ueber-inner { grid-template-columns: 1fr; gap: 2rem; }

  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  .kontakt-grid { grid-template-columns: 1fr; }
  .bewertung-box { flex-direction: column; text-align: center; }

  .footer-inner { grid-template-columns: 1fr; }
  .ueber-facts { gap: 1rem; }
  .foerder-highlights { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 3.5rem 0; }
  .hero-stats { gap: 1rem; }
}
