/* ==========================
   GRUNDLAYOUT & FARBEN
   ========================== */

:root {
  --primary: #003366;
  --accent: #1ea4ff;
  --bg: #f5f7fb;
  --text: #1c2733;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
}

/* ==========================
   HEADER / NAVIGATION
   ========================== */

.site-header {
  background: #fff;
  border-bottom: 1px solid #e2e6ea;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.logo span {
  color: var(--accent);
}

.main-nav a {
  margin-left: 18px;
  color: #334;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

/* ==========================
   HERO-BEREICH
   ========================== */

.hero {
  background: url("hero-fuhrpark.jpg") center/cover no-repeat;
  min-height: 380px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 40px 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,30,60,0.6);
}

.hero .inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
}

.hero .lead {
  font-size: 20px;
  margin-top: 10px;
}

.hero .bullets {
  margin-top: 20px;
  list-style: disc;
  padding-left: 20px;
}
/* Kopfbereich für Unterseiten (Telematik, Remote, Service, Datenschutz, Impressum …) */
.sub-hero {
  position: relative;
  background: url("hero-fuhrpark.jpg") center/cover no-repeat;
  min-height: 260px;           /* Höhe des Kopfbereichs */
  display: flex;
  align-items: center;
  margin-bottom: 40px;         /* Abstand nach unten zum Inhalt */
}

.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 80, 0.65);  /* dunkler Overlay wie auf der Startseite */
}

.sub-hero .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
}

.sub-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sub-hero p {
  font-size: 1.1rem;
  max-width: 700px;
}

/* ==========================
   CONTENT & SECTIONS
   ========================== */

.section {
  max-width: 1200px;
  margin: 40px auto;
  background: #fff;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section.narrow {
  max-width: 800px;
}

.section h2 {
  color: var(--primary);
  margin-bottom: 10px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* ==========================
   MODAL (SV-Büro)
   ========================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.modal-overlay.is-visible {
  display: flex;
}

.modal-dialog {
  background: #fff;
  padding: 25px;
  max-width: 450px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  cursor: pointer;
}

.btn-secondary {
  background: #ddd;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  cursor: pointer;
}

/* ==========================
   FOOTER
   ========================== */

.site-footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 14px;
  color: #667;
}

.site-footer a {
  color: var(--primary);
}
/* ==========================
   HERO-CTA BUTTON
   ========================== */

.hero-cta {
  margin-top: 1.5rem;
}

.hero-cta .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--primary);     /* dein Dunkelblau */
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.hero-cta .btn:hover,
.hero-cta .btn:focus {
  background: #004476;            /* etwas dunkler beim Hover */
  text-decoration: none;
}

.hero-cta .btn:visited {
  color: #fff;                    /* kein lila Link nach dem Klicken */
}

/* ==========================
   LISTEN IN SCHMALEN SEKTIONEN
   (z.B. Unterstützung + Leistungsumfang)
   ========================== */

.section.narrow ul {
  margin-left: 0;
  padding-left: 0;
  list-style-position: inside;    /* Bullet & Text bündig mit Überschrift */
}
.usp-box {
  margin: 0 0 1.5rem 0;
}

.usp-list {
  list-style: disc;
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}
/* Listen in schmalen Sektionen (z.B. "Was wir für Sie übernehmen") */
.section.narrow ul {
  margin: 0.25rem 0 0;
  padding-left: 0;
  list-style-position: inside;  /* Bullet + Text bündig unter der Überschrift */
}

.section.narrow li {
  margin-bottom: 0.25rem;
}
/* Listen in schmalen Sektionen (z.B. "Was wir für Sie übernehmen") */
.section.narrow ul {
  margin: 0.25rem 0 0;
  padding-left: 0;
  list-style-position: inside;  /* Bullet + Text bündig unter der Überschrift */
}

.section.narrow li {
  margin-bottom: 0.25rem;
}
/* ==========================
   HERO-CTA BUTTON
   ========================== */

.hero-cta {
  margin-top: 1.5rem;
}

.hero-cta .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.hero-cta .btn:hover,
.hero-cta .btn:focus {
  background: #004476;
  text-decoration: none;
}

.hero-cta .btn:visited {
  color: #fff;
}

/* ==========================
   LISTEN IN SCHMALEN SEKTIONEN
   (z.B. "Was wir für Sie übernehmen", Unterstützung, Leistungen)
   ========================== */

.section.narrow ul {
  margin: 0.25rem 0 0;
  padding-left: 0;
  list-style-position: inside;   /* Bullet & Text bündig mit Überschrift */
}

.section.narrow li {
  margin-bottom: 0.25rem;
}
.section .card p,
.section .card ul,
.section .card ol {
  margin-left: 8px;          /* gleicher Einzug wie oben */
}

.section .card ul,
.section .card ol {
  padding-left: 18px;
}
/* Inhalt (Text + Listen) unter Überschriften leicht einrücken */
.section p,
.section ul,
.section ol {
  margin-left: 8px;          /* leichter Einzug gegenüber der Überschrift */
}

/* Aufzählungen: Bullet & Text bündig */
.section ul,
.section ol {
  padding-left: 18px;        /* Abstand Bullet -> Text */
  list-style-position: outside;
}
/* Über-mich-Karte: mehr Luft zwischen den Absätzen */
.content-card-about p + p {
  margin-top: 0.75rem;
}

/* Bereich für den Button unten */
.content-card-about .about-cta {
  margin-top: 1.5rem;
}

/* Button im Über-mich-Block */
.btn-sv {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(0, 74, 173, 0.2);
}

/* falls deine .btn/.btn-secondary schon existieren, bleibt das kompatibel;
   sonst kannst du das hier als Grundstil benutzen */
.btn {
  cursor: pointer;
}

.btn-secondary {
  background: #edf2f7;
  color: #123047;
}
