/* Fernstudium-Bewertung.de – schlankes, lokales CSS (mobil-first, System-Fonts) */

:root {
  --farbe-primaer: #1a5276;
  --farbe-primaer-dunkel: #123c56;
  --farbe-akzent: #d4a017;
  --farbe-text: #24292f;
  --farbe-hintergrund: #ffffff;
  --farbe-flaeche: #f5f7fa;
  --farbe-rahmen: #dde3ea;
  --radius: 8px;
  --schatten: 0 1px 3px rgba(18, 60, 86, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--farbe-text);
  background: var(--farbe-hintergrund);
}

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  background: var(--farbe-primaer);
  color: #fff;
  padding: 0.75rem 0;
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
}
.site-logo {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}
.site-logo .tld { color: var(--farbe-akzent); }
.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
}
.site-nav a:hover, .site-nav a:focus { color: #fff; text-decoration: underline; }

/* Hauptbereich */
main.container { padding-top: 1.5rem; padding-bottom: 3rem; }

.hero h1 { margin-top: 0; }

h1, h2, h3 { line-height: 1.25; color: var(--farbe-primaer-dunkel); }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; margin-top: 2rem; }

.content a { color: var(--farbe-primaer); }

/* Anbieter-Karten */
.anbieter-grid {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.anbieter-card a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  background: var(--farbe-flaeche);
  border: 1px solid var(--farbe-rahmen);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  text-decoration: none;
  color: var(--farbe-text);
}
.anbieter-card a:hover, .anbieter-card a:focus {
  border-color: var(--farbe-primaer);
}
.anbieter-card strong { color: var(--farbe-primaer-dunkel); }
.anbieter-card .score { font-size: 0.9rem; color: #5a6572; }

/* Bewertungs-Bereich */
.bewertungen {
  margin-top: 2.5rem;
  padding: 1.25rem;
  background: var(--farbe-flaeche);
  border: 1px solid var(--farbe-rahmen);
  border-radius: var(--radius);
}
.bewertungen h2 { margin-top: 0; }
.score-box {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  background: #fff;
  border: 1px solid var(--farbe-akzent);
  border-radius: var(--radius);
}
.hinweis { color: #5a6572; font-style: italic; }

/* Footer */
.site-footer {
  background: var(--farbe-flaeche);
  border-top: 1px solid var(--farbe-rahmen);
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: #5a6572;
}

/* Tablet/Desktop */
@media (min-width: 40rem) {
  h1 { font-size: 2.1rem; }
  .anbieter-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .anbieter-grid { grid-template-columns: repeat(3, 1fr); }
}
