/* =========================================================
   CSS VARIABLEN (Design Tokens – Industriestandard)
   ========================================================= */
:root {
  /* --- Basisfarben --- */
  --color-primary: #004080;          /* Hauptfarbe (Header, Akzente): Dunkelblau */
  --color-primary-light: #0066cc;      /* Helleres Blau für Interaktionen */
  --color-background: #fdfdfd;      /* Hintergrundfarbe: Sehr helles Grau */
  --color-accent-active: #f0c040;   /* NEU: Akzentfarbe für aktive Links: Gelb */

  /* --- Textfarben --- */
  --color-text-main: #333;           /* Haupttextfarbe: Dunkelgrau */
  --color-text-muted: #555;          /* Gedämpfte Textfarbe */
  --color-text-inverse: #ffffff;      /* Inverse Textfarbe (für dunkle Hintergründe) */
  --color-text-dark: #000;           /* NEU: Reine schwarze Textfarbe */

  /* --- NEU: Kontrastfarben ("On-Colors") --- */
  --color-on-primary: var(--color-text-inverse); /* Text auf Primärfarbe */
  --color-on-primary-muted: #FFFFFFCC;  /* Gedämpfte inverse Textfarbe: Transluzentes Weiss */
  --color-on-background: var(--color-text-main);   /* Text auf Hintergrund */
  --color-on-accent-active: var(--color-text-dark);/* Text auf Akzentfarbe */
}

/* =========================================================
   GRUNDLEGENDES LAYOUT
   ========================================================= */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: var(--color-text-main);
  background-color: var(--color-background);
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
header {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  padding: 1rem;
  position: relative;
}

header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
  text-align: center;
}

/* Navigation (Desktop Standard) */
header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

header nav ul li {
  margin: 0;
}

header nav ul li a {
  text-decoration: none;
  color: var(--color-on-primary);
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.3s;
}

header nav ul li a:hover {
  background-color: var(--color-primary-light);
}

header nav ul li a.active-link {
  background-color: var(--color-accent-active);
  color: var(--color-on-accent-active);
}

/* =========================================================
   HAMBURGER BUTTON (Desktop: versteckt)
   ========================================================= */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text-inverse);
  cursor: pointer;
}

/* =========================================================
   MAIN CONTENT
   ========================================================= */
main {
  padding: 1rem;
  max-width: 900px;
  margin: auto;
}

/* =========================================================
   BRANDING BEREICH
   ========================================================= */
.branding {
  display: flex;
  /*flex-direction: column;    /* Logo & Claim untereinander */
  align-items: center;
  justify-content: center;
  gap: 1rem;                 /* Abstand zwischen Logo & Claim */
  margin: 2rem 0;
  flex-wrap: wrap;
}

.branding .logo {
  width: 50%;
  max-width: 300px;   /* größer als vorher, passt gut */
  height: auto;
}

/* Claim-Container als Text */
.claim-container {
  max-width: 600px;           /* Breite anpassen, vorher 300-400px für Bild */
  text-align: center;          /* Zentriert unter Logo */
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: var(--color-text-main);
  line-height: 1.4;           /* angenehme Lesbarkeit */
}

/* „Wir sagen:“ Intro */
.claim-intro {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: left;
  color: var(--color-text-main);
}

/* Statement-Liste (Einrückung) */
.claim-statement-list {
  padding-left: 1.5em;        /* optische Struktur ähnlich „Bullet“ */
  margin-bottom: 1em;
  font-size: 1.2rem;
  color: var(--color-text-main);
}

/* Final-Paragraph */
.claim-final-paragraph {
  margin-top: 1em;
  font-size: 1.1rem;
  text-align: left;
}

/* =========================================================
   TEXT & SECTIONS
   ========================================================= */
section p {
  margin-bottom: 1rem;
}

h1,
h2 {
  margin-top: 0;
}

/* =========================================================
   BILDERBEREICH
   ========================================================= */
.images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.images img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* =========================================================
   LINK-LISTEN
   ========================================================= */
.link-pages ul {
  list-style: none;
  padding: 0;
}

.link-pages ul li {
  margin-bottom: 0.5rem;
}

.link-pages ul li a {
  color: var(--color-primary);
  font-weight: bold;
  text-decoration: none;
}

.link-pages ul li a:hover {
  text-decoration: underline;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  padding: 1rem;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 2rem;
}

/* Footer-Links: wie Text, aber eindeutig erkennbar */
footer a {
  color: var(--color-on-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

/* Hover & Tastatur-Fokus */
footer a:hover,
footer a:focus {
  text-decoration: none;
}

/* Kleiner Text im Footer – bewusst heller, nicht grau */
footer .small {
  font-size: 0.85rem;
  color: var(--color-on-primary-muted);
}

/* =========================================================
   TESTVERSION BANNER
   ========================================================= */
#testversion-banner {
  display: none;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  font-weight: bold;
  color: #000;
  background: repeating-linear-gradient(
    45deg,
    #ffd400,
    #ffd400 10px,
    #000 10px,
    #000 20px
  );
  position: sticky;
  top: 0;
  z-index: 9999;
}

#testversion-banner span {
  background: rgba(255, 255, 255, 0.85);
  padding: 4px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   MOBILE / HANDY-ANSICHT
   ========================================================= */
@media (max-width: 700px) {

  /* Branding */
  .branding {
    flex-direction: column;
    align-items: center;       /* horizontal zentriert */
    justify-content: center;   /* vertikal innerhalb Branding mittig */
    gap: 1rem;                 /* Abstand verkleinern */
    margin: 1.5rem 0;          /* mobiles Margin anpassen */
  }

  .branding .logo {
    max-width: 150px;           /* kleineres Logo für Mobile */
    height: auto;
  }

  .claim-container {
    max-width: 90%;
    font-size: 1rem;
  }
  .claim-statement-list {
    padding-left: 0.5em;
    font-size: 1rem;
  }
  .claim-final-paragraph {
    font-size: 0.95rem;
    text-align: left;
  }

  /* Header-Padding erhöhen für Mobile */
  header {
    padding: 1.5rem 1rem;       /* sorgt für mehr vertikalen Platz */
    display: flex;
    flex-direction: column;     /* Branding + h1 sauber stapeln */
    align-items: center;
  }

  header h1 {
    font-size: 1.4rem;          /* bestehender Mobile-Font */
    margin-bottom: 1rem;        /* Abstand zum Branding */
    text-align: center;
  }

  header nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Hamburger Menü */
  .nav-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
	z-index: 10000; /* HÖHER als Banner 9999 */
  }

  nav ul.nav-links {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    margin-top: 0.5rem;
  }

  nav ul.nav-links.active {
    display: flex;
  }
}
