/* =========================================================
   Globale Variablen
========================================================= */
:root {
  --bg: #fff;
  --text: #0f172a;
  --muted: #475569;
  --brand: #0b3b8c;
  --accent: #d62828;
  --card: #f8fafc;
}

/* =========================================================
   Basis-Reset & Grundeinstellungen
========================================================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.body-background {
  background-color: var(--card);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================================================
   Header & Navigation
========================================================= */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

/* Logo / Markenbereich */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 300px;
}

.brand b {
  display: block;
  color: var(--brand);
  letter-spacing: 0.2px;
}

/* Kontakt- oder Info-Pills */
.pillrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}

/* =========================================================
   Hero-Bereich
========================================================= */
.hero {
  padding: 28px 0 18px;
  background: linear-gradient(180deg, #eef6ff 0%, #ffffff 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
}

.hero p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 18px;
}

/* Call-to-Action Buttons */
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
}

.btn-primary {
  color: #fff;
  background: var(--accent);
}

.btn-ghost {
  color: var(--text);
  background: #fff;
  border-color: #e2e8f0;
}

/* Hero-Bild */
.hero-media {
  min-height: 220px;
  overflow: hidden;
  background: #e2e8f0;
  border-radius: 18px;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   Allgemeine Sektionen
========================================================= */
section {
  padding: 26px 0;
}

h2 {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 24px;
}

/* =========================================================
   Karten & Grid-Layouts
========================================================= */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.grid-4-box {
  display: flex;
  align-items: center;
  text-align: center;
}

.card {
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* =========================================================
   Ablauf / Schritte
========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  font-weight: 800;
}

/* =========================================================
   Preise
========================================================= */
.pricebar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pricebox {
  padding: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.pricebox b {
  display: block;
  padding-bottom: 8px;
  border-bottom: 1px solid #fff;
  font-size: 16px;
}

.pricebox span {
  display: block;
  padding-top: 8px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* =========================================================
   FAQ-Bereich
========================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  align-items: start;
}

details {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* =========================================================
   Footer
========================================================= */
footer {
  padding: 22px 0;
  color: var(--muted);
  border-top: 1px solid #e2e8f0;
  font-size: 14px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* =========================================================
   Mobile Callbar
========================================================= */
.callbar {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px;
  background: #ffffffee;
  border-top: 1px solid #e2e8f0;
  backdrop-filter: blur(6px);
}

.callbar .container {
  display: flex;
  gap: 10px;
}

.callbar .btn {
  flex: 1;
}

/* =========================================================
   Responsive Design
========================================================= */
@media (max-width: 900px) {
  .hero-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .steps,
  .pricebar {
    grid-template-columns: 1fr;
  }

  .callbar {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 460px) {
  .topbar {
    flex-direction: column;
    align-items: center;
  }

  .pricebox {
    width: 100%;
  }
}