/* Farb-Definitionen passend zum Logo */
:root {
    --color-hero:      #1E3A5F;   /* dunkles Blau im Hero & Header */
    --color-hero-light:#27456B;   /* etwas heller, z.B. für Navigation */
    --color-blue:      #4AA0D8;   /* Logo-Blau: Buttons, Links */
    --color-blue-dark: #3b86b3;

    --color-green:     #7BC043;   /* Akzente */
    --color-yellow:    #F2B632;

    --color-text:      #333333;
    --color-bg:        #f5f5f7;
    --color-white:     #ffffff;
    --color-btn:       #2E5684;
    --color-btn-hover: #24476C;
    --color-green-hover: #5f9833;
}

/* Grundlayout */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

/* Header */
header {
    background: var(--color-hero);
    color: var(--color-white);
    padding: 12px 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
}

/* (Logo-Klasse bleibt, falls du sie später im Header nutzen willst) */
.logo {
    height: 60px;
    width: auto;
    display: block;
}

/* Hero-Bereich (Startseite) */
.hero {
    background: var(--color-hero);
    color: var(--color-white);
    min-height: 380px;
    padding: 50px 15px;

    display: flex;
    flex-direction: column;  /* Logo über Text */
    justify-content: center;
    align-items: center;
    text-align: center;

    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Logo im Hero-Bereich */
.hero-logo {
    max-width: 500px;
    width: 80%;
    height: auto;
    margin-bottom: 55px;   /* Abstand Logo zu Text */
}

/* Text im Hero-Bereich */
.hero-text {
    font-size: 2.1rem;
    font-weight: bold;
}

/* Navigation */
nav {
    background: var(--color-hero-light);
    padding: 10px;
    text-align: center;
}

nav a {
    color: var(--color-white);
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 0.95rem;
}

nav a:hover {
    text-decoration: underline;
}

/* Hauptbereich */
.container {
    max-width: 1000px;
    margin: 30px auto 40px auto;
    padding: 0 15px;
}

/* „Karten“-Look für Sections */
.section {
    background: var(--color-white);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.section h2 {
    margin-top: 0;
    color: var(--color-hero); /* dunkles Blau für Überschriften */
}

/* Standard-Buttons (dezentes Dunkelblau – Option B) */
.btn {
    display: inline-block;
    background: var(--color-btn);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.btn:hover {
    background: var(--color-btn-hover);      /* dunklere Hover-Variante */
}

/* Optional: Variante für „Mitglied werden“-Button (grün) */
.btn-primary-green {
    background: var(--color-green);
}
.btn-primary-green:hover {
    background: var(--color-green-hover);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: var(--color-hero-light);
    color: var(--color-white);
    margin-top: 40px;
    font-size: 0.85rem;
}

/* Listen */
.section ul {
    padding-left: 20px;
}

/* Mobile-Optimierung für Smartphones */
@media (max-width: 600px) {

    /* Header kompakter, aber gut lesbar */
    header {
        padding: 8px 10px;
    }

    header h1 {
        font-size: 1.3rem;
    }

    /* Navigation: Links untereinander, besser klickbar */
    nav {
        padding: 8px 5px;
    }

    nav a {
        display: block;
        margin: 6px 0;
        font-size: 0.95rem;
    }

    /* Hero-Bereich: etwas weniger hoch, Elemente angepasst */
    .hero {
        padding: 30px 10px;
        min-height: 260px;
    }

    .hero-logo {
        max-width: 220px;
        width: 70%;
        margin-bottom: 25px;
    }

    .hero-text {
        font-size: 1.4rem;
    }

    /* Inhalt enger, damit es nicht so „wuchtig“ wirkt */
    .container {
        margin: 20px auto 30px auto;
        padding: 0 10px;
    }

    .section {
        padding: 18px;
        margin-bottom: 15px;
    }

    .section h2 {
        font-size: 1.2rem;
    }

    /* Listen etwas kompakter */
    .section ul {
        padding-left: 18px;
    }

    /* Buttons vollbreit oder fast vollbreit für Touch */
    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 10px;
        font-size: 1rem;
    }

    /* Footer kompakter */
    footer {
        padding: 15px 10px;
        font-size: 0.8rem;
    }
}

/* ============================= */
/* NEU: Burger-Menü & Navigation */
/* ============================= */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: white;
  margin-right: 15px;
  cursor: pointer;
  position: absolute;
  left: 15px;
}

.nav-collapsible {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  .nav-toggle {
    display: block;
  }

  .nav-collapsible {
    display: none;
    flex-direction: column;
    text-align: center;
    padding-top: 10px;
  }

  .nav-collapsible.open {
    display: flex;
  }

  nav a {
    margin: 8px 0;
    font-size: 1rem;
  }
}

/* ============================= */
/* Weitere Verbesserungen        */
/* ============================= */

/* Buttons besser klickbar */
.btn {
  margin-top: 16px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 400px;
}

/* Kontaktblöcke mobile responsive */
@media (max-width: 600px) {
  .kontakt-grid {
    grid-template-columns: 1fr !important;
  }
}
