
@font-face {
  font-family: 'Gt Alpina';
  src: url('../fonts/GT-Alpina-Standard-Bold.woff') format('woff'), url('../fonts/GT-Alpina-Standard-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GT Alpina Standard';
  src: url('../fonts/GT-Alpina-Standard-Regular.woff') format('woff'), url('../fonts/GT-Alpina-Standard-Regular.woff2') format('woff2') ;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  background-color: #fff;
  font-family: 'GT Alpina Standard', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  opacity: 0.5;
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1000;
}

nav {
  margin-top: -5rem;
  padding: 2rem 2rem 1.5rem 2rem;
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Wichtig: flex-start statt baseline */

}


nav ul.categories {
  text-align: left;
  align-items: flex-start;
}

nav ul.menu-primary {
  text-align: right;
  align-items: flex-end;
}

main {
  margin: 15rem 2rem 2rem 2rem;
}

@media (max-width: 900px) {
  main {
    margin: 10rem 1rem 1rem 1rem;
  }
}

.grid {
  display: grid;
  grid-auto-flow: row;
  grid-template-rows: auto;
  grid-auto-columns: 1fr;  
  max-width: 100vw;
}

.item {
    width: 100%;
}



h1, .big {
  font-size: 2rem;
  line-height: 1;
  font-weight: 400;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 0.2rem;
}

p {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 120px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Standard: Menü horizontal, Hamburger versteckt */
.hamburger { display: none; }
.main-menu { display: flex; }

/* Mobile: Hamburger sichtbar, Menü als Overlay */
@media (max-width: 900px) {
  .hamburger { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1101;
    cursor: pointer;
  }
  .hamburger span {
    display: block;
    width: 32px;
    height: 4px;
    margin: 4px 0;
    background: #222;
    border-radius: 2px;
    transition: 0.3s;
  }
  .main-menu {
    display: none;
    z-index: 1100;
    background: white;
  } 
  .main-menu.open {
    display: inline-block;
  }

  nav ul.menu-primary {
    text-align: left;
  }

  nav {
  width: 100%;
  }
  nav h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
}


.close-menu {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1102;
  font-size: 2.2rem;
  color: #222;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 900px) {
  /* ...existing code... */
  .main-menu.open + .close-menu {
    display: block;
  }
}


button, input[type="button"], input[type="submit"], input {
  padding: 0.75rem;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 0;
}


.small {
  font-size: 0.75rem;
}


footer {
  margin-top: auto;
  margin-bottom: 1.5rem;
  margin-left: 2rem;
}


/* hide honey pot input */
.input--hidden {
  display: none;
}