:root {
  --font-main: 'DM Sans';
  --color-bg: #1f2021;
  --color-text: #eaeaea;
  --color-accent: #0078ff;
  --color-footer-bg: #111;
  --color-footer-text: #eaeaea;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

header {
  width: 100%;
  background-image: url(assets/bilder/black-white-brush-stroke-textured-background.jpg);
  background-color: rgba(51, 51, 51, 0.6);
  background-blend-mode: multiply;
  background-size: cover;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem 0;
  position: static;
}

.navbar {
  width: 95%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  display: block;
  max-width: 20%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  padding: 5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  background: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-accent);
}

main {
  max-width: 900px;
  margin: 4.89rem auto;
  padding: 2rem;
  border-radius: 12px;
}

.bestell-section h1 {
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  font-size: xxx-large;
}

.bestell-section p {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #ccc;
}

.bestell-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bestell-form textarea,
.bestell-form input[type="text"],
.bestell-form input[type="email"] {
  width: 100%;
  padding: 0.8rem;
  border-radius: 6px;
  border: none;
  background: #2e2e2e;
  color: white;
  outline: none;
}

.bestell-form textarea {
  min-height: 150px;
}


.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

select, input[type="number"] {
  width: 100%;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #444;
  outline: none;
  background: #2b2b2b;
  color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

select:focus, input[type="number"]:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 4px var(--color-accent);
}

select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.btn {
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: #006ae6;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

footer {
  width: 100%;
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  font-size: 0.6em;
  text-align: center;
  padding: 1rem 0;
  margin-top: 10.5%;
}

.menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 35px;
  height: 30px;
  cursor: pointer;
  z-index: 1000;
}

.menu span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hiddenallah {
  display: none;
}

@media (max-width: 768px) {
  .menu {
    display: flex;
    position: absolute;
    right: 1.2rem;
  }

  .navbar {
    justify-content: flex-start;
    position: relative;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -250px;
    height: 100%;
    width: 250px;
    background: #303030;
    flex-direction: column;
    align-items: flex-start;
    padding: 4rem 1rem;
    gap: 1.5rem;
    box-shadow: -2px 0 6px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  main {
    width: 100%;
    padding: 2rem 1rem;
  }

  .undermain-container {
    grid-template-columns: 1fr;
  }

  .box img {
    max-width: 100%;
    height: auto;
  }

  .logo img {
    max-width: 20%;
  }

  body {
    font-size: 0.95rem;
  }

  .bestell-section h1 {
    font-size: 2rem;
  }
}