/* =========================================================
   My Cortex – Stylesheet
   Schlicht, seriös, mobile-responsive. Keine Frameworks.
   Markenfarben: Blau #4A90D9 → Cyan #29C5E6
   ========================================================= */

/* ---- Design-Tokens als CSS-Variablen (zentral anpassbar) ---- */
:root {
  --brand-blue: #4a90d9;
  --brand-cyan: #29c5e6;
  --text-dark: #1f2933;   /* dunkles Anthrazit für Fließtext  */
  --text-muted: #5b6b7a;  /* gedämpft für Untertitel/Sekundär */
  --border-soft: #e6ebf0; /* dezente Trennlinien              */
  --bg-white: #ffffff;
  --max-width: 760px;     /* angenehme Lesebreite             */
}

/* ---- Reset & Grundlagen ---- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  /* Moderne System-Sans-Serif – schnell, ohne externe Webfonts */
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   Hero-Bereich
   ========================================================= */
.hero {
  /* Blauer Verlauf von oben links nach unten rechts */
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
  color: #ffffff;
  text-align: center;
  padding: 96px 24px;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-logo {
  /* Logo mittig als ruhige Karte; max-width sorgt für responsives Verkleinern.
     Das Logo bringt eine eigene Verlaufsfläche mit – abgerundete Ecken und ein
     dezenter Schatten heben es sauber vom Hero-Verlauf ab. */
  width: 240px;
  height: auto;
  max-width: 70%;
  margin-bottom: 32px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  /* leicht transparentes Weiß für ruhigere Hierarchie */
  color: rgba(255, 255, 255, 0.92);
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================================
   Inhaltssektionen (weiß, mit dezenten Trennlinien)
   ========================================================= */
.section {
  padding: 64px 24px;
  border-bottom: 1px solid var(--border-soft);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-text {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* =========================================================
   Über-uns-Sektion (Foto + Text nebeneinander)
   ========================================================= */
.about {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.about-photo {
  /* Rundes Foto, fixe Größe, beschnitten via object-fit */
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid var(--border-soft);
}

.about-body {
  flex: 1;
}

/* =========================================================
   Footer / Kontakt
   ========================================================= */
.footer {
  padding: 48px 24px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-contact {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--brand-blue);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =========================================================
   Responsive: Anpassungen für kleine Bildschirme (Handy)
   ========================================================= */
@media (max-width: 600px) {
  .hero {
    padding: 64px 20px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .section {
    padding: 48px 20px;
  }

  /* Über uns: Foto über den Text stapeln und zentrieren */
  .about {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
}
