/* === Grundlayout === */
body {
  background-color: #FDFBF7;
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  margin: 0;
  padding: 0;
  color: #1A1A1A;
}

h1, h2, h3 {
  color: #1E40AF;
  font-weight: bold;
}

/* Header Dashboard */
header.dashboard-header {
  background-color: #1E40AF;
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logout-button {
  background-color: white;
  color: #1E40AF;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

/* Dashboard Hauptinhalt */
main.dashboard-main {
  padding: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

/* Sektionen (Cards) */
section {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

/* Formularfelder */
input[type="text"],
input[type="time"],
input[type="date"],
input[type="email"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  font-size: 1rem;
  box-sizing: border-box;
}

button,
button[type="submit"] {
  background-color: #F59E0B;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

/* Login- und Registrierungsbox */
.login-wrapper {
  max-width: 450px;
  margin: 4rem auto;
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-form label {
  font-size: 16px;
  font-weight: 500;
}

.login-form input {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.login-form button {
  background-color: #1E40AF;
  color: white;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}

/* Kachel-Design (optional für später) */
.kachel-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.kachel {
  background-color: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  font-size: 20px;
  font-weight: 500;
}

.kachel.kreativ { border-left: 8px solid #F59E0B; }
.kachel.bewegung { border-left: 8px solid #10B981; }
.kachel.gedaechtnis { border-left: 8px solid #7C3AED; }
.kachel.menü { border-left: 8px solid #D97706; }
.kachel.event { border-left: 8px solid #DC2626; }
.kachel.info { border-left: 8px solid #3B82F6; }

a {
  color: #1E40AF;
  text-decoration: underline;
}
.nav-bar {
  background-color: #1E40AF;
  padding: 1rem 2rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.nav-bar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.nav-bar a:hover {
  background-color: #3749a5;
}
ul li button {
  background-color: #1E40AF;
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}

ul li form {
  display: inline;
}
form div.success-message {
  background-color: #10B981;
  color: white;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
  text-align: center;
}
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="date"],
form input[type="time"],
form select,
form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: #1E40AF;
}

button,
button[type="submit"] {
  background-color: #F59E0B;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #d97706;
}
.kachel-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.kachel {
  background-color: white;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  position: relative;
}

.kachel .kategorie-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.4rem;
  opacity: 0.3;
}

.kachel.kreativ    { border-left: 8px solid #F59E0B; }
.kachel.bewegung   { border-left: 8px solid #10B981; }
.kachel.gedaechtnis{ border-left: 8px solid #7C3AED; }
.kachel.menü       { border-left: 8px solid #D97706; }
.kachel.event      { border-left: 8px solid #DC2626; }
.kachel.info       { border-left: 8px solid #3B82F6; }
.kachel.erinnerung { border-left: 8px solid #6366F1; }

.kachel small {
  font-size: 0.9rem;
  color: #6B7280;
}
.logo-header {
  text-align: center;
  padding: 2rem 0 1rem 0;
}

.logo-header img {
  height: 100px;
  transition: opacity 0.2s ease;
}

.logo-header img:hover {
  opacity: 0.85;
  cursor: pointer;
}
@media (max-width: 768px) {
  .dashboard-main {
    padding: 1rem;
  }

  .kachel {
    padding: 1rem;
    font-size: 0.95rem;
  }

  nav.nav-bar {
    flex-direction: column;
    gap: 0.5rem;
  }

  .login-wrapper,
  .dashboard-main section {
    margin: 1rem auto;
    padding: 1rem;
    width: 90%;
  }

  header img {
    height: 70px;
  }

  button, input, select, textarea {
    font-size: 1rem;
  }
}
.start-main {
  max-width: 720px;
  margin: 2rem auto;
  padding: 1rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.start-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 3rem auto;
  text-align: center;
}

.start-card h1 {
  color: #1E40AF;
  margin-bottom: 0.5rem;
}

.start-card .sub {
  color: #4B5563;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-button {
  background-color: #F59E0B;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
}

.cta-button.secondary {
  background-color: #E5E7EB;
  color: #1E40AF;
}
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1E40AF;
  padding: 0.75rem 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  margin-right: 1rem;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-logout .logout-button {
  background-color: white;
  color: #1E40AF;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.nav-logout .logout-button:hover {
  background-color: #F3F4F6;
}
.logout-link {
  margin-left: auto;
  background-color: #F59E0B;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}

.logout-link:hover {
  background-color: #d97706;
}