/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body + Grundstil */
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  /*background-color: #f8f9fa;*/
  background-color: #f7f7f7;
  color: #222;
  padding-top: 100px;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  min-height: 100px; /* stellt sicher, dass der Header Platz genug hat */
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 80px;
}

.main-nav a {
  margin-left: 1rem;
  color: #007acc;
  text-decoration: none;
  font-weight: 600;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  background-color: #e9f5ff;
  padding: 2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

article {
  scroll-margin-top: 110px;
}

/* Content */
.content h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  border-bottom: 2px solid #007acc;
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
}

.content input[type="text"],
.content input[type="email"],
.content textarea {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Padding & Border werden zur Breite gerechnet */
}


/* Tabelle */
.order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

.order-table th,
.order-table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

.order-table th {
  background-color: #f0f4f8;
  font-weight: 600;
}

.order-table tr:last-child td {
  border-bottom: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #007acc;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: #005f99;
}

.btn-secondary {
  background-color: #656;
}

.btn-secondary:hover {
  background-color: #444;
}

/* Listen */
ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

ul li {
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background-color: #f1f1f1;
  padding: 2rem 1rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.site-footer a {
  color: #007acc;
  text-decoration: none;
  margin-left: 1rem;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
  }

  .main-nav a {
    margin: 0.5rem 1rem 0 0;
  }
}

.invisible {
  visibility: hidden;
}

html {
  scroll-padding-top: 100px; /* Passe an die Header-Höhe an */
}

.contact-form form {
  max-width: 500px;        /* Maximalbreite für bessere Lesbarkeit */
  margin: 0 auto;          /* Zentriert das Formular horizontal */
  display: flex;
  flex-direction: column;  /* Stapelt die Elemente vertikal */
  gap: 1rem;               /* Abstand zwischen den Elementen */
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;            /* Volle Breite innerhalb max-width */
  box-sizing: border-box; /* Padding & Border werden zur Breite gerechnet */
}

.contact-form button {
  background-color: #007acc;
  color: white;
  border: none;
  padding: 0.7rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #005fa3;
}

.invoice-form form {
  max-width: 500px;        /* Maximalbreite für bessere Lesbarkeit */
  margin: 0 auto;          /* Zentriert das Formular horizontal */
  display: flex;
  flex-direction: column;  /* Stapelt die Elemente vertikal */
  gap: 1rem;               /* Abstand zwischen den Elementen */
}

.invoice-form label {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.invoice-form select,
.invoice-form input[type="text"],
.invoice-form input[type="email"],
.invoice-form textarea {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Padding & Border werden zur Breite gerechnet */
}

.invoice-form button {
  background-color: #007acc;
  color: white;
  border: none;
  padding: 0.7rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.invoice-form button:hover {
  background-color: #005fa3;
}

input[name="website"] {
  display: none;
  visibility: hidden;
  position: absolute;
  left: -9999px;
}

.product-info {
  background-color: #f9f9f9; /* dezente Hinterlegung */
  padding: 1rem;
  /* margin: 0; */
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-family: 'Inter', sans-serif;
}

.product-info h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.product-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #444;
}

.product-info ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.product-info li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #333;
}

.blue-line {
  border: none;
  height: 2px;
  background-color: #007acc;
}

.nopcart {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.nopcart td,
.nopcart th {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #ddd;
}

/* Erste Spalte (Bezeichnung) linksbündig */
.nopcart td:first-child,
.nopcart th:first-child {
  text-align: left;
}

/* Alle anderen zentriert */
.nopcart td:not(:first-child),
.nopcart th:not(:first-child) {
  text-align: center;
}

.nopheader {
  font-weight: 700;
  background-color: #f0f4f8;
}

/* Mobile Optimierungen */
@media (max-width: 768px) {
  /* Logo auf 40px verkleinern */
  .logo {
    height: 40px !important;
  }

   .site-header {
    min-height: 80px; /* Tatsächliche Höhe für Mobilheader */
    padding: 0.5rem 0;
  }

  body {
    padding-top: 80px; /* Genaue Höhe des fixierten Headers */
  }
}