/* ============================= */
/* FONTS (lokal eingebunden) */
/* ============================= */
@font-face {
  font-family: "FredokaOne";
  src: url("../fonts/FredokaOne-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================= */
/* BASE LAYOUT (Flex-Setup) */
/* ============================= */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  color: #000;
  line-height: 1.4;
  overflow-x: hidden;
}

main {
  flex: 1; /* nimmt automatisch den freien Platz ein */
}

h1, h2, h3 {
  font-family: "FredokaOne", sans-serif;
  margin-top: 0;
}

/* Globale Links (z. B. im Footer gelb) */
a {
  color: #fdc925;
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* E-Mail-Link in der privacy-Seite: nicht gelb */
#privacy a[href^="mailto:"] {
  color: inherit;
  text-decoration: underline;
}

/* Links NUR innerhalb des Inhaltsbereichs (#privacy): nicht gelb */
#privacy a {
  color: inherit;
  text-decoration: underline;
}
#privacy a:hover {
  text-decoration: underline;
}

/* E-Mail-Link in der privacy-Seite: nicht gelb */
#privacy a[href^="mailto:"] {
  color: inherit;
  text-decoration: underline;
}

section {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 16px;
}

/* Abstand H2 → erster Text entfernen */
h2 { margin-bottom: 0; }
h2 + p { margin-top: 0; }

/* Kein Abstand zwischen h3 und dem direkt folgenden Paragraphen */
h3 { margin-bottom: 0; }
h3 + p { margin-top: 0; }

/* Listen im Inhaltsbereich (#privacy) */
#privacy ul,
#privacy ol {
  padding-left: 1.2em;
  margin: 0 0 1em 1.2em;
}
#privacy li {
  font-size: 1em;    /* = Body-Textgröße (20px) */
  line-height: 1.4;  /* wie body */
}

/* ============================= */
/* TOPBAR (25px schwarzer Balken, zentrierter, fetter Home-Link) */
/* ============================= */
#topbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 25px;
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#topbar a {
  font-weight: 700;
}



/* Nur Links im Content-Bereich (#privacy): schwarz */
#privacy a {
  color: #000 !important;
  text-decoration: underline;
}

#privacy a:hover {
  color: #000 !important;
  text-decoration: underline;
}

/* ============================= */
/* BOTTOMBAR (25px schwarzer Balken, zentrierter, fetter Home-Link) */
/* ============================= */
#bottombar {
  background: #000;
  height: 25px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px; /* Abstand zum Content oben */
}

#bottombar a {
  color: #ffd000; /* gleiche Farbe wie oben */
  font-weight: 700;
  text-decoration: none;
}

/* ============================= */
/* HEADER & BURGERBUTTON */
/* ============================= */
#site-header {
  background: #333;
  color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative; /* nicht fixed, kein Overlay */
  z-index: 1000;
}

#main-nav {
  display: flex;
  align-items: center;
}

#menu-toggle-wrapper {
  display: flex;
  align-items: center;
}

#menu-toggle {
  background: #fdc925;
  border: none;
  border-radius: 6px;
  font-size: 24px;
  width: 37px;
  height: 37px;
  cursor: pointer;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Menü selbst */
#primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none; /* standardmäßig versteckt */
}

#primary-menu li {
  margin: 0;
}

#primary-menu a {
  color: #fdc925;
  text-decoration: none;
  font-weight: bold;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media (max-width: 768px) {
  #menu-toggle { display: inline-flex; }
  #primary-menu.show { display: flex; flex-direction: column; gap: 10px; }
}

@media (min-width: 769px) {
  #menu-toggle { display: none; }
  #primary-menu { display: flex; gap: 20px; }
}

/* ============================= */
/* FOOTER */
/* ============================= */
footer {
  background: #000;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 25px 0;
}

footer .footer-container {
  font-size: 16px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .footer-container p {
  margin: 0;
}

footer .footer-container nav {
  margin-top: 0px;
}

/* ============================= */
/* MOBILE TYPOGRAPHY */
/* ============================= */
@media (max-width: 768px) {
  h2 { font-size: clamp(20px, 3vw, 32px); line-height: 1.3; }
  h3 { font-size: clamp(18px, 2.5vw, 26px); line-height: 1.4; }
  p  { font-size: clamp(15px, 1.8vw, 18px); line-height: 1.6; }

  /* Bullets mobil etwas kleiner, damit nicht „zu groß“ wirken */
  #privacy li {
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.6;
  }
    
  p,
  li {
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: 1.6;
  } 
  
  
}
