:root {
  --braun: #d8c3a5;
  --braun-dunkel: #a68b6a;
  --text: #333;
  --bg: #faf8f5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
}

/* Header & Navigation */
header {
  background: var(--braun);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
}

nav {
  position: relative;
}

.hamburger {
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu {
  display: none;
  position: absolute;
  right: 0;
  top: 60px;
  background: white;
  border: 1px solid var(--braun-dunkel);
  min-width: 180px;
}

.menu a {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--text);
}

.menu a:hover {
  background: var(--braun);
}

.menu.show {
  display: block;
}

/* Content */
main {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: auto;
}

.event {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 6px solid var(--braun-dunkel);
}

.event .datum {
  font-weight: bold;
  color: var(--braun-dunkel);
  margin-bottom: 0.5rem;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #666;
}

/* Desktop */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .menu {
    display: flex;
    position: static;
    border: none;
    background: none;
  }

  .menu a {
    margin-left: 1rem;
  }
}


/*Cookie Einträge*/
#age-gate {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-box {
  max-width: 600px;
  text-align: center;
  padding: 40px;
  font-family: Arial, sans-serif;
}

.age-box h2 {
  margin-bottom: 20px;
}

.age-box button {
  margin: 10px;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

#age-yes {
  background: #b57a1a;
  color: white;
}

#age-no {
  background: #888;
  color: white;
}
/* Ende Cookie*/



/* ============================= */
/* DRUCKANSICHT                  */
/* ============================= */
@media print {

  /* Farben & Hintergründe entfernen */
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  /* Navigation & Footer ausblenden */
  header,
  nav,
  .hamburger,
  footer {
    display: none !important;
  }

  /* Layout vereinfachen */
  main {
    max-width: 100%;
    padding: 0;
  }

  /* Events sauber darstellen */
  .event {
    border: none;
    page-break-inside: avoid;
    margin-bottom: 1.5cm;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  /* Links lesbar machen */
  a::after {
    content: \" (\" attr(href) \")\";
    font-size: 10pt;
  }
}
