body {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin: 0;
    background-color: #ffffff;
    color: #ffffff;
    background: url('Hintergrund.png') center center / cover no-repeat fixed;
}

/* ---------- HEADER ---------- */

header {
    background-color: #f8f8f8;
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid;
    color: #e4c828;
}

header h1 {
    color: #003366;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

/* ---------- NAVIGATION ---------- */

nav {
    margin-top: 10px;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #003366;
    font-weight: 600;
}

/* Desktop Hervorhebung des Erstberatung-Links */
.nav-cta {
    padding: 8px 16px;
    margin-left: 10px;
    border-radius: 20px;
    background-color: #e4c828;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #d1b800;
}

.nav-cta:hover {
    background-color: #f0d93a;
}

/* ---------- SECTIONS ---------- */

section {
    padding: 60px 10%;
    line-height: 1.6;
}

h2 {
    color: #e4c828;
    font-family: 'Playfair Display', serif;
}

h3 {
    color: #e4c828;
    font-family: 'Playfair Display', serif;
}

/* ---------- HERO-CTA BUTTON ---------- */

.cta-button {
    display: block;            /* macht das Element block-level */
    width: fit-content;        /* nur so breit wie der Inhalt */
    margin: 30px auto 0;       /* auto links/rechts = zentriert */
    padding: 15px 45px;
    background-color: #e4c828;
    color: #ffffff;            /* weiße Schrift */
    font-weight: bold;
    font-size: 18px;
    border: none;              /* kein schwarzer Rand */
    border-radius: 8px;
    text-decoration: none;     /* keine Unterstreichung */
}

.cta-button:hover {
    background-color: #f3dd52;
    color: #ffffff;
    text-decoration: none;
}


/* ---------- FOOTER ---------- */

footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  background-color: #f8f8f8;
  padding: 20px 24px;   /* oben/unten 20px, links/rechts 24px */
  text-align: center;
  color: #e4c828;
}

/* die drei Spalten im Footer */
.footer-left,
.footer-center,
.footer-right {
  flex: 1;          /* alle drei gleich breit */
  padding: 0;       /* kein zusätzlicher Innenabstand */
  margin-bottom: 20px;
}

.footer-left {
  text-align: left;
}

.footer-center {
  text-align: center;
}

.footer-right {
  text-align: right;
}

/* Überschriften im Footer */
footer h4 {
  margin: 5px 0 10px;
}

/* Text im Footer */
footer p {
  color: #555;
  font-size: 0.9rem;
}

/* ---------- BURGER ICON ---------- */

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 22px;
    justify-content: space-between;
}

.burger div {
    height: 4px;
    background-color: #003366;
    border-radius: 2px;
}

/* ---------- MOBILE: NAV + FOOTER ---------- */

@media (max-width: 820px) {

  /* NAVIGATION als Burger-Menü */
  nav {
      display: none;
      flex-direction: column;
      background-color: #f8f8f8;
      width: 100%;
      padding: 20px 0;
      margin-top: 20px;
      border-top: 3px solid #e4c828;
  }

  nav a {
      display: block;
      padding: 12px 0;
      font-size: 20px;
      color: #003366;
  }

  .burger {
      display: flex;
      margin: 10px auto;
  }

  header {
      padding-bottom: 10px;
  }

  /* Wenn Menü geöffnet ist (toggleMenu setzt .open) */
  nav.open {
      display: flex;
  }

  /* FOOTER untereinander */
  footer {
    flex-direction: column;
    padding: 20px;
    text-align: left;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    flex: 1 1 100%;
    text-align: left;
    margin-bottom: 15px;
  }
}

/* ---------- GRÖSSERE ANSICHT FÜR LAPTOP / PC ---------- */
/* Ab ca. 1200px Bildschirmbreite */

@media (min-width: 1200px) {

    body {
        font-size: 22px;
    }

    header h1 {
        font-size: 3rem;
    }

    nav a {
        font-size: 1.3rem;
        margin: 0 25px;
    }

    section {
        padding: 80px 15%;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.9rem;
    }

    p {
        font-size: 1.2rem;
        line-height: 1.8;
    }

    .cta-button {
        font-size: 1.4rem;
        padding: 16px 32px;
        border-radius: 10px;
    }

    /* Karten größer */
    .card {
        font-size: 1.2rem;
    }

    /* Footer größer */
    footer h4 {
        font-size: 30px;
    }

    footer a {
        font-size: 22px;
    }

    footer p {
        font-size: 1rem;
    }
}
