/* =========================
   Basis css
   ========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 20px;
  color: #222;
}

/* =========================
   Header 
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10; /*Anordnung der Überlagerung*/
  padding: 18px 50px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background: #fff;
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-header .logo img {
  display: block;
  height: 64px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 6px; /* optisch auf Logo-Basis */
}

.site-nav a {
  color: #000;
  text-decoration: none;
  font-weight: 700;
}

.site-nav a:hover {
  color: #0f6188;
}

.page-content {
  position: relative;
  z-index: 1;
}

/* =========================
   Background 
   ========================= */
.background-image {
  position: fixed;
  inset: 0;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* =========================
   Layout 
   ========================= */
main {
  position: relative;
  z-index: 1;
  padding-top: clamp(48px, 12vh, 200px);
}

/* =========================
   Tabellen (Grundlayout)
   ========================= */
table {
  margin: 20px auto 60px;
  width: 95%;
  max-width: 1100px;

  background: rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

caption {
  caption-side: top;
  text-align: left;

  font-size: 28px;
  font-weight: 700;

  padding: 18px 22px;

  background: #f3f6f9;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);

  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

table {
  overflow: hidden;
}

td,
th {
  padding: 18px 22px;
  font-size: 20px;
}

/* =========================
   Button
   ========================= */
.button {
  width: 100%;
  padding: 16px;
  font-size: 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #2c95e5, #1b6fb8);
}

.button:hover {
  background: linear-gradient(135deg, #1b6fb8, #155a96);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =========================
   Hilfsklassen
   ========================= */
.hidden {
  display: none !important;
}

.rechts {
  text-align: right;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 700px) {
  body {
    font-size: 18px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .site-header .logo img {
    height: 44px;
  }

  .site-nav {
    gap: 14px;
    padding-bottom: 4px;
  }

  .site-nav a {
    font-size: 16px;
  }

  main {
    padding-top: 32px;
  }

  table {
    margin: 16px auto 40px;
  }

  caption {
    font-size: 22px;
    padding: 14px 16px;
  }

  td,
  th {
    padding: 14px 16px;
    font-size: 18px;
  }

  .button {
    font-size: 18px;
  }
}
