* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; 
  display: flex;
flex-direction: column;
min-height: 100vh;
}
#start section {
  position: relative;
  background-image: url('/hero.webp');
  background-size: cover;
  background-position: center;
  min-height: 90vh;
  color: white;
  
}
 section {
  position: relative;

flex: 1;


  color: #000;
}

nav .logo { font-size: 1.5rem; font-weight: bold; }
.menu {
  display: flex;
  gap: 1.5rem;
}
.menu a {
  text-decoration: none;
  color: inherit;
}
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.burger div {
  width: 25px;
  height: 3px;
  background: white;
  margin: 4px;
  transition: 0.3s;
}
@media (max-width: 768px) {
  .menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    padding: 1rem;
    border-radius: 0.5rem;
  }
  .menu a {
    margin: 0.5rem 0;
    color: #000;
  }
  .menu.active {
    display: flex;
  }
  .burger {
    display: flex;
  }
}
.hero {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 1rem;
 background: #00000024;
}
.hero h1 { font-size: 2.5rem; font-weight: bold; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; }
#start .search-box {
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 325px;
  width: 100%;
}
#start .search-box input,
#start .search-box button {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}
#start .search-box button {
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}
main { padding: 2rem; }
.grid { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .search-box { flex-direction: row; }

}
@media (min-width: 768px) {
  .hero h1 { font-size: 3rem; }

}





.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.icon-item {
  position: relative;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.icon-item:hover {
  transform: scale(1.05);
}

.icon-img {
  width: 100%;
  border-radius: 50%;
  background-color: transparent;
}

.icon-label {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: background 0.3s, color 0.3s;
}

.icon-item:hover .icon-label {
  background: rgba(0, 0, 0, 0.7);
}




footer {
  background: #222;
  color: white;
  padding: 2rem;
  text-align: center;
  padding-bottom: 250px;

}
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  display: none;
}
.modal {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 500px;
  width: 90%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}
.autocomplete-items {
border: 1px solid #ccc;
background-color: #fff;         /* heller Hintergrund */
color: #333;                    /* dunkler Text */
max-height: 200px;
overflow-y: auto;
position: absolute;
z-index: 1000;
min-width: 210px;                    /* passt sich dem Input-Feld an */
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
border-radius: 6px;
font-size: 14px;
display:none;
margin-top:42px;
}

.autocomplete-items div {
padding: 10px;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;        /* Text kürzen statt überlaufen */
}

.autocomplete-items div:hover {
background-color: #f0f0f0;     /* Hover-Hintergrund */
}
section .container{


padding: 20px;
max-width: 1300px;
margin: auto;
margin-top:110px;
justify-content: space-between; 

min-height: 400px;
border-radius: 1em;
} 
#content section .container{
background: #c9c9c924;
} 
section a{
color: #000;
} 
footer a{
color:#fff;
} 



/* cookie */

.cookie-open{
font-weight:bold;
cursor: pointer;
} 
.cookie-container{
width: 100%;
display: none;
}


.cookie-information-click{
font-size:14px;
text-decoration: underline;
margin: 5px 0;
cursor:pointer;
}
.cookie-information{
display: none;
  font-size: 12px;
  line-height:12px;
  word-break: break-word;
}

.close {
position: absolute;
right: 0;
top: 0;
width: 30px;
height: 30px;
opacity: 0.3;
cursor: pointer;
}
.close:hover {
opacity: 1;
}
.close:before, .close:after {
position: absolute;
left: 15px;
content: ' ';
height: 33px;
width: 2px;
background-color: #333;
}
.close:before {
transform: rotate(45deg);
}
.close:after {
transform: rotate(-45deg);
}
.cookie-box,.modal{
background-color:#fff;
padding:5px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index:9999;
width: 300px;
line-height: 24px;
text-align: center;
  border-radius: 5px;
      overflow: auto;
  max-height: 400px;
  max-width: 95%;

}
.modal{
padding-top:25px;
width: 400px;
}
.cookie-bg{
background: rgba(0,0,0,.6);
  width: 100%;
  height: 100%;
  z-index: 9998;
  position: fixed;
  top: 0;
}

.cookie-box button{
  background: #f7f7f7;
  border-radius: 4px;
  color: #555;
      display: block;
  width: 100%;
  height: 40px;
  border: 0;
  cursor: pointer;
  margin: 10px 0;
}

.cookie-box button:hover{
background: #e6e6e6;
}



.cookie-box .cookie-allow{
  background: #28a745;
  border-radius: 4px;
  color: #fff;

}
.cookie-box  .cookie-allow:hover{
background:#30c553;
}
.guest-selector {
position: relative;
width: 100%;
max-width: 300px;
color:#000;
font-family: sans-serif;
}

.guest-input {
padding: 14px 16px;
border: 1px solid #ddd;
border-radius: 12px;
background: #fff;
cursor: pointer;
}

.guest-dropdown {
position: absolute;
top: 110%;
left: 0;
width: 100%;
background: white;
border: 1px solid #ddd;
border-radius: 12px;
padding: 16px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
display: none;
z-index: 10;
}

.guest-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}

.guest-controls {
display: flex;
align-items: center;
gap: 10px;
}

.guest-controls .button {
width: 32px;
height: 32px;
border: 1px solid #ccc;
border-radius: 50%;
background: none;
font-size: 18px;
text-align: center;
cursor: pointer;
}

.guest-done {
margin-top: 10px;
background: #007bff;
color: white;
border: none;
padding: 10px 16px;
border-radius: 8px;
cursor: pointer;
width: 100%;
}