html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.page-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  margin: 0;
  font-family: 'Comic Neue', 'Nunito', sans-serif;
  background-color: rgb(255, 244, 230);
  color: #2d2d2d;
  padding-top: 80px;
}

.navbar {
  position: fixed; top: 0;
  left: 0;
  width: 100%; 
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 2vw;
  background: #fff;
  border-bottom: 3px solid #ffd166;
}

.navbar nav a {
  text-decoration: none;
  font-weight: bold;
  color: #118ab2;
  font-size: 23px;
  border-radius: 10px;
  padding: 12px 20px;
}

.navbar nav a:hover {
    text-decoration: none;
    font-weight: bold;
    color: #005a82;
    font-size: 23px;
    background-color: #dadada;
  
}

.logo-small img {
  height: 62px;
}

.hero {
  font-size: x-large;
  text-align: center;
  padding: 4rem 2rem;
  /*background-color: #aaa;*/
}

.hero h1 {
  font-size: 4rem; 
  color: #073b4c;
  margin-top: 20px;
}

.hero h1, .hero p{
    justify-self: center;
    width: fit-content;
    padding: 5px 15px;
    border-radius: 15px;
    /*background-color: #ffffffaa;*/
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  padding: 2rem;
}


.card {
  background: #fff;
  border: 2px solid #ffd166;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
}

.bild {
  background-image: url("img/Logo_gro3.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff4e6;
  height: 317px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.untere p {
  margin: 0;
  line-height: 1.4;
}

.untere h2 {
  margin: 15px 0;
}

.ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.ul li:nth-child(1)::before {
  content: '👕';
  margin-right: 0.5rem;
}

.ul li:nth-child(2)::before {
  content: '👶';
  margin-right: 0.5rem;
}

.ul li:nth-child(3)::before {
  content: '🎮';
  margin-right: 0.5rem;
}

.ul li:nth-child(4)::before {
  content: '🚗';
  margin-right: 0.5rem;
}

.ul li:nth-child(5)::before {
  content: '🦸';
  margin-right: 0.5rem;
}

.ul li:nth-child(6)::before {
  content: '📚';
  margin-right: 0.5rem;
}


footer {
    background: #118ab2;
    color: white;
    text-align: center;
    margin-top: auto;
    padding: 1rem;
    width: auto;
    height: auto;
    
}

.page-wrapper .grid, .page-wrapper .card, .page-wrapper .bild {
    font-size: x-large;
}

.page-wrapper h2 {
    font-size: xx-large;
}

#verkauf {
  margin: 18px 0px;
}

#weitere {
  margin: 0;
}

button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.2rem;
  background: #ffd166;
  color: #000;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #c29427;
    color: #fff;
}

hr {
  border: none;
  height: 2px;
  background-color: #ffd166;
  margin: 4rem auto;
  width: 90%;
}

.ueber {
  max-width: 832px;
}

#über-uns {
  display: flex;
  align-items: center;
  flex-direction: column;
  scroll-margin-top: 80px;
}
  
#über-uns #h1 {
  max-height: fit-content;
}

#über-uns h1 {
  text-align: center;
  margin: 20px 30px;
  font-size: 70px;
  color: #073b4c;;
}

.Infos {
  max-width: 832px;
}

#infos {
  display: flex;
  align-items: center;
  flex-direction: column;
  scroll-margin-top: 80px;
}
  
#infos #h1 {
  max-height: fit-content;
  max-width: fit-content;
}

#infos h1 {
  text-align: center;
  margin: 20px 20px;
  margin-bottom: 50px;
  font-size: 70px;
  color: #073b4c;
}

#infoscard {
    margin-bottom: 50px;
}

.ulinfos {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.ulinfos hr:nth-child(8) {
  margin: 2.5rem auto;
}

.ulinfos li:nth-child(9) {
  margin: 0 40px;
}

.disabled-button {
  cursor: not-allowed;
  position: relative;
}


@media screen and (orientation: portrait) {
  .navbar {
    display: none;
  }

  .hero h1 {
    font-size: xx-large;
  }

  body {
    padding-top: 0px;
    margin-top: 0;
  }

  .hero {
    padding: 20px 32px;
  }

  #h1 h1 {
    font-size: 45px
  }

  #über-uns {
    padding-top: 0;
  }

  hr {
    margin: 2.5rem auto;
  }
}

@media screen and (max-width: 932px) {
  #logonav {
    display: none;
  }

  .navbar {
    height: 90px;
    justify-content: center;
  }
}
