:root {
  --card: #111c33;
  --text: #e5e7eb;
  --muted: #a7b0c0;
  --accent: #38bdf8;
  --border: rgba(229,231,235,0.12);
  --header-h: 89px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #ffffff;
  color: var(--text);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

#headerleft,
#header,
#headerright{
  position: fixed;
  top: 0;
  height: 120px;
  z-index: 1000;
  pointer-events: none;
}

#headerleft{
  left: 0;
  width: 50%;
  background-color: #ffffff;
  background-image: url("../img/wellelinks.png");
  background-repeat: repeat-x;
  background-position: left top;
  z-index: 0;
}

#headerright{
  right: 0;
  width: 50%;
  background-color: #ffffff;
  background-image: url("../img/wellerechts.png");
  background-repeat: repeat-x;
  background-position: right top;
  z-index: 0;
}

#header{
  left: 0;
  right: 0;
  width: 100%;
  background-image: url("../img/wellemitte.png");
  background-repeat: no-repeat;
  background-position: center top;
  z-index: 1;

  /* Titel sauber platzieren */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
}

#header h1{
  margin-top: 100px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.05;
  color: #003366;
}

#header h1 span{
  font-weight: 700;
}

.container {
  padding: 120px 16px;
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
  color: #333333;
}

.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.card h2 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #003366;
}

.lead {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
  color: #333333;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.muted {
  color: var(--muted);
  padding: 8px 2px;
}

.list {
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 10px;
}

.item .title {
  font-weight: 700;
  margin: 0 0 4px 0;
}

.item .meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  white-space: pre-line;
}

.badge {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--accent);
}