body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg,#e6eefc,#f7f9ff);
  color:#1f2d3d;
  overflow-x:hidden;
}

/* ================= HEADER ================= */
header{
  background:#1f2d3d;
  color:white;
  padding:20px 30px;
  border-bottom:4px solid #1d4de8;
  box-shadow:0 5px 20px rgba(0,0,0,0.12);
}

#branding h1{
  margin:0;
  font-size:42px;
  letter-spacing:2px;
}

.highlight{
  color:#4d7dff;
}

.container{
  width:92%;
  max-width:1300px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

nav ul{
  list-style:none;
  display:flex;
  gap:14px;
  margin:0;
  padding:0;
  flex-wrap:wrap;
  justify-content:center;
}

nav a{
  display:inline-block;
  padding:11px 20px;
  border-radius:30px;
  text-decoration:none;
  color:white;
  font-weight:600;
  font-size:15px;
  background:rgba(255,255,255,0.08);
  transition:0.25s ease;
  backdrop-filter:blur(6px);
}

nav a:hover{
  background:#1d4de8;
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(29,77,232,0.35);
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  max-width:1400px;
  margin:0 auto;
  gap:20px;
}

.topbar h1{
  font-size:42px;
  margin:0;
  letter-spacing:1px;
}

.h10{
  text-align:center;
  font-size:58px;
  font-weight:700;
  margin:30px 0 15px;
  color:#1f2d3d;
}

.year-select{
  display:flex;
  justify-content:center;
  gap:14px;
  margin:20px 0 30px;
  flex-wrap:wrap;
}

.year-select a{
  padding:12px 24px;
  border-radius:30px;
  background:white;
  text-decoration:none;
  color:#1f2d3d;
  font-weight:700;
  transition:0.25s;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.year-select a:hover{
  transform:translateY(-2px);
}

.year-select .active{
  background:#1d4de8;
  color:white;
}

.container_alles{
  display:flex;
  justify-content:center;
  padding:0 15px 40px;
}

.jahr{
  width:100%;
  max-width:1400px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
}

.bilder-wrapper{
  width:100%;
  display:flex;
  justify-content:center;
  gap:25px;
  margin-bottom:25px;
  flex-wrap:wrap;
}

.hauptbild,
.nebenbild{
  border-radius:18px;
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
  transition:0.3s;
}

.hauptbild{
  width:100%;
  max-width:700px;
}

.nebenbild{
  width:100%;
  max-width:320px;
}

.hauptbild:hover,
.nebenbild:hover{
  transform:scale(1.02);
}

/* ================= TEXT ================= */
#newsletter{
  text-align:center;
  padding:35px 15px;
}

#newsletter h2{
  font-size:28px;
  margin:0;
  font-weight:700;
}

/* ================= GRID ================= */
#boxes{
  padding:25px;
}

#boxes .container{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap:40px;
  justify-items:center;
  align-items:start;
}

.box,
.box2{
  width:100%;
  max-width:420px;
  background:white;
  border-radius:20px;
  padding:16px;
  box-shadow:0 15px 35px rgba(0,0,0,0.10);
  transition:0.3s ease;
  text-align:center;
  box-sizing:border-box;
}

.box:hover,
.box2:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 50px rgba(29,77,232,0.25);
}

.box img,
.box2 img{
  width:100%;
  display:block;
  border-radius:16px;
  transition:0.25s;
}

.box img:hover,
.box2 img:hover{
  transform:scale(1.04);
}

footer{
  text-align:center;
  padding:25px;
  margin-top:35px;
  background:#1f2d3d;
  color:white;
  font-size:14px;
}

/* ================= IMAGE ZOOM ================= */
.img-overlay{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.88);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  cursor:zoom-out;
  animation:fadeIn 0.2s ease;
  padding:20px;
  box-sizing:border-box;
}

.img-overlay img{
  max-width:95%;
  max-height:95%;
  border-radius:16px;
  box-shadow:0 20px 50px rgba(0,0,0,0.5);
  animation:zoomIn 0.2s ease;
}

@keyframes fadeIn{
  from{opacity:0;}
  to{opacity:1;}
}

@keyframes zoomIn{
  from{
    transform:scale(0.9);
    opacity:0;
  }
  to{
    transform:scale(1);
    opacity:1;
  }
}

.zoomable{
  cursor:zoom-in;
}

/* TABLES */
table{
  width:360px;
  margin:10px;
  background:white;
  border-radius:18px;
  padding:12px;
  border-collapse:separate;
  border-spacing:5px;
  animation:fade 0.25s ease-in-out;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

@keyframes fade{
  from{
    opacity:0;
    transform:translateY(8px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

th[colspan]{
  background:#1d4de8;
  color:white;
  padding:12px;
  border-radius:12px;
  font-size:17px;
}

th{
  font-size:12px;
  color:#666;
}

td{
  text-align:center;
}

/* TAG BUTTON */
.tag{
  width:40px;
  height:40px;
  border:none;
  border-radius:10px;
  color:white;
  font-weight:600;
  cursor:pointer;
  transition:0.15s;
}

.tag:hover{
  filter:brightness(1.08);
}

/* HALF DAYS */
.start{
  background:linear-gradient(135deg,#1d4de8 40%,#ef4444 70%);
}

.end{
  background:linear-gradient(135deg,#ef4444 40%,#1d4de8 70%);
}

.full{
  background:#ef4444;
}

.free{
  background:#1d4de8;
}

/* ================= TABLET ================= */
@media(max-width:1000px){

  #branding h1{
    font-size:34px;
    text-align:center;
  }

  .container{
    flex-direction:column;
    gap:20px;
  }

  nav ul{
    gap:10px;
  }

  #newsletter h2{
    font-size:24px;
  }

  #boxes .container{
    grid-template-columns:1fr;
    gap:30px;
  }

  .box,
  .box2{
    max-width:650px;
  }

  .topbar{
    flex-direction:column;
    text-align:center;
  }

  .topbar h1{
    font-size:36px;
  }

  .h10{
    font-size:46px;
  }

  table{
    width:320px;
  }

}

/* ================= MOBILE ================= */
@media(max-width:700px){

  header{
    padding:18px 15;
  }

  #branding h1{
    font-size:28px;
    letter-spacing:1px;
  }

  nav ul{
    width:100%;
    gap:8px;
  }

  nav a{
    padding:10px 14px;
    font-size:14px;
  }

  #newsletter{
    padding:25px 15px;
  }

  #newsletter h2{
    font-size:20px;
    line-height:1.4;
  }

  #boxes{
    padding:15px;
  }

  #boxes .container{
    gap:22px;
  }

  .box,
  .box2{
    max-width:100%;
    border-radius:18px;
    padding:12px;
  }

  .box img,
  .box2 img{
    border-radius:14px;
  }

  footer{
    font-size:13px;
    padding:20px;
  }

  .topbar h1{
    font-size:30px;
  }

  .h10{
    font-size:38px;
    margin-top:22px;
  }

  .year-select{
    gap:10px;
    margin-bottom:20px;
  }

  .year-select a{
    padding:10px 18px;
    font-size:14px;
  }

  .bilder-wrapper{
    gap:15px;
  }

  table{
    width:100%;
    max-width:360px;
    margin:8px 0;
  }

  .tag{
    width:36px;
    height:36px;
    font-size:13px;
  }

  th[colspan]{
    font-size:15px;
  }
}
/* EXTRA SMALL */
@media(max-width:430px){

  .topbar h1{
    font-size:26px;
  }

  .h10{
    font-size:32px;
  }

  nav a{
    font-size:13px;
    padding:9px 12px;
  }

  .tag{
    width:32px;
    height:32px;
    font-size:12px;
  }

  table{
    padding:8px;
    border-spacing:3px;
  }
}


@media(max-width:1100px){

  .karte{
    display:none;
  }

}
