/** Modernes, minimalistisches Webdesign mit gezielten Farbakzenten **/

:root {
  /* Primärfarben – passend zum Logo */
  --primary: #2E86DE;                /* Hauptblau – wie im Logo-Kreis */
  --primary-light: #E8F1FB;          /* Sehr helles Blau für Flächen, Buttons */
  --primary-dark: #1B4F91;           /* Dunkleres Blau für CTAs */
  --primary-dark-hover: #163F72;     /* Etwas dunkler für Hover-Zustände */

  /* Textfarben */
  --text: #1E1E1E;                   /* Sehr dunkles Grau für Fließtext */
  --text-light: #555555;            /* Mittelgrau für sekundäre Texte */
  --text-inverse: #ffffff;          /* Weiß für Text auf dunklem Hintergrund */

  /* Hintergrundfarben */
  --bg: #ffffff;                     /* Standardhintergrund: Weiß */
  --bg-alt: #f9fafc;                 /* Sehr helles Blau-Grau für Sektionen */
  --bg-grey: #f1f3f5;                /* Neutrales Grau für Abgrenzungen */

  /* Sonstige Farben */
  --border-light: #dbe2ea;           /* Sehr heller Rahmen in Blau-Grau */
  --border-lighter: #edf2f7;         /* Fast weiß – für dezente Trennungen */
  --shadow-color: rgba(0, 0, 0, 0.04);
  --shadow-color-strong: rgba(0, 0, 0, 0.08);
  --hover-bg-primary-light: rgba(46, 134, 222, 0.05); /* Hellblauer Hover */
}

/* Reset & Grundlayout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 1rem;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background: var(--bg);
  color: var(--text);
  padding: 3rem 0 1rem;
  text-align: center;
  position: relative;
}

header h1 {
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.site-logo {
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}


/* Navigation */
#main-nav {
  background: var(--bg);
  padding: 1rem 0;
  text-align: center;
  box-shadow: 0 1px 0 var(--shadow-color);
}

#main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;              /* Mehrzeilig bei kleinen Breiten */
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

#main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.3rem 0.6rem;
  transition: color 0.3s, background-color 0.3s;
  border-radius: 0.3rem;
}

#main-nav a:hover {
  color: var(--primary);
  background-color: var(--hover-bg-primary-light);
}

/* Hamburger-Menü Icon */
.menu-icon {
  display: none;
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text);
}

/* Hauptbereiche */
main section {
  padding: 4rem 0;
  background: var(--bg);
}

/* Abwechselnde Hintergründe */
section:nth-child(even) {
  background: var(--bg-alt);
}

/* Farbbereiche */
.bg-primary-light {
  background-color: var(--primary-light);
}

.bg-primary {
  background-color: var(--primary);
  /*color: var(--text-inverse); */
}

.bg-grey {
  background-color: var(--bg-grey);
}

/* Preise / CTA-Bereich */
.bg-price-cta {
  background-color: var(--primary-dark);
  color: var(--text-inverse);
  padding: 4rem 1rem;
  text-align: center;
}

.bg-price-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.bg-price-cta h3 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.bg-price-cta p,
.bg-price-cta li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

.bg-price-cta ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem 0;
}

.bg-price-cta ul li::before {
  content: "- ";
  color: var(--text-light);
  margin-right: 0.5rem;
  font-weight: bold;
}

.bg-price-cta a.button {
  display: inline-block;
  background-color: var(--text-inverse);
  color: var(--primary-dark);
  padding: 0.8rem 1.5rem;
  border-radius: 0.3rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

.bg-price-cta a.button:hover {
  background-color: var(--bg-alt);
  color: var(--primary-dark-hover);
}

/* Überschriften */
h2 {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 400;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Paragraphen */
p {
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.8;
}

/* Fett-Text */
strong {
  font-weight: bold;
  /*color: var(--text-inverse); /* Nur innerhalb farbiger Bereiche sichtbar, sonst optional entfernen */
}

/* Float-Section */
.float-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.float-section img {
  width: 100%;
  max-width: 400px;
  border-radius: 0.5rem;
  box-shadow: none;
}

.float-text {
  flex: 1;
  min-width: 250px;
}

/* Kachel-Stil */
.kachel {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.kachel:hover {
  transform: translateY(-3px);
}

/* Hinweisbox */
.hinweis {
  background: var(--bg-alt);
  color: var(--text);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--border-lighter);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* Buttons */
a.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--text-inverse);
  text-decoration: none;
  border-radius: 0.3rem;
  transition: background 0.3s;
}

a.button:hover


@media (max-width: 600px) {
  .site-logo {
    max-width: 180px;
  }
}

/* Standard: Desktop-Ansicht */
.menu-icon {
  display: none;
  cursor: pointer;
  font-size: 28px;
}

/* Mobile: Hamburger-Menü aktivieren ab kleiner Bildschirmbreite */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  #main-nav ul {
    display: none;
    flex-direction: column;
    background-color: var(--bg);
    padding: 10px;
    margin: 0;
  }

  #main-nav.active ul {
    display: flex;
  }

  #main-nav ul li {
    margin: 10px 0;
  }
}