/* Layout & Container */
.container {
  width: 90%;
  /* 1280px statt 1920px: verhindert überlange Zeilen und übermäßig breite
     Karten-Grids auf großen Monitoren; bis ~1420px Viewport greift weiterhin
     die 90%-Breite, das Layout auf Laptops bleibt also unverändert. */
  max-width: 1280px;
  margin: 0 auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  /* Radialer Glow-Hintergrund aus new_mockup.html: Turquoise oben rechts, Orange unten links */
  background:
    radial-gradient(900px 500px at 85% -10%, var(--sage) 0%, transparent 60%),
    radial-gradient(700px 500px at 5% 10%, var(--amber-soft) 0%, transparent 60%);
  display: flex;
  justify-content: center;
  padding-top: 200px;
  padding-bottom: var(--space-20);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-content {
  height: 100%;
  flex: 1.1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-image-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 700px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
}

.carousel {
  position: relative;
  flex: 0.9;
  height: 100%;
}

/* Dekorative Farbkreise hinter dem Hero-Foto (Mockup-Look: .hero-blob) */
.carousel::before,
.carousel::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  z-index: 0;
}

.carousel::before {
  width: 180px;
  height: 180px;
  top: -40px;
  right: -20px;
  background: var(--teal);
  opacity: 0.18;
}

.carousel::after {
  width: 140px;
  height: 140px;
  bottom: -30px;
  left: -20px;
  background: var(--amber);
  opacity: 0.15;
}

.carousel-content-wrapper {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  align-content: center;
  align-items: center;
}

.image-wrapper {
  /* All slides share a single grid cell so they overlap for the crossfade while
     staying in flow — this lets the container derive its height from the image
     (an absolutely positioned slide would contribute 0 height and get clipped). */
  grid-area: 1 / 1;
  position: relative;
}

.image-wrapper img {
  width: 100%;
}

.carousel-image {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
}

/* KI-Kennzeichnung: dezenter Text ohne Hintergrundfläche, überlagert auf
   KI-generierten/-bearbeiteten Bildern. Text-Shadow statt Badge-Hintergrund
   sorgt unabhängig vom jeweiligen Bildinhalt für ausreichend Kontrast. */
.ai-image-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.5);
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: 0.4;}
  to {opacity: 1;}
}

.hero-content-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.hero-title {
  /* Base size for large screens (>1350px); stepped down via media_queries.css */
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 72px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: left;
  padding-top: 16px;
}

.hero-title span {
  display: block;
  color: var(--ink);
}

.hero-desc {
  max-width: 520px;
  font-size: 20px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  text-align: left;
}

/* Sekundärer Hero-CTA (Stil aus Homepage_Design-Vorlage, dort .btn-ghost) */
.btn-secondary {
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 18px;
  font-weight: 600;
  background: none;
  border: 1.5px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--paper-soft);
}

/* About Me Section (Card-Duo mit Kennzahlen) */
.about-me {
  padding: var(--space-20) 0;
  background: var(--paper-soft);
  width: 100%;
}

.about-me-inner {
  display: flex;
  align-items: center;
  gap: 56px;
}

.about-me-media {
  flex: 0 0 auto;
  width: 38%;
  max-width: 320px;
}

.about-me-photo-card {
  position: relative;
  background: var(--white);
  /* Mehrschichtiger Schatten für Tiefe: enger Kontaktschatten (Karte "sitzt"
     auf der Fläche), weicher Umgebungsschatten für Volumen und ein dezent
     Teal-getönter Glow, der die Markenfarbe aufgreift und das Foto vom
     ruhigen --paper-soft-Hintergrund abhebt. */
  box-shadow:
    0 2px 6px -2px rgba(30, 35, 33, 0.12),
    0 18px 40px -18px rgba(30, 35, 33, 0.28),
    0 34px 64px -30px rgba(31, 142, 133, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  /* Eckig statt rund (Nutzerentscheidung): Ein Kreis berührt ein 1:1-Quadrat
     nur an den vier Seitenmitten und wird oberhalb/unterhalb der Bildmitte
     schmaler – bei diesem Gruppenfoto schnitt das die äußeren, randnahen
     Köpfe seitlich an. Ein (abgerundetes) Rechteck verjüngt sich nicht und
     behält die volle Bildbreite, wodurch das Problem geometrisch entfällt –
     ganz ohne künstliche Rand-Streckung des Fotos (siehe Verlauf: erste
     Korrektur dieses Bugs führte zu sichtbaren Verzerrungen an den Bildrändern
     und wurde wieder zurückgenommen; assets/profile.jpeg ist wieder das
     unveränderte Originalfoto, 1010x1280). */
  border-radius: var(--radius-xl);
}

.about-me-photo-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 4px 10px -3px rgba(30, 35, 33, 0.14),
    0 24px 50px -18px rgba(30, 35, 33, 0.32),
    0 44px 80px -32px rgba(31, 142, 133, 0.32);
}

@media (prefers-reduced-motion: reduce) {
  .about-me-photo-card {
    transition: none;
  }
  .about-me-photo-card:hover {
    transform: none;
  }
}

.about-me-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  /* Vertikaler Fokuspunkt an den oberen Bildrand gelegt (50% 0%): Cover-Fit
     auf ein 1:1-Ziel nutzt die volle Bildbreite (kein Seiten-Zuschnitt) und
     kürzt nur oben/unten. 0% schneidet oben gar nichts weg und nutzt damit
     den im Originalfoto bereits vorhandenen Freiraum über dem Kopf der
     linken Person als Luft nach oben, statt ihn wegzuschneiden – eine
     Bildbearbeitung war dafür nicht nötig. */
  object-position: 50% 0%;
  border-radius: var(--radius-xl);
}

.about-me-content {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.about-me .about-me-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 20px;
}

.about-me-text {
  max-width: 640px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
}

/* Programm-Ablauf Section (Journey-Timeline, Struktur aus Homepage_Design übernommen) */
.journey-path {
  position: relative;
  max-width: 596px;
  margin: 48px auto 0;
  padding-left: 36px;
}

.journey-path::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--teal) 0 8px, transparent 8px 16px);
}

.journey-path-fill {
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--amber);
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
}

.journey-stop {
  position: relative;
  padding-bottom: 40px;
  max-width: 560px;
}

.journey-stop:last-child {
  padding-bottom: 0;
}

.journey-stop::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
}

.journey-stop.current::before,
.journey-stop.reached::before {
  background: var(--amber);
  border-color: var(--amber);
}

.journey-stop .stage {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--teal);
  margin-bottom: 6px;
}

.journey-stop h4 {
  font-size: 1.2rem;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.journey-stop p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Final CTA Section */
.final-cta {
  text-align: center;
}

.final-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.final-cta-desc {
  min-height: 0;
  max-width: 480px;
}

/* Contact Section – heller Hintergrund statt des Dark-Gradients von .final-cta
   direkt darüber, damit beide Sektionen nicht zu einem ununterbrochenen
   Dark-Block verschmelzen; die eigentliche Box hebt sich stattdessen als
   eigene Karte davon ab (siehe .contact-card). */
.contact-section {
  background: var(--paper);
  text-align: center;
}

.contact-card {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--ink-deep) 0%, var(--panel-end) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Dekorativer Glow-Verlauf hinter dem Kontakt-Inhalt (Mockup-Look: .contact-box::before) */
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 260px at 15% 0%, rgba(255, 122, 69, 0.3), transparent 60%),
    radial-gradient(500px 260px at 85% 100%, rgba(95, 216, 206, 0.28), transparent 60%);
}

.contact-card > * {
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .generic-h3 {
  color: white;
  font-size: 28px;
  margin-bottom: unset;
  margin-top: unset;
}
