/*-- ==== assets/css/style.css ==== --*/
/* =========================================================
   CSS VARIABLEN (Design Tokens – Industriestandard)
   ========================================================= */

  :root {
  /* --- Basisfarben --- */
  --color-primary: #8B1A1A;
  --color-primary-light: #C44C4C;
  --color-background: #FFF5E6;
  --color-accent-active: #F0A830;

  /* --- Textfarben --- */
  --color-text-main: #2E1F1F;
  --color-text-muted: #5C4A4A;
  --color-text-inverse: #FFFFFF;
  --color-text-dark: #000000;

  /* --- Kontrastfarben ("On-Colors") --- */
  --color-on-primary: var(--color-text-inverse);
  --color-on-primary-muted: #FFFFFFCC;
  --color-on-background: var(--color-text-main);
  --color-on-accent-active: var(--color-text-dark);
}


/* =========================================================
   GRUNDLEGENDES LAYOUT
   ========================================================= */
body {
  font-family: Arial, Helvetica, sans-serif; /* system fonts, legal, DSGVO-konform */
  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;
}

/* NEU: Zeile für Hamburger + Überschrift */
.header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

/* 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 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-color: var(--color-primary-light);
  border: none;
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
}

/* Hamburger Icon (hoher Kontrast) */
.hamburger-icon {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--color-on-primary);
  position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 3px;
  background-color: var(--color-on-primary);
}

.hamburger-icon::before {
  top: -8px;
}

.hamburger-icon::after {
  top: 8px;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background-color: var(--color-accent-active);
  outline: 3px solid var(--color-on-accent-active);
  outline-offset: 2px;
}

/* =========================================================
   MAIN CONTENT
   ========================================================= */
main {
  padding: 1rem;
  max-width: 900px;
  margin: auto;
}

/* =========================================================
   BRANDING BEREICH
   ========================================================= */
.branding {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.branding .logo {
  width: 50%;
  max-width: 300px;
  height: auto;
}

.claim-container {
  max-width: 600px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif; /* system fonts, legal, DSGVO-konform */
  font-weight: bold;
  color: var(--color-text-main);
  line-height: 1.4;
}

.claim-intro {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.claim-statement-list {
  padding-left: 1.5em;
  margin-bottom: 1em;
  font-size: 1.2rem;
}

.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 MIT BILDUNTERSCHRIFTEN
   ========================================================= */
.images {
  display: grid;
  gap: 1rem;
  justify-content: center; /* Bilder zentrieren bei großen Screens */
  margin-bottom: 2rem;
}

/* Jedes Bild + Unterschrift als Einheit */
.bild-mit-unterschrift {
  display: flex;
  flex-direction: column; /* Bild oben, Caption unten */
  align-items: center;    /* Zentriert */
}

/* Bild-Styling */
.bild-mit-unterschrift img {
  width: 100%;            /* Vollständig in der Grid-Zelle */
  height: auto;           /* Seitenverhältnis beibehalten */
  border-radius: 8px;     /* Runde Ecken */
  display: block;
}

/* Bildunterschrift */
.bild-mit-unterschrift figcaption {
  margin-top: 0.5rem;     /* Abstand zum Bild */
  font-size: 0.9em;       /* etwas kleinere Schrift */
  color: #555;            /* dunkles Grau für gute Lesbarkeit */
  text-align: center;
  line-height: 1.3;       /* angenehmes Zeilenlayout */
}

/* Optional: Hover-Effekt für Bilder */
.bild-mit-unterschrift img:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* =========================================================
   Zoom-Overlay für Bilder
   ========================================================= */
.image-zoom-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.image-zoom-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
  color: #fff;
}

.image-zoom-title {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.image-zoom-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
}

.image-zoom-close {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.image-zoom-close:hover {
  opacity: 0.8;
}


/* =========================================================
   LINK-LISTEN
   ========================================================= */
.link-pages ul {
  list-style: none;
  padding: 0;
}

.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 a {
  color: var(--color-on-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer a:hover,
footer a:focus {
  text-decoration: none;
}

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) {

  header {
    padding: 1.5rem 1rem;
    display: block;
  }

  header h1 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: left;
  }

  .nav-toggle {
    display: block;
  }

  header nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  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;
  }
}
/* ===============================================================
   MOBILE / HANDY-ANSICHT für BILDERBEREICH MIT BILDUNTERSCHRIFTEN
   =============================================================== */
/* Mobile First: 1 Spalte */
@media (max-width: 599px) {
  .images {
    grid-template-columns: 1fr;
  }
}

/* Tablet: 2 Spalten */
@media (min-width: 600px) and (max-width: 899px) {
  .images {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 3-4 Spalten mit max-width */
@media (min-width: 900px) {
  .images {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1200px; /* verhindert riesige Abstände */
    margin-left: auto;
    margin-right: auto;
  }
}   