/* ========= Basics ========= */
:root{
  --bg: #fafafa;
  --fg: #2b2b2b;
  --accent: #2a5298;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 16px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
}

/* ========= Header ========= */
header {
  background: linear-gradient(120deg, #1e3c72, #2a5298);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin: 0 0 10px;
}



.subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: #e0e4f5;
}

/* ========= Main ========= */
main {
  max-width: 1100px;  /* genug Platz für 5 Spalten */
  margin: 60px auto;
  padding: 0 20px;
}

/* ========= Overview (Section mit Karten) ========= */
.overview {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-md);
}

.overview h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 35px;
  text-align: center;
  color: #1a1a1a;
}

/* ===== Karten-Grid: 5 Spalten nebeneinander ===== */
.grid {
  display: grid;
  grid-template-columns: 1fr;/* 5 gleich breite Spalten */
  gap: 20px;
  margin-top: 30px;
}

.content-card h3 {
  position: relative;
  font-size: 1.3rem;
  margin-top: 30px;
  font-weight: 600;
  color: var(--accent);
  padding-left: 12px; /* Platz für den Strich */
}

.content-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;               /* ein Stück nach unten versetzt */
  width: 2px;               /* Strich-Breite */
  height: 1.2em;            /* Höhe in Relation zur Schriftgröße */
  background: var(--accent);
}

/* ===== Karten ===== */
.card {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertikal zentrieren */
  align-items: center;       /* horizontal zentrieren */
  text-align: center;        /* Text selbst zentriert */
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 80px;         /* einheitliche Mindesthöhe */
}
.card h3 {
  font-family: 'Playfair Display', serif;
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--accent);
}

.card p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ========= Content Sections (unter den Karten) ========= */
.content-card {
  background: white;
  border-radius: 14px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1a1a1a;
  text-align: center;
}


p {
  font-size: 1.05rem;
  margin: 15px 0;
}

/* ========= Links im Text ========= */
.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}

.text-link:hover::after {
  width: 100%;
}

/* ========= Footer ========= */
footer {
  text-align: center;
  padding: 20px;
  background: #f0f0f0;
  font-size: 0.9rem;
  color: #666;
}

/* ========= Responsive ========= */
/* Tablet: 2 Spalten */
@media (max-width: 900px) {
  
  .grid {
    grid-template-columns: 1fr;
  }
}
