/* Grundlayout */
body {
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0;
  background: linear-gradient(120deg, #e0e7ff 0%, #f6f7fb 100%);
  min-height: 100vh;
  color: #222;
}

/* Kopfbereich */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 48px;
  background: #fff;
  border-bottom: 2px solid #b4c2f7;
  box-shadow: 0 4px 16px rgba(60, 60, 120, 0.08);
  font-size: 2rem;
  font-weight: 700;
  color: #2b6cb0;
}

/* Haupt-Kachel-Grid */
.grid {
  display: grid;
  gap: 48px;
  padding: 64px 32px;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

/* Kacheln */
.tile {
  background: linear-gradient(135deg, #b4c2f7 0%, #f6f7fb 100%);
  border-radius: 32px;
  box-shadow: 0 12px 48px rgba(44, 62, 80, 0.18);
  padding: 64px 48px;
  text-decoration: none;
  color: #222;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  border: 2px solid #2b6cb0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 2rem;
}
.tile:hover {
  box-shadow: 0 24px 64px rgba(44,62,80,0.28);
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(135deg, #f7c2b4 0%, #e0e7ff 100%);
  border-color: #234e8c;
}
.tile h3 {
  margin: 0 0 24px;
  font-size: 2.4rem;
  color: #234e8c;
  font-weight: 800;
  letter-spacing: 1px;
}
.tile p {
  margin: 0;
  color: #333;
  font-size: 1.5rem;
  line-height: 1.6;
  text-align: center;
}

/* Buttons */
a.btn, button {
  background: #2b6cb0;
  color: #fff;
  padding: 18px 36px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(44,62,80,0.12);
  transition: background 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
  margin-top: 24px;
  letter-spacing: 1px;
}
a.btn:hover, button:hover {
  background: #f7c2b4;
  color: #234e8c;
}

/* Login-Karte */
.card {
  background: #fff;
  padding: 48px 36px;
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(44,62,80,0.18);
  min-width: 340px;
  max-width: 420px;
  margin: 120px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card h2 {
  margin-bottom: 28px;
  color: #2b6cb0;
  font-weight: 800;
  font-size: 2.2rem;
}
input {
  width: 100%;
  padding: 18px 20px;
  margin: 12px 0 24px;
  border: 2px solid #b4c2f7;
  border-radius: 12px;
  font-size: 1.4rem;
  background: #f6f7fb;
  transition: border 0.2s;
}
input:focus {
  border-color: #2b6cb0;
  outline: none;
}
label {
  font-weight: 700;
  color: #2b6cb0;
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.error {
  color: #b00020;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Auswahl- und Formularbereiche */
.selection-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 48px 0;
}
.selection-tile {
  background: linear-gradient(135deg, #f7c2b4 0%, #e0e7ff 100%);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  box-shadow: 0 4px 16px rgba(44,62,80,0.10);
  border: 2px solid #b4c2f7;
  font-size: 1.5rem;
  font-weight: 700;
}
.selection-tile:hover {
  box-shadow: 0 12px 32px rgba(44,62,80,0.18);
  transform: scale(1.06);
  background: linear-gradient(135deg, #b4c2f7 0%, #f7c2b4 100%);
  border-color: #234e8c;
}

/* Formular */
form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}
input[type="submit"], button[type="submit"] {
  font-size: 1.4rem;
  padding: 18px 36px;
  border-radius: 16px;
  font-weight: 700;
  background: #2b6cb0;
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(44,62,80,0.12);
  margin-top: 24px;
  transition: background 0.2s, color 0.2s;
}
input[type="submit"]:hover, button[type="submit"]:hover {
  background: #f7c2b4;
  color: #234e8c;
}

.inline-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Responsive Anpassungen */
@media (max-width: 900px) {
  .top { flex-direction: column; gap: 18px; padding: 24px 12px; font-size: 1.3rem; }
  .grid { padding: 24px 8px; gap: 24px; grid-template-columns: 1fr; }
  .tile { padding: 32px 12px; font-size: 1.3rem; }
  .card { padding: 24px 10px; min-width: 220px; }
  .selection-grid { grid-template-columns: 1fr; gap: 18px; }
}
