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);
}

.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 120px;
}

.jahr{
  width:100%;
  max-width:1400px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.bilder-wrapper{
  width:100%;
  display:flex;
  justify-content:center;
  gap:25px;
  margin-bottom:12px;
  flex-wrap:wrap;
  min-height:420px;
  align-items:center;
}

.year-select{
  width:100%;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  margin:12px 0 18px;
}

.bilder-wrapper img{
  width:100%;
  height:auto;
  display:block;
  max-height:560px;
}

.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);
}

.logo{
  font-size:46px;
  font-weight:800;
  letter-spacing:1px;
  white-space:nowrap;
}

.logo span{
  color:#1d4de8;
}

.booking-box h1{
  text-align:center;
  font-size:48px;
  margin-top:0;
  margin-bottom:40px;
  color:#1f2d3d;
}

/* ================= TEXT ================= */
#newsletter{
  text-align:center;
  padding:35px 15px;
}

#newsletter h2{
  font-size:28px;
  margin:0;
  font-weight:700;
}

.label{
  font-weight:700;
  color:#1d4de8;
}

label{
  display:block;
  margin-bottom:10px;
  font-weight:700;
  font-size:16px;
}

/* ================= ERROR ================= */
.error{
  width:fit-content;
  max-width:90%;
  margin:30px auto 0;
  background:#ef4444;
  color:white;
  padding:16px 24px;
  border-radius:14px;
  font-size:16px;
  text-align:center;
  box-shadow:0 8px 20px rgba(239,68,68,0.25);
}

/* ================= TITLE ================= */
.title{
  text-align:center;
  font-size:52px;
  font-weight:800;
  margin:40px 0 20px;
  color:#1f2d3d;
}

/* ================= LOGIN BOX ================= */
.login-box{
  width:100%;
  max-width:520px;
  background:white;
  padding:50px;
  border-radius:28px;
  box-shadow:0 20px 60px rgba(0,0,0,0.12);
}

.login-box h1{
  text-align:center;
  font-size:48px;
  margin-top:0;
  margin-bottom:35px;
  color:#1f2d3d;
}

.preis-form{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.form-panel,
.house-panel{
  background:#ffffff;
  border:1px solid #e7edf9;
  border-radius:20px;
  padding:18px 16px;
  box-shadow:0 12px 28px rgba(15,23,42,0.06);
}

.form-panel h2,
.house-header h2{
  margin:0 0 12px;
  color:#1d4de8;
  font-size:20px;
}

.house-panel{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.house-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.house-scroll{
  max-height:260px;
  overflow-y:auto;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding-right:6px;
}

.house-scroll::-webkit-scrollbar {
  width:8px;
}

.house-scroll::-webkit-scrollbar-thumb {
  background:#cfe0ff;
  border-radius:999px;
}

.input-group{
  margin-bottom:22px;
}

input,
select{
  width:100%;
  padding:20px;
  border-radius:16px;
  border:1px solid #d7dce5;
  font-size:18px;
  transition:0.2s;
  background:#fafcff;
}

input:focus,
select:focus{
  outline:none;
  border-color:#1d4de8;
  box-shadow:0 0 0 5px rgba(29,77,232,0.15);
  background:white;
}

button{
  width:100%;
  padding:20px;
  border:none;
  border-radius:16px;
  background:#1d4de8;
  color:white;
  font-size:20px;
  font-weight:700;
  cursor:pointer;
  transition:0.25s;
  margin-top:8px;
}

button:hover{
  background:#1741c2;
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(29,77,232,0.25);
}

/* ================= PICK BUTTONS (Auswählen / Abbrechen / Weiter) ================= */
.pick-all{
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  padding:10px 14px;
  width:min(100%, 900px);
  margin:0 auto;
  background:rgba(255,255,255,0.96);
  border:1px solid rgba(29,77,232,0.14);
  border-radius:20px;
  box-shadow:0 14px 34px rgba(15, 23, 42, 0.10);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.pick-btn{
  width:auto;
  padding:10px 14px;
  border-radius:12px;
  border:none;
  background:#ffffff;
  color:#1d4de8;
  font-weight:700;
  cursor:pointer;
  min-width:90px;
  max-width:160px;
  font-size:15px;
  box-shadow:0 6px 16px rgba(0,0,0,0.08);
  transition:transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}

.pick-btn.active-btn{
  background:#1d4de8;
  color:#fff;
  box-shadow:0 12px 28px rgba(29,77,232,0.24);
}

.pick-btn.inactive-btn{
  background:#f3f4f6;
  color:#6b7280;
}

.pick-btn:active{
  transform:translateY(1px);
  box-shadow:0 6px 16px rgba(0,0,0,0.08);
}

.pick-btn:focus{
  outline:none;
  box-shadow:0 0 0 4px rgba(29,77,232,0.12);
}

.sticky-pickbar{
  position:fixed;
  left:50%;
  bottom:10px;
  transform:translateX(-50%) translateY(4px);
  z-index:900;
  opacity:0;
  pointer-events:none;
  visibility:hidden;
  transition:opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.sticky-pickbar.visible{
  opacity:1;
  pointer-events:auto;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
  .pick-all{
    flex-direction:row;
    flex-wrap:nowrap;
    justify-content:center;
    align-items:center;
    padding:10px 12px;
    gap:8px;
    width: calc(100vw - 22px);
    max-width: 420px;
    margin: 0 auto;
  }

  .sticky-pickbar{
    left:50%;
    right:auto;
    transform:translateX(-50%);
    width: calc(100vw - 22px);
    max-width: 420px;
    bottom:12px;
  }

  .pick-btn{
    flex:1 1 0;
    min-width:0;
    max-width:140px;
    padding:10px 12px;
    font-size:14px;
  }
}

@media (max-width: 520px) {
  .pick-all{
    flex-direction:row;
    flex-wrap:nowrap;
    justify-content:center;
    align-items:center;
    padding:8px 10px;
    border-radius:18px;
    gap:6px;
    width: calc(100vw - 14px);
  }

  .sticky-pickbar{
    bottom:8px;
    left:50%;
    right:auto;
    transform:translateX(-50%);
    width: calc(100vw - 14px);
    max-width: 100vw;
  }

  .pick-btn{
    flex:1 1 0;
    min-width:0;
    max-width:120px;
    padding:10px 12px;
    font-size:14px;
    border-radius:12px;
  }
}

/* ================= OPTIONAL COLORS ================= */
.red-btn{
  background:#ef4444;
}

.red-btn:hover{
  background:#d93737;
}

.green-btn{
  background:#10b981;
}

.green-btn:hover{
  background:#0d9f6e;
}

/* ================= 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;
}

.site-footer{
  margin-top:35px;
  padding:18px 25px;
  background:#1f2d3d;
  color:white;
}

.footer-inner{
  max-width:1400px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.site-footer p{
  margin:0;
}

.footer-links{
  display:flex;
  gap:20px;
}

.footer-links a{
  color:white;
  font-weight:600;
  text-decoration:none;
  transition:color 0.2s ease;
}

.footer-links a:hover{
  color:#8eacff;
}

@media (max-width:520px){
  .footer-inner{
    flex-direction:column;
    gap:10px;
  }
}

/* ================= BOOKING TABLE PAGE ================= */
.content-page{
  max-width: 1120px;
  margin: 40px auto 0;
  padding: 0 18px 50px;
}

.content-page h1{
  margin-bottom: 28px;
  color: #1f2d3d;
  text-align: center;
  font-size: 38px;
}

/* ================= HELP PAGE ================= */
.help-page{
  max-width:1100px;
  margin:0 auto;
  padding:42px 20px 70px;
}

.help-intro{
  max-width:720px;
  margin:0 auto 32px;
  text-align:center;
}

.help-intro h1{
  margin:0 0 12px;
  color:#1f2d3d;
  font-size:42px;
}

.help-intro p{
  margin:0;
  color:#536273;
  font-size:18px;
  line-height:1.6;
}

.help-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:20px;
}

.help-card{
  background:#ffffff;
  border:1px solid #e7edf9;
  border-radius:18px;
  padding:24px;
  box-shadow:0 12px 28px rgba(15,23,42,0.07);
}

.help-card h2{
  margin:0 0 10px;
  color:#1d4de8;
  font-size:22px;
}

.help-card p,
.help-card li{
  color:#536273;
  line-height:1.6;
}

.help-card p{
  margin:0;
}

.help-card ul{
  margin:0;
  padding-left:22px;
}

.help-card strong{
  color:#1f2d3d;
}

.help-contact{
  margin-top:20px;
  text-align:center;
  color:#536273;
}

@media (max-width:700px){
  .help-page{
    padding:30px 15px 50px;
  }

  .help-intro h1{
    font-size:34px;
  }

  .help-intro p{
    font-size:16px;
  }

  .help-grid{
    grid-template-columns:1fr;
  }
}

.booking-table{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 22px;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
  border-radius: 16px;
  overflow: hidden;
}

.booking-table th,
.booking-table td{
  border: 1px solid #e7ecf5;
  padding: 10px 12px;
  text-align: center;
  vertical-align: middle;
  font-size: 13px;
}

.booking-table th{
  background: linear-gradient(135deg, #eef4ff, #f8fbff);
  color: #1f2d3d;
  font-weight: 700;
}

.booking-title{
  background: linear-gradient(135deg, #1d4de8, #4d7dff);
  color: white;
  font-weight: 700;
  font-size: 15px;
}

.yellow-row td{
  background: #fff8d9;
}

.purple-row,
.purple-row td {
  background: #d8b4fe !important;
  color: #000 !important;
}

.red-row td{
  background: #ffe1e1;
  color: #b91c1c;
  font-weight: 700;
}

.empty-state{
  text-align: center;
  color: #6b7280;
  padding: 18px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  max-width: 700px;
  margin: 0 auto;
}

.booking-actions{
  max-width: 1000px;
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.booking-actions input{
  flex: 1;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d7dce5;
}

.booking-actions button{
  width: auto;
  min-width: 170px;
  padding: 12px 16px;
  margin-top: 0;
  border-radius: 12px;
}

@media (max-width: 700px) {
  .booking-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-actions input {
    min-width: 0;
    padding: 11px 12px;
    font-size: 14px;
  }

  .booking-actions button {
    width: 100%;
  }

  .booking-table th,
  .booking-table td {
    padding: 8px 6px;
    font-size: 11px;
  }

  .booking-title {
    font-size: 13px;
  }
}

/* ================= CENTER ================= */
.center{
  min-height:calc(100vh - 170px);
  display:flex;
  justify-content:center;
  align-items:center;
  padding:30px 20px;
  box-sizing:border-box;
  width:100%;
  text-align:center;
}

.login-box{
  width:min(520px,100%);
  max-width:520px;
  background:white;
  padding:40px 35px;
  border-radius:28px;
  box-shadow:0 20px 60px rgba(0,0,0,0.12);
  box-sizing:border-box;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.login-box form{
  width:100%;
}

.login-box h1{
  text-align:center;
  font-size:40px;
  margin-top:0;
  margin-bottom:28px;
  color:#1f2d3d;
}

.input-group{
  width:100%;
}

input,
select{
  width:100%;
  padding:18px 16px;
  border-radius:16px;
  border:1px solid #d7dce5;
  font-size:16px;
  transition:0.2s;
  background:#fafcff;
  box-sizing:border-box;
}

input:focus,
select:focus{
  outline:none;
  border-color:#1d4de8;
  box-shadow:0 0 0 5px rgba(29,77,232,0.15);
  background:white;
}

/* FOOTER */
footer{
  text-align:center;
  padding:24px;
  color:#666;
  font-size:15px;
}

.message-box {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #e74c3c;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: none;
    z-index: 9999;
}
/* ================= 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;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 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;
  vertical-align:middle;
  padding:2px;
}

/* ================= AUSWAHL ANIMATION ================= */

.tag{
  width:42px;
  height:42px;

  display:flex;
  align-items:center;
  justify-content:center;

  margin:auto;

  border:none;

  color:white;
  font-size:14px;
  font-weight:700;

  cursor:pointer;

  position:relative;
  z-index:1;

  transition:
    background 0.35s ease,
    transform 0.18s ease,
    border-radius 0.30s ease,
    opacity 0.25s ease;

  box-sizing:border-box;

  background: #f0f4ff;
  color: #1f2d3d;
}

.tag.full{
  background:#ef4444 !important;
  color:white !important;
}

/* STATUS COLORS */
.tag.status-gebucht2{
  background:#10b981 !important;
  color:white !important;
}

.tag.status-gebucht2-start{
  background:linear-gradient(135deg, #1d4de8 40%, #10b981 70%) !important;
  color:white !important;
}

.tag.status-gebucht2-end{
  background:linear-gradient(135deg, #10b981 40%, #1d4de8 70%) !important;
  color:white !important;
}

.tag.status-gebucht1{
  background:#a855f7 !important;
  color:white !important;
}

.tag.status-gebucht1-start{
  background:linear-gradient(135deg, #1d4de8 40%, #a855f7 70%) !important;
  color:white !important;
}

.tag.status-gebucht1-end{
  background:linear-gradient(135deg, #a855f7 40%, #1d4de8 70%) !important;
  color:white !important;
}

.tag.status-reserviert3{
  background:#dc2626 !important;
  color:white !important;
}

.tag.status-reserviert3-start{
  background:linear-gradient(135deg, #1d4de8 40%, #dc2626 70%) !important;
  color:white !important;
}

.tag.status-reserviert3-end{
  background:linear-gradient(135deg, #dc2626 40%, #1d4de8 70%) !important;
  color:white !important;
}

.tag.status-reserviert2{
  background:#f97316 !important;
  color:white !important;
}

.tag.status-reserviert2-start{
  background:linear-gradient(135deg, #1d4de8 40%, #f97316 70%) !important;
  color:white !important;
}

.tag.status-reserviert2-end{
  background:linear-gradient(135deg, #f97316 40%, #1d4de8 70%) !important;
  color:white !important;
}

.tag.status-reserviert1{
  background:#eab308 !important;
  color:#1f2d3d !important;
}

.tag.status-reserviert1-start{
  background:linear-gradient(135deg, #1d4de8 40%, #eab308 70%) !important;
  color:#1f2d3d !important;
}

.tag.status-reserviert1-end{
  background:linear-gradient(135deg, #eab308 40%, #1d4de8 70%) !important;
  color:#1f2d3d !important;
}

/* HOVER */
.tag:hover{
  transform:scale(1.05);
}

.selected-start,
.selected-middle,
.selected-end{
  box-shadow: 0 0 0 3px #00e676, 0 0 12px rgba(0, 230, 118, 0.6) !important;
  transform: scale(1.03);
  z-index: 5;
}

.start{
  background:linear-gradient(135deg,#1d4de8 40%,#ef4444 70%);
}

.end{
  background:linear-gradient(135deg,#ef4444 40%,#1d4de8 70%);
}

.full{
  background:#ef4444;
}

.tag.selected-start:hover,
.tag.selected-middle:hover,
.tag.selected-end:hover{
  transform: scale(1.03) !important;
  box-shadow: 0 0 0 3px #00e676, 0 0 12px rgba(0, 230, 118, 0.6) !important;
  transition: none !important;
}

.status-select, .rechte-select{
  margin-bottom: 40px;
}

.preis-block{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
  background:#f8fbff;
  border:1px solid #e4ebf6;
  border-radius:16px;
  padding:12px 14px;
  margin:0;
  box-shadow:0 8px 18px rgba(15,23,42,0.04);
}

.preis-block:nth-child(odd){
  background:#f3f7ff;
}

.preis-head{
  font-weight:800;
  color:#1d4de8;
  margin:0;
  font-size:14px;
  text-align:left;
  line-height:1.4;
}

.preis-body{
  display:grid;
  grid-template-columns: minmax(120px, 1fr) 16px minmax(120px, 1fr);
  align-items:center;
  gap:8px;
  font-size:13px;
  color:#1f2d3d;
}

.preis-field{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  padding:6px 8px;
  border-radius:10px;
  background:rgba(255,255,255,0.65);
  border:1px solid rgba(29,77,232,0.08);
}

.preis-label{
  font-size:10px;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#64748b;
}

.arrow{
  color:#9aa7b8;
  font-weight:700;
  text-align:center;
}

.datum{
  font-weight:700;
  font-size:13px;
}

.preis-value{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:2px;
  padding:8px 10px;
  border-radius:10px;
  background:#eafaf3;
  border:1px solid rgba(16,157,107,0.18);
  font-size:15px;
  font-weight:900;
  color:#0f9d6b;
}

.preis-value .preis-label{
  color:#0f9d6b;
}

.scroll-btn {
    position: fixed;
    bottom: 30px;   /* schwebt über Inhalt, nicht ganz unten */
    left: 50%;
    transform: translateX(-50%);

    width: 48px;
    height: 48px;

    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 999px;

    background: rgba(240, 240, 240, 0.9); /* hellgrau */
    color: #444;

    font-size: 20px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 6px 20px rgba(0,0,0,0.08);

    backdrop-filter: blur(8px);

    transition: all 0.2s ease;
    z-index: 999;
}

.scroll-btn:hover {
    background: rgba(230, 230, 230, 0.95);
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.scroll-btn:active {
    transform: translateX(-50%) scale(0.95);
}

/* ================= TABLET ================= */
@media(max-width:1000px){
  header{
    padding:24px 20px;
  }

  .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;
  }

  .logo{
    font-size:48px;
    text-align:center;
  }

  .login-box{
    max-width:600px;
  }
}

/* ================= MOBILE ================= */
@media(max-width:700px){

  header{
    padding:18px 15;
  }

  .topbar{
    flex-direction:column;
    text-align:center;
    gap:18px;
  }

  .title{
    font-size:38px;
    margin:30px 0 15px;
  }

  .logo{
    font-size:30px;
    line-height:1.2;
  }

  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:8px;
    margin-bottom:8px;
  }

  .year-select a{
    padding:10px 18px;
    font-size:14px;
  }

  .bilder-wrapper{
    gap:12px;
    margin-bottom:6px;
    min-height: auto;
    align-items:center;
  }

  table{
    width:100%;
    max-width:320px;
    margin:8px auto;
  }

  .booking-table{
    max-width:100%;
  }

  /* reduce gap between year buttons and calendar */
  #calendar-container{
    margin-top:0;
    padding-top:0;
  }

  .tag{
    width:36px;
    height:36px;
    font-size:13px;
    border-radius:10px;
  }

  th[colspan]{
    font-size:15px;
  }

  .center{
    padding:35px 15px;
    align-items:center;
    justify-content:center;
    min-height:calc(100vh - 180px);
    text-align:center;
  }

  .login-box{
    width:min(520px,100%);
    max-width:520px;
    margin:0 auto;
    padding:35px 22px;
    border-radius:22px;
    display:flex;
    flex-direction:column;
    align-items:center;
    box-sizing:border-box;
  }

  .login-box h1{
    font-size:38px;
    margin-bottom:28px;
  }

  .login-box form{
    width:100%;
  }

  .input-group{
    width:100%;
  }

  input, select{
    padding:14px 12px;
    font-size:15px;
    border-radius:14px;
    width:100%;
    min-height:48px;
    box-sizing:border-box;
  }

  input[type="date"],
  input[type="datetime-local"],
  input[type="time"],
  input[type="month"],
  input[type="week"] {
    padding:14px 12px;
    min-height:48px;
    width:100%;
    box-sizing:border-box;
  }

  /* Mobile: keep pick buttons in a row to save vertical space */
  .pick-all{
    flex-direction:row;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin:4px 0 8px;
  }

  .pick-btn{
    width:auto;
    min-width:0;
    padding:10px 12px;
    border-radius:12px;
    font-size:15px;
  }

  button{
    padding:18px;
    font-size:18px;
    border-radius:14px;
  }
}

/* ================= EXTRA SMALL ================= */
@media(max-width:430px){

  .topbar h1{
    font-size:26px;
  }

  .h10{
    font-size:32px;
  }

  nav a{
    font-size:13px;
    padding:9px 12px;
  }

  .title{
    font-size:32px;
  }

  .tag{
    width:32px;
    height:32px;
    font-size:12px;
    border-radius:9px;
  }

  table{
    padding:8px;
    border-spacing:2px;
    max-width:100%;
  }

  .booking-table th,
  .booking-table td {
    padding: 5px 3px;
    font-size: 9px;
  }

  .logo{
    font-size:26px;
  }

  .login-box{
    padding:28px 18px;
  }

  .login-box h1{
    font-size:32px;
  }

  input, select{
    padding:13px 11px;
    font-size:14px;
    min-height:46px;
  }

  input[type="date"],
  input[type="datetime-local"],
  input[type="time"],
  input[type="month"],
  input[type="week"] {
    padding:13px 11px;
    min-height:46px;
    width:100%;
    box-sizing:border-box;
  }

  button{
    padding:16px;
    font-size:17px;
  }

  .error{
    font-size:14px;
    padding:14px 18px;
  }
}

@media(max-width:1100px){
  .karte{
    display:none;
  }
}

/* Hide the secondary image completely on small phones */
@media(max-width:700px){
  .nebenbild, .karte{
    display:none !important;
  }
}
