/* =========================================================
   THEME-VARIABLEN
   Diese Sektion oben steuert Farben/Schrift/Radius der ganzen Seite.
   Für weitere Varianten (z.B. Seite 2-5) einfach diese Werte
   in einer Kopie der Datei anpassen – der Rest bleibt gleich.
   ========================================================= */
:root {
  --color-primary: #0b5394;
  --color-primary-dark: #073763;
  --color-primary-light: #eaf3fb;
  --color-accent: #2e86de;
  --color-text: #1f2933;
  --color-text-muted: #5b6b79;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f9fc;
  --color-border: #dfe7ee;

  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 10px;
  --max-width: 1120px;
  --spacing: 1.25rem;
}

/* =========================================================
   RESET & BASICS
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.6em; color: var(--color-primary-dark); }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin: 0 0 1em; color: var(--color-text-muted); }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { padding-left: 1.2em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5em 1em;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); }

.btn-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.btn-call {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  padding: 0.5em 1em;
  font-size: 0.95rem;
  white-space: nowrap;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 0.5em 1em;
  font-size: 0.95rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.btn-whatsapp:hover { background: #1ebe5a; }
.btn-whatsapp svg { width: 1em; height: 1em; fill: currentColor; }
.btn-whatsapp.btn-large { padding: 0.75em 1.5em; font-size: 1rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary-dark);
}
.logo span { color: var(--color-primary); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.main-nav a { color: var(--color-text); font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4em;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary-dark);
  display: block;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 4.5rem 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-text { max-width: 640px; }
.hero h1 { color: #fff; }
.hero-sub { color: #e4eef8; font-size: 1.05rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-illustration svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-illustration { max-width: 420px; margin: 0 auto; }
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar { background: var(--color-bg-alt); padding: 2rem 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-item strong { display: block; color: var(--color-primary-dark); margin-bottom: 0.2em; }
.trust-item span { font-size: 0.9rem; color: var(--color-text-muted); }

/* =========================================================
   SECTIONS GENERAL
   ========================================================= */
section { padding: 4rem 0; }
.section-sub { max-width: 640px; }
.section-sub.small { font-size: 0.9rem; }

/* =========================================================
   LEISTUNGEN
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 { font-size: 1.1rem; }

/* =========================================================
   WARUM WIR
   ========================================================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding-left: 1.6em;
  position: relative;
  margin-bottom: 0.7em;
  color: var(--color-text);
}
.check-list li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.steps { padding-left: 1.2em; }
.steps li { margin-bottom: 1em; color: var(--color-text); }

.warum-wir { background: var(--color-bg-alt); }

/* =========================================================
   EINSATZGEBIET
   ========================================================= */
.area-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 1.5rem 0;
}
.area-list li {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  padding: 0.4em 1em;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
}

/* =========================================================
   ARTIKEL / RATGEBER
   ========================================================= */
.article-container { max-width: 760px; }
.breadcrumb { font-size: 0.85rem; color: var(--color-text-muted); }
.breadcrumb a { color: var(--color-text-muted); }
.article h2 { margin-top: 2rem; }
.related-links { font-size: 0.9rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }

.ratgeber-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}
.ratgeber-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.ratgeber-card h2 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.ratgeber-card h2 a { color: var(--color-primary-dark); }
.read-more { font-weight: 600; font-size: 0.9rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-list details {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
}
.faq-list summary {
  font-weight: 600;
  color: var(--color-primary-dark);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  color: var(--color-primary);
  font-weight: 700;
}
.faq-list details[open] summary::before { content: "–"; }
.faq-list details p { margin: 0.75rem 0 0.25rem; }

/* =========================================================
   KONTAKT
   ========================================================= */
.kontakt-detail { margin-bottom: 0.5em; }
.placeholder-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  padding: 0.75em 1em;
  border-radius: var(--radius);
}

.kontakt-form { background: var(--color-bg-alt); padding: 1.5rem; border-radius: var(--radius); }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-row { margin-bottom: 1rem; }
.form-row label { display: block; font-weight: 600; margin-bottom: 0.3em; font-size: 0.95rem; }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.6em 0.8em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}
.form-check { display: flex; align-items: flex-start; gap: 0.6em; }
.form-check input { width: auto; margin-top: 0.3em; }
.form-check label { font-weight: 400; font-size: 0.85rem; }
.form-status { margin-top: 0.8em; font-weight: 600; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-primary-dark);
  color: #cfe0ef;
  padding: 1.5rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-nav a { color: #cfe0ef; margin-left: 1rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
  .nav-toggle { display: flex; }
  .btn-call { font-size: 0.85rem; padding: 0.45em 0.8em; }
  .btn-whatsapp { font-size: 0.85rem; padding: 0.45em 0.8em; }
  .header-actions .btn-whatsapp span.btn-label { display: none; }
}

@media (max-width: 430px) {
  .header-actions .btn-call span.btn-label { display: none; }
}
