body {
  font-family: 'Segoe UI', sans-serif;
  background: url('bilder/pagebg.png') no-repeat center center fixed;
  background-size: cover;
  color: #333;
  margin: 0;
  padding: 2rem;
}

h1 {
  text-align: center;
  color: #1F456A;
}

.menu-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.menu-card {
  text-decoration: none;
  color: inherit;
  text-align: center;
  width: 250px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.menu-card img {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  max-height: 180px;
  object-fit: cover;
  width: 100%;
  border-radius: 12px 12px 0 0;
}

.checklist {
  max-width: 900px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.checklist h2 {
  color: #1F456A;
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.checklist ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.checklist li {
  margin: 0.7rem 0;
  font-size: 1rem;
  line-height: 1.7;
}

footer {
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
}

.footer-links {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #1F456A;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-credit a {
  color: #1F456A;
  text-decoration: underline;
}

button.print-btn {
  display: block;
  margin: 1rem auto;
  background-color: #1F456A;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

button.print-btn:hover {
  background-color: #16334e;
}

html, body {
  height: 100%;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content {
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.hero-overlay {
  padding: 3rem 2rem;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  max-width: 1000px;
  margin: 2rem auto;
  text-align: center;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  color: #1F456A;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

footer hr {
  max-width: 1000px;
  margin: 0 auto 1rem;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.checklist input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(1.2);
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;
  }

  .hero-overlay h1 {
    font-size: 1.8rem;
  }

  .hero-overlay {
    padding-top: 0.1rem;
  }
}

@media (max-width: 600px) {
  body {
    padding: 0.8rem 1rem 2rem;
  }

  .hero-overlay {
    padding-top: 0.5rem;
  }

  .hero-overlay h1 {
    font-size: 1.6rem;
    margin-top: 0.3rem;
    margin-bottom: 1rem;
  }
}

@media print {
  body {
    font-family: 'Segoe UI', sans-serif;
    background: white !important;
    color: #222;
    font-size: 6.8pt;
    line-height: 1.15;
    margin: 0;
    padding: 0.3rem;
  }

  .print-btn,
  footer {
    display: none !important;
  }

  h1 {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .checklist {
    column-count: 2;
    column-gap: 0.6rem;
    max-width: 100%;
    padding: 0;
    margin: 0;
    background: none;
    box-shadow: none;
  }

  .checklist section {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 0.3rem 0.5rem;
    margin-bottom: 0.3rem;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .checklist h2 {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.1rem;
  }

  .checklist li {
    font-size: 6.6pt;
    margin: 0.1rem 0;
    display: flex;
    gap: 0.25rem;
  }

  .checklist input[type="checkbox"] {
    transform: scale(0.55);
    margin-top: 0.05rem;
  }

  .hero-overlay,
  .content {
    padding: 0 !important;
    margin: 0 !important;
  }

  a,
  .footer,
  .footer-credit {
    display: none !important;
  }

  .checklist section:last-of-type {
    page-break-inside: auto;
    break-inside: auto;
    margin-bottom: 0 !important;
  }

  html, body {
    height: auto !important;
  }
  
  .page-container {
    min-height: auto !important;
    display: block !important;
  }

  input[type="checkbox"] {
    appearance: none;
    width: 10px;
    height: 10px;
    border: 1px solid #000;
    display: inline-block;
    position: relative;
  }
  
  input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: -2px;
    left: 1px;
    font-size: 10px;
  }

  input[type="checkbox"] {
    appearance: none;
    width: 11px;
    height: 11px;
    border: 1px solid #000;
    border-radius: 2px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
  }
  
  input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 3px;
    width: 3px;
    height: 6px;
    border: solid #000;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
  }

}
