/* MochiPlan - Clean, responsive CSS */

:root {
  --primary-color: #1e3a8a;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --header-light: #3b82f6; /* Noch helleres Blau */
  --text-color: #1e3a8a; /* Dunkelblau statt Schwarz */
  --text-light: #4b5563;
  --background-color: #f8fafc;
  --card-background: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  padding: 0;
  margin: 0;
}

/* Header & Navigation - Noch heller mit schwarzer Schrift */
.site-header {
  background-color: var(--header-light); /* Noch helleres Blau (#3b82f6) */
  border-bottom: 3px solid var(--primary-color);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.site-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title a {
  display: block;
  text-decoration: none;
}

.header-banner {
  height: 60px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
}

.menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.menu a {
  color: #000000; /* Schwarze Schrift */
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-weight: 600;
  background: none;
  border: none;
  border-radius: 0;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: #1e3a8a; /* Dunkelblau beim Hover */
  background: none;
  transform: none;
  box-shadow: none;
  text-decoration: underline;
}

.menu a.active {
  color: #1e3a8a; /* Dunkelblau für aktive Seite */
  background: none;
  box-shadow: none;
  text-decoration: underline;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #000000; /* Schwarzes Icon */
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border-radius: 0;
}

/* Hero section - Mit Banner */
.hero {
  background-color: var(--background-color);
  color: var(--text-color);
  padding: 3rem 1rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.hero-banner {
  max-width: 80%;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  max-height: 180px;
  object-fit: contain;
}

.tagline {
  font-size: 1.4rem;
  color: var(--text-color);
  max-width: 100%;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 500;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

/* Content cards - Dunkelblaue Texte */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.card {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary-light);
}

.card h2, .card h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.card h2 {
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.5rem;
}

.card ul {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
}

.card li {
  margin-bottom: 0.75rem;
}

.card strong {
  color: var(--primary-dark);
}

/* Buttons */
.action-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Profile photo styles */
.profile-card {
  position: relative;
}

.profile-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .profile-header {
    flex-direction: row;
    align-items: flex-start;
  }
}

.profile-photo {
  flex-shrink: 0;
  text-align: center;
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-light);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 3rem;
}

.photo-note {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 1.2rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.5rem;
}

.profile-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem 1rem;
  text-align: center;
  margin-top: 2rem;
}

.site-footer p {
  margin: 0.5rem 0;
  opacity: 0.9;
}

/* Email protection */
.email-obfuscated {
  font-family: monospace;
  background-color: #f3f4f6;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  display: inline-block;
  margin-top: 0.5rem;
  cursor: default;
}

/* Responsive design */
@media (max-width: 1024px) {
  .tagline {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .site-nav {
    flex-wrap: wrap;
  }
  
  .header-banner {
    height: 50px;
    max-width: 250px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    gap: 0.5rem;
    align-items: center;
  }
  
  .menu.show {
    display: flex;
  }
  
  .menu a {
    padding: 0.75rem;
    text-align: center;
    background: none;
    border: none;
  }
  
  .hero {
    padding: 1.5rem 1rem 1rem;
  }
  
  .hero-banner {
    max-width: 90%;
    max-height: 150px;
  }
  
  .tagline {
    font-size: 1.2rem;
  }
  
  .card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .btn-primary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .header-banner {
    height: 40px;
    max-width: 200px;
  }
  
  .hero-banner {
    max-width: 95%;
    max-height: 120px;
  }
  
  .tagline {
    font-size: 1.1rem;
  }
  
  .card {
    padding: 1.25rem;
  }
}
