/* ===== Wiki Fall Fabian aus Güstrow - Styles ===== */
:root {
  --bg: #0d1117;
  --surface: #161b22;
  --border: #30363d;
  --text: #e6edf3;
  --dim: #8b949e;
  --accent: #58a6ff;
  --link: #79c0ff;
  --link-hover: #a5d6ff;
  --red: #f85149;
  --orange: #d29922;
  --green: #3fb950;
  --purple: #bc8cff;
  --yellow: #e3b341;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; text-decoration-style: dotted; }
.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; flex: 1; }

/* ===== Top Nav ===== */
.topnav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topnav .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.topnav .logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.topnav .logo:hover { color: #79b8ff; }
.topnav a:not(.logo) {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}
.topnav a:not(.logo):hover { color: var(--text); }

/* ===== Header ===== */
header {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-bottom: 1.5rem;
}
header h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
header .subtitle {
  color: var(--dim);
  font-size: 0.9rem;
}
header .subtitle span {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.6rem;
  margin-right: 0.4rem;
  font-size: 0.8rem;
}

/* ===== Sections ===== */
section { margin-bottom: 2rem; }
h2 {
  font-size: 1.35rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
  color: var(--accent);
}
h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 1.2rem 0 0.6rem;
  color: #f0f6fc;
}
p { margin-bottom: 0.8rem; }

/* ===== Cards/Grid ===== */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 600px) { .info-grid { grid-template-columns: 1fr; } }
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.7rem 1rem;
}
.info-card .label {
  color: var(--dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.info-card .value { font-size: 0.95rem; font-weight: 500; }

/* ===== Tables ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}
th, td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.75rem;
  text-align: left;
}
th {
  background: var(--surface);
  color: var(--dim);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
tr:nth-child(even) { background: rgba(255,255,255,0.015); }

/* ===== Tags ===== */
.tag {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.1rem 0.55rem;
  font-size: 0.72rem;
  color: var(--dim);
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}
.tag-red { border-color: var(--red); color: var(--red); }
.tag-orange { border-color: var(--orange); color: var(--orange); }
.tag-green { border-color: var(--green); color: var(--green); }
.tag-purple { border-color: var(--purple); color: var(--purple); }

/* ===== Timeline ===== */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 1.2rem;
  padding-left: 0.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.7rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
}
.timeline-item .date { color: var(--accent); font-size: 0.85rem; font-weight: 600; }
.timeline-item .desc { margin-top: 0.2rem; }

/* ===== Status Bar ===== */
.status-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.status-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-red { background: var(--red); }
.dot-orange { background: var(--orange); }
.dot-green { background: var(--green); }
.dot-purple { background: var(--purple); }

/* ===== Warning ===== */
.warning {
  background: #3d1f00;
  border: 1px solid var(--orange);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #ffd393;
}

/* ===== Linkboxen ===== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 700px) { .card-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  transition: border-color 0.15s;
}
.card:hover { border-color: var(--accent); }
.card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.card a:hover { color: #79b8ff; }
.card .desc {
  color: var(--dim);
  font-size: 0.82rem;
  margin-top: 0.3rem;
}

/* ===== Trial Days ===== */
.trial-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.trial-nav a {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  color: var(--dim);
  text-decoration: none;
  transition: all 0.15s;
}
.trial-nav a:hover { border-color: var(--accent); color: var(--accent); }
.trial-nav a.active { border-color: var(--accent); color: var(--accent); background: rgba(88,166,255,0.1); }

/* ===== Sources ===== */
.sources {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
}
.sources ul { margin: 0.5rem 0 0.5rem 1.2rem; }
.sources li { margin-bottom: 0.3rem; }
.sources a { color: var(--accent); text-decoration: none; }
.sources a:hover { text-decoration: underline; }

/* ===== Footer ===== */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
  color: var(--dim);
  font-size: 0.78rem;
  text-align: center;
}

/* ===== Lists ===== */
ul, ol { margin: 0.4rem 0 0.8rem 1.5rem; }
li { margin-bottom: 0.25rem; }

/* ===== Personen-Navi ===== */
.person-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  transition: border-color 0.15s;
}
.person-card:hover { border-color: var(--accent); }
.person-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.person-card .info { flex: 1; }
.person-card .info a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}
.person-card .info a:hover { color: #79b8ff; }
.person-card .info .meta {
  color: var(--dim);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}
.person-card .info .desc {
  color: var(--dim);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}