:root {
  --bg: #ffffff;
  --text: #111418;
  --muted: #4b5563;
  --border: #e5e7eb;
  --card: #fafafa;
  --brand: #0f766e; /* Petrolgrün, dezent sportlich */
  --brand-600: #0b5953;
  --table-head: #587ca3; /* aus Holu-Style */
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, Tahoma, sans-serif;
  font-size: 16px; /* weg von vw -> stabilere Lesbarkeit */
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; height: auto; }
.container { width: min(1100px, 92vw); margin: 0 auto; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: #fff; }
.header-grid { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand-wrap { display: grid; }
.brand { font-weight: 800; letter-spacing: .2px; }
.tag { color: var(--muted); font-size: .9rem; }
.banner img { width: 100%; max-height: 160px; object-fit: cover; }

/* Nav */
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.site-nav a { text-decoration: none; color: var(--muted); padding: 8px 10px; border-radius: 10px; border: 1px solid transparent; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--text); border-color: var(--border); background: #f6f7f9; }

/* Cards + Sections */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; margin: 20px 0; }
.section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom: 10px; }

/* Buttons */
.btn { display:inline-block; text-decoration:none; color: #fff; background: #6b7280; border: 1px solid transparent; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.btn:hover { opacity: .95; }
.btn.primary { background: var(--brand); border-color: var(--brand); }
.btn.primary:hover { background: var(--brand-600); border-color: var(--brand-600); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #fff; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.footer-links { display: flex; gap: 14px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* Tabellen – aus Holu-Style übernommen & modernisiert */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* Tabelle */
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

/* Zellen allgemein */
th, td {
  padding: 10px 12px;
  text-align: center;
}

/* Tabellenkopf */
th {
  position: sticky;
  top: 0;
  z-index: 2;
  font-weight: 700;
  background: var(--table-head);
  color: #fff;
}

/* Zebra-Streifen */
tr:nth-child(even) td {
  background: #f4f6f8;
}

/* Erste Spalte (sticky links) */
td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  font-weight: 700;
  width: 3.5em;
  text-align: right;
  background: #fff;
}

/* Erste Kopfzelle muss über allem liegen */
th:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
}

/* Zweite Spalte linksbündig */
td:nth-child(2) {
  text-align: left;
}

/* Typo-Feinheiten */
h1 { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); margin: 0 0 6px; }
h2 { font-size: 1.2rem; margin: 0 0 6px; color: #111418; }
p { margin: 0 0 12px; color: var(--text); }
.intro p { color: #1f2937; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 720px) {
  .header-grid { flex-direction: column; align-items: flex-start; }
  .banner img { max-height: 120px; }
  table { min-width: 560px; }
}