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

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #f5f5f5;
}

header.header,
footer.footer {
  width: 100%;
}

/* ===============================
   HEADER
================================ */
header.header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

header.header img,
footer.footer img {
  width: 100%;
  height: auto;
  display: block;
}

/* Burger Icon */
.burger-menu {
  position: absolute;
  top: 80px;          /* ca. 1 cm tiefer */
  right: 14px;
  font-size: 30px;
  color: #fff;
  background: rgba(0,0,0,0.45);
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  z-index: 3000;      /* WICHTIG: über Header-Bild */
}

/* Burger Navigation */
.burger-nav {
  position: absolute;
  top: 130px;
  right: 14px;
  background: #006600;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  display: none;            /* Start: geschlossen */
  flex-direction: column;
  overflow: hidden;
  z-index: 3000;
}

.burger-nav a {
  color: #fff;
  text-decoration: none;
  padding: 14px 18px;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.burger-nav a:last-child {
  border-bottom: none;
}

.burger-nav a:hover {
  background: rgba(255,255,255,0.15);
}

/* ===============================
   MAIN / CARDS
================================ */
main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px;
}

.card {
  background: white;
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.card h1,
.card h2 {
  margin-bottom: 6px;
}

.card p {
  font-size: 16px;
  margin-bottom: 4px;
}

/* ===============================
   WAGON LIST
================================ */
.wagon-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: white;
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  margin-bottom: 4px;
  min-height: 50px;
  word-break: break-word;
}

.wagon-info-wrapper {
  display: flex;
  gap: 5px;
  flex: 1;
}

.wagon-nr {
  flex: 0 0 auto;
  font-weight: bold;
  text-align: center;
  font-size: 20px;
  padding: 4px 8px; /* Innenabstand */
  background-color: #f0a500;
  color: white;
  border-radius: 8px; /* leicht abgerundet */
}


.wagon-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wagon-name {
  font-weight: bold;
  font-size: 20px;
  line-height: 1.2;
}

.wagon-motto {
  font-size: 18px;
  color: #666;
  line-height: 1.2;
}

/* ===============================
   STARS
================================ */
.stars {
  display: flex;
  gap: 6px;
  font-size: 42px;
  cursor: pointer;
}

.star {
  color: #ccc;
  transition: 0.15s;
}

.star.selected {
  color: #f5b400;
}

/* ===============================
   BUTTONS
================================ */
.vote-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(90deg,#f5b400,#ff9900);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: 0.2s;
  margin-top: 8px;
}

.vote-btn:hover {
  background: linear-gradient(90deg,#ffcc33,#ffaa00);
  transform: translateY(-2px);
}

.vote-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ===============================
   CONFETTI
================================ */
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  top: -10px;
  animation: fall 3s linear forwards;
  z-index: 9999;
}

@keyframes fall {
  to {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* ===============================
   FOOTER
================================ */
.footer-bottom {
  background: #006600;
  color: #fff;
  text-align: center;
  padding: 14px 10px 18px;
  font-size: 14px;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
}

.footer-bottom span {
  margin: 0 8px;
  opacity: 0.7;
}

/* =========================
   Schöne UL / LI Liste
   ========================= */
ul.pretty-list li {
  background: #ffffff;
  padding: 12px 14px 10px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  font-size: 16px;
  line-height: 1.3;
    gap: 12px; 
  text-align: left;
  word-break: break-word;
  display: block; /* ⚠ kein flex mehr für den Text */
  position: relative; /* für optionales Icon */
}

/* optionales Icon links außen */
ul.pretty-list li::before {
  content: "•";
  color: #f5b400;
  font-size: 20px;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

/* Abstand zwischen Icon und Text */
ul.pretty-list li span.text {
  display: block;
  padding-left: 24px; /* Platz für das Icon */
}

ul.pretty-list li b {
  font-weight: 600;
}



.a-btn{
  display: block;
  width: 100%;
  padding: 14px 20px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-decoration: none; /* keine Unterstreichung */
  background: linear-gradient(90deg,#f5b400,#ff9900);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
  margin: 8px 0;
}

.a-btn:hover{
  background: linear-gradient(90deg,#ffcc33,#ffaa00);
  transform: translateY(-2px);
}

.a-btn:active{
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.logo-img{
 display: block;       /* Block-Element, damit margin:auto wirkt */
  max-height: 120px;    /* maximale Höhe */
  width: auto;          /* Seitenverhältnis beibehalten */
  margin: 6px auto;     /* zentrieren + Abstand oben */
  

}

/* Mobile Feinschliff */
@media (max-width: 480px){
  ul.pretty-list li{
    font-size: 18px;
    padding: 8px 
	;
  }
}


/* ===============================
   MOBILE
================================ */
@media (max-width: 480px) {
  .wagon-name { font-size: 18px; }
  .wagon-motto { font-size: 16px; }
  .wagon-nr { font-size: 16px; }
}
