/* ========== Basis ========== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f4f6f8;
  color: #222;
  line-height: 1.6;
}

h1, h2, h3 {
  margin-top: 0;
}

/* Überschriften */
h1 {
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
}

.subtitle {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.6rem;
  color: #0d5690;
  text-align: center;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

/* Text */
p {
  margin-bottom: 1rem;
}

/* Links */
a {
  color: #0d5690;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */
.button {
  display: inline-block;
  background: #093763;
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

.button.secondary {
  background: transparent;
  color: #093763;
  border: 2px solid #093763;
}

.button:hover {
  opacity: 0.9;
}

/* ========== Layout & Sections ========== */

.section {
  padding: 60px 20px;
}

.section.narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* Anker-Offset für Sticky-Header */
section[id] {
  scroll-margin-top: 90px;
}

/* Seite (für Impressum/Datenschutz) */
.page {
  padding: 80px 20px 40px;
}

/* kurze Einleitungstexte unter H2 */
.section-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 0.98rem;
  color: #444;
  text-align: center;
}

/* ========== Header / Navigation ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 1rem;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #093763;
}

.logo img {
  margin-right: 0.5rem;
}

/* Burger-Checkbox */
.nav-toggle {
  display: none;
}

/* Burger-Label (nur mobil sichtbar) */
.nav-toggle-label {
  display: block;
  font-size: 1.6rem;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  user-select: none;
}

/* Navigation (Standard: mobil) */
.nav-menu {
  display: none;
  flex-direction: column;
  background: #ffffff;
  position: absolute;
  right: 0;
  top: 100%;
  width: 200px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.nav-menu a {
  text-decoration: none;
  color: #222;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #eee;
  display: block;
  font-size: 0.95rem;
}

.nav-menu a:last-child {
  border-bottom: none;
}

.nav-menu a:hover {
  background: #f4f6f8;
}

/* Navigation sichtbar, wenn Checkbox aktiv */
#nav-toggle:checked + .nav-toggle-label + .nav-menu {
  display: flex;
}

/* Desktop-Layout für Navigation */
@media (min-width: 768px) {
  .nav-toggle-label {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex !important;
    flex-direction: row;
    box-shadow: none;
    width: auto;
    background: transparent;
  }

  .nav-menu a {
    border: none;
    padding: 0.5rem 0.9rem;
  }

  .nav-menu a:hover {
    background: transparent;
    text-decoration: underline;
  }
}

/* ========== Hero ========== */

.hero {
  background: linear-gradient(135deg, #e6f0ff 0%, #f4f6f8 50%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-main {
  max-width: 620px;
}

.hero-actions {
  margin-bottom: 0.75rem;
}

.hero-actions .button {
  margin-right: 0.6rem;
  margin-bottom: 0.5rem;
}

.hero-note-top {
  font-size: 0.9rem;
  color: #555;
}

/* Zwei-Spalten-Zusammenfassung unter der Überschrift */
.hero-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.hero-summary-block {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.2rem 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Badge / Überschrift in Box */
.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0d5690;
  background: #e1ecf7;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

/* Listen in den Boxen */
.hero-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.hero-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.hero-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #0d5690;
  font-weight: 700;
}

/* ========== Cards (Consulting / Leistungen) ========== */

.cards {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem 1.3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0.6rem 0 0.8rem;
}

.note {
  max-width: 800px;
  margin: 2rem auto 0;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

/* ========== Footer ========== */

footer {
  background: #093763;
  color: #ffffff;
  text-align: center;
  padding: 1rem 0.5rem;
  font-size: 0.9rem;
  margin-top: 40px;
}

footer a {
  color: #ffffff;
  text-decoration: underline;
}

/* ========== Responsiv ========== */

@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }

  .hero-inner {
    padding-top: 70px;
  }
}